8538 Commits

Author SHA1 Message Date
Selim Cinek
9c80964d3f In the speedbump view, use hasOverlappingRenderings instead of layers
Bug: 15181880
Change-Id: I49b0dbe1cd0ff9f7804dc68502b73fcfd87c7389
2014-06-04 17:30:07 +02:00
Selim Cinek
5158d82340 Disabled touch interaction when in Quick settings.
Bug: 15308429
Change-Id: I7379b7e3d7145033ff733cef9a336e41793ab103
2014-06-04 17:22:53 +02:00
Selim Cinek
56109b0c9b Fixed that app-info longpress was lost on configuration changes.
Bug:14189139
Change-Id: I14d73085ac8fe79ffa97a72c675b4b7df6324719
2014-06-04 16:47:54 +02:00
Selim Cinek
1408eb5a58 Changed the overscroll and expanding behaviour.
Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
2014-06-04 16:43:07 +02:00
John Spurlock
d55c56b86e Merge "QuickSettings: Filter signal assets with color filter." into lmp-preview-dev 2014-06-04 05:44:16 +00:00
John Spurlock
faa3262c1d QuickSettings: Filter signal assets with color filter.
Apply static color filter to signal assets to match other
tiles.

Bug:15186962
Bug:15414911
Change-Id: I0732460a5c337ced35be43418f3deda9395fa215
2014-06-04 01:38:34 -04:00
John Spurlock
d47f3856bd QuickSettings: Remove outlined version of location icon.
Bug:15186962
Change-Id: I6a7d04abcc4b5593d436b0ec46ecf77f207c6b54
2014-06-04 01:00:37 -04:00
Baligh Uddin
4854456738 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-04 04:50:43 +00:00
John Spurlock
012d4a229c QuickSettings: Tile label string updates.
Bug:15186962
Change-Id: I4a1167e094de81ffbcb498815bb1c7c03fc2be7b
2014-06-04 00:42:29 -04:00
Baligh Uddin
ba7c75284a Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-04 04:40:30 +00:00
John Spurlock
775f7d85d9 Merge "QuickSettings: System accent color for seekbars." into lmp-preview-dev 2014-06-04 04:20:48 +00:00
John Spurlock
ed33da1734 QuickSettings: System accent color for seekbars.
Decouple system ui's seekbar's color from the platform
default.

Bug:15186962
Change-Id: I8e4f5605bf5f8be32b290e588d2d854e908f2387
2014-06-04 00:18:27 -04:00
Winson Chung
aef51c63d7 Merge "Fixing back regression in Recents." into lmp-preview-dev 2014-06-04 01:09:58 +00:00
Winson Chung
56f4692a89 Fixing back regression in Recents.
Change-Id: I57f4fce3f2b455085b066dd7daa91cc68844b259
2014-06-03 16:49:00 -07:00
John Spurlock
856edebad7 Zen: Stateful condition panel.
When DND is on, expanded panel shows the current time
condition, or time remaining.  The last time bucket
selected is remembered as the default option for the
next time.

Move the server-side countdown helper into a proper
condition provider, but register it in-process as a
system provider.

Move common countdown condition parsing into ZenModeConfig
to reuse from system components.

Keep the manual exit condition around in zen mode config
and add plumbing for getting / listening to the
controller.

Keep the last QS detail panel around instead of
recreating it every time.

Fix the time condition's plus and minus button
enabling logic, and enhance the click handler to
deal properly with the next or previous bucket.

Bug:15344758
Change-Id: Ie7018a1c20e20f6d7e5f9e7874188374e6f8e2ab
2014-06-03 19:05:55 -04:00
Jorim Jaggi
e42c72e1b2 Merge "Move owner info to main lockscreen." into lmp-preview-dev 2014-06-03 20:46:39 +00:00
Jorim Jaggi
959ab56ba2 Merge "Fix invalid Keyguard state with encrypted devices." into lmp-preview-dev 2014-06-03 20:42:19 +00:00
Jorim Jaggi
b9d6079120 Fix invalid Keyguard state with encrypted devices.
Bug: 15389720
Change-Id: I0a18e78043e5c08f40cf3288abc07f75ea6261a0
2014-06-03 22:35:57 +02:00
Chris Wren
aaa58d1c4a Handle Zen Mode computations correctly for updated notifications.
Updates to intercepted notifications come in through addNotificatiom
instead of updateNotification, because the intercepted notifications
are not in mNotificationData.

