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
BufferMapper.cpp
Camera.cpp
CameraParameters.cpp
EGLUtils.cpp
EventHub.cpp
EventRecurrence.cpp
FramebufferNativeWindow.cpp
ICamera.cpp some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
ICameraClient.cpp
ICameraService.cpp
IOverlay.cpp
ISurface.cpp
ISurfaceComposer.cpp get rid of references to MemoryDealer in SurfaceFlinger 2009-07-02 18:50:51 -07:00
ISurfaceFlingerClient.cpp
KeyCharacterMap.cpp
KeyLayoutMap.cpp
KeyLayoutMap.h
LayerState.cpp
MODULE_LICENSE_APACHE2
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Overlay.cpp
PixelFormat.cpp
Rect.cpp
Region.cpp
Surface.cpp
SurfaceComposerClient.cpp
SurfaceFlingerSynchro.cpp