60122 Commits

Author SHA1 Message Date
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
The Android Automerger
1d9cb88038 merge in ics-mr0-release history after reset to ics-mr0 2011-10-16 16:52:18 -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
Alex Sakhartchouk
a744ead977 Merge "Adding getter functions for script side RS objects. Multiproject change involving on device linker" 2011-10-16 12:13:18 -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
The Android Automerger
066e72aa93 merge in ics-mr0-release history after reset to ics-mr0 2011-10-16 06:28:20 -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
Alex Sakhartchouk
7e6aac1533 Adding getter functions for script side RS objects.
Multiproject change involving on device linker

Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
2011-10-15 09:33:05 -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
The Android Automerger
108b4d1a35 merge in ics-mr0-release history after reset to ics-mr0 2011-10-14 21:57:25 -07:00
Jeff Brown
6aa1e80e4f Merge "Use MatrixCursor instead of ArrayListCursor." 2011-10-14 21:06:31 -07:00
Jeff Brown
aac01f699f Merge "Add a CrossProcessCursorWrapper. Bug: 5220669" 2011-10-14 21:06:22 -07:00
Jeff Brown
04263dc591 Merge "AbstractWindowedCursor is not special." 2011-10-14 21:06:15 -07:00
Jeff Brown
d00851082f Merge "Make default implementation of fillWindow typesafe. Bug: 5218310" 2011-10-14 21:06:08 -07:00
Jeff Brown
a39a055304 Merge "Deprecate local-only CursorWindows." 2011-10-14 21:05:58 -07:00
Jamie Gennis
f76afc80d2 MediaPlayer: properly handle released surfaces
Bug: 5396571
Change-Id: I6af87cb04f09f9ae6ea77cd7ba31108a3e93d24a
2011-10-14 19:55:12 -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
Eric Laurent
b024c30a80 Fix issue 5462427: Volume should never be 0 ...
Make sure that ring or notification volume index
never reaches 0 unless in silent mode.
Conversely, enter silent mode when this volume is set to 0.

Change-Id: Iff5e5e972b607f4736e7a704b26b2dadb40074b0
2011-10-14 17:19:27 -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
Jamie Gennis
de14ecaebc SurfaceFlinger: Remove display freezing code
This change removes the dead code from SurfaceFlinger that resulted from
disabling support for freezing the display.

Change-Id: I4e5ff00c94b4c7a79af2f65c9850c135210068ed
2011-10-14 16:44:08 -07:00
Jamie Gennis
4f1924380c SurfaceFlinger: add some layer update tests
This change adds two tests for SurfaceFlinger's behavior when updating
the position and size of a layer.

Change-Id: Id5e3ca1d7e629a3bd2c2d28275d80c7f9256d6da
2011-10-14 16:11:51 -07:00
Jamie Gennis
122aa6bae9 SurfaceFlinger: make sync transactions explicit
This change enables a layer or orientation update transaction sent to
SurfaceFlinger to explicitly request a synchronous transaction.

Change-Id: I97cbba610c13679849f66114b216fa6dbf12f2a9
2011-10-14 16:11:51 -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
Romain Guy
436e270fbb Merge "Disable hardware acceleration for apps in compatibility mode" 2011-10-14 15:48:40 -07:00
Romain Guy
856d4e1a87 Disable hardware acceleration for apps in compatibility mode
Change-Id: I2d1c01a30c6fe6fff85c2a9bd6ee6de98e1ed422
2011-10-14 15:47:55 -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