59767 Commits

Author SHA1 Message Date
Jamie Gennis
3a73507801 Merge "SurfaceTexture: report binder transaction failures" into ics-mr0 2011-10-17 11:25:46 -07:00
Dianne Hackborn
c047f60db2 Merge "Fix issue #5445666: bunch of com.android.server.TextServicesManagerService crashes" into ics-mr0 2011-10-17 11:16:57 -07:00
Daniel Sandler
61e980d618 Merge "Turn off chatty logging." into ics-mr0 2011-10-17 10:50:18 -07:00
Chet Haase
1aad3b5e33 Merge "Issue 5432115: Speed up notification scrolling" into ics-mr0 2011-10-17 10:50:16 -07:00
Dianne Hackborn
71e14da93c Fix issue #5445666: bunch of com.android.server.TextServicesManagerService crashes
Only unbind once.

Also protection from removing a SpellCheckerBindGroup from mSpellCheckerBindGroups
if it is no longer the current entry there.

Change-Id: Ic585295dfae77eae101a611afbf116bc681290ad
2011-10-17 10:21:25 -07:00
Winson Chung
49a98c8f64 Merge "Showing notifications after taking a screenshot (Bug: 5333706)" into ics-mr0 2011-10-17 10:20:46 -07:00
Amith Yamasani
541f6cfba8 Merge "Add alarm volume to the list of volumes in the volume overlay." into ics-mr0 2011-10-17 09:42:52 -07:00
Daniel Sandler
7c35174a6f Turn off chatty logging.
Bug: 5120636 // connection state
Bug: 5125930 // status bar
Change-Id: I5713a4d63df7c51f9e2f53ea21aa66973f74d4c6
2011-10-17 11:59:04 -04:00
Chet Haase
ba1fe8e3cf Issue 5432115: Speed up notification scrolling
The NotificationPanel was using views that had non-1 alpha
values set on them (permanently). This is costly in the GL
implementation and caused more rendering overhead, and worse
performance, than simple opaque views would.

The fix is to set the text color and ImageView drawable alpha
directly, without setting the View alpha property.

Change-Id: I381e0bd45bf45784b8e364a27a339e6583189a43
2011-10-17 08:54:53 -07:00
Narayan Kamath
39268ffcb7 Format default locale the same way as those stored in prefs.
Also explicitly disallow locales with empty countries. This
is required to match them against the set of engine supported
locales.

bug:5309930
Change-Id: Ie9714fdc09d3081081a2393d97c31e3a42bca294
2011-10-17 14:37:40 +01:00
Mathias Agopian
840b8a6785 Revert "Add a LayerScreenshot"
This reverts commit d6809f40cf61203573ec5dbc437f695cd132cc18.
2011-10-16 23:54:25 -07:00
Mathias Agopian
4fb6416e3a Merge "we need to guarantee that h/w comp set() is called when a buffer has been retired" into ics-mr0 2011-10-16 21:08:00 -07:00
Mathias Agopian
fefffc685a Merge "add logging and defensive code when initializing sensors" into ics-mr0 2011-10-16 21:07:42 -07:00
Mathias Agopian
e757a87ff1 we need to guarantee that h/w comp set() is called when a buffer has been retired
removed a test that could violate this guarantee. note that we
have no proof tha this ever happened, but consequences could be
hard lock-ups.

the code here was intended to track the region to update for displays
that can do partial update. the logic discarded the update entirely
if that region was empty. instead we just redraw the whole thing
(note that we should never be there with an empty region and retired
buffers though).

Bug: 5466259

Change-Id: I91ccab3b1a599e729e438eb833939e2236da6854
2011-10-16 18:59:38 -07:00
Dianne Hackborn
bd9d2bcdeb Whoops, remove left-over debug output.
Change-Id: Ib30571b22a6750629f975319a403d38de5e9462c
2011-10-16 14:17:07 -07:00
Dianne Hackborn
cd8640fc1a Merge "Fix issue #5398675: It's (too) easy to keep the navigation bar..." into ics-mr0 2011-10-16 14:15:21 -07:00
Dianne Hackborn
e26ab70de2 Fix issue #5398675: It's (too) easy to keep the navigation bar...
...from ever becoming visible

