12785 Commits

Author SHA1 Message Date
Julia Reynolds
1ed208f800 resolve merge conflicts of d1aa7ae6d7 to master.
Change-Id: I544371082ed38652a47ed2e383a262f46f93e5a9
2015-12-14 13:32:36 -05:00
Julia Reynolds
d1aa7ae6d7 Merge "Fix volume expand arrow to be displayed correctly"
am: caf1972dee

* commit 'caf1972dee1a63dcab130f9af1d066d6af9c38c2':
  Fix volume expand arrow to be displayed correctly
2015-12-14 09:13:56 -08:00
Winson Chung
0a3d3884c4 Merge "Revert "Saving the stack state when you rotate."" 2015-12-14 16:35:02 +00:00
Winson Chung
8c38fd32ba Revert "Saving the stack state when you rotate."
This reverts commit bf0be0a8030b91c7e75c23230c1f89a1536aa7eb.

Change-Id: I40b852889980473aea02828b5b0fe29c21951638
2015-12-14 16:34:31 +00:00
Winson Chung
d44e1904cd Merge "Revert "Removing historical tasks when packages are uninstalled."" 2015-12-14 16:34:29 +00:00
Winson Chung
2c1cac12c7 Revert "Removing historical tasks when packages are uninstalled."
This reverts commit 5d1413e7c391fdb1325c6833399c10a8448354dc.

Change-Id: I6ca79949b4c92a5825554b91f4350685fa605c8f
2015-12-14 16:34:12 +00:00
Winson Chung
e881553866 Revert "Fixing build."
This reverts commit ae0803182a467ada59613fcbaf21b8a3537f8c2b.

Change-Id: Ieb797e73adfdbfc359ca413f49d56211ae6c70db
2015-12-14 16:34:00 +00:00
Winson Chung
ae0803182a Fixing build.
Change-Id: I4bc5dcc5026179fe2021fb39c20319fbb8f4c5cb
2015-12-14 11:19:38 -05:00
Winson Chung
84515129ed Merge "Removing historical tasks when packages are uninstalled." 2015-12-14 15:40:41 +00:00
Winson Chung
02ba0fd81b Merge "Saving the stack state when you rotate." 2015-12-14 15:40:29 +00:00
Jason Monk
ded2b10520 Merge "Support dnd condition in Settings" 2015-12-14 15:39:55 +00:00
Winson Chung
5d1413e7c3 Removing historical tasks when packages are uninstalled.
Change-Id: I9eb1307264fab8dcace732af2290ca419fcc548a
2015-12-14 10:39:05 -05:00
Winson Chung
bf0be0a803 Saving the stack state when you rotate.
- Saving the focus and stack scroll, along with
  the history visibility on configuration change.

Change-Id: I159d2f0f6c58dac46cb3b16ee4d9e17c426ffb35
2015-12-14 10:39:01 -05:00
Winson Chung
2b9ef6548b Fix: Affiliated tasks not showing when history is enabled.
- Because these tasks may not have valid
  last-active times (they can be launched in the
  background), the historical state should reflect
  the task that they are affiliated with.

Bug: 26043228
Change-Id: I04db9effc371783a80bea80bd0a45b666269ead1
2015-12-14 15:15:57 +00:00
Alexander Toresson
5bb6dcef3f Fix volume expand arrow to be displayed correctly
Sometimes, the volume control expand arrow would be displayed
incorrectly. When different apps use different volume controls and
force different orientations, the position of the arrow (expand button)
will not be updated correctly. When this happens the arrow cannot be
pressed and the volume settings cannot be expanded.

The underlying reason is that onLayoutChange only compares the old
dimensions of a view with the new dimensions, which doesn't take into
account that the last time onLayoutChange was run it may have been run
for a different view (a different volume control), in which case the
dimensions of the new view may not have changed, but the arrow needs to
be repositioned anyway as it needs to be positioned in relation to
another view.

Fix this problem by storing the last stream (volume control) that the
arrow was positioned in relation to, and checking if we're positioning
in relation to the same stream the next time the position of the arrow
is updated.

