Commit Graph

11523 Commits

Author SHA1 Message Date
Jason Monk
f58cc5768a Add separate roaming icon for status bar + QS
am: f62e889394

Change-Id: I065c6420e0ed379f44d7789e77590e5a39c2a5ec
2017-01-27 15:14:53 +00:00
Jason Monk
f62e889394 Add separate roaming icon for status bar + QS
Now data + roaming will be shown at the same time.

Test: runtest systemui
Bug: 31205845
Change-Id: I8fe167a0909c952ad0824e24e178857df2541554
2017-01-26 13:48:16 -05:00
Andrew Sapperstein
be0f185de9 Decrease frequency of high temp warnings
am: 97bfa0f17d

Change-Id: I48237148a12cbf8b11df798001aa5c99428a6daa
2017-01-25 16:08:41 +00:00
Andrew Sapperstein
97bfa0f17d Decrease frequency of high temp warnings
Instead of showing any time the temp is above throttling temp,
if the user has dismissed the notification (or clicked it), the notification
will not reshow until the temperature has gone below the throttling
temp and come back.

Test: manual
Change-Id: I4cef9144dfcff03a5e70ccd5b12efaab1e74d15b
Fixes: 34346625
2017-01-24 16:38:50 -08:00
Andrew Sapperstein
e4910cc70a Add Settings.Global configs to high temp warning.
am: 63db9254cf

Change-Id: I63de4c9648158d8b19ed5d7eac1e75ca9b68d355
2017-01-24 20:08:42 +00:00
Andrew Sapperstein
63db9254cf Add Settings.Global configs to high temp warning.
Test: manual
Bug: 34480261
Merged-In: Icfd08c1c7dae456920b3978918ee01469e1dec95
Change-Id: I9ed444dfb89f86d94f3a0db699324318f5bf78d0
2017-01-23 16:50:58 -08:00
Jiaquan He
0dd94210ee 2D Recents: round task thumbnails properly.
am: 90f4f5290b

Change-Id: Ice4ac5f7e32e9d209af2bec53530d8f425609ca2
2017-01-20 04:26:40 +00:00
Jiaquan He
90f4f5290b 2D Recents: round task thumbnails properly.
Test: Checked that on local sw600dp devices, task views are rounded with
8dp. Also checked that Recents works properly on phones.
Bug: 32101881

Change-Id: I6f7a09a12c3e3f1f7270bed1ae25b291fadfb8f2
2017-01-19 16:01:26 -08:00
Jiaquan He
514bbfd880 Add arrow key navigation support to Grid-based Recents.
am: c0e1813944

Change-Id: I36781f21274e5c07f2e1e0d2f5d30a20982c4f24
2017-01-19 19:43:50 +00:00
TreeHugger Robot
683ea24d6e Merge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev 2017-01-19 19:36:44 +00:00
Manu Cornet
f6770e45f4 2D Recents: polish the app -> recents transition
am: fc6ac0a78a

Change-Id: I3f3a395131116b27237478008ad00630bfbb2e86
2017-01-19 01:32:39 +00:00
TreeHugger Robot
12ea12aab5 Merge "2D Recents: polish the app -> recents transition" into nyc-mr2-dev 2017-01-19 01:26:03 +00:00
Manu Cornet
d6f0a32139 2D Recents: use a different background color for drop targets
am: 47dd7c51e9

Change-Id: Ic017f856b9090d5c9d5423c1a1803ecc350ceb15
2017-01-18 23:56:45 +00:00
Manu Cornet
fc6ac0a78a 2D Recents: polish the app -> recents transition
* Do not draw the header as part of the transition thumbnail
  since the header is already shown. Just let the thumbnail
  slot into the task view already drawn on screen.
* Shift the target rectangle by the header height so that
  the end state of the animation corresponds exactly to the
  task view layout.
* Remove unused local variable.

Bug: 32101881
Bug: 33752154
Test: Checked/screencasted recents -> app -> recents animations on local sw600dp device
Change-Id: I4c8ce52b378567114735e6bd582572124a2a354c
2017-01-18 15:55:51 -08:00
TreeHugger Robot
81e8bdd420 Merge "2D Recents: use a different background color for drop targets" into nyc-mr2-dev 2017-01-18 23:51:35 +00:00
Manu Cornet
7c80558c6c 2D Recents: to and from home, animate task views as a block
am: 45c8048f4f