Now there is a 1 second delay from when the user dismisses the nav bar
until when it can be re-hidden.

Also move the code for capturing touch events while nav bar is hidden
out to be used even when there is no nav bar, so this API behaves
consistently across devices whether or not they have some element of
the UI that is being hidden.  On devices with a nav bar, this will
all work the same as prime (the flag is set, the app gets the callback
about the flag being set, when the user touches that touch is captured
so the app doesn't see it put does clear the flag and tell the app
about this).

Change-Id: Icb5ea0ddaf614aa3f12d2140796217f128761dee
2011-10-16 13:21:33 -07:00
Jim Miller
7b5dd87351 Fix 5466793: Fix memory leak in system process when face lock is enabled.
Previously, the code was not unregistering the callback when we unlocked
the device, which kept a reference to LockPatternKeyguardView indirectly
by a reference to mFaceLockCallback.

It now correcly removes the callback when we unlock the device.

Change-Id: Ie592d007a1dfc2416b9e8956aba2c34e3d0120ee
2011-10-16 12:46:06 -07:00
Dianne Hackborn
e6b680364d New aapt feature to do smarter filtering of configurations.
This adds a --preferred-configurations flag that specifies the
specific configurations you would like to have.

It is smarter than "-c" because it will avoid stripping a
configuration if that would result in there being no value
for the resource.

It is dumber than "-c" because it can't process as many kinds
of resources.  It is really only intended for bitmaps and use
with density configs.

This required re-arranging AaptAssets to group files together
by config again, like they used to be.  I think this hasn't
broken anything.  Hopefully.

Change-Id: I4e9d12ff6e6dbd1abb8fd4cb1814c6674b19d0e5
2011-10-16 11:52:17 -07:00
Mathias Agopian
a338379873 add logging and defensive code when initializing sensors
Bug: 5445240
Change-Id: I9dc7d27d3e8b4f15989488859831526d8c7ded3b
2011-10-16 00:38:30 -07:00
Uriel Rodriguez
d814d4fa0c Merge "going directly to backup after face unlock fails 15 times" into ics-mr0 2011-10-15 08:44:21 -07:00
Amith Yamasani
92e1b2d37b Add alarm volume to the list of volumes in the volume overlay.
This will be used only for adjusting the alarm volume when an
alarm ringtone is being selected.

Bug: 5164828
Change-Id: Ia4a12b1946fb0715e97101bfd389c6bd33c448c7
2011-10-14 17:24:47 -07:00
Scott Main
f755a2e8aa Merge "docs: a couple notes for a11y methods in View and cleanup to the A11y service HTML to be semantically correct and thus improve its accessibility :)" into ics-mr0 2011-10-14 17:19:17 -07:00
Scott Main
b303d8381d docs: a couple notes for a11y methods in View and cleanup to the
A11y service HTML to be semantically correct and thus improve its accessibility :)

Change-Id: I483a8a441d802b056f68f82e0e782d86a73298ac
2011-10-14 17:03:35 -07:00
Bart Sears
b227cce316 Merge "Check MediaPlayer state, do not teardown() from UI thread." into ics-mr0 2011-10-14 16:09:46 -07:00
Mathias Agopian
57337eb78e Merge "Add a LayerScreenshot" into ics-mr0 2011-10-14 15:35:54 -07:00
Jamie Gennis
6cb76588d7 SurfaceTexture: report binder transaction failures
This change fixes the ISurfaceTexture error reporting for the case where
the binder transaction fails.

