56308 Commits

Author SHA1 Message Date
Christian Robertson
beb2b5cfdb Replacing sans serif system font with Roboto
Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
2011-08-11 15:35:52 -07:00
Adam Powell
9cc07c3939 Merge "More fun with action bars and themes!" 2011-08-11 14:59:52 -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
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
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
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
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
Dave Burke
4982b6918a Revert "error out when SurfaceTexture APIs are called while not connected"
This reverts commit a04cda9986366ab480ad8008c4d923271b05d78e.

Conflicts:

	include/gui/SurfaceTexture.h
	libs/gui/SurfaceTexture.cpp

Change-Id: Ib655016462c496ee2a27f7cb33a6e8b18cfe684a
2011-08-11 15:13:19 +01:00
Daniel Sandler
5e3f4000a9 Merge "Remove logspew." 2011-08-11 05:17:14 -07:00
Daniel Sandler
6140ef1b1b Merge "Remove obsolete assets." 2011-08-11 05:17:09 -07:00
Daniel Sandler
0c5c6a6f27 Merge "Clean up some effects in the phone notification panel." 2011-08-11 05:17:03 -07:00
Daniel Sandler
6a9a4a078c Merge "Fix fullScreenAlert test." 2011-08-11 05:16:53 -07:00
Ben Murdoch
3882486dcd Allow fractional and signed input for number fields.
Bug: 5150575
Change-Id: I36f8dd59f630d77ea3f4ef6271f4cbaaaa3df0ad
2011-08-11 11:08:38 +01:00
Kristian Monsen
62b3503b22 Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2" 2011-08-11 03:02:29 -07:00
Adam Powell
9a3a6baf80 Merge "Fix bug 5122319 - When action bar tabs run out of space they should collapse in to a spinner." 2011-08-10 23:29:57 -07:00
Adam Powell
f5645cbafe Fix bug 5122319 - When action bar tabs run out of space they should
collapse in to a spinner.

When tabs are not given the option of dropping to their own row,
collapse them into a spinner when they would measure too large to be
visible all at once.

Fix bug 5095167 - zombie tabs return when they shouldn't when activity
handles its own orientation changes

Change-Id: I074419d99a22aa5dd1cbc00a66e600ec5cb0b54a
2011-08-10 23:18:34 -07:00
Daniel Sandler
8355e932a0 Remove logspew.
Bug: 5118028
Change-Id: I5517d79624020aa7ceeabf251581b3baf2f7b080
2011-08-11 00:27:45 -04:00
Daniel Sandler
f159586471 Remove obsolete assets.
Bug: 5002409
Change-Id: If9e544b347ca55d0344225eff00bafed180edf8c
2011-08-11 00:23:27 -04:00
Daniel Sandler
0761e4cd95 Clean up some effects in the phone notification panel.
* Clear-all button (X) fades in and out
* "No notifications" text fades in after a few sec
* Swipe-out velocity can be much higher, dramatically
  reducing perceived jankiness in clearing notifications

Bug: 5150699
Change-Id: Ic7e5254fee57724c42b6437d1c4ed8a700615208
2011-08-11 00:19:49 -04:00
Mathias Agopian
246ae5011c Merge "Read leftover parcel data when a parceled Surface is found in the cache." 2011-08-10 19:45:34 -07:00
Mathias Agopian
875dee4e12 Merge changes I5174a6ec,I1f8538b6,Idb71fdcf
* changes:
  fix a crasher in SurfaceTexture::updateTexImage()
  rework dequeueBuffer()'s main loop.
  error out when SurfaceTexture APIs are called while not connected
2011-08-10 19:40:48 -07:00
Mathias Agopian
379eac2474 Merge "Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant" 2011-08-10 19:40:15 -07:00
Daniel Sandler
542f0510d4 Fix fullScreenAlert test.
Change-Id: I3df0a998347c9e3d21e067381bd22eb9a0862f0d
2011-08-10 22:27:15 -04:00
Matthew Xie
10fc9bc55e Revert "Implement switchConnectable with Powered property setting instead of scan modes"
This reverts commit c5708036b47c474ad3a01dacc3c3940e087d6e27
2011-08-10 19:04:00 -07:00
Daniel Sandler
294a6199bd Merge "Subtract the navigation bar from DisplayMetrics." 2011-08-10 18:54:20 -07:00
Chia-chi Yeh
ac0a0d06c2 Merge "Unhide APIs for user space VPN." 2011-08-10 17:42:45 -07:00
Chia-chi Yeh
cd1420b03d Merge "VPN: remove unused protected intent." 2011-08-10 17:42:30 -07:00