Change-Id: If1ac217e5ee00ead66f87c5031203a7a95f8122d
2017-01-18 23:37:34 +00:00
TreeHugger Robot
146f68a445 Merge "2D Recents: to and from home, animate task views as a block" into nyc-mr2-dev 2017-01-18 23:34:07 +00:00
Jiaquan He
de934359ef Add keyboard support to Grid-based Recents.
am: 21f495f07b

Change-Id: I5b2f1bb2e6c8a84e1bc14fa428a1c00af3abe31f
2017-01-18 22:19:32 +00:00
Jiaquan He
c0e1813944 Add arrow key navigation support to Grid-based Recents.
Test: Checked that arrow key navigation works in Recents on local
sw600dp devices. Also checked that Recents works properly on phones.
Bug: 32101881

Change-Id: I8ece3fc4c9ae82916efcbbde72d40805e43cc70d
2017-01-18 14:17:54 -08:00
TreeHugger Robot
2a147464f6 Merge "Add keyboard support to Grid-based Recents." into nyc-mr2-dev 2017-01-18 22:14:22 +00:00
Jiaquan He
9e844c125b 2D Recents: Fix issue with undocking only one task
am: 244bac6c8b

Change-Id: I3038a85bb5b351a4a753fa9fd31a205c1dd1f2aa
2017-01-18 22:10:35 +00:00
TreeHugger Robot
a88749fb51 Merge "2D Recents: Fix issue with undocking only one task" into nyc-mr2-dev 2017-01-18 22:06:22 +00:00
Manu Cornet
47dd7c51e9 2D Recents: use a different background color for drop targets
Bug: 32101881
Test: Checked layout and animations in Recents, on local sw600dp device.
Change-Id: I628bd0866691e5badd7a37c88020e1e10e1902f7
2017-01-18 12:54:03 -08:00
Tamas Berghammer
0a1a0e6e61 DO NOT MERGE: Revert "Fix build"
am: a0a908f5d6

Change-Id: I3ba66290b49fbe184eff424f5e70b8f32ed6fb3e
2017-01-18 20:23:54 +00:00
Tamas Berghammer
a0a908f5d6 DO NOT MERGE: Revert "Fix build"
This reverts commit 005055c070.

Change-Id: Ia71d1e95de48bc1d83a4924041953a2d42ed6a93
2017-01-18 19:35:07 +00:00
Manu Cornet
45c8048f4f 2D Recents: to and from home, animate task views as a block
Bug: 32101881
Test: Checked animations to/from home on local sw600dp device
Change-Id: I74b8b02bb39be6d4e4553f7d74550ff177d47a5e
2017-01-18 11:33:59 -08:00
Jay
bddba11564 Merge "Notify user switch event to NetworkController" am: 1aa24246cf am: 4ab0e9f824
am: 3f326e7011

Change-Id: I9a844a8bf1fb7bc3cfabc0832e7fb532278cda99
2017-01-18 18:53:20 +00:00
Jason Monk
655c5066c7 Fix build
am: 005055c070

Change-Id: Ica900e6a6e7413408ac5d79dedfcf41526011be0
2017-01-18 18:52:14 +00:00
Jason Monk
8cff199b09 resolve merge conflicts of 54bce9c6ff to nyc-mr2-dev-plus-aosp
Change-Id: Ifaea1d0f58ea81a7d929dc891fe69c8d7c15af4e
2017-01-18 13:45:59 -05:00
Jay
3f326e7011 Merge "Notify user switch event to NetworkController" am: 1aa24246cf
am: 4ab0e9f824

Change-Id: I51365e12797493e620e3146cc7e25eda8c2065c8
2017-01-18 15:49:58 +00:00
Treehugger Robot
1aa24246cf Merge "Notify user switch event to NetworkController" 2017-01-18 15:32:28 +00:00
Jason Monk
005055c070 Fix build
Test: treehugger
Change-Id: Ic33d5ff2d7845bf4edd81d3e966fce3f0e5956bb
2017-01-18 10:04:51 -05:00
Jason Monk
54bce9c6ff Merge "SystemUI: Add NFC tile" am: 943a52862e
am: 8fbdf116d0

Change-Id: I114a75548444e409d1f72183589c886ca9fbccbd
2017-01-18 14:24:48 +00:00
Anas Karbila
f7648f4483 SystemUI: Add NFC tile
This patch adds a tile for QuickSettings
which controls the setting of NFC.

The drawable is from material.io.

Test: Enable and disable NFC using tile

