1821 Commits

Author SHA1 Message Date
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
Daniel Sandler
1534a66ee9 Simpler background art for notification panels.
Bug: 6515559 // banding due to gradient
Bug: 6563738 // 9-patch self-overlap issues
Change-Id: Iab180e4ad1e92e1c780d54fd609ad8989a07c775
2012-05-30 16:43:30 -04:00
Michael Jurka
6713024727 Merge "Fix issue where "No recent apps" showed initially before loading thumbnails" into jb-dev 2012-05-30 13:39:39 -07:00
Eric Fischer
75856e9691 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-30 12:43:04 -07:00
Eric Fischer
f4837c03c3 Import translations. DO NOT MERGE
Change-Id: I1b96473984d97eaef2ef616def04315674a57fca
2012-05-30 12:23:20 -07:00
Jim Miller
a78bdd95b3 Merge "Fix 6578735: don't crash system ui when there's no search activity" into jb-dev 2012-05-30 10:53:15 -07:00
Philip Milne
5ab6e12b45 Merge "Fix 6538388: Home buttons do not respect the no "vibrate on touch" option." into jb-dev 2012-05-30 09:58:47 -07:00
Jim Miller
8ea8a29de7 Fix 6578735: don't crash system ui when there's no search activity
Because SearchPanelView tracks input even when it's not showing, it
was possible to trigger search with a gesture.

Change-Id: I60f654d279d2ff1799d8a4b69796da8c7e81f3c7
2012-05-30 09:50:00 -07:00
Michael Jurka
d234b32e99 Fix issue where "No recent apps" showed initially before loading thumbnails
Bug: 6573911

Also add additional debugging code for bug 6573911
2012-05-30 07:00:08 -07:00
Jim Miller
9a720f5eb6 Fix 6398209: SearchPanel gesture improvements
This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.

Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
2012-05-30 03:36:20 -07:00
Philip Milne
a01a2a89ec Fix 6538388: Home buttons do not respect the no "vibrate on touch" option.
Change-Id: I1792caf4c0501055329611f4c5e237815463d43d
2012-05-29 16:35:23 -07:00
John Spurlock
960779d3bb Dock: Renable desk-dock apps
Revert to pre-dreams behavior. DeskClock once again launches the correct
activity (instead of Screensaver) when desk-dock is attached.

Bug: 6559590
Change-Id: I32a03a25469f17b5e87e16831839ec757d56c90b
2012-05-29 18:19:57 -04:00
Jim Miller
a073e57078 Fix 6398209: General animation improvements for swipe to search
This cleans up the animation for swipe to search from the navbar.  In particular:
1. Wait for initial animation to finish if gesture was too quick.
2. Better fade animation
3. Hide background and fade in when ring is selected
4. Smoother target and outer ring animation when switching between states.

Change-Id: I401197760cf9f06b6ff3e1cdb80bee86a03ef276
2012-05-29 12:49:23 -07:00
Andrew Flynn
15332efd2c Merge "Set phone/data signal icon ids to 0 in airplane mode" into jb-dev 2012-05-29 12:18:22 -07:00
Michael Jurka
b2a5d9e546 Adding debugging code for bug where recycled views still had parent
Bug: 6499508
Change-Id: Iaf95ee6a0836c5f1e863d6a5b969e032d36a2b27
2012-05-29 03:44:18 -07:00
Romain Guy
bbedfa0036 Merge "Tale of status bar on crespo, part 3 Bug #6541079" into jb-dev 2012-05-25 19:21:49 -07:00
Chet Haase
a27551dde8 Merge "Make Google search panel go away when receiving phone call" into jb-dev 2012-05-25 15:49:47 -07:00
Eric Fischer
dfaadf9dae Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-25 14:24:44 -07:00
Fabrice Di Meglio
d5f3798d6b Merge "Fix bug #6558264 Recent apps launcher is not getting dismissed after launching Google app using long press of Home key" into jb-dev 2012-05-25 13:49:39 -07:00
Chet Haase
ff20b0c0ef Make Google search panel go away when receiving phone call
Issue #6557847 "Google" launcher icon stuck in ring slider after getting incoming call

Change-Id: If77f66fd241af7fbfe6228498b07fd1cfcef36bd
2012-05-25 13:38:10 -07:00
Eric Fischer
b80d834ca0 Import translations. DO NOT MERGE
Change-Id: I893c25a4fd206d9b0c018c44e4441ef36d12eed0
2012-05-25 13:32:45 -07:00
Fabrice Di Meglio
4d0d38b9f4 Fix bug #6558264 Recent apps launcher is not getting dismissed after launching Google app using long press of Home key
- close Recent Apps before launching the Assistant

Change-Id: I823dc254252fb3c1fde0a3adcfb895e368c7d77e
2012-05-25 13:14:02 -07:00
Romain Guy
8900e63194 Tale of status bar on crespo, part 3
Bug #6541079

The vanished shall not be forgotten.

Change-Id: If01a53d8c203ef82e54d0b440063a8dbebe7b14a
2012-05-25 12:08:39 -07:00
Romain Guy
bc1387b11c Merge "Tale of status bar on crespo, part 2 Bug #6541079" into jb-dev 2012-05-25 11:43:13 -07:00
Romain Guy
648342f1f2 Tale of status bar on crespo, part 2
Bug #6541079

In which a flood destroys flatland.

Change-Id: Ifd1913b645c08531b221b3e010c133f14bcfb0c2
2012-05-25 10:44:45 -07:00
Romain Guy
5321096467 Merge "Tale of status bar on crespo, part 1 Bug #6541079" into jb-dev 2012-05-25 10:28:01 -07:00
Romain Guy
f7f16f7f3f Tale of status bar on crespo, part 1
Bug #6541079

In which ghosts are more desirable than standing soldiers.

Change-Id: I92ec33fa344938eabe5adf6644683c7ab19ba8a5
2012-05-24 19:23:12 -07:00
Jim Miller
73bde11e62 Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev 2012-05-24 17:51:10 -07:00