Commit Graph

17461 Commits

Author SHA1 Message Date
Andrew Sapperstein
0d86733ab7 Add additional logging for temperature readings.
am: 4cfe56709b

Change-Id: I57547d77357deaa663c482937f26890930dc8845
2017-02-08 23:37:19 +00:00
Manu Cornet
b72edcc21c 2D Recents: Slightly darken header to differentiate from thumbnail
am: 017a3acc3c

Change-Id: I3eba04869c2cc0095f7f0f43855aeba3bc595759
2017-02-08 10:46:16 +00:00
Manu Cornet
017a3acc3c 2D Recents: Slightly darken header to differentiate from thumbnail
Bug: 34771148
Test: Locally on sw600dp device, sent screenshot to UX to confirm
Change-Id: I74282c6ed81d3b48d554f9acf55d4fafca2c73f4
2017-02-08 00:40:34 -08:00
Jiaquan He
5207be100b 2D Recents: Fix the thumbnail radius.
am: 083c6fbbd0

Change-Id: I93ff98979bcffa0c3724807ec9caac8f39025fa6
2017-02-08 00:06:22 +00:00
TreeHugger Robot
85016506c6 Merge "2D Recents: Fix the thumbnail radius." into nyc-mr2-dev 2017-02-08 00:00:26 +00:00
TreeHugger Robot
6654edae49 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-07 04:30:06 +00:00
Jason Monk
a800795a15 Merge "Hotspot Tile: longclick should open Tethering settings" am: 96c4f1a21e am: 4e82bf6c51
am: 55345f5c30

Change-Id: I7874cfc1e034577390d5d77ebbdb22358de57b47
2017-02-07 00:17:43 +00:00
Jason Monk
55345f5c30 Merge "Hotspot Tile: longclick should open Tethering settings" am: 96c4f1a21e
am: 4e82bf6c51

Change-Id: I39d311e1b455a7a3e53ac8c1b12d1d67b07972ee
2017-02-07 00:09:14 +00:00
Bill Yi
446a66d235 Import translations. DO NOT MERGE
Change-Id: If399bc861f4e82ce0e7e285927ff1cd90b15ced1
Auto-generated-cl: translation import
2017-02-06 14:55:04 -08:00
Jason Monk
96c4f1a21e Merge "Hotspot Tile: longclick should open Tethering settings" 2017-02-06 22:53:59 +00:00
Manu Cornet
8e08d0e828 2D Recents: use correct layout logic for drawing transition headers
am: de3cfb0c1f

Change-Id: I46c45fed648858212a31e477f46ad25475b0710a
2017-02-06 22:47:28 +00:00
Manu Cornet
925d862656 Merge "2D Recents: use correct layout logic for drawing transition headers" into nyc-mr2-dev 2017-02-06 22:38:34 +00:00
Jason Monk
6e8c039e24 Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e am: 74a8b6543f
am: a8e10e5f20

Change-Id: I1585be50ecf4409f552b5ef5c91de1092a01e199
2017-02-06 15:52:04 +00:00
Jason Monk
a8e10e5f20 Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e
am: 74a8b6543f

Change-Id: If195ccf536a45ef21e8ee70547ea76e26732c583
2017-02-06 15:47:39 +00:00
Akira Oshimi
8d2e9a9b30 Add tile information to ACTION_QS_TILE_PREFERENCES intent
One application can provide two or more custom Quick Settings tiles.
But there is no way to know which tile is long-pressed from application
side because ACTION_QS_TILE_PREFERENCES intent that is sent when
long-pressed doesn't have any additional information. So the component
name and state of the tile should be added to the intent.

Bug: 34832801
Test: manual - long press a custom tile