Bug: 5082219
Change-Id: I6517532992e3a76dc9eb5e4a36af43a562391aaa
2011-10-14 15:17:07 -07:00
Justin Ho
eaf4952410 Merge "Moving text cursor to nodpi" into ics-mr0 2011-10-14 15:12:13 -07:00
Peter Ng
a3ffec2317 Update stat_ icons
Change-Id: Ibc74ba990303d05a34ab35fd0ce3b8ec530782cf
2011-10-14 14:56:06 -07:00
Jim Miller
ff74b9c884 Merge "Fix 5458658: Fix memory leak in lock screen" into ics-mr0 2011-10-14 14:51:56 -07:00
Justin Ho
ccf29b4c03 Merge "Updating numberpicker assets" into ics-mr0 2011-10-14 14:41:45 -07:00
Justin Ho
a6389a9c1e Merge "Updated codelock assets" into ics-mr0 2011-10-14 14:41:37 -07:00
Justin Ho
af951c17e7 Merge "Update presence away asset" into ics-mr0 2011-10-14 14:41:28 -07:00
Justin Ho
cd26ef18d4 Moving text cursor to nodpi
Change-Id: I84bd5a1eaeb1b65ed40b9b036b7586598ccfbd59
2011-10-14 14:39:03 -07:00
Justin Ho
52670cd4f7 Merge "Update list selector background (disabled state)" into ics-mr0 2011-10-14 14:36:03 -07:00
Justin Ho
3c2bbc2406 Merge "Update share pack assets" into ics-mr0 2011-10-14 14:35:54 -07:00
Mathias Agopian
d6809f40cf Add a LayerScreenshot
A LayerScreenshot is a special type of layer that contains a screenshot of
the screen acquired when its created. It works just like LayerDim.

Bug: 5446982
Change-Id: I7814aff2380e7e146937f2b641907be2a30c76cc
2011-10-14 14:32:48 -07:00
Scott Main
8009752da6 Merge "fix android beam demo path" into ics-mr0 2011-10-14 14:31:09 -07:00
Scott Main
3087b94f7b fix android beam demo path
Change-Id: I16a467155feac54fb14b1b7af034a3854efe1fb7
2011-10-14 14:29:14 -07:00
Justin Ho
686420a40e Merge "Update rating star buttons" into ics-mr0 2011-10-14 14:26:58 -07:00
Justin Ho
cd8f69dd84 Merge "Update unlock halo asset" into ics-mr0 2011-10-14 14:23:41 -07:00
Justin Ho
269c64de88 Merge "Update lockscreen assets" into ics-mr0 2011-10-14 14:17:26 -07:00
Justin Ho
669b9af618 Update unlock halo asset
Change-Id: I99ec31894566df272041b001590db799d7f9adfd
2011-10-14 14:17:00 -07:00
Justin Ho
cc1bf4ad39 Update share pack assets
Change-Id: Ia568911c32839ede9d58544e708f7949cbf6be45
2011-10-14 14:14:55 -07:00
Justin Ho
7c1252ec02 Update presence away asset
Change-Id: I4e151e8a0e8d16b40dacb9676e5412c07ce68315
2011-10-14 14:12:50 -07:00
Justin Ho
41c5a60749 Merge "Update bullet permission asset" into ics-mr0 2011-10-14 14:12:02 -07:00
Ben Murdoch
817d6d5e8e Check MediaPlayer state, do not teardown() from UI thread.
The teardown() function should only be called from the native
thread when WebCore is happy for us to release the media player.

When we lose audio focus, simply stop playback. Also be careful
not to check the playing state of the MediaPlayer if we are in
the error state.

Bug: 5461143

Change-Id: Iba03bdad5c39b104b3071129430d7ef2177e9358
2011-10-14 22:11:26 +01:00
Justin Ho
c2c9816f05 Update lockscreen assets
Change-Id: I2196c234780caea05532149d2fa5256ad68b7a18
2011-10-14 14:10:35 -07:00
Justin Ho
57002d2b90 Update bullet permission asset
Change-Id: I0bc24450d01871f2d83eeea6a45032c521a25b60
2011-10-14 14:04:19 -07:00
Justin Ho
e95aaf06fb Merge "Update indicator_code lock assets" into ics-mr0 2011-10-14 13:58:52 -07:00