4744 Commits

Author SHA1 Message Date
Baligh Uddin
dad349ed00 Merge "Import translations. DO NOT MERGE" 2014-05-08 14:37:37 +00:00
Selim Cinek
448b52ec3b am 155f9087: Merge "Improved animation logic of the new notifications"
* commit '155f908763480fe60363f5f4f6bf85e60f31a6ce':
  Improved animation logic of the new notifications
2014-05-08 13:38:40 +00:00
Selim Cinek
695015dd11 Merge "Improved animation logic of the new notifications" 2014-05-08 13:35:03 +00:00
Selim Cinek
8df56452cb Improved animation logic of the new notifications
Scrolling and other local updates work much better now when an
animation is already in place.

Change-Id: I602899bc75ae132ebb30591e723be3f00f744e18
2014-05-08 15:25:40 +02:00
Jorim Jaggi
8e812b74cb am 96428eed: Merge "Fix crash in ActivatableNotificationView."
* commit '96428eed59d74368f2c47f12bdd2a8729888a545':
  Fix crash in ActivatableNotificationView.
2014-05-08 13:09:30 +00:00
Jorim Jaggi
11b7a38139 Merge "Fix crash in ActivatableNotificationView." 2014-05-08 13:04:34 +00:00
Jorim Jaggi
bccb9123a5 Fix crash in ActivatableNotificationView.
Change-Id: Ifc431333bcf0b0d2ade81730c9ffc935218e5cc0
2014-05-08 15:04:10 +02:00
Dan Sandler
fea08f22de am 20d80a4a: Merge "Quantum notification improvements."
* commit '20d80a4a05249fca9f4aa6c80b61a1f7a9e18dd0':
  Quantum notification improvements.
2014-05-08 11:34:31 +00:00
Dan Sandler
26e81cf14b Quantum notification improvements.
New API introduced here: Notification.color (and
Builder.setColor()), allowing apps to specify an accent
color to be used by the template. The Quantum templates
(which are now the only kind we support) use this when
creating a circular background to draw behind the smallIcon
in the expanded form.

Additionally, the quantum and legacy templates are no longer
in superposition; all apps using Builder will get quantum.

Change-Id: Iac5e2645cc5c2346ed458763f2280ae9c6368b62
2014-05-08 01:21:55 -04:00
Jorim Jaggi
073af7f370 am 5bce77b1: Merge changes Idc1e6e52,If1729a01
* commit '5bce77b17aae18aff7a2f538051956a48fa66888':
  Allow different animation lengths in StackStateAnimator.
  Only handle scroll events when over content.
2014-05-08 01:28:40 +00:00
Jorim Jaggi
f78a667d54 am 0d78fb70: Merge "Enable "More"-card double tap interaction."
* commit '0d78fb70c554d1d531844e4f39bb3b7fc2ed4caa':
  Enable "More"-card double tap interaction.
2014-05-08 01:18:29 +00:00
Jorim Jaggi
18ca6f3cc3 am 7a11b237: Merge "Introduce AmbientState for StackScroller."
* commit '7a11b237632fa2822678901659ea3a50246d2ced':
  Introduce AmbientState for StackScroller.
2014-05-08 01:18:26 +00:00
Jorim Jaggi
5aa045cc6b Allow different animation lengths in StackStateAnimator.
Combine them using the maximum length.

Change-Id: Idc1e6e52f7f36ed46fbfba013c23773eeed95cd6
2014-05-08 01:18:00 +00:00
Winson Chung
9f49df933f Listening for system changes to active recent tasks. (Bug 14260718) 2014-05-07 18:08:34 -07:00
Jorim Jaggi
fe6bfa644c Only handle scroll events when over content.
This makes sure that the unlock text is always shown when tapping
the bottom area.

Bug: 14381296
Change-Id: If1729a01dab21ddf0b93e665c85fd72ed399c0fd
2014-05-08 02:46:10 +02:00
Jorim Jaggi
e96fcd1faa Enable "More"-card double tap interaction.
Bug: 14492098
Change-Id: I8b80df407df8b6df0af616932018e40e903a7966
2014-05-08 02:45:39 +02:00
Jorim Jaggi
d552d9d8e9 Introduce AmbientState for StackScroller.
AmbientState is a global state for the algorithm of the
StackScroller. Dimmed and which child is activated was moved
into this state. Further, scale and dimmed is also a
StackScrollState and animated in StackStateAnimator.

