Commit Graph

26323 Commits

Author SHA1 Message Date
Adam Powell
9a1de308ce Add MediaRouter API.
This is just the initial state tracking. Still to go is
actually triggering Bluetooth A2DP correctly and tracking
process state in the system server.

Change-Id: I33031d52799d6e2d7208910da833831085cc3677
2012-06-01 18:19:20 -07:00
Chet Haase
faa3233ecd Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev 2012-06-01 15:52:28 -07:00
Chet Haase
66ef1a201e Skip LayoutTransition animations on objects of size (0,0)
LayoutTransition runs changing animations on all objects that change between
now and the next layout. This works in most normal situations, but when a container
is becoming visible, or being added to its container, or other first-time situations,
then some of the views and parent hierarchy may be of size (0,0). The user really
shouldn't need to see an animation up from these nonsense values, so we just
skip running the animation on these objects and simply place the objects where they
need to go.

Issue #6597648 view should not animate up from size (0,0)

Change-Id: I2c355a68bf1ce3b41fbec01ad95c78d83562ba32
2012-06-01 15:09:07 -07:00
George Mount
b49f2bb5dd Change from left/right to base/extent for selection handles.
Bug 6557816
 This is a step in preparation to fix text area selection.
 It moves selection from left/right to base/extent. left/right
 can cause problems when dragging cursors -- it is sometimes
 difficult to tell which cursor should be dragged, the left or
 right, but we can always keep the base/extent constant.

 Webkit Change: I5609d07ea2ee67fc08d15cfcad31f49302f33297

Change-Id: I2f9b963e93bb1ab86a9b26518fca52449b56d5d9
2012-06-01 14:29:37 -07:00
Dianne Hackborn
ea01e4a2d5 Merge "Survey says: NIET!" into jb-dev 2012-06-01 14:13:08 -07:00
Jim Miller
3294b6b09b Fix 6592932: add means to replace assist icon from given package
This provides the means to replace the assist icon shown in keyguard and the
navigation gesture for assist.  It's done by adding metadata called
"com.android.systemui.action_assist_icon" to the activity that handles
android.intent.action.ASSIST.  It should point to a StateListDrawable
in that package with the required states.  For example:

<meta-data android:name="com.android.systemui.action_assist_icon"
    android:resource="@drawable/ic_android_systemui_action_assist" />

And then something like this in drawable/ic_android_systemui_action_assist.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_normal" />
    <item android:state_enabled="true"
        android:state_active="true"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_activated" />
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="true"
        android:drawable="@drawable/ic_action_assist_focused" />
</selector>

Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab
2012-06-01 14:08:28 -07:00
Dianne Hackborn
4034bc431d Survey says: NIET!
Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
2012-06-01 13:38:48 -07:00
Fabrice Di Meglio
7806882541 Merge "Clean up layout direction APIs for Drawable" 2012-06-01 11:41:58 -07:00
Fabrice Di Meglio
c1da65187a Clean up layout direction APIs for Drawable
- see bug #6427629

Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
2012-06-01 11:39:10 -07:00
Svetoslav Ganov
6604496b53 am dd5543a6: am ac483ac4: Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev
* commit 'dd5543a6ffb2f543d9a45b541808561370c34f86':
  AccessibilityInteractionController crash with IndexOutOfBoundException.
2012-06-01 11:20:43 -07:00
Svetoslav Ganov
dd5543a6ff am ac483ac4: Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev
* commit 'ac483ac41f19b9956069eebdc0275ccf90d4e01d':
  AccessibilityInteractionController crash with IndexOutOfBoundException.
2012-06-01 11:16:21 -07:00
Svetoslav Ganov
ac483ac41f Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev 2012-06-01 11:14:12 -07:00
Svetoslav Ganov
30ac645210 AccessibilityInteractionController crash with IndexOutOfBoundException.
1. The findAccessibilityNodeInfosByTextUiThread was reusing an ArrayList
   instance also used by the logic to initialize an AccessibilityNodeInfo.
   Hence, if the find method got some view and creates the infos for them
   the method creating the info was reusing the same array list and was
   nuking its contents.

bug:6556585

Change-Id: I1d013bf7b1f715f8b4c4ba60c677233bec40647c
2012-06-01 09:10:30 -07:00
Svetoslav Ganov
2a086877a4 am 570ad8c2: am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev
* commit '570ad8c2b6f89f6ca9f2dfeb33d0eca19278e739':
  Accessibility focus traversal of lists inconsistent.
2012-06-01 08:58:35 -07:00
Svetoslav Ganov
570ad8c2b6 am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev
* commit '00ca7a88271916f6022b2aa16acfb415fc1b5247':
  Accessibility focus traversal of lists inconsistent.
