Commit Graph

5305 Commits

Author SHA1 Message Date
Bill Yi
6bd43afc95 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I967ca7ee9e12c4bc83e8bd4bcf9eec0cce0ed031
2017-04-01 23:02:20 -07:00
Jason Monk
4f458421b1 resolve merge conflicts of 1723bc14eb to stage-aosp-master
Change-Id: I11054806dbd263b2adaedb21458c33b7407bb7d6
2017-02-24 09:34:42 -05:00
Kenneth Westin
5c88ffb507 Data activity icon in statusbar
Display data activity icon for Wi-Fi and mobile data
respectively in statusbar

Bug: 30849089
Test: manual - go to Settings > Developer options > Demo mode and then
               enable both "Enable demo mode" and "Show demo mode"

Change-Id: I16e880ffb97666a6c6507b9cc8c99bf580972207
2017-02-23 13:08:16 +09:00
Jiaquan He
5207be100b 2D Recents: Fix the thumbnail radius.
am: 083c6fbbd0

Change-Id: I93ff98979bcffa0c3724807ec9caac8f39025fa6
2017-02-08 00:06:22 +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
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
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
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
phweiss
232b0d4088 DO NOT MERGE Finalize device-monitoring dialog strings
Add Char-limits, do minor style changes and remove STOPSHIP comment.

Related change on master:
ag/1800040
0d08ca7d7f

BUG:33655277
BUG:31207965
BUG:29748723
Test: only string changes
Change-Id: I37d1b509c6344d7f7d144fc0d8950f45faeaaef4
2017-01-20 18:31:52 +00: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
Kazuki Kobayashi
02e50306f9 Merge "Fix clipping for date and time on QS" am: a5f968806e am: 6cad668a25
am: 8bf5945c3f

Change-Id: Ia811eba9511d385e74668a97db11df3b8d0e9315
2017-01-19 22:35:02 +00:00
Kazuki Kobayashi
8bf5945c3f Merge "Fix clipping for date and time on QS" am: a5f968806e
am: 6cad668a25

Change-Id: I19ae46145d788db06e64b1b1737b7c30ae53f7f0
2017-01-19 22:30:05 +00:00
Treehugger Robot
a5f968806e Merge "Fix clipping for date and time on QS" 2017-01-19 22:17:35 +00:00
TreeHugger Robot
9ba372781e Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-19 04:43:06 +00:00
Bill Yi
61385acb7a Import translations. DO NOT MERGE
Change-Id: I5becba7c3473850f08ce948491d37b2cc2f5e35f
Auto-generated-cl: translation import
2017-01-18 17:06:36 -08:00
Jiaquan He
de934359ef Add keyboard support to Grid-based Recents.
am: 21f495f07b

Change-Id: I5b2f1bb2e6c8a84e1bc14fa428a1c00af3abe31f
2017-01-18 22:19:32 +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
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
Kazuki Kobayashi
205fd0f5fc Fix clipping for date and time on QS
The bottom part of date and time on Quick Settings is cut off
when changing font size to "Largest" and display size to "Small".
To fix this issue, the height should be changed from 19dp
to "wrap_content".

Bug: 34365385
Test: manual - change font size to "Largest" and
               display size to "Small", and then open QS panel

Change-Id: I37047e57f535dfa8fcaccc8f9dd78c4ef699bc27
2017-01-18 06:33:31 +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
Muyuan Li
dd804d6b3a update navbar assets for sw900dp device.
am: b3152ab966

Change-Id: I79b810a896ae17423b5fa36cac27a1933f2e758b
2017-01-13 22:11:14 +00:00
Muyuan Li
659a650141 Merge "update navbar assets for sw900dp device." into nyc-mr2-dev 2017-01-13 21:49:55 +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
Andrew Sapperstein
1f2769189d Merge "Create a global registry for system message IDs" into nyc-mr2-dev 2017-01-12 21:18:28 +00:00
Bill Yi
8c90b5ace0 Import translations. DO NOT MERGE
Change-Id: I6119a209e99f4e301961a07b18b181b8069cfd3e
Auto-generated-cl: translation import
2017-01-12 03:41:01 -08:00
Akira Oshimi
fb6616a6a6 Merge "Fix clipping for edit screen of Quick Settings" am: e3677865a8 am: 49b68ad0cd
am: d999e53487

Change-Id: I7a1420c595f187923ad565d080e05c15c98d7dce
2017-01-11 16:11:53 +00:00
Akira Oshimi
d999e53487 Merge "Fix clipping for edit screen of Quick Settings" am: e3677865a8
am: 49b68ad0cd

Change-Id: I02de0a87c633f4ffc8cee81e8773e31c9851d19d
2017-01-11 16:06:22 +00:00
Akira Oshimi
f157511744 Fix clipping for edit screen of Quick Settings
The width of the edit screen is fixed when the display size is updated
in landscape mode. So when the device is rotated to portrait mode, the
width is not updated and the edit screen is truncated.
To fix this issue, "match_parent" should be used to match to the width
of Notification Panel always.