If an update causes a notification to surface, we need to notice and
remove it from the synthetic notification.  However, addNotification
is called from within InterceptedNotifications inside loops over
mIntercepted, and we cannot remove items from mIntercepted while
looping, so we split addNotification into two parts, one part is only
used by InterceptedNotifications to unconditionally surface previously
intercepted notifications.

Bug: 15389069
Change-Id: I7b0952a337f15d4009e3e61360344012345eac95
2014-06-03 15:56:28 -04:00
Jorim Jaggi
a52c68772d Merge "Animate unlock icon while unlocking." into lmp-preview-dev 2014-06-03 19:25:56 +00:00
Jorim Jaggi
93afa1dba6 Move owner info to main lockscreen.
Bug: 14307636
Bug: 15283575
Change-Id: I8cba9c0e78f825920aca1468d965e8da9b402da8
2014-06-03 20:57:35 +02:00
Jorim Jaggi
4327e2fbcd Merge "Fix fake status bar not visible in SHADE_LOCKED state." into lmp-preview-dev 2014-06-03 18:22:05 +00:00
Jorim Jaggi
a1b1c7a44a Fix fake status bar not visible in SHADE_LOCKED state.
Bug: 15393127
Change-Id: I535b275acd3070121c03425bd8d7c768f0a995f2
2014-06-03 20:19:38 +02:00
Winson Chung
6b264f6e7b Merge "Fixing crash, ensuring that we get the post-animation callback, adding nav bar scrim (Bug. 15157307)" into lmp-preview-dev 2014-06-03 16:19:58 +00:00
Jorim Jaggi
8dd95e03f8 Animate unlock icon while unlocking.
When the user reaches the threshold such that the gesture is accepted
as an unlock, the icon scales a bit and gets fully opaque. When the
user flings, it gets even larger and fades out.

Bug: 15163546
Change-Id: Icd963aa8f7268712f239b204cdfa61ebc2baf4d0
2014-06-03 16:21:40 +02:00
Jorim Jaggi
93a2bb2063 Improve hint animations.
Show the hint text longer so that users have enough time to read it,
also "highlight" the corresponding icon by making it fully opaque
during the gesture.

Bug: 15189049
Change-Id: Ie0429752b63bae41bb6992778ebb3bd5678f9676
2014-06-03 15:31:47 +02:00
Jorim Jaggi
b3f0a2ff00 Hint for phone and camera.
Bug: 15189049
Bug: 15126962
Change-Id: Ie28fc8202ace4af56542201d168572ef6ad78d19
2014-06-03 15:31:19 +02:00
Jorim Jaggi
282a615263 Hide phone/camera affordance when unlocking.
Bug: 15163546
Change-Id: If9f3e270bb3f5473abd687061a0c3f6faf2bf3b0
2014-06-03 14:59:41 +02:00
Adrian Roos
af12d0aff0 Merge "Disable now defunct touch analysis facility - DO NOT MERGE" into lmp-preview-dev 2014-06-03 10:45:15 +00:00
Winson Chung
521e7dc0a6 Fixing crash, ensuring that we get the post-animation callback, adding nav bar scrim (Bug. 15157307)
Change-Id: I601ee7eda22a4b5ecb2e6835d55ed6539c5cd503
2014-06-02 17:33:09 -07:00
Adrian Roos
897752a6f7 Disable now defunct touch analysis facility - DO NOT MERGE
Bug: 15381470
Change-Id: I2ab252e4c0122d79c9a78b3df643bfd46a105cf0
2014-06-02 23:54:05 +02:00
Jorim Jaggi
03bce432aa Merge "Hide header when notifications collide with it on Keyguard." into lmp-preview-dev 2014-06-02 21:35:04 +00:00
Jorim Jaggi
457cc35608 Hide header when notifications collide with it on Keyguard.
Bug: 15163546
Change-Id: If4f39786916df75537959a8104823353c475448f
2014-06-02 21:34:33 +00:00
Baligh Uddin
0d824211e0 Import translations. DO NOT MERGE
Change-Id: I026e16df073c367277f51e312bae370742dcf489
Auto-generated-cl: translation import
2014-06-02 13:01:39 -07:00
John Spurlock
887aa0024f Update global actions bug report item.
New icon, update title to match confirm dialog, new status
line for build information.