2012-06-01 08:54:38 -07:00
Svetoslav Ganov
00ca7a8827 Merge "Accessibility focus traversal of lists inconsistent." into jb-dev 2012-06-01 08:52:19 -07:00
Chet Haase
fbe8857237 am d0140062: am 561ff8a7: Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev
* commit 'd0140062db85ae17e807e514fe14d2d0581645fb':
  Skip eglSwapBuffers() call when we do not draw to GL
2012-06-01 07:37:56 -07:00
Chet Haase
d0140062db am 561ff8a7: Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev
* commit '561ff8a74e3d9ea15f58d9b6534da9ea5a63d84b':
  Skip eglSwapBuffers() call when we do not draw to GL
2012-06-01 07:32:39 -07:00
Chet Haase
561ff8a74e Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev 2012-06-01 07:29:53 -07:00
Ben Murdoch
078b591379 Get a WebViewDatabaseClassic instance lazily. Do not merge.
Rather than caching the WebViewDatabaseClassic instance in a member,
grab the instance when we need it.

In the case of WebSyncManager - neither it or it's subclass uses
the WebViewDatabaseClassic (and it's subclass is final) so remove
it's initialisation. We must leave the member declared however
to satisfy the published API.

Bug: 6482144
Change-Id: Ibf5186a2851d17f5ad62b35ad543aeadff5618d9
2012-06-01 14:07:20 +01:00
Svetoslav Ganov
2dda468606 Accessibility focus traversal of lists inconsistent.
1. Now the list traversal forward is the exact opposite
   of the traversal backward.

2. The focus search starts from the view against which
   the call is made as opposed to the one that has focus.
   This is now consistent with the rest of the focus search.

bug:6537747

Change-Id: Ida6a696636a3099531155fcbff256f71264f5008
2012-05-31 20:16:40 -07:00
Dianne Hackborn
c3d808b3c0 am c3895253: am d53710ce: Merge "Extend process observer to be usable for media routing." into jb-dev
* commit 'c3895253bb833611df8c8f62347ede70153eb5b9':
  Extend process observer to be usable for media routing.
2012-05-31 19:11:26 -07:00
Scott Anderson
aeb7723a12 Clean up IntToStrings for window TYPE_*
Remove duplicates and add missing entries for the conversions
from window types to strings.

Change-Id: I4378e1191b156bd0b73ac23bc43bc3bfd1c3f198
Signed-off-by: Scott Anderson <saa@android.com>
2012-05-31 19:10:50 -07:00
Dianne Hackborn
c3895253bb am d53710ce: Merge "Extend process observer to be usable for media routing." into jb-dev
* commit 'd53710ce644e7f1df417a8fe42ec26233a751b2e':
  Extend process observer to be usable for media routing.
2012-05-31 19:07:03 -07:00
Dianne Hackborn
d53710ce64 Merge "Extend process observer to be usable for media routing." into jb-dev 2012-05-31 19:04:44 -07:00
Dianne Hackborn
a93c2c117d Extend process observer to be usable for media routing.
It now has a new callback to report changes in the "importance"
of processes.  Rewrote the dispatching code to be a bit more
efficient now that we are sending more reports.

Change-Id: Ie865cfd286455819f04e8c14e9b6fd54d028f8f2
2012-05-31 18:58:34 -07:00
Eino-Ville Talvala
001778393d Merge "Add camera as an ATRACE tag" 2012-05-31 18:32:54 -07:00
Eino-Ville Talvala
9c0d9cf25f Add camera as an ATRACE tag
Change-Id: I7b4fc51f8b0eb97190817f8cbc9f743b0d112922
2012-05-31 18:12:18 -07:00
Chris Craik
35ec6b7b30 am 7d4c2ec0: am 53913ed5: Merge "Force webview invalidates on unsuccessful functor attach" into jb-dev
* commit '7d4c2ec0f4dc1843ed5e3f6768d55cc9506052c6':
  Force webview invalidates on unsuccessful functor attach
2012-05-31 18:06:13 -07:00
Alice Yang
e56a8e7c7d am 3fea6462: am be504401: Merge "Fix bug where existing account not pre-checked" into jb-dev
* commit '3fea64623bc52f01af451bae9d18129c327300c4':
  Fix bug where existing account not pre-checked
2012-05-31 18:06:01 -07:00
Chris Craik
7d4c2ec0f4 am 53913ed5: Merge "Force webview invalidates on unsuccessful functor attach" into jb-dev
* commit '53913ed55ce2b5f0d2137b2a7b67eaf7556c0c28':
  Force webview invalidates on unsuccessful functor attach
2012-05-31 18:00:46 -07:00
Chris Craik
53913ed55c Merge "Force webview invalidates on unsuccessful functor attach" into jb-dev 2012-05-31 17:57:45 -07:00
Chet Haase
486590963e Skip eglSwapBuffers() call when we do not draw to GL
The fix is to track when we issue GL drawing commands, and to skip the
call to eglSwapBuffers() when a DisplayList does not result in
any actual rendering calls to GL.

Issue #6364143 QuickMuni list items and buttons flicker instead of fade

Change-Id: I60a02c61a58c32d92481a1e814b4c8a49c6a37a3
2012-05-31 17:22:27 -07:00
Alice Yang
3fea64623b am be504401: Merge "Fix bug where existing account not pre-checked" into jb-dev
* commit 'be5044015212b82a6e530c4516004255fe245ebe':
  Fix bug where existing account not pre-checked
2012-05-31 17:11:58 -07:00
Alice Yang
6cab5e823a Fix bug where existing account not pre-checked
The fix was to call ListView.setItemChecked()
instead of ListView.setSelection() for setting radio button status.
Also refactored the code a bit so it's less verbose.

Bug 6588533

Change-Id: I8add072a0277183baec7c0d5634a28f2d3a28c5e
2012-05-31 15:48:51 -07:00
Chris Craik
41ee465734 Force webview invalidates on unsuccessful functor attach
Functor attach should always be successful, but adding a fallback just in
case. Also invalidates the WebView on initial content arriving.

bug:6511995
Change-Id: Ibca16505afec9f693ea4a7cc4966cd6d7353725c
2012-05-31 15:23:11 -07:00
Amith Yamasani
30e4e88c91 am 2afe8252: am 4a3a9685: Merge "Protect volumepanel slider creation from race condition." into jb-dev
* commit '2afe8252addcf080d4752e85f6d0f21c930fde7f':
  Protect volumepanel slider creation from race condition.
2012-05-31 13:17:11 -07:00
Amith Yamasani
2afe8252ad am 4a3a9685: Merge "Protect volumepanel slider creation from race condition." into jb-dev
* commit '4a3a9685d17cb29f70a7c56a3d33f2c8d5288e72':
  Protect volumepanel slider creation from race condition.
2012-05-31 13:13:34 -07:00
Amith Yamasani
4a3a9685d1 Merge "Protect volumepanel slider creation from race condition." into jb-dev 2012-05-31 13:08:07 -07:00
Makoto Onuki
5d6c1e3dbf am 46d12127: am bde32efa: Merge "Fix bug 6563184: API compatibility issue with quick contact" into jb-dev
* commit '46d1212704b962df06e0d150a3d81c2c95acd5f5':
  Fix bug 6563184: API compatibility issue with quick contact
2012-05-31 11:05:09 -07:00
Makoto Onuki
46d1212704 am bde32efa: Merge "Fix bug 6563184: API compatibility issue with quick contact" into jb-dev
* commit 'bde32efa209acb47324add8981577af1fa410574':
  Fix bug 6563184: API compatibility issue with quick contact
2012-05-31 11:01:24 -07:00
Makoto Onuki
bde32efa20 Merge "Fix bug 6563184: API compatibility issue with quick contact" into jb-dev 2012-05-31 10:58:58 -07:00
Philip Milne
0597161ee4 Merge "Fix for bug 6050753." 2012-05-31 10:30:09 -07:00
Eric Laurent
846890957d am c383b407: am cee7203f: Merge "Send device connection intents from AudioService" into jb-dev
* commit 'c383b407ad24474b87de68f93ea95de495f6d2c1':
  Send device connection intents from AudioService
2012-05-31 08:29:29 -07:00
Eric Laurent
c383b407ad am cee7203f: Merge "Send device connection intents from AudioService" into jb-dev
* commit 'cee7203f9ac3e54f39b5f528e014f2d3583f60dc':
  Send device connection intents from AudioService
2012-05-31 08:25:33 -07:00
Eric Laurent
cee7203f9a Merge "Send device connection intents from AudioService" into jb-dev 2012-05-31 08:22:50 -07:00
Eino-Ville Talvala
80ee5aaeea am ac8ed11d: am 28795d88: Merge "Fix race condition with preview callback." into jb-dev
* commit 'ac8ed11db3ccfa4f017bbb20d49c463595e6d90a':
  Fix race condition with preview callback.
2012-05-30 19:17:28 -07:00
Svetoslav Ganov
2d9f96bf45 am 191e7c5a: am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev
* commit '191e7c5a4959e4c16154ade5d1ceb277ef31021e':
  Ask to enable touch exploration only the first time it enables the feature.
2012-05-30 19:13:29 -07:00
Eino-Ville Talvala
ac8ed11db3 am 28795d88: Merge "Fix race condition with preview callback." into jb-dev
* commit '28795d883a34f5393ff00dca0a54aca79b2607d5':
  Fix race condition with preview callback.
2012-05-30 19:12:52 -07:00
Svetoslav Ganov
191e7c5a49 am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev
* commit '758534ed50d1d2c643999bd7eb3f909b0834e393':
  Ask to enable touch exploration only the first time it enables the feature.
2012-05-30 19:08:52 -07:00