79351 Commits

Author SHA1 Message Date
Daniel Sandler
63d842cc4d am d5353b47: Fix docs
* commit 'd5353b475001f19e3cbc9c1a4165c9e6038a812f':
  Fix docs
2012-06-21 11:52:38 -07:00
Daniel Sandler
0a43f67ef3 am 790024bf: Merge "Unhide new methods on RemoteViews and Notification." into jb-dev
* commit '790024bfe6dd2765dd5e552053797459aab72da1':
  Unhide new methods on RemoteViews and Notification.
2012-06-21 11:52:34 -07:00
Romain Guy
16613476c8 am 0d6f4c06: Dejank: don\'t allocate when scrolling lists
* commit '0d6f4c06df0b0e35125f088ca028c7226b274dc4':
  Dejank: don't allocate when scrolling lists
2012-06-21 11:52:22 -07:00
Adam Powell
fd7ea06787 am d7c00d2b: Merge "MediaRouter group volume reporting" into jb-dev
* commit 'd7c00d2bdd011d3a73faf1c4a5bb8012d24dd648':
  MediaRouter group volume reporting
2012-06-21 11:52:19 -07:00
Eric Fischer
7059a022fe am da036c8a: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'da036c8a5709d5b985e0dd63c379e93135768c81':
  Import translations. DO NOT MERGE
2012-06-21 11:52:11 -07:00
Daniel Sandler
d5353b4750 Fix docs
Change-Id: Ic5ff9aa07e65166a4ecaeecc5fb5e0091275bdcc
2012-06-21 09:29:51 -04:00
Daniel Sandler
790024bfe6 Merge "Unhide new methods on RemoteViews and Notification." into jb-dev 2012-06-21 06:04:43 -07:00
Romain Guy
0d6f4c06df Dejank: don't allocate when scrolling lists
The new display list properties introduces in JB were causing numerous
and expensive memory allocations while scrolling lists. During a scroll
ListView sometimes attempts to apply an offset to views before they are
drawn for the first time. This had the side effect of generating a new
IllegalStateException and its entire stack trace. The exception was
caught inside the display list and never seen by users.

Generating an exception is very expensive both in terms of allocated
memory and CPU time spent crawling the stack.

List scrolls/flings are a common case of this issue but it also happens
during various types of animations. A simple alpha animation, for instance,
can cause the problem to occur.

Another side effect of this issue is more frequent and longer GC pauses.

Change-Id: Ic1b37cc84f7c8f290209cfb990d030e96d6e0dc7
2012-06-21 00:39:35 -07:00
Adam Powell
d7c00d2bdd Merge "MediaRouter group volume reporting" into jb-dev 2012-06-21 00:12:04 -07:00
Adam Powell
f8ac14a7f5 MediaRouter group volume reporting
RouteGroups always report back the loudest volume of their component
routes. Maintain this through volume update requests (such as those
reported by volume hard keys) such that each route updates
individually, but the group slider always indicates the loudest value.

Change-Id: I5de4b9048bf55682b6271e9485fe50496a1c97c2
2012-06-20 23:59:14 -07:00
Eric Fischer
da036c8a57 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-20 22:42:58 -07:00
Adam Powell
ed044cda8f am 09829b71: Merge "Expand volume APIs for MediaRouter" into jb-dev
* commit '09829b71de3a84cb9d1bc0d8aad78dd16daadddf':
  Expand volume APIs for MediaRouter
2012-06-20 22:35:44 -07:00
Adam Powell
09829b71de Merge "Expand volume APIs for MediaRouter" into jb-dev 2012-06-20 22:32:39 -07:00
Jeff Brown
071ed33487 am fc32ec9a: Merge "Don\'t reset brightness to 0 on initial boot." into jb-dev
* commit 'fc32ec9a51cb78e58ae673abc327f4ef7be98fad':
  Don't reset brightness to 0 on initial boot.
2012-06-20 22:31:17 -07:00
Hiroshi Lockheimer
e5934259fc am b342cdd7: Merge "made the pressed state white" into jb-dev
* commit 'b342cdd7ba333d5cec8a85dc093f55751bc37c3c':
  made the pressed state white
2012-06-20 22:31:15 -07:00
Pannag Sanketi
4bae6149bd am 60c5b714: Merge "Crash in SurfaceTextureTarget filter open" into jb-dev
* commit '60c5b714dc747eef0b5c2a57db60b162315fba2f':
  Crash in SurfaceTextureTarget filter open
2012-06-20 22:31:12 -07:00
Craig Mautner
e96f06ae16 am 255cb779: Merge "Make animations persist after completion." into jb-dev
* commit '255cb7798160a083124cd2033e0619f8b3ed731c':
  Make animations persist after completion.