Change-Id: Id23e7605d50857292e09c1909b3e27f01bdf5e22
2015-12-14 16:11:31 +01:00
Geoff Mendal
b78ee352df Import translations. DO NOT MERGE
Change-Id: I3e31c8e699bedb04b82b364311d9a504527cca98
Auto-generated-cl: translation import
2015-12-14 05:55:22 -08:00
Jason Monk
a9927325ed Support dnd condition in Settings
- Add way to open QS detail panels directly
 - Add internal broadcast that can launch apps when dnd mode changes

Change-Id: If2b6350dc31623f3bf2f64c7eb141cff5d3d4e89
2015-12-13 16:22:37 -05:00
Geoff Mendal
1da888e354 Merge "Import translations. DO NOT MERGE" 2015-12-12 03:57:01 +00:00
Geoff Mendal
fa97e64ac6 Import translations. DO NOT MERGE
Change-Id: I8bfa1fb1ea3ae52988c001eed14e5597733e595e
Auto-generated-cl: translation import
2015-12-11 19:03:39 -08:00
Jorim Jaggi
ea79a1b8b5 Merge "Increase touch slop for navigation bar gesture" 2015-12-12 02:26:24 +00:00
Jorim Jaggi
47cf6381a8 Increase touch slop for navigation bar gesture
So it's less likely that a user triggers it by accident.

Change-Id: Ib7b601a672017daceee589ce75d4336911719a61
2015-12-11 18:25:20 -08:00
Jorim Jaggi
fe412b551b Merge "Add multi-window entry points logging" 2015-12-12 02:25:07 +00:00
Selim Cinek
e164f75c07 Merge "Fixed a bug where the notification header was above the guts" 2015-12-12 00:00:40 +00:00
Selim Cinek
ffa5bdabb6 Merge "Fixed a bug where systemUI would crash when swiping notifications" 2015-12-12 00:00:27 +00:00
Selim Cinek
7b36ce17d1 Merge "Fixed a bug where not enough notifications were shown on lockscreen" 2015-12-11 23:59:54 +00:00
Jorim Jaggi
92de6b6381 Add multi-window entry points logging
Bug: 26116313
Change-Id: I159ca53857d382cb74ef8e49f7955946ccea93ca
2015-12-11 15:15:11 -08:00
Selim Cinek
b5a83613fe Fixed a bug where the notification header was above the guts
Change-Id: I1b32ea229bd7a7b2c6b9f572ea71167334ba8a1c
2015-12-11 14:54:04 -08:00
Selim Cinek
471e31aa9b Fixed a bug where systemUI would crash when swiping notifications
Bug: 26159274
Change-Id: Ie8f9e65909fbe6e3d6436e9e4aab9e29779bfd10
2015-12-11 14:53:59 -08:00
Chris Wren
b53b9f99ad Merge "fix bad merge" 2015-12-11 22:25:03 +00:00
Chris Wren
ee99e63bfc fix bad merge
Change-Id: I9d8a6135f1902956791820c696ad8b988597437f
2015-12-11 17:24:17 -05:00
Selim Cinek
7a73cb00d7 Merge "Fixed that notification stacks could overlap weirdly" 2015-12-11 22:00:02 +00:00
Chris Wren
de4b2645d9 unbreak the build,
plus some followon patches from Id3b0a074

Change-Id: I9f667a8d68a68d90c0d7f2fed3f28efcc6720533
2015-12-11 16:56:40 -05:00
Selim Cinek
652430a5cf Fixed a bug where not enough notifications were shown on lockscreen
Change-Id: Ia1a869d12e01d0787f873399bf68b48215a65e0c
2015-12-11 13:42:26 -08:00
Julia Reynolds
41c264bae1 Merge "Add importance to notification guts." 2015-12-11 21:41:32 +00:00
Julia Reynolds
72be84fd8c Merge "use importance instead of score" 2015-12-11 21:21:50 +00:00
Chris Wren
bdf3376616 use importance instead of score
Change-Id: Id3b0a074671943b4fcabb63fe990cbfd1e46bdfd
2015-12-11 16:09:18 -05:00
Winson Chung
fca2a63f8b Temporarily workaround rendering issues.
- Disable reusing old stack view tasks

