Commit Graph

8150 Commits

Author SHA1 Message Date
Lucas Dupin
40ec6b7814 Migrate SysUI theme to UiMode
Legacy RRO was deleted and resources migrated to DeviceDefault theme.
Theming via overlays is still possible, but the overlay should provide
both themes: day and night.

Test: adb shell service call uimode 4 i32 1
Test: adb shell service call uimode 4 i32 2
Change-Id: I5dee2f94764c5c2f4e11cfabfff97656b3822e8a
2018-07-04 18:15:25 -07:00
Lucas Dupin
039951ee99 Move charging indication vertically on time tick
Before, a new translation was only calculated when the device enters
AOD, and then, during time tick, we would only move it 5px wich isn't
enough.
Now, the translation varies 5dps vertically on every time tick.

Fixes: 110888643
Test: take screenshots for N minutes and compare them
Change-Id: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
2018-06-28 11:34:09 -07:00
Yuanjia Hsu
e3d3ca75dc Merge "Add separated emergency option on power menu" 2018-06-28 13:10:27 +00:00
TreeHugger Robot
4b66a0f8f8 Merge "Import translations. DO NOT MERGE" 2018-06-27 21:57:14 +00:00
Aaron Heuckroth
8ef0bc24cc Merge "Adjust 'No notifications' text styling to match buttons." 2018-06-27 18:14:59 +00:00
Bill Yi
68f9fd0a35 Import translations. DO NOT MERGE
Change-Id: Ic581a3f43aa2e06bf82e07276f4f38190977387c
Auto-generated-cl: translation import
2018-06-27 04:44:32 -07:00
Wesley.CW Wang
3004fcb949 Add separated emergency option on power menu
- Add a separated button on power menu to launch emergency dialer.
 - Change HardwareUiLayout.java FrameLayout to LinearLayout, let it can
display separated button.
 - Add a flag to recognize separated button should show/hide, if
EmergencyAffordance(India) enabled, separated button will hide,
otherwise power menu will display separated button & power
menu last item won't get white background.

Test: Manually, use "adb shell settings put global faster_emergency_phone_call_enabled 1" to show/hide separated emergency option, press emergency option will go to emergency dialer.
Bug: 80376488
Change-Id: I8e6bb72ce7b8cecdb6bd01150b53f61f1515dbb1
2018-06-26 14:46:25 +08:00
Matthew Ng
fe1740d9b4 Merge "Quick scrub has gradient follow user drag" into pi-dev am: 5f5c6e993f
am: d60292d292

Change-Id: I57cf675a23fb4b0dae376859f4ceddb8f252405c
2018-06-25 14:03:00 -07:00
Matthew Ng
d60292d292 Merge "Quick scrub has gradient follow user drag" into pi-dev
am: 5f5c6e993f

Change-Id: I173202bab30b6b8b5c45d1841a5070cb0d282a04
2018-06-25 13:54:19 -07:00
Aaron Heuckroth
1179c53800 Adjust 'No notifications' text styling to match buttons.
Test: Visual inspection.
Change-Id: I968ee83d08ef2a4e6a2e677d06ef5cf763fbe877
Fixes: 110489135
2018-06-25 16:39:34 -04:00
Matthew Ng
4fa3a9d4cf Quick scrub has gradient follow user drag
Removed the track drawable and draws a gradient translated to the
position of the drag of the user as the track's background.

Test: quickscrub
Change-Id: Iee893e5f96f4954c77307c5ff9b762a04bd7de9a
Fixes: 109882517
2018-06-25 11:06:36 -07:00
Julia Reynolds
1424138d36 Merge "Remove managed profile toast" into pi-dev
am: 7f4e9739e4

Change-Id: I78e08cc1e3a1ec52cc9bf813ab794c62a73da978
2018-06-22 08:29:21 -07:00
TreeHugger Robot
7f4e9739e4 Merge "Remove managed profile toast" into pi-dev 2018-06-22 15:19:20 +00:00
Julia Reynolds
c9afb8ba06 Remove managed profile toast
Change-Id: I9f324a94d7fab35b0f00a1bd9c675708dac6f85a
Fixes: 110418889
Test: atest SystemUITests
2018-06-21 14:05:01 -04:00
Rohan Shah
482193f224 [Notif] Add custom view to made undo text push button down
Added a custom FrameLayout that computes the correct height if the text
overlaps with the button and re-positions the button to be below the
text as necessary.

