Commit Graph

6007 Commits

Author SHA1 Message Date
TreeHugger Robot
6e4075bde6 Merge "Adding enabled state for remote actions." 2017-03-17 17:51:45 +00:00
Jason Monk
6f77056666 Fix up QS edit UI
Turns out QS Edit mode didn't like the changes to dual target tiles.
Clean this up a bit.

Test: visual
Change-Id: I158fe8dba6729de102cfc592314ec483a969417d
2017-03-17 10:15:15 -04:00
Winson Chung
6b88baf1e8 Adding enabled state for remote actions.
- Actions can specify whether they are enabled (default) or disabled, and
  SystemUI will reflect the state in the PiP actions.

Bug: 36363677
Test: Expand pip with dismissed action
Change-Id: I36994868f82d8ba0fc87947a722d9f20b39425a1
2017-03-16 18:05:30 -07:00
TreeHugger Robot
321c5a19c7 Merge "Clean up some QS user switcher colors" 2017-03-16 21:48:34 +00:00
TreeHugger Robot
43c43f2d4a Merge "UI updates to dual target tiles" 2017-03-16 21:38:20 +00:00
Jason Monk
f12710a545 UI updates to dual target tiles
Have an underline + an arrow to indicate them instead of a divider.

Test: visual
Change-Id: I8fdff53825f9668edd5c527b42410c301f943785
2017-03-16 13:26:13 -04:00
Jason Monk
44ad61f06e Clean up some QS user switcher colors
Change-Id: Ie6699f3cede075ee22997440c716138402840587
Fixes: 34775035
Test: visual
2017-03-16 12:45:48 -04:00
Mady Mellor
da42f4aaa9 Merge "Enables drag to dismiss for PiP and adds a dark scrim when dismissing" 2017-03-15 21:59:04 +00:00
Mady Mellor
81d406104a Enables drag to dismiss for PiP and adds a dark scrim when dismissing
- Adds a scrim that fades in as the PiP is dragged past the bottom movement
  bounds.
- Tweaks the values for minimizing the PiP and dismissing the PiP
- Fixes an issue where the PiP could be minimized in the bottom corners
  of the screen

Test: Manual - drag PiP to bottom of screen to dismiss or swipe down on
PiP when it's at the bottom of the screen
Bug: 35358768
Bug: 35358628
Change-Id: Ib4ad5ed7094fef76ea979b46ea7e03d746625d00
2017-03-15 11:00:32 -07:00
TreeHugger Robot
13b13f0816 Merge "Remove qs_footer_dialog_network_logging_icon_alpha" 2017-03-15 15:47:03 +00:00
Robin Lee
5760fd9b9c Remove qs_footer_dialog_network_logging_icon_alpha
This washes out the network logging icon in the network monitoring
dialog, making it look strange compared to the dark VPN key.

Fix: 35620542
Test: inspection of dialog
Change-Id: I72bc6337b88b16235dab7b48d11efee4410ede5e
2017-03-15 14:06:59 +00:00
Sid Soundararajan
7616234117 Merge "RecentsTV : Remove all Recents TV Code" 2017-03-13 17:44:55 +00:00
TreeHugger Robot
d9e529b398 Merge "Update enterprise disclosure strings" 2017-03-13 15:18:27 +00:00
Bill Yi
550d809303 Import translations. DO NOT MERGE
Change-Id: Ia9b35452da368a7061c7ae7da1c4cd0baf72a49b
Auto-generated-cl: translation import
2017-03-12 07:16:18 -07:00
Bartosz Fabianowski
820c73d986 Update enterprise disclosure strings
This updates the disclosure shown on the Keyguard screen for managed
devices to the final strings.

Bug: 32692748
Test: Manual

Change-Id: If70be667274937812a4dcb0d1c97586f15136e1c
2017-03-11 04:33:18 +01:00
Phil Weaver
f00cd14f17 Basic accessibility support for picture-in-picture
Exposing actions from the PIP InputConsumer to accessibility,
stripping all actions from a covered PIP app, and adding the
InputConsumer's actions on the PIP app's root view.

We were also using an "undefined" accessibility ID to mean
three different things: a root view, a host view of a virtual
view hierarchy, and a truly undefined view. I've introduced
new values for cases where the id could be defined.

Also gathering all window IDs into one place to reduce the
chance of collisions.

