1848 Commits

Author SHA1 Message Date
Jeff Brown
de7a8ead24 Add new ASSIST key and map it to the global assist intent.
Moved some duplicate code from SearchPanelView and LockScreen
over to SearchManager to avoid creating yet another copy of it
in PhoneWindowManager.

Bug: 6594275
Change-Id: Ib4ebcd6817639d17548952ab2ce7cb876c05777c
2012-06-14 04:16:26 -07:00
Chris Wren
4d12ec42bb remove obsolete notificaiton pane visibility code.
Bug: 6647263
Change-Id: I634f17c608effe215b9ec4241355fd7cc8860d8e
2012-06-13 12:20:05 -04:00
Jim Miller
955a016922 Fix 6613962: Update keyguard to use new GlowPadView UX design.
Change-Id: I4f1ef3107e5550f7df9dcb412943a84b66432b7d
2012-06-12 19:16:08 -07:00
John Spurlock
36eeb6a5be Merge "StatusBar: Respond properly to global expand message" into jb-dev 2012-06-12 13:29:09 -07:00
Daniel Sandler
56b135b910 Merge "Put PLMN and SPN on one line in the notification panel." into jb-dev 2012-06-12 11:04:14 -07:00
Daniel Sandler
2c1a4c05b8 Merge "Suppress header flash when collapsing notifications panel." into jb-dev 2012-06-12 11:04:08 -07:00
John Spurlock
8506149f61 StatusBar: Respond properly to global expand message
Fix timing issue in PhoneStatusBar#animateExpand(). Also, notification panel
drag handle (when expanded) reflects movement immediately.

To test animateExpand():
  $ adb shell service call statusbar 1

Bug: 6629916
Change-Id: I22bb09fc4c9d97c93ba8d7aed8921b60f5ebd610
2012-06-12 13:27:14 -04:00
Michael Jurka
64dbcd64be Merge "Tweak recents out animation a bit more" into jb-dev 2012-06-11 16:17:35 -07:00
Michael Jurka
c016aaaa42 Tweak recents out animation a bit more
Bug: 6490204

-Fading to black in the recents layer
-Tweaking duration and interpolators
-Removing some unnecessary debug exceptions (Bug: 6642072)

Change-Id: Iba18fade7f874078111fc1d79a81830ee07617d4
2012-06-11 15:23:20 -07:00
Mathias Agopian
0d8eba64b2 Merge "Enable HW accelerated window shade for all devices" into jb-dev 2012-06-11 14:43:57 -07:00
Daniel Sandler
18ac7826ae Put PLMN and SPN on one line in the notification panel.
We now match the keyguard's presentation: either plmn, or
spn, or "plmn|spn" (concatenated with a pipe).

Bug: 6639047
Change-Id: Ia6ae9085fbf2fe9fa4465a6f7825cb997db5e6c5
2012-06-11 16:15:14 -04:00
Daniel Sandler
e5011a3ad4 Suppress header flash when collapsing notifications panel.
LayoutTransition is poking through and it shouldn't be.

This change also fixes a few related animation glitches
around the carrier label and fling velocity.

Bug: 6628429
Change-Id: I6655c9f9a8c95c7abd9c6d7099957cb229b86d5a
2012-06-11 16:07:52 -04:00
Chris Wren
7cd464292b Merge "apply Jellybean styling to tablet system bar and panel" into jb-dev 2012-06-08 11:26:22 -07:00
Gilles Debunne
4d94ecb223 Merge "Added a tvdpi specific background 9 patch" into jb-dev 2012-06-08 09:12:34 -07:00
Chris Wren
1e8f65d989 apply Jellybean styling to tablet system bar and panel
Bug: 6546070
Change-Id: I933883857747931388026e0beefcf092a00d531a
2012-06-08 07:57:45 -07:00
Chris Wren
059537e792 Merge "Back from the dead: Carrier name, background dimming." into jb-dev 2012-06-07 09:44:54 -07:00
Daniel Sandler
67e7d90376 Fix notification icon fading.
Bug: 6581738
Change-Id: I547cae03533d9a9e6cf1d15e4b47845f61eee072
2012-06-07 01:23:12 -04:00
Daniel Sandler
3d32a24adf Back from the dead: Carrier name, background dimming.
Unlike previous versions of Android, we now show the current
wifi SSID in the carrier label if connected to wifi.

Bug: 6612419
Bug: 6620626
Change-Id: Ifb5ba8efe6dd387e960efc6a9b1da69a08e97d96
2012-06-07 01:10:11 -04:00
Gilles Debunne
b2a334acbf Added a tvdpi specific background 9 patch
Bug 6612759

Change-Id: If006b254b100ab9fcf8f31b500945c787b4c7b36
2012-06-06 16:21:51 -07:00
Michael Jurka
a2c628fb40 Merge "Fix bug 6499508" into jb-dev 2012-06-06 13:31:59 -07:00
Michael Jurka
d1a040c3e1 Fix bug 6499508
Using a HashSet for the recycled views, instead of an ArrayList, to ensure items are not double-added
2012-06-06 10:14:34 -07:00
Daniel Sandler
4bd3a127d2 New background for notification panel header.
Bug: 6593364
Change-Id: Ifc0a9c17cbb413316d9a06d9b29cf4ca843c2103
2012-06-06 10:47:09 -04:00
Romain Guy
0901fda2fe Enable HW accelerated window shade for all devices
Change-Id: I78ca9a192ae97e3160d3cf17a61856f60c64807c
2012-06-05 21:51:12 -07:00
Jeff Brown
615fd3dff2 Merge "Implement new rotation policy." into jb-dev 2012-06-05 19:11:13 -07:00
Jeff Brown
207673cdbb Implement new rotation policy.
Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a
2012-06-05 17:59:46 -07:00
John Spurlock
fc6902b66e Merge "StatusBar: Improve framerate on reveal animation." into jb-dev 2012-06-05 10:48:57 -07:00
John Spurlock
804df70112 StatusBar: Improve framerate on reveal animation.
Ensure reveal animation runs after notification panel is completely drawn.
Align minimum close handle position to proper height with new super status bar.