2012-06-20 22:31:09 -07:00
Svetoslav Ganov
e523faa84f am 5070a7f0: Merge "Change hard-coded URL for accessibility script." into jb-dev
* commit '5070a7f0f4bf817e884b9e6ea8ee23c99209c50e':
  Change hard-coded URL for accessibility script.
2012-06-20 22:31:05 -07:00
Hung-ying Tyan
cc9a4e3e2a am 927c7fd1: Merge "Fix crash when SimpleCursorAdapter changes cursor from null" into jb-dev
* commit '927c7fd1fec8ff26fd4bf8cc64eb12dd634cb60b':
  Fix crash when SimpleCursorAdapter changes cursor from null
2012-06-20 22:31:00 -07:00
Adam Powell
8e37a85bf3 Expand volume APIs for MediaRouter
Allow applications to set a requested volume level on RouteInfo
objects. If requested for a user route, the app-supplied callback will
be invoked to perform actual volume adjustment.

Change-Id: I856990a0da7292492aa15e6562dbc3d055b848a0
2012-06-20 22:19:29 -07:00
Daniel Sandler
064f9907c9 Unhide new methods on RemoteViews and Notification.
Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d
2012-06-21 00:15:01 -04:00
Jeff Brown
fc32ec9a51 Merge "Don't reset brightness to 0 on initial boot." into jb-dev 2012-06-20 20:37:37 -07:00
Eric Fischer
c23e54b4e1 Import translations. DO NOT MERGE
Change-Id: Ic5c7a282f3ce75cba92d8cda741ecaa9088d12be
2012-06-20 19:48:35 -07:00
Hiroshi Lockheimer
b342cdd7ba Merge "made the pressed state white" into jb-dev 2012-06-20 19:47:19 -07:00
Jeff Brown
8e306a68e8 Don't reset brightness to 0 on initial boot.
Bug: 6705012
Change-Id: I8114fda081784abbe720d5eaa637aa5234b5a947
2012-06-20 19:46:32 -07:00
Pannag Sanketi
60c5b714dc Merge "Crash in SurfaceTextureTarget filter open" into jb-dev 2012-06-20 19:32:44 -07:00
Craig Mautner
255cb77981 Merge "Make animations persist after completion." into jb-dev 2012-06-20 19:28:16 -07:00
Pannag Sanketi
22f2a8728e Crash in SurfaceTextureTarget filter open
If the filter graph in an app closes out, the SurfaceTextureTarget
filter was losing the reference to the original surfacetexture, and the
app would re-start the graph without setting the surfacetexture again,
thus leading to a crash in registering a surface from surfacetexture.

Typical scenarios is start/stop immediately in camera effects recording.

Fix part of b/6651352
Fix part of b/6655597

Change-Id: Ib2bae7e886784e91b3a886f7ccd439ff190feb22
2012-06-20 19:23:48 -07:00
Craig Mautner
a371154f08 Make animations persist after completion.
Transition animations were set to fillAfter=false which caused them
to revert when they had completed. Normally this would not have
mattered as the final state was obscured by the new Activity. In
the case of the Phone app the Activities churn so much that the
original Activity was exposed.

Fixes bug 6691421.

Change-Id: I96b8a43d0a2cac9a34a14a309548c41451c65a57
2012-06-20 18:49:38 -07:00
Svetoslav Ganov
5070a7f0f4 Merge "Change hard-coded URL for accessibility script." into jb-dev 2012-06-20 18:09:58 -07:00
Hung-ying Tyan
927c7fd1fe Merge "Fix crash when SimpleCursorAdapter changes cursor from null" into jb-dev 2012-06-20 17:56:40 -07:00
Svetoslav Ganov
0a79d2fbcd am dce5af63: Merge "Fix GlowPadView accessibility behavior." into jb-dev
* commit 'dce5af632ce8899905fbf187b9505f6753d5a562':
  Fix GlowPadView accessibility behavior.
2012-06-20 16:55:07 -07:00
Svetoslav Ganov
dce5af632c Merge "Fix GlowPadView accessibility behavior." into jb-dev 2012-06-20 16:52:16 -07:00
alanv
3ff50a0a8a Change hard-coded URL for accessibility script.
The old version of the script is broken and is cached due to an error in
our gstatic configuration. We had to change the name to avoid hitting the
cached version on external proxies.

Bug: 6702042
Change-Id: I0e5ee8b3a6ae8c7ba11f5760f2f99d4b5614ac97
2012-06-20 16:51:00 -07:00
Jean-Michel Trivi
e44440f40c am bd6b1820: Merge "Unhide new API in android.media.MediaRouter for remote playback" into jb-dev
* commit 'bd6b1820d931ef11fc7fc5b8571a8265c1ed4994':
  Unhide new API in android.media.MediaRouter for remote playback
