56471 Commits

Author SHA1 Message Date
Mathias Agopian
91b5398018 SurfaceFlinger doesn't rely on having a custom RefBase destructor
we just use a message to the main thread to
destroy our GLES state.
2011-08-11 22:33:02 -07:00
Adam Powell
0642fed2a2 Merge "Fix bug 5075761 - Visual assets: CAB states" 2011-08-11 22:00:36 -07:00
Adam Powell
9ca705e323 Fix bug 5075761 - Visual assets: CAB states
Integrate new assets for the contextual action bar (action modes).

Change-Id: I8439196f8b7466ce862e1c21a34b7ae1abf88f36
2011-08-11 21:54:47 -07:00
Ted Bonkenburg
761a6c95b1 Merge "Remove ParcelSurfaceTexture and update MediaPlayer" 2011-08-11 21:52:27 -07:00
Adam Powell
5f5f613005 Merge "Fix bug 5156213 - Fix title visibility states wrt expanded action views." 2011-08-11 20:32:21 -07:00
Adam Powell
71f34174e9 Fix bug 5156213 - Fix title visibility states wrt expanded action views.
Change-Id: I20b5c5ad8112bec17e4cb5d6e568f47005a4e731
2011-08-11 20:09:31 -07:00
Jeff Brown
c74a02873a Add lsof to bugreport.
Change-Id: I439795ad46a4e100019b3819855c76ba695f279f
2011-08-11 20:07:39 -07:00
Ted Bonkenburg
1ee60119c4 Remove ParcelSurfaceTexture and update MediaPlayer
This removes the ParcelSurfaceTexture class since that functionality has been
folded into Surface.java. The change also updates the MediaPlayer to get rid
of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface
functionality in order to simplify the code.

Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
2011-08-11 19:58:25 -07:00
Michael Jurka
b858ec559e Merge "On device startup, be in touch mode" 2011-08-11 19:49:15 -07:00
Michael Jurka
e99adc70c8 On device startup, be in touch mode
- Solves bug where an icon showed focus state on startup in Launcher. Once the keyboard arrows are used, Launcher enters non-touch mode as usual

Change-Id: I0080f3b72f6c22833c600a1026af0abc35024510
2011-08-11 18:28:01 -07:00
Jeff Brown
61bb11cfa0 Merge "Ensure outValue is set, even when an error occurs." 2011-08-11 18:26:11 -07:00
Xavier Ducrohet
c88ba95921 Merge "Make some methods/fields package private so that layoutlib can access them." 2011-08-11 18:20:09 -07:00
Brandon Keely
145f1c75a9 Core transitions updates for phone and tablet.
Change-Id: I89e21bc56f87d88f39baf5b94e36994563c345d0
2011-08-11 18:16:05 -07:00
Eric Laurent
09f1735fad Fix issue 5144429: CTS test fails for AudioEffects
android_media_AudioEffect_native_setup() was not initializing
properly the effect descriptor for audio pre processings.

AudioEffect tests should create per processing effects on a valid
AudioRecord session.

