replicant-frameworks_native/libs/ui
Dianne Hackborn 39bf918e21 Work on issue #2079167: Flickering issue across multiple UI
This addresses a few parts of the bug:

- There was a small issue in the window manager where we could show a window
  too early before the transition animation starts, which was introduced
  by the recent wallpaper work.  This was the cause of the flicker when
  starting the dialer for the first time.

- There was a much larger problem that has existing forever where moving
  an application token to the front or back was not synchronized with the
  application animation transaction.  This was the cause of the flicker
  when hanging up (now that the in-call screen moves to the back instead
  of closing and we always have a wallpaper visible).  The approach to
  solving this is to have the window manager go ahead and move the app
  tokens (it must in order to keep in sync with the activity manager), but
  to delay the actual window movement: perform the movement to front when
  the animation starts, and to back when it ends.  Actually, when the
  animation ends, we just go and completely rebuild the window list to
  ensure it is correct, because there can be ways people can add windows
  while in this intermediate state where they could end up at the wrong
  place once we do the delayed movement to the front or back.  And it is
  simply reasuring to know that every time we finish a full app transition,
  we re-evaluate the world and put everything in its proper place.

Also included in this change are a few little tweaks to the input system,
to perform better logging, and completely ignore input devices that do not
have any of our input classes.  There is also a little cleanup of evaluating
configuration changes to not do more work than needed when an input
devices appears or disappears, and to only log a config change message when
the config is truly changing.

Change-Id: Ifb2db77f8867435121722a6abeb946ec7c3ea9d3
2009-09-02 17:20:25 -07:00
..
tests
Android.mk added two EGL helpers for selecting a config matching a certain pixelformat or native window type 2009-08-06 16:05:39 -07:00
BufferMapper.cpp Fix a debug statement in BufferMapper 2009-07-30 12:24:41 -07:00
Camera.cpp resolved conflicts for merge of 04c7d0f8 to master 2009-07-08 17:26:05 -07:00
CameraParameters.cpp
EGLUtils.cpp added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
EventHub.cpp Work on issue #2079167: Flickering issue across multiple UI 2009-09-02 17:20:25 -07:00
EventRecurrence.cpp
FramebufferNativeWindow.cpp second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." 2009-08-11 23:32:29 -07:00
ICamera.cpp
ICameraClient.cpp resolved conflicts for merge of 04c7d0f8 to master 2009-07-08 17:26:05 -07:00
ICameraService.cpp
IOverlay.cpp
ISurface.cpp second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." 2009-08-11 23:32:29 -07:00
ISurfaceComposer.cpp get rid of references to MemoryDealer in SurfaceFlinger 2009-07-02 18:50:51 -07:00
ISurfaceFlingerClient.cpp fix a bug that caused the PixelFormat viewed by Surface to be wrong. 2009-08-19 17:46:26 -07:00
KeyCharacterMap.cpp
KeyLayoutMap.cpp
KeyLayoutMap.h
LayerState.cpp
MODULE_LICENSE_APACHE2
NOTICE
Overlay.cpp Adding resizeInput and setAttributes for overlay 2009-07-29 17:53:38 -07:00
PixelFormat.cpp
Rect.cpp
Region.cpp should fix sim build 2009-07-06 18:07:26 -07:00
Surface.cpp fix [2070341] [FAST BLOCKER] can't successfully setup erc52 2009-08-21 15:44:17 -07:00
SurfaceComposerClient.cpp get rid of references to MemoryDealer in SurfaceFlinger 2009-07-02 18:50:51 -07:00
SurfaceFlingerSynchro.cpp