Bug: 34206618
Test: manual - go to Settings, rotate device to landscape mode, change
               display size (Default > Large > Default), rotate device
               to portrait mode and show QS edit screen

Change-Id: I35ac623812908a61cd34357e6bda567cab55ace1
2017-01-11 02:58:34 +00:00
Bill Yi
5ef189ddeb Import translations. DO NOT MERGE
Change-Id: I61019454236fb311bf7a428d077ddfd8a670da50
Auto-generated-cl: translation import
2017-01-09 20:17:25 -08:00
Muyuan Li
b3152ab966 update navbar assets for sw900dp device.
bug: 33301377
Change-Id: I1b66b6074692c9df7c4c9352d9be022cddc1f690
2017-01-09 14:30:35 -08:00
Andrew Sapperstein
ddb2539508 Update CHAR LIMIT for notification body.
am: 429cafb85e

Change-Id: I2cfa08917ce4581d4119ba7a6e492874368cf957
2017-01-06 20:57:05 +00:00
TreeHugger Robot
e553cebbeb Merge "Update CHAR LIMIT for notification body." into nyc-mr2-dev 2017-01-06 20:46:28 +00:00
Andrew Sapperstein
fcf6cc3062 Add temperature config for high temp warning.
am: 1cac83218c

Change-Id: I1aedaf0714e0f020f6e062bac716841ec472db2a
2017-01-06 20:04:30 +00:00
Chris Wren
117d5b4f28 Create a global registry for system message IDs
Port all system UI notifications to use the registry.  Retain stable
integer IDs where they exist. Assign new stable IDs where resource IDs
were previously used.

Using "message" rather than "notification" since we may eventually
want to include dialogs and toasts.

Bug: 32584866
Bug: 30995038
Test: runtest systemui
Change-Id: Iec4d7cebbd88683e339ada29a279315222699942
(cherry picked from commit 5e6c0ffd3e)
2017-01-06 11:34:22 -08:00
Andrew Sapperstein
429cafb85e Update CHAR LIMIT for notification body.
Test: is comment change
Bug: 34097363
Change-Id: I8ae19c3b5108c9c2f00614cd5d32cee06082a052
2017-01-06 18:57:41 +00:00
Andrew Sapperstein
1cac83218c Add temperature config for high temp warning.
Adds an integer resource (config_warningTemperature) that is used
to display the high temp warning. If it is set to less than 0,
the value from HardwarePropertiesManager#getDeviceTemperatures(
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN,
HardwarePropertiesManager.TEMPERATURE_THROTTLING) is used instead.

Test: manual
Bug: 30995038
Change-Id: I05aa1b5930c6c151ebac439dfd5c00b3305dc46d
(cherry picked from commit 7518471ab6)
2017-01-06 18:28:10 +00:00
TreeHugger Robot
9e8b15b953 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-05 10:06:47 +00:00
Bill Yi
a51dba4ca5 Import translations. DO NOT MERGE
Change-Id: Ic18109adbc1f4e2e3f8bf15aa6d5cf0cb703b601
Auto-generated-cl: translation import
2017-01-05 00:27:04 -08:00
Andrew Sapperstein
104c66d71e Show notif when device reaches throttling temp
am: 67e97053c5

Change-Id: I44639cb19b7fa9547dc1e579a5beb34f923da2a7
2017-01-05 03:05:59 +00:00
Andrew Sapperstein
67e97053c5 Show notif when device reaches throttling temp
Adds logic to SystemUI that shows a notification alerting the user
that their phone has reached a certain temperature and has throttled
itself in order to cool down.

The logic is controlled by a configuration resource:
R.bool.config_showTemperatureWarning. If false, no action is taken.

When true, PowerUI checks every 30 seconds if the current temp of
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN is greater than
the throttling temp of HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN.
If any one of the temperatures returned is greater, a notification is shown.

Clicking on the notification will show a dialog explaining more details
about what the device is doing in response to the high temperature.

The notification will disappear once the temperature drops below
the throttling temperature.

In order to check the temperature in SystemUI, HardwarePropertiesManager
has been updated to also allow any calls made by callers holding the
signature-level DEVICE_POWER permission.

Test: runtest systemui
Bug: 30995038

Change-Id: I1b3f122341911c68e90c8a49ad35267ac382b356
(cherry picked from commit b7caf1d06d)
2017-01-04 16:53:44 -08:00
Bill Yi
84cd5cbca0 Import translations. DO NOT MERGE
Change-Id: Iaff41f85806a9f7041ddb069130afc741300151a
Auto-generated-cl: translation import
2016-12-29 21:29:31 -08:00
Jorim Jaggi
6f0236688f Change screen pinning back to old gesture
am: 4e723e6087

Change-Id: I83dee36d5d3b16adbf740dd6495e7945bf0236ef
2016-12-28 17:12:28 +00:00
Jorim Jaggi
8812fb0695 Merge "Change screen pinning back to old gesture" into nyc-mr2-dev 2016-12-28 17:01:22 +00:00