Remove redundant QS tile.

Bug:15385554
Change-Id: Idc36dc9ce1cabfa61fd8acac56dc3a70d5dc6645
2014-06-02 15:01:58 -04:00
Adrian Roos
e205192c72 Merge "Fix keyguard camera logic" into lmp-preview-dev 2014-06-02 17:48:07 +00:00
Baligh Uddin
b27d14cf54 Import translations. DO NOT MERGE
Change-Id: I982cb1c4dbb5dd3a2e32de388e133c85cbb1898a
Auto-generated-cl: translation import
2014-06-02 10:42:14 -07:00
Adrian Roos
a06905b8f7 Fix keyguard camera logic
Starts non-secure camera if possible and hides camera if
it is not available.

Bug: 14384051
Change-Id: Ib0b93562bb22eb543c054adaf8f7a211862f480a
2014-06-02 19:32:29 +02:00
Jorim Jaggi
58136d0211 Merge "Implement unlock hint." into lmp-preview-dev 2014-06-02 13:36:42 +00:00
Jorim Jaggi
9012958742 Implement unlock hint.
Before, users didn't have any clue how to unlock their phone. Now
they have. Also, a tap now dismisses the notification shade in the
unlocked state.

Bug: 14080971
Bug: 15189435
Bug: 15282191
Bug: 15126962

Change-Id: I779344b043b4415809dd98217b7cb9ff6d57fa3e
2014-06-02 15:35:54 +02:00
John Spurlock
a11b4affca VolumeZen: Prevent raising ringer volume in silent mode.
Instead of breaking out of silent mode when raising the volume
using the keys, prevent the change and display a visual hint up
in the user interface.

Bug:15330217
Change-Id: I74aae44319aadcd6db9841c7799967607f5a1617
2014-06-01 11:52:23 -04:00
John Spurlock
d1c86e2cb2 QuickSettings: Icon updates + BT connecting state.
Bug:15186962
Change-Id: I56de6f3cabcb36b13617d4027323a078cceb9587
2014-06-01 00:04:53 -04:00
John Spurlock
84da84c894 VolumeZen: Update icon and fix handler bug.
Bug:15186962
Change-Id: Iaeae85e185b60c7afa573ebfda331eb41a6b8db8
2014-05-31 22:24:57 -04:00
John Spurlock
5f640e4a86 VolumeZen: Pulse silent mode icon on disabled slider touch.
Bug:15330217
Change-Id: Icb54e5ea0466bb5fbd7e08b99e8f0dac15ded447
2014-05-31 20:17:26 -04:00
John Spurlock
254310450a Merge "VolumeZen: Slider icon as ringer-mode toggle." into lmp-preview-dev 2014-05-31 23:18:13 +00:00
John Spurlock
7f1df5e985 VolumeZen: Slider icon as ringer-mode toggle.
- When manipulating the ringer/notification stream, the volume
  slider icon on the left now serves as a toggle.  Single-press
  for vibrate, long-press for silent.
- Disable slider when silent.
- Add touch feedback to slider icon when clickable.
- Vibrate when toggling to vibrate.
- Play sound when toggling to audible.
- Adjust the slider icon padding so it appears to be square,
  and the same size as the icon on the right.

Bug:15330217
Change-Id: Id7262d9315e6e761e1d5750714c356c3ac735951
2014-05-31 19:11:40 -04:00
John Spurlock
9dcfe06154 QuickSettings: Guard against bad input to handleShowDetail.
Bug:15326440
Change-Id: I473cedb2c41dadf88596ea54a8f8a881ca4e27ba
2014-05-31 12:54:58 -04:00
Jorim Jaggi
290600a08d Overscroll header when expanding the panel.
Bug: 14486987
Change-Id: I563aabf273328d733d7452af7f54db28934df9d9
2014-05-31 14:19:25 +02:00
Adrian Roos
5d9cc668e1 Update HUN visuals to UX spec
Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
2014-05-31 13:43:44 +02:00
Jorim Jaggi
e29b2dbc76 Fade scrim in unlock animation.
This also introduces a startTime which gets sent from window manager
to SystemUI, which tells when the animation should start, to allow
for a more synchronized animation with fading out the scrim and
fading in the activity behind.

Bug: 15163546
Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937
2014-05-31 02:48:06 +02:00