Change-Id: Ia1862ca91c98e272f9374b9225a7d4ce7ef132fc
2011-08-11 18:06:18 -07:00
Daniel Sandler
ba3711ccd3 Merge "Disable peeking at individual notifications." 2011-08-11 17:59:08 -07:00
Romain Guy
03f156e96f Merge "Remove unnecessary private API" 2011-08-11 17:51:23 -07:00
Romain Guy
0e382005eb Merge "Fix action bar tabs collapsing when they shouldn't." 2011-08-11 17:46:11 -07:00
Adam Powell
af6b97ebe0 Fix action bar tabs collapsing when they shouldn't.
Change-Id: Ib0a91722b580802d2b5e3b07c4e57397665a3394
2011-08-11 17:40:59 -07:00
Romain Guy
9d865512f1 Remove unnecessary private API
Change-Id: I2ecb367528ec0691c07153a3d163b82a6ca33fdf
2011-08-11 17:37:02 -07:00
Justin Ho
2859e2b7df Merge "Updated spinners Bug: 5076695" 2011-08-11 17:24:12 -07:00
Jeff Brown
2749668e36 Merge "Exorcise notification panel ghosts. Bug: 5105599" 2011-08-11 17:23:38 -07:00
Jeff Brown
64e35bb006 Merge "Improve touch device configuration. Bug: 5064702" 2011-08-11 17:23:05 -07:00
Jeff Brown
063097545e Ensure outValue is set, even when an error occurs.
Change-Id: If883f60cde28792bd0e108597ced49d69d13136e
2011-08-11 17:10:06 -07:00
Marco Nelissen
5fadf79ef9 Merge "Only set the ringtones and such if this is the first media scan b/5126979" 2011-08-11 16:29:20 -07:00
Jeff Brown
388e938952 am 29ccd2a1: am 8f226dcb: (-s ours) am ca97671e: am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."
* commit '29ccd2a1b3bc2defb97fa4d76ed031a60181224a':
  Fix getSwitchState according to device capabilities.
2011-08-11 16:20:29 -07:00
Jeff Brown
e2de31b31c am 56d377c0: am b4459d8d: (-s ours) am 7e79b9aa: am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
* commit '56d377c027e223d2baffafb437d98443973e9798':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846
2011-08-11 16:18:30 -07:00
Jeff Brown
29ccd2a1b3 am 8f226dcb: (-s ours) am ca97671e: am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."
* commit '8f226dcb21c84f5479a0a1b2d6486293dcd2e937':
  Fix getSwitchState according to device capabilities.
2011-08-11 16:15:31 -07:00
Dave Santoro
833a71ff88 Merge "Update read/write profile permission descriptions." 2011-08-11 16:14:28 -07:00
Jeff Brown
56d377c027 am b4459d8d: (-s ours) am 7e79b9aa: am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
* commit 'b4459d8d6d5377db2494f5a11124d49194f1044c':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846
2011-08-11 16:13:11 -07:00
Dave Santoro
0e7a116821 Update read/write profile permission descriptions.
These changes are to match the recommendations of our tech writers
and to clarify what the permission data involves.

Bug 5098217

Change-Id: I05fa5e517980a7d24836e15bb96d12cfe35228a3
2011-08-11 16:03:43 -07:00
Jeff Brown
8bcbbefa3b Exorcise notification panel ghosts.
Bug: 5105599

Don't clear slot data when slot is no longer in use.

The kernel will not resend absolute slot values if they are
unchanged, even if the slot was previously marked unused.

Because the protocol is stateful, this could cause problems if
evdev drops events (marked by SYN_DROPPED) since we cannot
query the initial values of the slots, but there's nothing
we can do.

Change-Id: Ie13e68097fb8ed2542c2f60338b499082cf9e77f
2011-08-11 15:54:54 -07:00
Elliott Hughes
df54b7c000 Merge "Manually merge the changes made in honeycomb-mr2 to get this on the web." 2011-08-11 15:52:21 -07:00
Marco Nelissen
bcbddd9342 Only set the ringtones and such if this is the first media scan
b/5126979

Change-Id: Ibef2bd5a3a1a288fc1137694e858d87628d780c0
2011-08-11 15:44:38 -07:00
Christian Robertson
beb2b5cfdb Replacing sans serif system font with Roboto
Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
2011-08-11 15:35:52 -07:00
Jean-Baptiste Queru
ed3418076d am b654e6e5: am d144748d: Merge "Add missing include"
* commit 'b654e6e55a3e8d7e8c2e0b8b1ff4bb4f76c10e05':
  Add missing include
2011-08-11 15:22:42 -07:00
Jean-Baptiste Queru
b654e6e55a am d144748d: Merge "Add missing include"
* commit 'd144748d4767b2ccfb13857e23f78bc944e9531d':
  Add missing include
2011-08-11 15:18:22 -07:00
Christopher Tate
7bc4827e36 Merge "Fix partial-read handling during restore" 2011-08-11 15:07:25 -07:00
Justin Ho
bff48a5ff2 Updated spinners
Bug: 5076695

