OSDN Git Service
Mangesh Ghiware [Mon, 12 Sep 2011 16:46:49 +0000 (09:46 -0700)]
Merge "On zoom to overview, reflow text, if necessary."
Jaikumar Ganesh [Mon, 12 Sep 2011 16:45:20 +0000 (09:45 -0700)]
Merge "Don't override the hash code for the channel."
The Android Open Source Project [Mon, 12 Sep 2011 14:46:51 +0000 (07:46 -0700)]
Reconcile with gingerbread-release
Change-Id: I4b6c483135fc0cb50e6de6c2fde845842c29e25c
satok [Mon, 12 Sep 2011 07:25:41 +0000 (00:25 -0700)]
Merge "Fix the visiblity of the ime switcher icon."
satok [Mon, 12 Sep 2011 06:56:40 +0000 (15:56 +0900)]
Fix the visiblity of the ime switcher icon.
Bug:
5288866
Change-Id: I99b4aee36c337b2fab1116e9245ddecd826c840c
Ken Wakasa [Mon, 12 Sep 2011 03:01:25 +0000 (12:01 +0900)]
Fix NPE
bug:
5290369
Change-Id: Ica450c49fc0bc89b1697eaa1086707f481f6be7e
Daniel Sandler [Mon, 12 Sep 2011 00:08:50 +0000 (17:08 -0700)]
Merge "Exit the keyguard when the user clicks a notification."
Daniel Sandler [Mon, 12 Sep 2011 00:08:41 +0000 (17:08 -0700)]
Merge "Fix bug swiping away NO_CLEAR notifications."
Ben Komalo [Sun, 11 Sep 2011 23:48:32 +0000 (16:48 -0700)]
Merge "Revert encryption mapping for device wipes."
Amith Yamasani [Sun, 11 Sep 2011 22:58:31 +0000 (15:58 -0700)]
Merge "Fix preference screen padding for legacy apps (non Holo)."
Neal Nguyen [Sun, 11 Sep 2011 21:58:02 +0000 (14:58 -0700)]
Merge "Fixing DownloadManager Test app."
Tsu Chiang Chuang [Sun, 11 Sep 2011 21:10:00 +0000 (14:10 -0700)]
Merge "aggregating test results when reporting to instrumentation out."
Daniel Sandler [Sun, 11 Sep 2011 20:29:05 +0000 (16:29 -0400)]
Exit the keyguard when the user clicks a notification.
(This only works if the keyguard is not secure, but then
again, the user can't access the notification panel in that
case anyway.)
Bug:
5173952
Change-Id: I8a6081d26c52843822b381d8ebe0fae94a03bef9
Amith Yamasani [Sun, 11 Sep 2011 19:35:33 +0000 (12:35 -0700)]
Fix preference screen padding for legacy apps (non Holo).
Also fixes the right margin for single pane preferences on phones, so the
scrollbar is fully visible.
Bug:
5262868
Bug:
5263470
Change-Id: Ifbbe22744bd42ab33578d1f01daecdea4d59f5cc
Daniel Sandler [Sun, 11 Sep 2011 19:39:24 +0000 (15:39 -0400)]
Fix bug swiping away NO_CLEAR notifications.
Bug:
5121507
Change-Id: I798686cfc8506805298e1481a3d603ce700e12f4
Dianne Hackborn [Sun, 11 Sep 2011 20:07:24 +0000 (13:07 -0700)]
Merge "Fix inflating of animations."
Chet Haase [Sun, 11 Sep 2011 19:58:45 +0000 (12:58 -0700)]
Merge "Fix
5266335: bad DIRTY/invalidation logic"
Dianne Hackborn [Sun, 11 Sep 2011 19:47:45 +0000 (12:47 -0700)]
Fix inflating of animations.
Need to define attributes for animation set, to have correct indices.
Also small fixes elsewhere.
Change-Id: If596147e8aee4ebffe4e184872070341eff6df73
Tsu Chiang Chuang [Sun, 11 Sep 2011 19:26:29 +0000 (12:26 -0700)]
aggregating test results when reporting to instrumentation out.
Change-Id: Ic652f893d7cfd469a912bd71a094f337166a6aa5
Dianne Hackborn [Sun, 11 Sep 2011 18:21:09 +0000 (11:21 -0700)]
Merge "Fix build."
Dianne Hackborn [Sun, 11 Sep 2011 18:20:21 +0000 (11:20 -0700)]
Fix build.
Change-Id: I8f0f137649ae69100a2b94706ad9b3861d8dbac0
John Huang [Sun, 11 Sep 2011 18:13:29 +0000 (11:13 -0700)]
Merge "Handle HSPAP."
Chet Haase [Sun, 11 Sep 2011 18:06:06 +0000 (11:06 -0700)]
Fix
5266335: bad DIRTY/invalidation logic
The DIRTY flag is used to track which elements of the view hierarchy need
to be redrawn on the next drawing operation. This flag is set on the parent
hierarchy of a view when that view is invalidated. There is an optimization for
opaque views that tells the parent that it is dirty, but that it need not
redraw its own content because the view will cover it (since it is opaque).
This dirty-opaque logic breaks down in the current code because we only set
these dirty flags on the parent hierarchy, not on the view itself. In the situation
raised by this bug, we would invalidate the parent container directly (which does
not case the dirty flag to be set), then we would invalidate a child of that view.
Because the child is opaque, the DIRTY_OPAQUE flag would be set on the parent
container. This would cause us, in the later rendering process, to skip the
drawing on that parent container, assuming that it was only asked to be redrawn
because of its opaque child's invalidation.
The fix is to now set the DIRTY flag on an invalidated view, not just on its parent
hierarchy. The DIRTY_OPAQUE logic will avoid setting the opaque flag on views/parents
that are already marked DIRTY, thus an invalidated parent will be correctly drawn
during the drawing process.
Change-Id: Ib5e014a125a4f5168f6a5a3166e941474659aca5
Dianne Hackborn [Sun, 11 Sep 2011 17:56:01 +0000 (10:56 -0700)]
Merge "The wave view attributes should not be public."
Svetoslav Ganov [Sat, 10 Sep 2011 01:57:35 +0000 (18:57 -0700)]
Merge "Inter process interrogation ocassionally gets stuck."
Svetoslav Ganov [Sat, 10 Sep 2011 01:43:15 +0000 (18:43 -0700)]
Inter process interrogation ocassionally gets stuck.
1. There was a bug that was not handling correctly the
case for which the interrogator requests an accessibility
node info and the message describing how to fetch the
latter for the same process case was delivered after the
code that checks whether the message is there in order to
dispatch it is executed. Now the message handling is done
correctly - the caller checks if the message is present and
if so processes it, otherwise the caller sleeps and is
interrupted if such a message arrives.
bug:
5138933
Change-Id: I4c2940b46c9a52a51c5ee48b83ca6811489765d6
Dianne Hackborn [Sat, 10 Sep 2011 01:35:23 +0000 (18:35 -0700)]
The wave view attributes should not be public.
Change-Id: I7f021fc79385f5cf2e252389cc5f672f334ee4c4
android-merger [Sat, 10 Sep 2011 01:35:13 +0000 (18:35 -0700)]
one more api missed
Change-Id: Ibfcb9155974edc96b4c98742d8d89987d3b176b6
Adam Powell [Sat, 10 Sep 2011 01:09:51 +0000 (18:09 -0700)]
Fix build
Change-Id: I2b1ad9f057367873554ca4df0c93050bbbc9ebb7
Adam Powell [Sat, 10 Sep 2011 00:47:23 +0000 (17:47 -0700)]
Merge "Fix metrics on Holo progress dialogs"
Adam Powell [Fri, 9 Sep 2011 23:22:34 +0000 (16:22 -0700)]
Fix metrics on Holo progress dialogs
Change-Id: I8818d002dcee0ca6d6deead9e0403c07e8ef4460
Romain Guy [Sat, 10 Sep 2011 00:35:02 +0000 (17:35 -0700)]
Merge "Go faster!!!!"
James Dong [Sat, 10 Sep 2011 00:32:50 +0000 (17:32 -0700)]
Merge "MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile"
Devaraj Rangasamy [Fri, 9 Sep 2011 00:53:33 +0000 (17:53 -0700)]
MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile
MTS tests have hardcoded video framerates.
MTS can query the video framerate supported by device via
Camcorder profiles and use.
Change-Id: I61666df6af58eaba46f7366521cc114184cb4ac5
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
Jeff Brown [Sat, 10 Sep 2011 00:01:25 +0000 (17:01 -0700)]
Merge "Tweak VelocityTracker. Bug:
5265529"
Gilles Debunne [Fri, 9 Sep 2011 23:46:42 +0000 (16:46 -0700)]
Hide method to fix the build
Change-Id: I5a556454a722bf037932632fa7e6ee6a2832a68d
android-merger [Fri, 9 Sep 2011 23:27:36 +0000 (16:27 -0700)]
missed part of https://android-git.corp.google.com/g/#/c/104540/
Change-Id: I0da6d5bd860b1fe9df76b9df372e4ad9ab6e7202
Mangesh Ghiware [Fri, 9 Sep 2011 23:04:22 +0000 (16:04 -0700)]
On zoom to overview, reflow text, if necessary.
Reset the text wrap scale to the correct value (i.e., reading level
scale) on zoom to overview. This addresses the scenario where text is
wrapped at a larger scale following a pinch zoom and double tap to
reflow.
Bug:
5254253
Change-Id: I57f706ef4254dd3f194cc35f109dd48b61b72f73
android-merger [Fri, 9 Sep 2011 23:15:00 +0000 (16:15 -0700)]
missed aidl change in previous merge
Change-Id: I6c1c55d0b79d5f2d7be538ec3a51c5708522a08f
Ben Murdoch [Fri, 9 Sep 2011 23:14:20 +0000 (16:14 -0700)]
Merge "Relax form autocomplete conditions"
Adam Powell [Fri, 9 Sep 2011 23:12:03 +0000 (16:12 -0700)]
Merge "Fix bug
5214224 - Align stock framework list item padding for dialogs"
Jeff Brown [Fri, 9 Sep 2011 22:39:35 +0000 (15:39 -0700)]
Tweak VelocityTracker.
Bug:
5265529
Calculate the velocity using the most recent touch sample as the
point of reference instead of the oldest. This change more heavily
weights recent touch samples and reduces the sample time window
used for calculation. This significantly improves the accuracy
of fling gesture detection.
Change-Id: Ib1940933e786e5f6a731552a99bcd9400741d55f
Gilles Debunne [Fri, 9 Sep 2011 23:01:08 +0000 (16:01 -0700)]
Merge "Bug
5255124: Move cursor to the end of a word after correction popup alternates selection"
Gilles Debunne [Fri, 9 Sep 2011 22:52:09 +0000 (15:52 -0700)]
Merge "Bug
5278456: text highlight color depends on the type of suggestion spans."
James Dong [Fri, 9 Sep 2011 22:50:39 +0000 (15:50 -0700)]
Merge "Fix another hardcoded frame rate in the media framework test"
Adam Powell [Fri, 9 Sep 2011 22:49:03 +0000 (15:49 -0700)]
Fix bug
5214224 - Align stock framework list item padding for dialogs
Set holo dialog themes to 16dip of padding for list items to align with
theme dialog metrics.
Change-Id: Ia07c08f05fadfe8bbcb596d6fe8a27cc14805c6c
Jaikumar Ganesh [Fri, 9 Sep 2011 22:48:22 +0000 (15:48 -0700)]
Don't override the hash code for the channel.
Each channel is uniquely represented by the object itself,
so use the hash code to identify it. Using channelPath in the
calculation will mess up things - since in Connecting state the
channel path is null and when its connected, we will get a different
hash code.
Change-Id: I6af6c783e18fddbd38344432b8156e000baafb15
Guang Zhu [Thu, 8 Sep 2011 06:55:27 +0000 (23:55 -0700)]
Make MediaScanner skip certain directories
The list of directories to skip are configurable via setprop.
The main motivation is that some test data folder takes long time
to scan, and media scanner may compete for CPU time against perf
tests therefore skewing the results.
Bug:
5263115
Change-Id: I568213e2a4babf6033021c1d336ef0347c0e3315
Romain Guy [Fri, 9 Sep 2011 22:30:30 +0000 (15:30 -0700)]
Go faster!!!!
The less we do, the faster we draw.
Change-Id: I7bbc3908b36d8ae295ea3e61ef71fd9ee2187970
Dianne Hackborn [Fri, 9 Sep 2011 22:27:44 +0000 (15:27 -0700)]
Merge "Pull animation attributes out of main view class."
Jaikumar Ganesh [Fri, 9 Sep 2011 22:19:43 +0000 (15:19 -0700)]
Merge "Add error codes for channel disconnection / connection."
Adam Powell [Fri, 9 Sep 2011 22:18:01 +0000 (15:18 -0700)]
Merge "Bug
5214224 - List item metrics"
Irfan Sheriff [Fri, 9 Sep 2011 22:15:13 +0000 (15:15 -0700)]
Merge "Finalize wifi watchdog default settings"
Irfan Sheriff [Fri, 9 Sep 2011 22:11:44 +0000 (15:11 -0700)]
Merge "Disable p2p when airplane mode is turned on"
Gilles Debunne [Fri, 9 Sep 2011 21:49:26 +0000 (14:49 -0700)]
Bug
5255124: Move cursor to the end of a word after correction popup alternates selection
Change-Id: Idd3edc72edf864f256df173bcf643163192ecbde
Jim Miller [Fri, 9 Sep 2011 22:01:49 +0000 (15:01 -0700)]
Merge "Allow lockscreen orientation to be overridden with a system property."
James Dong [Fri, 9 Sep 2011 21:56:30 +0000 (14:56 -0700)]
Merge "Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation"
Jim Miller [Fri, 9 Sep 2011 21:12:54 +0000 (14:12 -0700)]
Allow lockscreen orientation to be overridden with a system property.
There are cases where lockscreen changes orientation (when docked, etc.),
but it's not easy to test. This allows lockscreen's behavior to be
overridden by command-line.
Change-Id: I7ce1e2ca0ea03a9034a6f537e33650e99e3594d8
Dianne Hackborn [Fri, 9 Sep 2011 21:53:53 +0000 (14:53 -0700)]
Merge "Work on issue #
5144065: Tap on Music icon from Home screen - a different app opens"
John Huang [Fri, 9 Sep 2011 21:52:57 +0000 (14:52 -0700)]
Handle HSPAP.
We were missing a case statement for HSPAP when picking icons.
Treat it the same as the other HSPA types.
bug:
5286238
Change-Id: Ia222cc600a5920e057698ba8b0d2cc8e4836b500
android-merger [Fri, 9 Sep 2011 21:49:13 +0000 (14:49 -0700)]
bring nfc-extras up to date (same as gingerbread)
Change-Id: Ia9cfce0a9919d1903b05fc7eda170a3aa97655ee
Dianne Hackborn [Fri, 9 Sep 2011 19:35:29 +0000 (12:35 -0700)]
Work on issue #
5144065: Tap on Music icon from Home screen - a different app opens
When force stopping an app, when removing its activities also finish any
activities from other apps above it in the task. This avoids some situations
where the task gets into a bad state where its root becomes a different app.
Change-Id: I79e5cd520ae321bec80adefd2ccc2b0370ace372
Ben Komalo [Wed, 7 Sep 2011 23:35:56 +0000 (16:35 -0700)]
Revert encryption mapping for device wipes.
External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.
This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.
Bug:
5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
Dianne Hackborn [Fri, 9 Sep 2011 21:43:39 +0000 (14:43 -0700)]
Pull animation attributes out of main view class.
These are now in a separate class that is only allocated when
needed by the view.
Change-Id: I9601bb43b3b4bfdabd982b02f7cd7534437b8ac3
Adam Powell [Fri, 9 Sep 2011 21:01:55 +0000 (14:01 -0700)]
Bug
5214224 - List item metrics
Base list item padding on the theme. Adjust stock framework list items
to obey this. Adjust text sizes in stock list items based on existing
theme attributes.
Change-Id: I98a441e5494fa1d1d34a5f05e525e54e8b0d78b9
Ben Murdoch [Fri, 9 Sep 2011 15:49:44 +0000 (16:49 +0100)]
Relax form autocomplete conditions
Use the URL host and path rather than the complete url to store
form autocomplete data. This helps in the situation that a site
uses some dynamic query string on the page that contains the form.
Also set the autoocmplete threshold to 1 so that we don't flick the
autocomplete options up and down as you type the first few characters.
Bug:
5265606
Change-Id: I7b372400062ae34f70a78b786007910dc179b101
Dianne Hackborn [Fri, 9 Sep 2011 21:28:05 +0000 (14:28 -0700)]
Merge "Fix issue #
5273986: The power usage of the mp3 background playback..."
Irfan Sheriff [Fri, 9 Sep 2011 21:10:15 +0000 (14:10 -0700)]
Disable p2p when airplane mode is turned on
Bug:
5286610
Change-Id: Ia895dfbf0d1bc39458f4a4d24595c862750eea38
Peter Ng [Fri, 9 Sep 2011 20:38:40 +0000 (13:38 -0700)]
Merge "list_dividers for xh are now 2pixels high."
James Dong [Fri, 9 Sep 2011 20:19:59 +0000 (13:19 -0700)]
Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation
Change-Id: Iee9b18449bce9d7565ab5cc7f9e999484051196c
related-to-bug:
5233843
Dianne Hackborn [Fri, 9 Sep 2011 20:02:43 +0000 (13:02 -0700)]
Fix issue #
5273986: The power usage of the mp3 background playback...
...increased from ~50mA to 260mA
Change-Id: I24d7188185f4ec5ff9e1f29c15472ae56c851e5e
Irfan Sheriff [Fri, 9 Sep 2011 19:36:28 +0000 (12:36 -0700)]
Finalize wifi watchdog default settings
- Reduce DNS counts from 15 to 5. 15 was for debug.
- Keep success scenario as atleast 1 being successful
- Wait for a second to start checks (for some setups)
- Use one bar as a start for doing periodic DNS checks
- Do a DNS check every hour (instead of half hour)
Bug:
5284337
Change-Id: Ie64d8cac48318a0c4c59f91ad21f8c6712b71338
Peter Ng [Fri, 9 Sep 2011 18:27:40 +0000 (11:27 -0700)]
Merge "Updated CAB done assets"
Svetoslav Ganov [Fri, 9 Sep 2011 18:24:24 +0000 (11:24 -0700)]
Merge "The time and data pickers did not support IME editor action correctly."
Peter Ng [Fri, 9 Sep 2011 01:42:12 +0000 (18:42 -0700)]
list_dividers for xh are now 2pixels high.
-1px everywhere but xhdpi
-deleted no dpi
-changed holo_light #000 15%
-changed holo_dark #fff 10%
Change-Id: I1ee16bb21b80655d62b91a2b43b3740700463cc7
Svetoslav Ganov [Fri, 9 Sep 2011 18:18:40 +0000 (11:18 -0700)]
Merge "Update the sharing UI according to latest UX specs."
Peter Ng [Fri, 9 Sep 2011 18:07:51 +0000 (11:07 -0700)]
Updated CAB done assets
-removed cab background on press and focused
Change-Id: Ib93632955bbaa62497acc82079091019ba7991c3
Jeff Brown [Fri, 9 Sep 2011 18:06:25 +0000 (11:06 -0700)]
Merge "Adjust layers for system overlays."
Brian Colonna [Fri, 9 Sep 2011 17:52:09 +0000 (10:52 -0700)]
Merge "Moved FaceLock bind/unbind calls inside of null check"
Daniel Sandler [Fri, 9 Sep 2011 17:39:04 +0000 (10:39 -0700)]
Merge "Show roaming icon in status bar."
Subir Jhanb [Fri, 9 Sep 2011 17:36:09 +0000 (10:36 -0700)]
Merge "NPE check in the SyncStateContract BUG:
5196483"
Ken Wakasa [Fri, 9 Sep 2011 17:19:51 +0000 (10:19 -0700)]
Merge "Suppress "Automatic" subtype name in tablet's IME switcher panel"
Fred Quintana [Fri, 9 Sep 2011 16:52:45 +0000 (09:52 -0700)]
Merge "Add a form of getAuthToken that both accepts an options Bundle and doesn't accepts an activity."
Peter Ng [Fri, 9 Sep 2011 16:52:05 +0000 (09:52 -0700)]
Merge "Status bar close dragdown resized to 32dp"
Ken Wakasa [Fri, 9 Sep 2011 16:47:49 +0000 (01:47 +0900)]
Suppress "Automatic" subtype name in tablet's IME switcher panel
bug:
5282718
Change-Id: Ibecd6309eba9ac2fe173be7db4ba353e5821bd43
Brian Colonna [Fri, 9 Sep 2011 15:48:16 +0000 (11:48 -0400)]
Moved FaceLock bind/unbind calls inside of null check
- I am not sure under what circumstances mKeyguardView can be null in
onScreenTurnedOn() and I never saw this behavior before the commit,
but it can happen and prevent the device from booting
- Patched to fix line length
Change-Id: I39efa5c1d68158af5c108430036fe7c715ef855b
Marco Nelissen [Fri, 9 Sep 2011 15:44:19 +0000 (08:44 -0700)]
Merge "Fix bug
5045498 Unhide Remote Control Client API"
Eric Laurent [Fri, 9 Sep 2011 15:27:04 +0000 (08:27 -0700)]
Merge "Fix issue
4673378: switching from VoIP to GSM call"
Justin Ho [Fri, 9 Sep 2011 14:49:40 +0000 (07:49 -0700)]
Merge "Add default videos for background replacement."
Ken Wakasa [Fri, 9 Sep 2011 11:14:22 +0000 (20:14 +0900)]
Fix a bug in InputMethodSubtype constructor
bug:
5249480
Change-Id: I707e45cc0606dae7824c478ab586fc24d3f417f8
Mathias Agopian [Fri, 9 Sep 2011 08:50:13 +0000 (01:50 -0700)]
Merge "Fix another problem with refreshing the screen when switching to/from overlay"
Mathias Agopian [Fri, 9 Sep 2011 08:50:01 +0000 (01:50 -0700)]
Merge "Improve SF dumpsys output wrt HWC"
Mathias Agopian [Fri, 9 Sep 2011 08:47:48 +0000 (01:47 -0700)]
Fix another problem with refreshing the screen when switching to/from overlay
the previous fix was incorrect. See comment in setupHardwareComposer for
full explanations.
Change-Id: Ib24a9af000b8f95cf7319f9272d34997064ceb6d
Jim Miller [Fri, 9 Sep 2011 07:58:01 +0000 (00:58 -0700)]
Merge "Fix
5185505: Add support for weak biometric sensors to lockscreen."
Jim Miller [Mon, 5 Sep 2011 23:03:14 +0000 (16:03 -0700)]
Fix
5185505: Add support for weak biometric sensors to lockscreen.
Added binder interfaces to the framework.
Change-Id: I7d55b45baa4d1600ebd2a3828e85c3357cfcfb58
Mathias Agopian [Fri, 9 Sep 2011 07:49:11 +0000 (00:49 -0700)]
Improve SF dumpsys output wrt HWC
Change-Id: Ibdb7930fa3b521bfd3f44750ed98cfd75f9a01fe
Chih-Chung Chang [Fri, 9 Sep 2011 06:38:44 +0000 (23:38 -0700)]
Merge "Fix
5278371: OOM in MediaItemThumbnailTest"
Chih-Chung Chang [Fri, 9 Sep 2011 05:58:59 +0000 (13:58 +0800)]
Fix
5278371: OOM in MediaItemThumbnailTest
Because we request 400x240 thumbnails. 100 thumbnails needs 38M,
which is too much. Change it to 70 now.
Also handle the case if the thumbnail callback throws exception.
Change-Id: Iac4ee72f308b7c7a6ae860983197601cf89bee8f
Mathias Agopian [Fri, 9 Sep 2011 05:46:25 +0000 (22:46 -0700)]
Merge "Fix an issue is SF that caused drawing artifacts when hwc changed mode"
Mathias Agopian [Fri, 9 Sep 2011 01:31:55 +0000 (18:31 -0700)]
Fix an issue is SF that caused drawing artifacts when hwc changed mode
we were not redrawing and/or clearing the FB properly when
hwc moved a layer from/to FB to/from OVERLAY.
In these cases we needed to expand the dirty region to include
the layer that changed mode.
Also split composeSurfaces() which was becoming quite large.
Change-Id: Id6fa1acfc4ff694037fddf7efd037a4405732073