56490 Commits

Author SHA1 Message Date
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
Jean-Baptiste Queru
d1c5b0233c Add missing include
Change-Id: I00181029e80a2ba75320550c14e950fadbab8a64
2011-08-11 13:36:04 -07:00
Gilles Debunne
dd8f5ed79c Added support for colored / thick underlined text.
Change-Id: Ib0e259dd20546855899bf091f694e41e7051fecb
2011-08-11 13:31:00 -07:00
Kenny Root
e342551e56 Merge "Better errors from copyResource" 2011-08-11 13:27:10 -07:00
Daniel Sandler
298a2a816a Disable peeking at individual notifications.
Now tapping anywhere on the notification/clock/status end of
the system bar will bring up the notification panel.
Swiping up anywhere in that region works as well.

This change also adds visual touch feedback to the panel
trigger area.

Bug: 4723688
Change-Id: I5e24fea1231b798c41ddd48c0c42c283c92ebe65
2011-08-11 16:25:57 -04:00
Xavier Ducrohet
7f9f99ea11 Make some methods/fields package private so that layoutlib can access them.
Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
2011-08-11 12:57:51 -07:00
Amith Yamasani
4dbd1bc6ae am 5f074067: am 712a8cca: Merge "VolumePreference.onActivityStop only stops playback"
* commit '5f07406717db34927f5095de3829b1e74ebd7c16':
  VolumePreference.onActivityStop only stops playback
2011-08-11 12:46:25 -07:00
Amith Yamasani
5f07406717 am 712a8cca: Merge "VolumePreference.onActivityStop only stops playback"
* commit '712a8cca1f9e438af224f93c3a4644853331af2e':
  VolumePreference.onActivityStop only stops playback
2011-08-11 12:43:44 -07:00
Amith Yamasani
712a8cca1f Merge "VolumePreference.onActivityStop only stops playback" 2011-08-11 12:29:34 -07:00
Jean-Baptiste Queru
e30af493a6 am 44874c23: am c962512c: Merge "added stub for getting buffer from surface texture"
* commit '44874c236de282b0d898f179fc9fdafa84aae40d':
  added stub for getting buffer from surface texture
2011-08-11 12:24:51 -07:00
Jean-Baptiste Queru
44874c236d am c962512c: Merge "added stub for getting buffer from surface texture"
* commit 'c962512cac19e2bb1103c0c1a5f739d40d4d7740':
  added stub for getting buffer from surface texture
2011-08-11 12:19:44 -07:00
Debashish Chatterjee
9092b6d522 Merge "Added FETCH_VOICEMAIL intent definition in VoicemailContract." 2011-08-11 12:19:01 -07:00
Chet Haase
f43f4e1a4e Merge "Fix behavior of custom animations for LayoutTransition." 2011-08-11 12:16:41 -07:00
Jean-Baptiste Queru
c962512cac Merge "added stub for getting buffer from surface texture" 2011-08-11 12:08:04 -07:00
Chris Craik
311ffe37a5 added stub for getting buffer from surface texture
Change-Id: If61153cacdd8027848f40f8d9035f7c4aead0a98
2011-08-11 11:56:59 -07:00
Romain Guy
7277f3b9b2 Merge "Document threading limitations on various View methods Bug #5150923" 2011-08-11 11:44:11 -07:00
Matthew Xie
24c2d6bc82 Merge "Revert "Implement switchConnectable with Powered property setting instead of scan modes"" 2011-08-11 11:42:09 -07:00
Dianne Hackborn
8a5c6617d5 Merge "Fix issue #5016544: IME keyboard hides folder rename text field." 2011-08-11 11:38:32 -07:00
Dianne Hackborn
e09cd7914c Merge "New broadcast telling when an app is fully removed." 2011-08-11 11:35:07 -07:00
Romain Guy
e63a4f35c9 Document threading limitations on various View methods
Bug #5150923

Change-Id: I765d8e4d63a1fee7a12b9c2992bec67b4b6d1131
2011-08-11 11:33:31 -07:00
Chet Haase
e115ffeb3a Fix behavior of custom animations for LayoutTransition.
Previously, setting custom animations on a LayoutTransition would cause
those animations to be run not only for changing views in the container, but
for the parent hierarchy of those views as well. This can lead to unexpected
behavior, as seen in the ApiDemos LayoutAnimations and LayoutAnimationsHideShow.
This change changes the behavior so that the parent hierarchy is animated by
the default animations (which change the bounds and scrollX/Y fields) instead
of custom animations.

Change-Id: I9a04d97fabbc34dc0d5809eb3fd8ac08e0801d7c
2011-08-11 11:32:43 -07:00
Marco Nelissen
1060dd20dc Merge "Add Bluetooth SCO test app" 2011-08-11 11:10:44 -07:00
Chet Haase
c8bf956100 Merge "Fix Recent Apps jumping artifact" 2011-08-11 11:10:32 -07:00
Jean-Michel Trivi
b5f04d6dbf Pass flags on remote control client information change in intent
Pass the flags about what information changed in the remote
 control client in the intent used by the remote control display.
Also pass the IRemoteControlClient to verify it is still current
 before sending the intent.

Marked some logs as to be removed before release.

Change-Id: Ib3aa22d061e5dfaf80a9c4c78774c931a2cf0fbd
2011-08-11 10:50:43 -07:00
Marco Nelissen
ef02abd505 Add Bluetooth SCO test app
Change-Id: I6c0c267fbb546b6db544e5ddb03e65276895e0e0
2011-08-11 10:42:17 -07:00
Ben Murdoch
27dca78ec1 Merge "Allow fractional and signed input for number fields." 2011-08-11 10:29:56 -07:00
Debashish Chatterjee
267a2ec040 Added FETCH_VOICEMAIL intent definition in VoicemailContract.
Content provider does not directly use this intent. But it is fired by
the contacts app to request the voicemail source to fetch voicemail
audio of a single voicemail message.

The constant needs to live in the contracts file to serve as a common
definition between contacts and voicemail source apps.

Bug: 5114261
Change-Id: Ibf7b2a4c871d3561d2ca50d03f8182352fadd3ab
2011-08-11 18:07:25 +01:00
Robert Greenwalt
bde7a61a06 Merge "Remove default routes for non-default networks." 2011-08-11 09:55:08 -07:00
Justin Ho
0567522657 Updated progressbar_indeterminate and scrollbar_handle
Bug: 5076695

Change-Id: I00aa88ff0c7927bb416ef88c35cd7cb39105e520
2011-08-11 07:40:50 -07:00
Justin Ho
3515977f82 Updated textfields
Bug: 5076695

Change-Id: I0943e34e978aeebc4d1194a9bff8bfb4bd7543c4
2011-08-11 07:39:06 -07:00
Dave Burke
08633c7916 Merge "Revert "error out when SurfaceTexture APIs are called while not connected"" 2011-08-11 07:21:19 -07:00
Chet Haase
81abe87dcc Fix Recent Apps jumping artifact
When removing an item from the Recents list such that the list went from
larger than the screen to smaller (bringing the first item completely into view)
there was an artifact where the list would jump briefly, just prior to running
the transition to animate the remaining items into place.

The problem was that the custom ScrollView classes in the Recents app were
manipulating the scrollX/Y values of the items as a side-effect of any resize
of the list. Meanwhile, the LayoutTransition was manipulating both the size and
the scroll position of the list. The transition's scroll values would get clobbered by
the app's side-effect operation, causing the jump that we'd see on the screen.

The fix was to disable the side-effect operation during a layout transition.

Change-Id: I17f3f05d0e8a792e41bd46869ee700f128e63216
2011-08-11 07:18:20 -07:00