1909 Commits

Author SHA1 Message Date
Dianne Hackborn
5a70063f7e am 6593be0c: Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev
* commit '6593be0c200f69d932e40e05e9df54b89c157c48':
  Work on issue #6579997: Mariner entrance animation
2012-06-04 10:34:24 -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
419c7c3d0d am a764816b: Merge "Hide notifications until the device is provisioned." into jb-dev
* commit 'a764816b1ae961218bd7c628ab9f0ad384eab8cd':
  Hide notifications until the device is provisioned.
2012-06-03 11:48:34 -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
0962d3729b am 1f3c11b7: Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev
* commit '1f3c11b7952d92ebbafa71bf0904b8137edfd440':
  Add more logging for bug 6499508 (getting warmer!)
2012-06-02 15:32:50 -07:00
Michael Jurka
586a119c6f am e766e1f5: Merge "Reduce recents memory usage" into jb-dev
* commit 'e766e1f57b00910442b52d7d11ba808a6b212459':
  Reduce recents memory usage
2012-06-02 15:32:49 -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
a8c42f1aaa am 94a8ae09: Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev
* commit '94a8ae09bea03ec2ca5563601e28a196d41bb6b6':
  Fix 6592932: add means to replace assist icon from given package
2012-06-02 08:35:33 -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
1f199f1d04 am 0a19dba5: Merge "Present a one-time chooser when sharing screenshots." into jb-dev
* commit '0a19dba545d25760839399e4bc8ece6d9cc888da':
  Present a one-time chooser when sharing screenshots.
2012-06-01 19:01:45 -07:00
Raph Levien
dcf1251c92 am 79f7381f: Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev
* commit '79f7381f8b4e9a462d012740c2a902ae3de8a6b0':
  Fix bug 6596440: NPE when pulling down notification window
2012-06-01 19:01:03 -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
4ba77f165c am ef3a8021: Merge "Refresh signal cluster for airplane switch." into jb-dev
* commit 'ef3a8021e412b33db817789a9c1869022b5c901b':
  Refresh signal cluster for airplane switch.
2012-06-01 09:04:23 -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
359822c586 am 593b4446: Merge "Fix 6583164: Make navbar slippery when shade is open" into jb-dev
* commit '593b4446fd5cac974b86988cbd03f5a8c1a4862d':
  Fix 6583164: Make navbar slippery when shade is open
2012-05-31 13:50:35 -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
60dbc3c05c am e857632a: Merge "Dock: Renable desk-dock apps" into jb-dev
* commit 'e857632abd994bd1e4a649afb4231f3a97763828':
  Dock: Renable desk-dock apps
2012-05-31 08:49:24 -07:00
John Spurlock
e857632abd Merge "Dock: Renable desk-dock apps" into jb-dev 2012-05-31 08:44:47 -07:00
Daniel Sandler
64846efd6d am 43cee47d: Merge "Simpler background art for notification panels." into jb-dev
* commit '43cee47d4f813e43a59f907bfea030f157853fd2':
  Simpler background art for notification panels.
2012-05-31 06:05:53 -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
6ac15eeb8a am 67130247: Merge "Fix issue where "No recent apps" showed initially before loading thumbnails" into jb-dev
* commit '6713024727039004fa1f59a5ad4cad1f3c5f57f4':
  Fix issue where "No recent apps" showed initially before loading thumbnails
2012-05-30 13:42:24 -07: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
afeaa4eb0e am 75856e96: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '75856e969149fb2e221ece014670fdc39562747e':
  Import translations. DO NOT MERGE
2012-05-30 12:46:24 -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
1b4341a682 am a78bdd95: Merge "Fix 6578735: don\'t crash system ui when there\'s no search activity" into jb-dev
* commit 'a78bdd95b30ecdbd26e1b46c0d651b3975fea6b8':
  Fix 6578735: don't crash system ui when there's no search activity
2012-05-30 10:56:04 -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
927506176e am 5ab6e12b: Merge "Fix 6538388: Home buttons do not respect the no "vibrate on touch" option." into jb-dev
* commit '5ab6e12b450d13c8eb501001c7a8669826b86ea4':
  Fix 6538388: Home buttons do not respect the no "vibrate on touch" option.
2012-05-30 10:01:19 -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
Jim Miller
9ca07d048f am d8c5f10c: Merge "Fix 6398209: SearchPanel gesture improvements" into jb-dev
* commit 'd8c5f10c10ea1a8708481eac52ee573d5c3b6a67':
  Fix 6398209: SearchPanel gesture improvements
2012-05-30 09:29:37 -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
4abf86ed20 am a073e570: Fix 6398209: General animation improvements for swipe to search
* commit 'a073e570789e5b49e8339af44516444b13db4428':
  Fix 6398209: General animation improvements for swipe to search
2012-05-29 13:16:22 -07: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
10864c5442 am 15332efd: Merge "Set phone/data signal icon ids to 0 in airplane mode" into jb-dev
* commit '15332efd2c4dd9b96368a58216e13d083638dbae':
  Set phone/data signal icon ids to 0 in airplane mode
2012-05-29 12:20:21 -07:00