2012-06-20 16:43:55 -07:00
Jean-Michel Trivi
7fe75d9759 am fc178e38: Merge "Asynchronous handling of remote volume updates" into jb-dev
* commit 'fc178e381d3db299901a96461122eb22a4ffb43e':
  Asynchronous handling of remote volume updates
2012-06-20 16:43:52 -07:00
Jean-Michel Trivi
bd6b1820d9 Merge "Unhide new API in android.media.MediaRouter for remote playback" into jb-dev 2012-06-20 16:41:44 -07:00
Jean-Michel Trivi
fc178e381d Merge "Asynchronous handling of remote volume updates" into jb-dev 2012-06-20 16:41:25 -07:00
Amith Yamasani
1806afb2c4 am 998a6836: Merge "Add a private method to retrieve the header list from PreferenceActivity" into jb-dev
* commit '998a68369fcf7928b6fa58d6312426f88a27a39e':
  Add a private method to retrieve the header list from PreferenceActivity
2012-06-20 15:48:27 -07:00
Amith Yamasani
998a68369f Merge "Add a private method to retrieve the header list from PreferenceActivity" into jb-dev 2012-06-20 15:44:48 -07:00
Scott Main
90c2eea8d0 am 59ea115d: Cherrypick from ics-mr1 Change-Id: I2f63aef72962990afeb2bf236e0cce3bac3af738 docs: Remove side padding built into Design images to improve alignment. a few HTML adjustments for alignment as well
* commit '59ea115def6ed7277f6f159e0670b5a37c3ca126':
  Cherrypick from ics-mr1 Change-Id: I2f63aef72962990afeb2bf236e0cce3bac3af738 docs: Remove side padding built into Design images to improve alignment. a few HTML adjustments for alignment as well
2012-06-20 14:59:04 -07:00
Scott Main
59ea115def Cherrypick from ics-mr1 Change-Id: I2f63aef72962990afeb2bf236e0cce3bac3af738
docs: Remove side padding built into Design images to improve alignment.
a few HTML adjustments for alignment as well

Change-Id: I432e25128a90b0376a2a469859b0ad49b035a2df
2012-06-20 14:50:55 -07:00
Jean-Michel Trivi
2cd5d25378 Unhide new API in android.media.MediaRouter for remote playback
Expose new functionality for handling remote volume in:
 android.media.MediaRouter.RouteInfo
 android.media.MediaRouter.UserRouteInfo
 android.media.MediaRouter.VolumeCallback

Change-Id: I8fd9c92be606364599e65939f318e11c2860bab9
2012-06-20 14:36:23 -07:00
Richard Ngo
e2bd3fac1c made the pressed state white
Change-Id: Ic30f6f9aa574731ff1ed52364262c0d9b795dca0
2012-06-20 14:03:55 -07:00
Amith Yamasani
423d48bbba Add a private method to retrieve the header list from PreferenceActivity
This is required by Settings app to be able to update the header list
if the accounts list changed.

Bug: 6685701
Change-Id: If27f83ec86fe1f3519a6e25de4e4fe4864133dc8
2012-06-20 13:54:53 -07:00
Jean-Michel Trivi
f98de1e8dd Asynchronous handling of remote volume updates
Remote playback information updates will be posted from the
 application thread, and sent to AudioService. Because they
 require locking the stack containing the remote playback
 information, the update should happen on AudioService's handler
 thread to avoid lock contention.

Change-Id: Ie04898295e08c16dd8ab5985fd825301e9cf1981
2012-06-20 13:40:22 -07:00
Mathias Agopian
8b38953926 am 06c93386: Merge "Exit boot animation cleanly." into jb-dev
* commit '06c93386374de3812629908f21c057a8d60c4b12':
  Exit boot animation cleanly.
2012-06-20 13:37:13 -07:00
Mathias Agopian
06c9338637 Merge "Exit boot animation cleanly." into jb-dev 2012-06-20 13:33:06 -07:00
alanv
78bfb98295 Fix GlowPadView accessibility behavior.
Bug: 6702412
Change-Id: If5ab75e77b0090a405004c66da0083e81d59deb4
2012-06-20 13:22:45 -07:00
satok
3a9ff158fe am 56802678: Merge "Workaround: Never reset the default IME if the system is not ready" into jb-dev
* commit '56802678a72157675382910e37857cf78e1cefcb':
  Workaround: Never reset the default IME if the system is not ready
2012-06-20 13:03:14 -07:00