Bug: 6555172
Change-Id: I7ae978caa1f28932ee56f65484b18330a4406b80
2012-06-05 10:09:08 -04:00
Michael Jurka
a9265805dc Adding more logging for bug: 6499508
Change-Id: Iffc099e7de8b1d24bb33f1df6e17df7a099bfcb2
2012-06-04 16:47:33 -07:00
Michael Jurka
a3404be930 Merge "Change Recents background to solid color on sw600dp devices" into jb-dev 2012-06-04 15:12:56 -07:00
Michael Jurka
f3abbad5a7 Change Recents background to solid color on sw600dp devices
Bug: 6572502
2012-06-04 14:00:32 -07:00
Dianne Hackborn
6593be0c20 Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev 2012-06-04 10:29:32 -07:00
Daniel Sandler
a764816b1a Merge "Hide notifications until the device is provisioned." into jb-dev 2012-06-03 11:46:13 -07:00
Michael Jurka
1f3c11b795 Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev 2012-06-02 15:30:54 -07:00
Michael Jurka
e766e1f57b Merge "Reduce recents memory usage" into jb-dev 2012-06-02 15:30:26 -07:00
Jim Miller
94a8ae09be Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev 2012-06-01 20:34:43 -07:00
Dianne Hackborn
84375876fc Work on issue #6579997: Mariner entrance animation
Add a new variation of ActivityOptions that allows you to
supply custom animation resources and get a callback when the
animation starts.

Use this in SearchPanelView to determine when to start hiding
the search panel instead of having a fixed delay.

Fix some issues in the activity manager where we would cancel
the options in cases where we should actually keep them to give
to the window manager for a transition.  (Basically when the
activity being started is not actually ending up launched, but
just results in a shift in the activity stack.)

Note that this is not quite what the design calls for -- the
entire search UI is waiting and then disappearing when the
animation starts, instead of the ring first disappearing while
waiting for the time to fade out the circle.

Change-Id: Iee9a404ba530908d73cdbd4a9d0d2907ac03428f
2012-06-01 19:13:55 -07:00
Daniel Sandler
0a19dba545 Merge "Present a one-time chooser when sharing screenshots." into jb-dev 2012-06-01 14:29:07 -07:00
Daniel Sandler
26cda27d2e Hide notifications until the device is provisioned.
During Setup (0 == Settings.Secure.DEVICE_PROVISIONED)
there's no reason to show notifications, unless they're
coming from the platform (and therefore essential to the
setup process), like the IME switcher.

We also disable the settings button and ticker while the
device is not provisioned.

Bug: 6355011
Change-Id: I1522f0c0fed3f2f95a36bd71d051248e12f0a1f8
2012-06-01 17:25:24 -04: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
Daniel Sandler
046fddff5b Present a one-time chooser when sharing screenshots.
Bug: 6561747
Change-Id: I0ee98d10e6927a9166e643a4a965285a62379a9b
2012-06-01 16:26:46 -04:00
Raph Levien
79f7381f8b Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev 2012-06-01 13:02:36 -07:00
Raph Levien
311a961a9a Fix bug 6596440: NPE when pulling down notification window
Pulling down the notification window set the navigation bar view to
"slippery", but this view is NULL on some devices such as Crespo.
The fix simply makes it a no-op in this case.

Change-Id: I720a257c1715febda5932d50906c5dddbca2b312
2012-06-01 12:02:13 -07:00
Andrew Flynn
ef3a8021e4 Merge "Refresh signal cluster for airplane switch." into jb-dev 2012-06-01 09:00:46 -07:00
Michael Jurka
4f500b8592 Add more logging for bug 6499508 (getting warmer!)
Change-Id: Id55c6e9641508804d7f4a1b83e1251ea960d4aa5
2012-06-01 05:06:01 -07:00
Michael Jurka
261277e178 Reduce recents memory usage
Change-Id: I7e50bc1987dd75b1fbbe4e91d13490ae1faa6cb8
2012-06-01 04:52:03 -07:00
Andrew Flynn
0fa9d2d03f Refresh signal cluster for airplane switch.
This fixes a bug where if Airplane mode on/off is the only icon
that is changing in the signal cluster (for example, someone on
a wifi-only device has wifi turned on in airplane mode, so wifi
icon is not changing), this will refresh the signal cluster.

Bug: 6531918
Change-Id: I7a440b84c9dfa0b300b81d14426b99fd48fad06c
2012-05-31 16:44:12 -07:00
Jim Miller
593b4446fd Merge "Fix 6583164: Make navbar slippery when shade is open" into jb-dev 2012-05-31 13:47:47 -07:00
Jim Miller
b490c3e64d Fix 6583164: Make navbar slippery when shade is open
Change-Id: Ie7bc726dd292b8b363c155492fb620e49a123f05
2012-05-31 13:34:16 -07:00
John Spurlock
e857632abd Merge "Dock: Renable desk-dock apps" into jb-dev 2012-05-31 08:44:47 -07:00
Daniel Sandler
43cee47d4f Merge "Simpler background art for notification panels." into jb-dev 2012-05-31 06:02:58 -07:00