Bug: 25998134
Change-Id: Idf74f9b371a9ae6d89f5752708ac6adb675b55a7
2015-12-11 20:55:18 +00:00
Julia Reynolds
ead00aac15 Add importance to notification guts.
Note: the guts are still trucated to the height of the notification.
The slider initially shows the importance of the individual notification,
but changing the slider changes the importance for the whole group
of notifications.

Bug: 22451710

Change-Id: Id6de3aaace2bdb88a8cc5db517002dc7f0e349ae
2015-12-11 14:57:47 -05:00
Filip Gruszczynski
ee15241aaf Merge "Move tasks to fullscreen stack when dismissing docked stack." 2015-12-11 16:05:04 +00:00
Filip Gruszczynski
b3da834a91 Move tasks to fullscreen stack when dismissing docked stack.
When we dismissing a docked stack we don't want to get rid of it,
but instead make it available in the full screen stack. We need to
make sure that it goes into the bottom of the stack and prevent it
from taking focus or running any animation, so the operation is
invisible to the user.

Bug: 25840497
Bug: 25823213
Change-Id: Ibd08d7b723a2847d98c435f79541d5eb43587064
2015-12-11 08:03:13 -08:00
Winson
dd64243d26 Fixing stack scroll when dismissing tasks.
- Should be adjusting the offset when pulling forward, not the whole
  stack scroll.  This caused a visual regression where the whole stack 
  shifted when you dismiss the non-first task.

Change-Id: I93158287a168f407a0a024e0be24f264dd0c2b6e
2015-12-11 15:57:24 +00:00
Winson
7b3ccf54cb Removing old focus animation on the header bar.
Change-Id: I892fda95ec5e74ee779283a5873210f301fbe778
2015-12-11 15:56:39 +00:00
Winson Chung
49795ca7ed Merge "Updating the header bar item visibility with the task view frame." 2015-12-11 15:55:31 +00:00
Winson
de0591a078 Updating the header bar item visibility with the task view frame.
- In freeform mode, we hide the buttons depending on the available width
  of the task view
- Also fixes the rounded corners on the task views as the frame changes
- Tweaking the freeform workspace background

Change-Id: Iec9352acb5cb3ce95c09ff6d1026a9900717d3e6
2015-12-11 10:52:12 -05:00
Winson Chung
3e81d09056 Merge "Updating layouts to use frame vs translation and clipping." 2015-12-11 15:49:38 +00:00
Winson
bb410951b9 Updating layouts to use frame vs translation and clipping.
- This greatly simplifies the freeform layout as well, since we don’t 
  need to scale and clip the views to match the freeform task bounds.
- Also fixing the animation from the back of the stack

Change-Id: Iba998a788dbdc48d031da8a8c908ea1a9f8f795f
2015-12-11 10:23:16 -05:00
Adrian Roos
245aa87f3f Even more Inline Reply goodness
- Removed action icon processing
- Correct color for action label
- Change default notification color to Gray 600
- Handle different states in RemoteInputView
- Handle updates to Notifications with active remote input

Bug: 22452379
Change-Id: I30a0cd917dbf814f156ab5a106e018a245d99b67
2015-12-10 17:04:32 -08:00
Selim Cinek
3e88137c6f Fixed that notification stacks could overlap weirdly
When a child got really big the stacks could weirdly
overlap making parts of a notification unreadable.
This is now fixed.

Bug: 26127189
Change-Id: Icbe9063d8f9ad5ec27934643c8977e375addd07c
2015-12-10 15:13:42 -08:00
Selim Cinek
2108fe0d6d Fixed a bug where the group overflow was invisible
Change-Id: I6e43decc9d68dbf869245ee99b80f4d5c9ae4456
2015-12-10 13:51:38 -08:00
Selim Cinek
fe3b82ced5 Merge "Revert "Fixed a bug where the panel could be too small in certain cases"" 2015-12-10 20:45:52 +00:00