Change-Id: Iaa884cd944f19a2f007cbde645e8f8b1198bffb7
2017-02-06 04:45:13 +00:00
Jake Whatley
ac7c5d2a07 Hotspot Tile: longclick should open Tethering settings
Change-Id: I96729a1d74b3552a3b17a31f04043f75d3ace41d
Signed-off-by: Jake Whatley <jacob.whatley91@gmail.com>
2017-02-04 04:13:46 +01:00
Andrew Sapperstein
4cfe56709b Add additional logging for temperature readings.
In order to determine how often devices are reaching various
temperatures, we now cache the last hour of temperature readings.
Once it's been an hour, we calculate the avg/min/max and log the results.

Additionally, this CL adds some logging to show how the temperature has
changed over time during the one hour window and what the charging status
is when the notification shows.

Bug: 34510881, 34379897
Change-Id: If8c7d39452034313fd01dea0c8d97c7b55b3cb9c
Merged-In: I62a5ccc92122f5d2955a52677740e896f0d7892b
2017-02-03 12:42:54 -08:00
TreeHugger Robot
c3d842df73 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:06:44 +00:00
Bill Yi
9b11a3cea8 Import translations. DO NOT MERGE
Change-Id: I0292d15f9ce58b6ae589e9901155dc233da8994e
Auto-generated-cl: translation import
2017-02-02 20:27:50 -08:00
Selim Cinek
f402af2081 Fixed that the HUN layout could be visible on Keyguard
am: b5aa599eec

Change-Id: Ieb75c720899a8d120df8d45ec5a6beab476cec19
2017-02-03 00:08:06 +00:00
Manu Cornet
7a1a3d4529 2D Recents: fix toggling behavior
am: a96a617a4e

Change-Id: I8978e8ae81e3566e83ca3d7819b95d54c5861b67
2017-02-03 00:02:22 +00:00
Selim Cinek
9c95a9ccc6 Merge "Fixed that the HUN layout could be visible on Keyguard" into nyc-mr2-dev 2017-02-02 23:58:23 +00:00
Manu Cornet
f69e421f48 Merge "2D Recents: fix toggling behavior" into nyc-mr2-dev 2017-02-02 23:56:20 +00:00
Selim Cinek
b5aa599eec Fixed that the HUN layout could be visible on Keyguard
Test: runtest systemui
Merged-In: I9d106b6b021bb15fd709a6281beed8ab084201db
Change-Id: I9d106b6b021bb15fd709a6281beed8ab084201db
Fixes: 34548351
2017-02-02 12:22:10 -08:00
Manu Cornet
69f9c6073d 2D Recents: Less drastic scale reduction for dismiss animation
am: 8ea36af22b

Change-Id: Ie90263b3eff6ecc7b469fe7c6fa028c2ff1afc62
2017-02-02 19:30:21 +00:00
Manu Cornet
6f5bb1f340 2D Recents: Fix issues with thumbnail scaling transitions
am: 57b6149f8b

Change-Id: Iacd79a63699736c9b8fb7794d45bc8891c57b513
2017-02-02 19:26:43 +00:00
Manu Cornet
c01308a03c Merge "2D Recents: Less drastic scale reduction for dismiss animation" into nyc-mr2-dev 2017-02-02 15:51:56 +00:00
Manu Cornet
f41a8c5a3d Merge "2D Recents: Fix issues with thumbnail scaling transitions" into nyc-mr2-dev 2017-02-02 02:22:07 +00:00
Selim Cinek
2bc30ead52 Fixed an issue where heads-upped notifications would stay
am: 23301afb8e

Change-Id: I04e8cf3ba5a0f44390c53867a43dacd22812da4e
2017-02-01 01:01:59 +00:00
Selim Cinek
e89a950b8b Merge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev 2017-02-01 00:52:13 +00:00
Selim Cinek
23301afb8e Fixed an issue where heads-upped notifications would stay
If a heads up notification was briefly removed right after
it was added it could linger around in systemUI until
the panel collapsed.
We need to make sure not to apply this improvement if
reordering isn't allowed, otherwise it will never time out

Test: existing tests pass
Bug: 34608075
Merged-In: I7768f6111ada30edcb997a42940e5e336efe1cf2
Change-Id: I7768f6111ada30edcb997a42940e5e336efe1cf2
2017-02-01 00:15:58 +00:00
Manu Cornet
d378bc16ee 2D recents: fix layout to show 3 tasks on a single line
am: 776f6bacd6