Test: Manually tested w/ different text, including layout bounds + RTL
Change-Id: I80b0eb4ce3a108d350924d6a7b964cd0b59f1cac
Fixes: 77810898
Bug: 109839789
2018-06-21 17:23:59 +00:00
Bill Yi
b881e8aedf Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If0cc65463dca8363427a9021601aee4401caccaa
2018-06-21 05:09:41 -07:00
TreeHugger Robot
31b731d0e7 Merge "Ensure QQS does not clip tile views." 2018-06-20 18:09:52 +00:00
Julia Reynolds
fd3618a971 Merge changes I9f324a94,Ic3521f36
* changes:
  Remove managed profile toast
  Log notification interruptions to TRON
2018-06-20 12:59:50 +00:00
TreeHugger Robot
9ea3a32e3c Merge "Use a theme for screen pinning to set recents vector drawable tint" 2018-06-19 22:40:42 +00:00
Julia Reynolds
2ad4753fb6 Remove managed profile toast
Change-Id: I9f324a94d7fab35b0f00a1bd9c675708dac6f85a
Fixes: 110418889
Test: atest SystemUITests
2018-06-19 16:09:37 -04:00
Amin Shaikh
6a298d6202 Ensure QQS does not clip tile views.
- Remove qs_quick_tile_space_width resource in favor of specifying the
max size for QQS when the notification panel's size is large enough.