Change-Id: I0f572f3bdba702df20074f6bec99bdb73ee146b8
2011-08-11 15:06:15 -07:00
Adam Powell
9cc07c3939 Merge "More fun with action bars and themes!" 2011-08-11 14:59:52 -07:00
Jeff Brown
a1f89ceec0 Improve touch device configuration.
Bug: 5064702

This change improves compatibility with standard touch device
drivers.  All existing touch device IDC files will need to
be updated because the input system now assumes that the
touch device drivers implement the multitouch input
protocol correctly and use the appropriate axes.

Change-Id: I93aad0e011efea74fbc7fa3da31f7967aff8136c
2011-08-11 14:57:50 -07:00
Jeff Sharkey
010d7e5160 Change Preferences padding to match UI spec.
Bug: 5091431
Change-Id: I1b657534c3ecccbddda1bece910da7f31d85291c
2011-08-11 14:53:49 -07:00
Gilles Debunne
a0d3860881 Merge "Added support for colored / thick underlined text." 2011-08-11 14:50:00 -07:00
Eric Laurent
45bd6086cc Merge "Audio effects: track CPU and memory use separately" 2011-08-11 14:40:04 -07:00
Justin Ho
7797d7b660 Merge "Updated scrubber_control assets, adding pressed state Bug: 5076695" 2011-08-11 14:39:03 -07:00
Eric Laurent
6752ec80b2 Audio effects: track CPU and memory use separately
Before this change, CPU and memory usage for an audio effect were
registered and checked against the limit by audio policy manager
upon effect instantiation. Even if an effect was not enabled
it would prevent another effect to be created if the CPU load budget
was exceeded, which was too restrictive.

This change adds a method to register/unregister CPU load only when
an effect is enabled or disabled.
It also adds a mechanism to place all effects on the global output mix
in suspend state (disabled) when an effect is enabled on a specific session.
This will allow applications using session effects to have the priority
over others using global effects.

Also fixes some issues with suspend/restore mechanism:
- avoid taking actions when an effect is disconnected and was not enabled.
- do not remove a session from the suspended sessions list when corresponding
effect chain is destroyed.

Change-Id: I5225278aba1ae13d0d0997bfe26a0c9fb46b17d3
2011-08-11 14:33:45 -07:00
Adam Powell
f242368f38 More fun with action bars and themes!
Fix bug 5144738 - Allow user to define pressed state asset for action
bar. Added android:actionBarItemBackground theme attribute. This
allows themes to define item pressed states for the action bar
independent of the standard selectableItemBackground.

Fix bug 5145416 - Custom view in action bar should use themed context
when inflating resource ID. Also applies to tab custom views.

Fix bug 5135550 - Tab divider height / Color should match spec. Added
actionBarDivider theme attribute. Similar to actionBarItemBackground
above, this allows apps to maintain proper contrast when the bar has a
different contrast profile than the rest of the activity.

Fix bug 5154778 - Theme.Holo.Light.DarkActionBar in themes.xml and
search_bar.xml are still referencing the deprecated title_bar_shadow
when we should be pointing to ab_solid_shadow_holo

Change-Id: I5ef0084de28a7c2d2fa02ae1752884feab0f8523
2011-08-11 14:33:32 -07:00
Justin Ho
f23e0f632f Updated scrubber_control assets, adding pressed state
Bug: 5076695

Change-Id: Ie34b1ccb2c0e9d1ba7c6c5af64719f87cb270edd
2011-08-11 14:23:45 -07:00
Justin Ho
ed260312ea Merge "Updated progressbar_indeterminate and scrollbar_handle Bug: 5076695" 2011-08-11 14:14:48 -07:00
Justin Ho
6d8d3729ec Merge "Updated textfields Bug: 5076695" 2011-08-11 14:08:38 -07:00
Jean-Baptiste Queru
d144748d47 Merge "Add missing include" 2011-08-11 13:46:09 -07:00