Change-Id: Ia68131cee62b2e0005f55ea6dc400d149ec15278
2014-05-08 02:33:56 +02:00
Winson Chung
e962c85e96 am 1c0090b6: Merge "Disabling shadowing (until bugs are addressed) and refactoring some constants."
* commit '1c0090b6b3348cd7fe9e78e00c41f69cac2cdb7b':
  Disabling shadowing (until bugs are addressed) and refactoring some constants.
2014-05-07 23:43:34 +00:00
Jorim Jaggi
2daec8f4ad am d19697b5: Merge "New layout structure for the expanded status bar."
* commit 'd19697b58c260e566f7724c7de81cbfd50a931e1':
  New layout structure for the expanded status bar.
2014-05-07 23:43:26 +00:00
Jorim Jaggi
4d2f8a553d am 08d852aa: Merge "Add intermediate lock icon so users know how to unlock."
* commit '08d852aa220d3272b80b23ab3c221dbf5670fd8f':
  Add intermediate lock icon so users know how to unlock.
2014-05-07 23:41:58 +00:00
Winson Chung
945c27836b Merge "Disabling shadowing (until bugs are addressed) and refactoring some constants." 2014-05-07 22:04:16 +00:00
Winson Chung
814086db67 Disabling shadowing (until bugs are addressed) and refactoring some constants.
Change-Id: Iaf4c98bcb13441be3e66048687ea5b0673d2bce6
2014-05-07 15:01:14 -07:00
Baligh Uddin
88eeb81043 Import translations. DO NOT MERGE
Change-Id: I14399e867491e32386a481c24d98418be3f128b3
Auto-generated-cl: translation import
2014-05-07 14:56:32 -07:00
Jorim Jaggi
4f0128fb8f Merge "New layout structure for the expanded status bar." 2014-05-07 21:43:14 +00:00
Jorim Jaggi
603d270a53 Merge "Add intermediate lock icon so users know how to unlock." 2014-05-07 20:18:35 +00:00
Jorim Jaggi
47a7b0769f Add intermediate lock icon so users know how to unlock.
Bug: 14381296
Change-Id: I51c63dd5ba9a26b7e03be092482f4c4f69b31754
2014-05-07 22:10:17 +02:00
Jorim Jaggi
d7daab7b9e New layout structure for the expanded status bar.
This also includes a new (very WIP) interaction to get to quick
settings, with clumping the cards and a scrollable container with
the cards and the bottom QS part in it.

Change-Id: Ib073bb0174cddcf60347a5e3bb474fb3b6385bcf
2014-05-07 19:49:23 +02:00
Jorim Jaggi
4534585328 am 9d7bab99: Merge "Improved interception logic of the PanelView"
* commit '9d7bab994d6e2f5bd6a03608ced90f966ecd7028':
  Improved interception logic of the PanelView
2014-05-07 17:48:25 +00:00
Jorim Jaggi
2322ae82e9 Merge "Improved interception logic of the PanelView" 2014-05-07 17:45:31 +00:00
Selim Cinek
172e914178 Improved interception logic of the PanelView
It was previously possible to get into undesired states when closing
the shade and clicking on it in midtransition. This was also triggered
when double tapping a card.

Bug: 14130526
Change-Id: I6b73f348dba4ee21d2401004176a9c6cc0c59745
2014-05-07 19:38:00 +02:00
Selim Cinek
9e0bc3d511 am 2bbb5322: Merge "Improved notification scroller animation logic"
* commit '2bbb53228a269c4908d732ec9e915ff3fb83ccd6':
  Improved notification scroller animation logic
2014-05-07 15:47:52 +00:00
Selim Cinek
0be30834b4 Merge "Improved notification scroller animation logic" 2014-05-07 15:42:42 +00:00
Selim Cinek
3af00cf106 Improved notification scroller animation logic
When an animation was already running, the calculation of the
new duration was wrong. We are now also starting the animation
instantly instead of waiting for the next frame.
Also improved the scrolling performance, which was lagging behind by one frame

Change-Id: I25d6e6eedf33d94f2f90bdc39d863955c707370c
2014-05-07 17:33:25 +02:00
Jason Monk
96c99627c6 am f6118a19: Merge "Only show IME in navigation bar when it should"
* commit 'f6118a1968127912caad4aed6f2dfbd5177753ee':
  Only show IME in navigation bar when it should
