58430 Commits

Author SHA1 Message Date
Mathias Agopian
5d9a4f33d3 Merge "improve hwc log output" into ics-factoryrom 2011-09-29 18:34:22 -07:00
Mathias Agopian
1f84f44bfa improve hwc log output
we now print the handle of each buffer

Change-Id: I4104cd6d3a0a303baf44c5c69de3bf36c237892e
2011-09-29 18:12:20 -07:00
Dima Zavin
e8b7f4a20c eventhub: print debugginf info when removing device
Change-Id: I40bbbd3867e8c7ac7d6fb38e1c72432bb4963316
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-29 11:28:17 -07:00
Dianne Hackborn
9547d03ef1 Fix build.
Change-Id: Ife2b4b207270f8017d3acd80c76eaf1c7a50986d
2011-09-28 20:48:41 -07:00
Dianne Hackborn
1fd6c33620 Fix issue #5312624: Lock screen very flickery
The key thing was to fix isVisibleOrBehindKeyguardLw() so that it
wouldn't count a window as not visible if it was just currently
in the process of drawing due to an orientation change.

Also improve logic in deciding when to turn screen on to better ensure
the screen is in a stable state, in particular treating screen off
as a frozen screen and not allowing it to turn on until the
update of the screen due to any config change is done.

Change-Id: If82199f3773270b2d07f9c7de9da2dad8c7b28d7
2011-09-28 19:46:39 -07:00
Dianne Hackborn
6ea4da95d9 Fix issue #5242779: Device not responding to touch on unlock screen
Rework how we decide when it is okay to turn on the screen by having
the policy call back to the power manager when it knows the lock screen
has been drawn.

Change-Id: Ie8f3f72111dcf7f168723e6dce24e0343b4afe5d
2011-09-28 19:46:34 -07:00
Eric Fischer
d908b40d0b Merge "Import revised translations." into ics-factoryrom 2011-09-28 17:35:18 -07:00
Eric Fischer
9e2e026ff2 Import revised translations.
Bug 5384730

Change-Id: I796fdb4e953595d8dc6a8577f4a633b5d4ff91ca
2011-09-28 17:29:42 -07:00
Eric Fischer
a94489b439 Merge "Don't lose product variant strings that also vary between locales." into ics-factoryrom 2011-09-28 17:01:39 -07:00
Eric Fischer
5c12c03931 Merge "Import revised translations. DO NOT MERGE." into ics-factoryrom 2011-09-28 16:55:33 -07:00
Eric Fischer
6cbc7d6ad9 Import revised translations. DO NOT MERGE.
Change-Id: Ic1c1290adfac7dd0eabba74e8d290bcc8567d91e
2011-09-28 16:32:06 -07:00
Justin Ho
24664c0003 Merge "Updated menu icon Bug: 5388009" into ics-factoryrom 2011-09-28 15:24:09 -07:00
Justin Ho
3b5a379dda Merge "Updated overflow menu icon Bug: 5388009" into ics-factoryrom 2011-09-28 15:23:57 -07:00
Justin Ho
5fba7e525e Updated menu icon
Bug: 5388009

Change-Id: I3bc43a707f4fdb38021cf0cf9f76784f5e1192d9
2011-09-28 14:56:47 -07:00
Justin Ho
55cea04465 Updated overflow menu icon
Bug: 5388009

Change-Id: I667d6ecf0e897c073c669b2b88ffe06a71ca704d
2011-09-28 14:55:01 -07:00
Xia Wang
b2d17234b7 Merge "Reorganize media framework functional tests. Group tests into sub-packages" into ics-factoryrom 2011-09-28 12:38:15 -07:00
Fred Quintana
272101b308 Merge "Fix a bug in the account chooser where relaunching an in-progress flow results in a blank screen." into ics-factoryrom 2011-09-28 11:45:52 -07:00
Fred Quintana
9bbdd0bf50 Fix a bug in the account chooser where relaunching an in-progress flow
results in a blank screen.

The fix involves making the first activity just call the account
type chooser to get the account type to add, rather than having
the account type chooser also kick off the AccountManager.addAccount()
request itself. Instead the first activity will get the type
back and then call AccountManager.addAccount()