Bug: 34773134
Test: In progress. Current cts passes.
Change-Id: I97269741a292cf406272bf02359c76c396f84640
2017-03-10 15:35:30 -08:00
TreeHugger Robot
b6c6eaf8d4 Merge "Updating expanded PiP menu." 2017-03-10 00:17:42 +00:00
Winson Chung
e7a3d2225c Updating expanded PiP menu.
- Adding consistent scrim behind menu
- Tweaking icon/button sizes
- Updating the expand button depending on the current placement of the PiP
- Better centering of the expand button

Bug: 35358425
Test: Expand pip
Change-Id: I34575bb08d4815f51b6f14f8b0e25b20b9a97320
2017-03-09 14:46:05 -08:00
Adrian Roos
5602189a6d AOD: Show charging status on AOD1
- Change PowerManager to not turn on display when on AOD
- Add charging icon to AOD1
- Add transient charging indication when plugged in

Bug: 30876804
Bug: 35850304
Test: runtest systemui; enable AOD, plug in phone, verify charging indicator shows, verify charging text shows and goes away after a few seconds
Change-Id: Icb80843a12c56c7e2abeca78115a366b4d508d4f
2017-03-09 14:31:24 -08:00
Sid Soundararajan
0e88d32b96 RecentsTV : Remove all Recents TV Code
This patch will remove the Recents TV Code from SystemUI.

Test: To test this removes the Recents Feature and has no
side effects, try to launch recents with long-press HOME. This
should result in launching the phone version of recents.

BUG: 36035359
Change-Id: I9026b480968575ce08e1ce344512f168fdc5fe87
2017-03-08 16:19:04 -08:00
Julia Reynolds
7c502e0c76 A11y updates for new a11y stream.
- change content description on mute button
- remote mute a11y stream option

Test: manual
Change-Id: I5f043d803f4f00fcbd5ec58005076b6cf22940e6
Fixes: 34710523
2017-03-07 14:53:48 -05:00
Winson Chung
f4284638c4 Merge "Update how PIP size is determined" 2017-03-07 05:01:23 +00:00
Mady Mellor
a7f69740b5 Update how PIP size is determined
- minSize = 108dp
- defaultSmallestEdge = max(23% of screen width, minSize)
- the shortest edge of the PIP should be minSize and the rest scales
  according to the aspect ratio
- rather than a default PIP size, use default aspect ratio
- adding expand button
- fitting actions to spec

Fixes: 35358504
Test: manually used test app to try different aspect ratios
Change-Id: Ib6890fb7824889b9edeea7efb5b9771e64fc1514
Signed-off-by: Winson Chung <winsonc@google.com>
2017-03-06 16:39:11 -08:00
TreeHugger Robot
bc3c410d05 Merge "AOD: Wake up fully on gestures by default" 2017-03-07 00:03:03 +00:00
Adrian Roos
d84a080e94 AOD: Wake up fully on gestures by default
Fixes: 35909567
Bug: 30876804
Test: manual
Change-Id: Ie90c451ca3d8fe6ca62853fb3a555401dc322f00
2017-03-06 13:38:56 -08:00
Bill Yi
7fab80002c Import translations. DO NOT MERGE
Change-Id: Id4a9d4c2e278304cbc4bb76cc59a266b9a6f693e
Auto-generated-cl: translation import
2017-03-06 04:46:32 -08:00
Jason Monk
e5b770e47d Updated QS UI
- Adds footer to QS which contains the date/alarm info
   and all touch targets (settings, edit, etc.)
 - Swaps out emergency + carrier text on cell tile for a
   standard CarrierText from lock screen in the header
   to make the header only contain status info.
 - Add dividing line
 - Work on animations

Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
2017-03-04 20:02:09 -05:00
Bill Yi
a1b35d339f Import translations. DO NOT MERGE
Change-Id: I69afa2c75c5334244598a13ebd17217ec0dcb66e
Auto-generated-cl: translation import
2017-02-28 01:32:37 -08:00
TreeHugger Robot
2a434d17b1 Merge "Remove tint from network logging icon" 2017-02-27 18:24:10 +00:00
TreeHugger Robot
eba6e6c7dc Merge "Move the lock item for the QS WifiPicker." 2017-02-27 18:04:06 +00:00
Robin Lee
8b371480d3 Remove tint from network logging icon
Mirrors the change in commit 3250885c9f
("Visual refresh for QS") which removed tint from all ic_qs_xyz.xml
icons for quicksettings.

This one was missed because it was committed to nougat-mr2-dev and
only merged into the development branch afterwards.