2014-05-07 14:24:51 +00:00
Jason Monk
10a38c06df Merge "Only show IME in navigation bar when it should" 2014-05-07 14:20:04 +00:00
Jason Monk
b605fecd9e Only show IME in navigation bar when it should
Add a flag to indicate that the IME should be shown.  This follows
the continuous ime notification boolean, and if there are multiple
input methods to choose from enabled.  This way the notification
and navigation button show up under the same circumstances (but
not on the same devices).

Change-Id: Ia6a2253061f1876f4bcc511de48c1078e9d96be5
2014-05-07 09:51:58 -04:00
Selim Cinek
ecef97e018 am 4ed3964f: Merge "Refactored the notification animations, improved stack scroller"
* commit '4ed3964fbba5716a9b43a9883a2f59db56cb5aa0':
  Refactored the notification animations, improved stack scroller
2014-05-07 13:48:19 +00:00
Selim Cinek
2c5d4a08d2 Merge "Refactored the notification animations, improved stack scroller" 2014-05-07 13:43:43 +00:00
Selim Cinek
eb973565f3 Refactored the notification animations, improved stack scroller
Animations are now only triggered when absolutely needed.
In addition, the notifications are now not clipped anymore when starting
a drag on them and the notification below the dragged one is fadded in if
necessary.

Change-Id: I80e8b3ea8fb48505edfb3cace6176dfa00c5a659
2014-05-07 15:00:45 +02:00
Winson Chung
602922cefe am 245a6aed: Merge "Fixing issue with animation not running after SystemUI crashes (Bug 14453240)"
* commit '245a6aed31eddb2902d06a584b90347a56ef1e2f':
  Fixing issue with animation not running after SystemUI crashes (Bug 14453240)
2014-05-07 00:27:18 +00:00
Winson Chung
c9e7b1e3da Merge "Fixing issue with animation not running after SystemUI crashes (Bug 14453240)" 2014-05-07 00:22:50 +00:00
Winson Chung
96e3bc1f8d Fixing issue with animation not running after SystemUI crashes (Bug 14453240)
- Falling back to default transition if we don't have a thumbnail (Bug 14589475)
- Tweaking over scroll to prevent scrolling past a certain point (Bug 14582630)
- Fixing issue with missing top padding in the stack view
- Adding some shadowing to distinguish similar cards from each other
2014-05-06 17:13:28 -07:00
Jorim Jaggi
dc4d3c37fd am a2e10038: Merge "Never close Keyguard automatically."
* commit 'a2e10038fce80323c86ac90dff8d5d7216cde00f':
  Never close Keyguard automatically.
2014-05-06 20:06:21 +00:00
Jorim Jaggi
ef3b18b101 Merge "Never close Keyguard automatically." 2014-05-06 20:01:43 +00:00
Jorim Jaggi
0ac335d258 am 36790eb2: Merge "Fix overly huge PanelView."
* commit '36790eb2707b73d9043d973083863295b5b4c7be':
  Fix overly huge PanelView.
2014-05-06 13:28:13 +00:00
Jorim Jaggi
fd4235f268 Merge "Fix overly huge PanelView." 2014-05-06 13:24:20 +00:00
Jorim Jaggi
3b23999954 Fix overly huge PanelView.
Bug: 14489968
Change-Id: Ibdc820348eb7d045ffb5ad07093ac86e5ff7abb0
2014-05-06 14:53:04 +02:00
Jorim Jaggi
3989bf68fd am 6ea37298: Merge "Implement phone affordance on lockscreen."
* commit '6ea372988f0732183590c021c65d392bf419dafd':
  Implement phone affordance on lockscreen.
2014-05-06 12:12:35 +00:00
Jorim Jaggi
dba6ca00c3 Merge "Implement phone affordance on lockscreen." 2014-05-06 12:10:53 +00:00
Jorim Jaggi
97b63c4112 Implement phone affordance on lockscreen.
Refactor the camera affordance into a reusable view. This change
also swaps the asset for the camera affordance.

Bug: 14488709
Change-Id: I0633614f6a1ea81faa37923f748af3c635e64a52
2014-05-06 13:56:44 +02:00