Bug: 5346810
Change-Id: I4a0cf2370971b98f8ee0910f5401d97e999e546b
2011-09-27 17:24:32 -07:00
Eric Fischer
914f7e683a Don't lose product variant strings that also vary between locales.
Localized strings with product variants were not being included in the APK,
apparently because the check to ensure that a different variation of the
string had not already been included in the APK was matching the version
of it from the default, untranslated configuration.

Now check to make sure that the string not only exists but also exists in
the correct configuration.

Bug 5372711

Change-Id: I52975570b75e0f11827dc6bcf1cb4a987d0541aa
2011-09-27 16:09:41 -07:00
Xia Wang
db6028508c Reorganize media framework functional tests.
Group tests into sub-packages

Change-Id: I878e14487142de495fc646037d5d0b51e39341bd
2011-09-27 16:00:20 -07:00
Romain Guy
0e8fb15da2 CherryPick 043a6b from master: do not merge.
Don't use OpenGL ES 2.0 to render the wallpaper on the emulator.
Bug #5352896

The emulator doesn't support OpenGL ES 2.0.

Change-Id: I3d60f8e4b5c5431e9e21471c576f4a9382f4693f
2011-09-27 15:59:53 -07:00
Eric Fischer
ce9756d06d Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-27 14:54:12 -07:00
Eric Fischer
006e6ef2e6 Import revised translations. DO NOT MERGE
Change-Id: Ifb1966956dcc9fe4e082708bb3fb30d5224308e7
2011-09-27 14:29:36 -07:00
Daniel Sandler
25bb73eb1b Merge "Remove "excessive sync" icon." into ics-factoryrom 2011-09-27 13:06:01 -07:00
Jamie Gennis
da42e0faaa Merge "SurfaceFlinger: fix setting default buffer size" into ics-factoryrom 2011-09-27 12:28:59 -07:00
Justin Ho
5fd141c245 Merge "Updated stat_sys icons" into ics-factoryrom 2011-09-27 09:54:40 -07:00
Daniel Sandler
abff032e78 Draw smaller system status icons without scaling.
Bug: 5297795
Change-Id: I11dc3a21b2e1111963b1cd9621434747f1757a67
2011-09-27 11:20:17 -04:00
Jim Miller
b4f0a9f389 Merge "Fix 5326463: rework sim state handling in lockscreen" into ics-factoryrom 2011-09-26 18:41:01 -07:00
Jamie Gennis
3a23212111 SurfaceFlinger: fix setting default buffer size
This change makes SurfaceFlinger update a SurfaceTextureLayer's default
buffer size in response to a window resize even if the Layer is in fixed
size mode.

Change-Id: I3871c8f19a045d03904d1284390cad7659be71ff
Bug: 5366426
2011-09-26 18:38:52 -07:00
Christopher Tate
7462251b0a Merge "Don't hang in restore if the transport reports failure" into ics-factoryrom 2011-09-26 17:12:08 -07:00
Daniel Sandler
b1e8dab967 Remove "excessive sync" icon.
Bug: 5354985
Change-Id: Ie0ce3448ff33c3211d79e8c699f5709561f463b0
2011-09-26 20:06:19 -04:00
Fabrice Di Meglio
a200a23af1 Merge "Bug 5332065: IOOB in case the suggestionSpan has been removed" into ics-factoryrom 2011-09-26 16:58:35 -07:00
Mathias Agopian
8632561e14 Merge "Make the status and navigation bars OPAQUE." into ics-factoryrom 2011-09-26 16:19:26 -07:00
Mathias Agopian
a2a3f1e7e6 Merge "don't clear the framebuffer when the framebuffer is not used" into ics-factoryrom 2011-09-26 16:19:04 -07:00
Mathias Agopian
a7969d91ad Merge "Do not blend opaque windows." into ics-factoryrom 2011-09-26 16:18:59 -07:00
Mathias Agopian
81f69ba56a don't clear the framebuffer when the framebuffer is not used
when areas of the FB are undefined (transparent windows on top of
nothing), we clear those areas before composition.
however, it makes no sense to do this when the FB is not in use
(case where hwc handles all layers)