Change-Id: I6a3ee05fa20d6e8f8f4bd688d310de6a242d26f9
Fixes: 110276500
Test: manually changing window density/size and viewing QQS
2018-06-19 15:01:18 -04:00
TreeHugger Robot
07d0ac2e44 Merge "Add same padding to mobile datatype as wifi" 2018-06-18 23:03:28 +00:00
Evan Laird
747459a590 Add same padding to mobile datatype as wifi
SignalCluster view used to have a start-margin of 2.5dp, so now both the
wifi icon and the mobile data indicator need that padding (because you
will only ever see the data type indicator if wifi is not on.

Test: visual
Change-Id: I7b34fd80eb222610fc7df76be7a76c0f5f6e0fbb
Fixes: 110225644
2018-06-15 16:59:57 -04:00
Bill Lin
ad15fe339b Adjust QuickQSPanel to fit Tablet display size
- Remove legacy standard_notification_panel_width
- Define default max columns for QQS layout
- Fix Pixcel C & Nexus 7 QQS Tiles over boundry problem

Test: atest SystemUITests
Fix: 110123402
Change-Id: I18ab3d966b3d18775d0b13d6d60d7c09485ba8ae
2018-06-15 14:29:44 +08:00
Matthew Ng
32afc62d93 Use a theme for screen pinning to set recents vector drawable tint
Test: pin screen with nav 3 button layout
Fixes: 109909471
Change-Id: Icc27efdb4d623a9927c1f7fc0472ccacc596a28b
2018-06-14 23:39:52 +00:00
Jorim Jaggi
f700a30639 Merge "Enable expanding of status bar just below the notch" into pi-dev
am: c6c9a78b4e

Change-Id: I7043d9fe30869217750f6968d29a10108a8c497c
2018-06-13 05:49:13 -07:00
Jorim Jaggi
c6c9a78b4e Merge "Enable expanding of status bar just below the notch" into pi-dev 2018-06-13 12:36:23 +00:00
Mike Digman
cec13f27af Merge "Make rotate nav+qs icon consistent, understandable" into pi-dev
am: f8dc8e378a

Change-Id: If0731ddfa7fb95e4b810ca80115b4d1c8714a875
2018-06-12 14:54:57 -07:00
Android Build Merger (Role)
48efe57297 [automerger] Merge "Make rotate nav+qs icon consistent, understandable" into pi-dev am: f8dc8e378a am: 39880861d4
Change-Id: I8849835d253ec8fbe85d0d0c3aab628a28ea4870
2018-06-12 21:33:37 +00:00
Mike Digman
39880861d4 Merge "Make rotate nav+qs icon consistent, understandable" into pi-dev
am: f8dc8e378a

Change-Id: Ife59bc02c30446efe6764fcfd5e8813c46e1543f
2018-06-12 14:32:59 -07:00
Mike Digman
f8dc8e378a Merge "Make rotate nav+qs icon consistent, understandable" into pi-dev 2018-06-12 20:27:00 +00:00
Mike Digman
2657757c43 Make rotate nav+qs icon consistent, understandable
Now using the same iconography (but different angle) for nav
and qs. Note nav viewport, size and pivot (for motion) change
is intentional to match other navbar icon sizing.

Test: manual
Change-Id: I1abb33130cc724b6e63e008cf7301ebce383c8d1
Fixes: 110052596
2018-06-11 23:04:48 +00:00
Jorim Jaggi
0d4a99550d Enable expanding of status bar just below the notch
Test: Expand status bar with cutout emulation enabled
Bug: 79435224
Change-Id: I427f382578f4dc2abe347973323bb455cb67594d
Merged-In: I427f382578f4dc2abe347973323bb455cb67594d
2018-06-11 14:47:43 +00:00
Jorim Jaggi
71aaa40495 Enable expanding of status bar just below the notch
Test: Expand status bar with cutout emulation enabled
Bug: 79435224
Change-Id: I427f382578f4dc2abe347973323bb455cb67594d
2018-06-11 16:47:24 +02:00
Anthony Chen
e87f127203 Merge "Remove usage of deprecated DayNightStyle values." into pi-dev am: a0d475a43f
am: 4d4b5b6810

Change-Id: I29d9ee5ce0de960c832386c1443c33acb424c55c
2018-06-07 18:58:28 -07:00
Anthony Chen
4d4b5b6810 Merge "Remove usage of deprecated DayNightStyle values." into pi-dev
am: a0d475a43f

Change-Id: I603568a7168fb3b8a4a946d937b754f13b3d917c
2018-06-07 17:24:42 -07:00
Anthony Chen
b2d5984261 Merge "Remove usage of deprecated DayNightStyle values." into pi-dev
am: a0d475a43f

Change-Id: I3d8664f74250bda3737d7851d37af857cb2f7214
2018-06-07 16:50:20 -07:00
TreeHugger Robot
a0d475a43f Merge "Remove usage of deprecated DayNightStyle values." into pi-dev 2018-06-07 22:23:12 +00:00
shawnlin
64d4591a47 Merge "Fixed flickering when quick tap on brightness bar" into pi-dev am: 0631de5772
am: 07ce67ecdf

Change-Id: Ie15f57d6905c6827a4806368c1f1e78b45c8209e
2018-06-07 14:45:56 -07:00
shawnlin
47b47b6eb6 Merge "Fixed flickering when quick tap on brightness bar" into pi-dev
am: 0631de5772

Change-Id: Ib794cc43160067916970c04beef3a04ad1d6fb3e
2018-06-07 14:17:33 -07:00
shawnlin
07ce67ecdf Merge "Fixed flickering when quick tap on brightness bar" into pi-dev
am: 0631de5772

Change-Id: Ifbdc6e0060a4e8371c5cd4592ca7d2a1cf755b42
2018-06-07 14:04:56 -07:00
TreeHugger Robot
0631de5772 Merge "Fixed flickering when quick tap on brightness bar" into pi-dev 2018-06-07 20:28:36 +00:00
Daniel Sandler
ec58d581b0 Merge "O no, this should be a P." into pi-dev am: 31cb11324f
am: 549e949901

Change-Id: I4371ca36cc3315212c05af97dc992c33d97e7073
2018-06-07 07:35:21 -07:00
Daniel Sandler
829e52252a Merge "O no, this should be a P." into pi-dev
am: 31cb11324f

Change-Id: I7392d863c935ab64fc6445fca4c3b35352ffcf1f
2018-06-07 07:23:27 -07:00
Daniel Sandler
549e949901 Merge "O no, this should be a P." into pi-dev
am: 31cb11324f

Change-Id: I3dadcd2ff2bd13bb125762735d0d72810fc551d5
2018-06-07 07:23:26 -07:00
Daniel Sandler
31cb11324f Merge "O no, this should be a P." into pi-dev 2018-06-07 14:14:03 +00:00
Dan Sandler
182b5edcd1 O no, this should be a P.
Bug: 109804872
Test: none
Change-Id: Ibd6aac069a254a7d5a190e1f4476ba2c4124a758
2018-06-07 01:09:22 -04:00
shawnlin
511623c874 Fixed flickering when quick tap on brightness bar
Reduce the height of brightness mirror view.

Change-Id: I998932dea51659cbba0a8484973b3281f595c46e
Fixes: 79927315
Test: quick tap on brightness bar and observe the result
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests-Trace:android.platform.systemui.tests.jank.SystemUiJankTests#testChangeBrightness
2018-06-07 10:31:37 +08:00
Evan Laird
147defa2ae Merge "Status bar etc dots 4dp" into pi-dev
am: d54c3a3036

Change-Id: I9038fb861e7a543f7082c4b186f0c77eb352e204
2018-06-06 16:45:10 -07:00
Evan Laird
c517070b37 Merge "Status bar etc dots 4dp" into pi-dev am: d54c3a3036
am: 9d55905221

Change-Id: Ib805a1ebb26c495dbf4704b992bf5fe6bdf67b2a
2018-06-06 16:20:14 -07:00