Change-Id: I7dfaf3a4dca0c01d24be397e43ab131eb9885f62
Signed-off-by: Anas Karbila <anaskarbila@aospa.co>
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2017-01-18 12:12:03 +00:00
Jiaquan He
21f495f07b Add keyboard support to Grid-based Recents.
Test: Checked that pressing tab, shift + tab, alt + tab, alt + shift +
tab work for task navigation in Recents on local sw600dp device. Also
checked that Recents on phones work properly.
Bug: 32101881
Change-Id: I3e4cd212d2900523ece30a85cae7fb73a9594efb
2017-01-17 15:34:09 -08:00
Selim Cinek
fd1b667c94 Not allowing foreground services to be cleared as children
am: 1d35979f0a

Change-Id: Ic155154c0bc299f17e9885f77c23d080c6279633
2017-01-17 23:03:02 +00:00
Selim Cinek
c8278f35c7 Merge "Not allowing foreground services to be cleared as children" into nyc-mr2-dev 2017-01-17 22:57:13 +00:00
Jiaquan He
244bac6c8b 2D Recents: Fix issue with undocking only one task
While there's only one task and we undock it, it's not in the Recents
task list. In this change, we just reset the transform and return it.

Test: Checked that Recents works properly while docking and undocking a
task and it's the only task running.
Bug: 32101881

Change-Id: I1207b546ff2864018c8d9bf2520f4690762b2d27
2017-01-17 14:52:23 -08:00
Manu Cornet
1342e0e7cd 2D Recents: Always use grid layout even in split view
am: c0432c63de

Change-Id: I79cda44ab6d3e3a17742f15e03eef419d88340ee
2017-01-17 22:06:02 +00:00
Manu Cornet
c0432c63de 2D Recents: Always use grid layout even in split view
Simplify the logic a bit, and polish the algorithm to accommodate the
various layout possibilities.

Bug: 32101881
Test: Checked layout in all orientations, with and without split view
Change-Id: I4a6dd3f7f34664908294ddaf5ea516d8e258edbf
2017-01-17 13:56:07 -08:00
Selim Cinek
1d35979f0a Not allowing foreground services to be cleared as children
forground service notifications could simply be cleared
when they were sent as notification children and then
the summary was cancelled.

This also cleans up the logic in systemui and only removes
the child if allowed.

The clear all button could also show under certain conditions
where it shouldn't have been shown.

Change-Id: I85998b5342bd75425cc6d68e96391299c4f3d83d
Test: manual
Bug: 33766648
2017-01-13 16:49:48 -08:00
Andrew Sapperstein
990826a0a1 Add logging for high temp warning.
am: 6c08f8da09

Change-Id: Id567e12b8eb6b85ab49ace003c03b80759073687
2017-01-13 20:28:35 +00:00
TreeHugger Robot
409d93356c Merge "Add logging for high temp warning." into nyc-mr2-dev 2017-01-13 20:24:50 +00:00
Manu Cornet
548ff6209c DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations
am: 569cbecd92

Change-Id: I4da39588dd8ba6f750cbedbe3abb9ebce1dd8080
2017-01-13 19:58:35 +00:00
TreeHugger Robot
a4d01c8573 Merge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations" into nyc-mr2-dev 2017-01-13 19:54:20 +00:00
Andrew Sapperstein
6c08f8da09 Add logging for high temp warning.
Adds a log line that prints the current and throttling temps
when we decide to show the notification.

Test: manual
Bug: 34256597
Change-Id: I4d0a1993e0b073d68fbc65f9aa765f5343a69dc5
2017-01-12 17:23:11 -08:00
Manu Cornet
569cbecd92 DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations
Bug: 32101881
Test: Checked layout in various situations when switching orientation
Change-Id: Iae1f142f6568890512e24787d78cfb1e15280feb
2017-01-13 01:07:43 +00:00
Manu Cornet
bc6bdb3ef8 2D Recents: Use a different task dismiss animation
am: 5df7667edb

Change-Id: Ib6186c663057d7a3c8d44ec13254f6c8b76ce3de
2017-01-13 00:28:19 +00:00
Manu Cornet
5ee87b5b6a Merge "2D Recents: Use a different task dismiss animation" into nyc-mr2-dev 2017-01-13 00:23:48 +00:00
Chris Wren
99a16ab0ec Create a global registry for system message IDs
am: 117d5b4f28

Change-Id: Iaa792c9dbffaae807bdf0a8cfb30e66aecb442d6
2017-01-12 21:23:11 +00:00