Bug: 5360529
Change-Id: I761a7d3664228ebbee0944aca8b0cc278fc94c9c
2011-09-26 16:14:05 -07:00
Romain Guy
7036fdd099 Do not blend opaque windows.
This change ensures the wallpaper is rendered into an opaque surface
which avoids a glClear() in SurfaceFlinger. This should save quite
a bit of work on every frame when panning the workspace in launcher.

Change-Id: Id43d3498a54c2d60ec4ee3377c92ef79bff55bc1
2011-09-26 16:12:04 -07:00
Mathias Agopian
781fea802b Region cannot handle malformed Rects. Abort the Region op in that case.
Bug: 5331198, 5334829
Change-Id: I05f2aaa95c55fe9e4a5d23180bb3032896c88151
2011-09-26 16:08:52 -07:00
Mathias Agopian
04ba6d0ebd Make sure Region handles invalid rectangles
the boolean operation code assumes rects are valid and
could go into an infinite loop if not. make sure we
abort before that happens.

Bug: 5331198, 5334829
Change-Id: I8aa42b2e0b37238ec2434b794dd84c1a1b70f163
2011-09-26 16:08:42 -07:00
Gilles Debunne
14ed50a9a3 Bug 5332065: IOOB in case the suggestionSpan has been removed
I don't understand how the SuggSpan that has been tapped to display
the popup can have disappeared when an item is clicked.

This problem seems specific to monkey test with a race condition somewhere.

Change-Id: I447b6563a1b959dc3c1ead31cde2d9bcad369765
2011-09-26 15:59:24 -07:00
Jamie Gennis
892ac4155a Merge "(DO NOT MERGE) SurfaceFlinger: fix isOpaque check in lockPageFlip" into ics-factoryrom 2011-09-26 15:44:41 -07:00
Jim Miller
3f5f83b54f Fix 5326463: rework sim state handling in lockscreen
Previously it was possible to get an inconsistent state because there
were two paths that updated the lock screen sim state.  This reworks
the data flow to ensure the same path is always used to update the state.

KeyguardUpdateMonitor now correctly updates the entire state of the callee
whenever a new callback is registered.

In addition, KeyguardUpdateMonitor now caches the phone state in order
to avoid a round-trip binder call in updateEmergencyCallButtonState().
This avoids a condition that could make lockscreen unresponsive while
updating the emergency call button state.

KeyguardStatusViewManager also ensures the TransportControlView is
hidden when created to ensure we don't inappropriately update the carrier
line while waiting for the first callbacks to update the status lines.

Change-Id: I6b3975b703a7d90bac8d0fe29fbc0f1d9c5e0e7d
2011-09-26 15:17:05 -07:00
Jamie Gennis
3780d38010 Merge "SurfaceFlinger: fix the transform hint" into ics-factoryrom 2011-09-26 15:09:15 -07:00
Eric Fischer
622abb73a9 Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-26 14:55:58 -07:00
Eric Fischer
334c39be25 Import revised translations. DO NOT MERGE
Change-Id: I3b5544d4e5739d08d1c3c6cc59dafe89de3b92c0
2011-09-26 14:49:06 -07:00
Christopher Tate
5f2f41350e Don't hang in restore if the transport reports failure
Casualty of the recent refactoring: in this particular error case,
the restore sequence wasn't being directed into the finalization
state.  Fixes bug 5336295.

Change-Id: Ibf5570cd1003e123da8b561685de8479663340ce
2011-09-26 13:10:38 -07:00
Daniel Sandler
61b645ab86 Merge "Update all RSSIs whenever the connectivity changes." into ics-factoryrom 2011-09-26 12:37:29 -07:00
Ben Komalo
69a6d537e6 Merge "Enter minimal boot mode when booting encrypted" into ics-factoryrom 2011-09-26 12:01:01 -07:00
Wink Saville
2783e1ce7a Merge "Remove unused persist.radio.imsregrequired." into ics-factoryrom 2011-09-26 10:25:21 -07:00
Justin Ho
48704d4962 Updated key and effect sounds
Change-Id: Ia7c771ed59bf1803ed7ff25d338a412906cf59c0
2011-09-26 09:47:18 -07:00