Change-Id: I73cda7b837f91b78714db90c06617302201389fd
2017-01-31 23:31:14 +00:00
Manu Cornet
abfe26bad7 Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev 2017-01-31 23:25:01 +00:00
Bill Yi
e924e16c3d Import translations. DO NOT MERGE
Change-Id: Icf17a6fb6b941caea8a843c0cac96f0b1883d4f3
Auto-generated-cl: translation import
2017-01-30 20:45:03 -08:00
Manu Cornet
a96a617a4e 2D Recents: fix toggling behavior
This changes the toggling behavior so that a quick double tap on
the Recents button still does the same thing as Alt-Tab, but if
the second tap is slow, we go back to the most recent task.

Bug: 34636734
Test: Checked toggle and alt-tab behavior on local sw600dp device.
Change-Id: Idb6f30a370192be2490c74c04d9ea81f223ecfb1
2017-01-30 04:59:49 +00:00
Jiaquan He
083c6fbbd0 2D Recents: Fix the thumbnail radius.
Changes the task thumbnail radius to 4dp.

Test: Checked that Recents task thumbnail radius is changed to 4dp on
local sw600dp device.
Bug: 32101881
Bug: 34746192

Change-Id: I1e950d305ed5edf7da577a8f05cf6005b4405205
2017-01-27 11:09:07 -08:00
Jason Monk
f58cc5768a Add separate roaming icon for status bar + QS
am: f62e889394

Change-Id: I065c6420e0ed379f44d7789e77590e5a39c2a5ec
2017-01-27 15:14:53 +00:00
Manu Cornet
776f6bacd6 2D recents: fix layout to show 3 tasks on a single line
Make the computation easier to read.

Bug: 34750498
Tested: Checked layout for n tasks for n between 0 and 8
Change-Id: I6d801f9f7d3839ed4a985233c82d93ab0823d6b0
2017-01-27 16:23:05 +09:00
Manu Cornet
de3cfb0c1f 2D Recents: use correct layout logic for drawing transition headers
Bug: 33752154
Test: Checked/screencasted app -> recents -> app transitions on sw60dp device
Change-Id: Ib29e5feaadb4bdacae6c60d25526d0c7af95361f
2017-01-27 15:55:18 +09: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
Bill Yi
30b5edfd23 Import translations. DO NOT MERGE
Change-Id: Ied49499c963a70d4cadba0789f513ec9a056d16b
Auto-generated-cl: translation import
2017-01-25 17:47:34 -08: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
TreeHugger Robot
0a26aa9b31 Merge "Add Settings.Global configs to high temp warning." into nyc-mr2-dev 2017-01-24 20:02:25 +00:00
Manu Cornet
8ea36af22b 2D Recents: Less drastic scale reduction for dismiss animation
Bug: 34651627
Test: Checked dismiss animations on local sw600dp device
Change-Id: I92569d8c908d62aceb7433eb64e8477f6cf3ec92
2017-01-24 18:50:13 +09:00
Manu Cornet
57b6149f8b 2D Recents: Fix issues with thumbnail scaling transitions
Draw the task view header again, make sure it is visible through
the whole transition, and that it scales as appropriate.

Bug: 33752154
Test: Checked/screencasted app -> recents -> app transitions.
Change-Id: I9b87183cba51d5469ea9d45181bccfafeb85cff2
2017-01-24 18:19:08 +09: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
Bill Yi
7eefc3ed2a Import translations. DO NOT MERGE
Change-Id: I5784ba9ac936cab4b2d809ff49d4e070c039cebe
Auto-generated-cl: translation import
2017-01-21 11:57:08 -08:00
phweiss
61d7be70e7 DO NOT MERGE Finalize device-monitoring dialog strings
am: 232b0d4088

Change-Id: I37008b2f10b746ed7aa0c455d832efd7b2966c77
2017-01-20 19:18:29 +00:00