Change-Id: I603c31aa82e9d52925fbe06d02a620036d93056e
Fix: 35620542
Test: adb shell am start 'android.app.action.SHOW_DEVICE_MONITORING_DIALOG' on a device with network logging enabled.
2017-02-25 01:15:19 +00:00
Jason Monk
58be7a675b Add colorError
Remove scatered references to old error color and replace them with
references to new colorError

Test: make & visual
Change-Id: Icca8cd790db351c3dfce2197f2046879d062a2c0
2017-02-24 14:57:27 -05:00
Jason Monk
ab9ab96d0d resolve merge conflicts of 1723bc14eb to stage-aosp-master am: 4f458421b1
am: eac19cd55d

Change-Id: Iec06900eba071a56696a1c240b79f0dd7ab05d70
2017-02-24 15:27:47 +00:00
Jason Monk
4f458421b1 resolve merge conflicts of 1723bc14eb to stage-aosp-master
Change-Id: I11054806dbd263b2adaedb21458c33b7407bb7d6
2017-02-24 09:34:42 -05:00
Jaewan Kim
dc29875ac0 PIP: Address the comment from the previous CL
This address the comments from the following CL

8af250efae PIP: Use resource to maintain settings class list to shift
PIP to left

Test: Manual test
Change-Id: Ib7cae7ba019018375e9c1e51f1a0ef7d91447d52
2017-02-24 10:51:50 +09:00
Jaewan Kim
5faf303931 Merge "PIP: Use resource to maintain settings class list to shift PIP to left" 2017-02-24 00:29:03 +00:00
Jason Monk
543947ba53 Merge "Update clipboard icon for the tuner" 2017-02-23 20:17:52 +00:00
Evan Laird
bb11b77523 Merge "Fix qs_signal icon clipping" 2017-02-23 20:14:16 +00:00
Evan Laird
8b72643b12 Fix qs_signal icon clipping
Test: visual
Change-Id: If212eefc9303590b7168432120c46bf07ac184d1
Fixes: 34799892
2017-02-23 15:00:46 -05:00
Jason Monk
79f21a3f41 Update clipboard icon for the tuner
Change-Id: Ie8ff3e6d87afbbd09efe8f529756710f6a61da6e
Fixes: 35707044
Test: visual
2017-02-23 12:52:32 -05:00
Jaewan Kim
8af250efae PIP: Use resource to maintain settings class list to shift PIP to left
Bug: 31322754
Test: manual test
Change-Id: Ic36c2437409d8d1fcddd71087eda754f1a8752e1
2017-02-23 14:32:28 +09: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
TreeHugger Robot
8f1a1dd0fc Merge "Don't show the percentage twice when charging." 2017-02-22 21:11:34 +00:00
TreeHugger Robot
1f58d0b83c Merge "AOD: readd AOD settings on debuggable builds" 2017-02-22 19:39:46 +00:00
Adrian Roos
5cd29e41ac AOD: readd AOD settings on debuggable builds
Bug: 30876804
Test: On user build, verify that "Ambient Display" does not appear in SystemUI Tuner.
Change-Id: I75ba7ce11346f9cb8bf5683b17debe77edca20bf
2017-02-22 16:48:15 +01:00
Bill Yi
4f4d095c90 Import translations. DO NOT MERGE
Change-Id: Ic31eb1a90bdd0d4f3f64c99b10d766202979077f
Auto-generated-cl: translation import
2017-02-22 04:57:10 -08:00
Selim Cinek
160bf4cbac Merge "Making the notification always center horizonally" 2017-02-21 22:05:21 +00:00
Dan Sandler
df14c20be4 Don't show the percentage twice when charging.
The old percentage textview is now gone from the layout.
When the device is charging (but the user doesn't have
percentage display turned on all the time) use the new
percentage built-in to BatteryMeterView.

Bug: 35521962
Test: visual
Change-Id: I91f3350f6203fd007f003ca260ac0ed78e29b771
2017-02-21 16:17:09 -05:00
Julia Reynolds
027c7499d0 Move volume dialog expander
Bug: 33760714
Bug: 32727078
Test: manual
Change-Id: I06934bf140483957b734d5b1b20e3c7c6b7b4497
2017-02-17 22:18:49 +00:00
Selim Cinek
9e87cba5a9 Making the notification always center horizonally
The notification panel always center horizontal, since
it could lead to an offcenter notification sometimes.
Also applying the gravity correctly.

Change-Id: I2056dae0dfc1e4625e7903511464dc3edd8ac3f5
Fixes: 27566718
Test: rotate, observe HUN location after rotation
2017-02-17 13:29:54 -08:00