Commit Graph

3003 Commits

Author SHA1 Message Date
Edward Savage-Jones
2225dc01d4 Merge "translate="false" -> translatable="false""
am: dd87b30266

Change-Id: Ie1ea3ee801339639c131e5cb89b3024d13c4b24c
2019-10-21 08:57:02 -07:00
Edward Savage-Jones
c2d63dc5e9 translate="false" -> translatable="false"
Fixed a typo related to String translation

Bug: 142888682
Test: Manual
Change-Id: I75f1ce67492f54bdfdf859b283d5095909cc63f5
2019-10-18 17:26:28 +08:00
Lucas Dupin
e25c487141 Switch preffered display mode on lock screen
To save power, now it's possible to specify a preferred refresh rate for
the lock screen. It's -1 by default, and should be configured on a
device overlay whenever required.

Test: manual
Test: atest StatusBarWindowControllerTest
Fixes: 138303350
Change-Id: I4d1ca210b50d32d937b0fea2fcb9e28a7c50c0b3
2019-07-30 09:47:18 -07:00
Winson Chung
4184a1d907 Tweak home handle colors to have some opacity
Bug: 138145469
Test: Just updating some colors
Change-Id: I20f79c487df86af18d54d232da09af55907a9f1a
2019-07-28 05:30:05 +00:00
Selim Cinek
16f334e5c1 Fixed the layout of media heads up notifications
Previously the heads up layout was strangely clipped
because we were using the expanded layout.
We're now using the collapsed layout instead. In order to allow this,
the media notification needs to wrap it's height properly.

Fixes: 136507638
Test: show heads up media notification
Change-Id: Ib091b0e776b5cd1a615c9ea0121a3115817b7f64
2019-07-18 18:11:54 -07:00
TreeHugger Robot
b7098f9d9c Merge "Pad indication text to prevent clipping on side of screen." into qt-r1-dev 2019-07-18 18:31:52 +00:00
Robert Snoeberger
f6e32f079d Pad indication text to prevent clipping on side of screen.
Padding amount is the same as owner_info also shown on AOD screen.

Bug: 137627803
Test: Checked that text with more than 100 characters shown in
indication area wasn't clipped on side of screen. 100 characters was
used because face_acquired_sensor_dirty string has char limit of 100.
Change-Id: I1c4014b4cfbdc2bba84b9974813ca23e6b42cf4c
2019-07-18 10:12:42 -04:00
Lucas Dupin
d534c1235c Reduce duration of AOD headsup
Test: manual
Fixes: 134649305
Change-Id: If8b49e2b3905c463eeab7bb66568b98f708448e2
2019-07-17 11:09:03 -07:00
Miranda Kephart
3d92c138d5 Merge "Allow path specification for rounded corners" into qt-r1-dev 2019-07-09 19:35:29 +00:00
Selim Cinek
06c12d64fc Fading away notification panel individually
Previously the notification panel was fading away all together,
which doesn't work when the notifications need to stay around.
We're now fading the whole panel away.

Bug: 134952761
Test: pick up phone and unlock, observe normal behavior
Change-Id: I48d12776dc8b4bd51c1a35c2b822caeef38eb850
2019-07-04 20:21:30 -07:00
Miranda Kephart
5393915d75 Allow path specification for rounded corners
Parses a path string and uses that for the corner paths.

Bug: 136182248,136270071
Test: manual

Change-Id: Ic34bee5f63959f65af6b2d2afb917ff4282f1d5b
2019-07-03 15:04:05 -04:00
Zhen Zhang
788232785d Merge "Change quick setting min_num_tiles number and text to resources value." into qt-dev
am: bc058faaa3

Change-Id: I329be5dee77d6f45b4bd5314971655df52525294
2019-07-02 11:21:48 -07:00
TreeHugger Robot
bc058faaa3 Merge "Change quick setting min_num_tiles number and text to resources value." into qt-dev 2019-07-02 17:56:59 +00:00
Selim Cinek
a0aa088c9f Merge changes I089fa8ff,I8db745c1,I6fa83189 into qt-r1-dev
* changes:
  Showing heads up for music when bypassing
  Not rendering background when bypassing
  Made sure the lock icon is invisible while hunned
2019-06-29 23:11:43 +00:00
Selim Cinek
e3c6e46e95 Showing heads up for music when bypassing
Users where missing the music controls so
we are showing a headsup for them on the
lockscreen.

Fixes: 	134543453
Change-Id: I089fa8ff35b918f485f79e09393173f05971a73e
2019-06-28 19:14:55 -07:00
Lucas Dupin
fac2e8e328 Do not unregister lift when prox is covered
The lift sensor won't receive all the data that it needs otherwise.

Test: atest DozeParametersTest
Test: lift while prox is covered
Test: lift while prox is covered, uncovering before end of gesture
Test: lift while prox is not covered
Fixes: 134685251
Change-Id: I0938baba6ccaaf04c40fe30b3f4f59293179dc2a
2019-06-28 11:24:21 -07:00
Selim Cinek
c7e4cb5493 Adjusting the notification header appearance on the lock screen
Now the notification looks like a regular heads up and can
transform through the unlock without any change.

Bug: 130327302
Test: add hun on lockscreen, pull down
Change-Id: Id59188130eb5b01376c868874c24afdef9a694fa
2019-06-25 16:12:19 -07:00
Fabian Kozynski
6288f173ed Merge "Fix case of Dark theme" into qt-dev
am: 093af798e4

Change-Id: I8abccc7a1eae8a25bf23a058d98b812ea8ce40bd
2019-06-24 13:03:31 -07:00
Fabian Kozynski
093af798e4 Merge "Fix case of Dark theme" into qt-dev 2019-06-24 19:03:16 +00:00
Fabian Kozynski
42c30aec01 Fix case of Dark theme
Test: manual
Fixes: 135711083
Change-Id: Ie97422e25e0dffd500d31496a4114b81d1f7218a
2019-06-24 09:52:41 -04:00
TreeHugger Robot
0b15745b37 Merge "Don't show hint while authenticating, show hint while pending confirmation" into qt-r1-dev 2019-06-20 01:46:24 +00:00
Kevin Chyn
d4e0b3b0d2 Don't show hint while authenticating, show hint while pending confirmation
Also, restore "enabled" state of confirm button, otherwise it becomes
available when changing configurations.

Also, "confirm" button should become visible+disabled when tapping try again

Fixes: 135618797

Test: E2E fingerprint and face, with various tests such as rotation during
      various states

Change-Id: I1073a4479077355f1c275faed933ac8510927251
2019-06-19 13:39:23 -07:00
TreeHugger Robot
969c3d9b87 Merge "Shortened and adjustable screen timeouts" into qt-r1-dev 2019-06-17 23:03:58 +00:00
Evan Laird
47df423280 Merge "Bump up contrast of NotificationInfo.Secondary" into qt-dev
am: 19d096e712

Change-Id: I6f69bf6b1079884924336f0fb0e1ac6026a11b75
2019-06-13 15:22:14 -07:00
Evan Laird
c9d0a499f7 Bump up contrast of NotificationInfo.Secondary
On a white background, the contrast needs to be at least 4.5

Test: Accessibility scanner
Fixes: 134900492
Change-Id: Ic03484bb00aa6ace6edd6b34eed34e2134f38340
2019-06-13 10:08:41 -04:00
Lucas Dupin
e90feadd88 Shortened and adjustable screen timeouts
- Display flickering timeout slightly shortened
- Lock screen timeout now can be configured in config_lockScreenDisplayTimeout

Test: pressing power and waiting for timeout on LS
Test: pressing power and waiting for timeout on bouncer
Bug: 134781705
Change-Id: Idd96514b01c719ad6df7cd4674af9b78b626e0e4
2019-06-12 16:27:17 -07:00
Zhen Zhang
ea2d2267be Change quick setting min_num_tiles number and text to resources value.
Bug: 130030850
Test: manually test by removing quick setting tile until we have 6. The
system will stop them at 6 and showing message "You need at least 6
tiles".

Change-Id: If2a4a42a4d3859908a2b529e2faae214fe6cebb6
(cherry picked from commit ad0a6fdbb1)
2019-06-12 16:09:45 +00:00
Selim Cinek
c3fec68900 Removed the AmbientPulseManager
We only want a single pulse manager since notifications
need to dynamically switch from pulsing to heads up
in the future.

Bug: 130327302
Change-Id: I0cbf23a69f33850776df81c4616932409670fe67
2019-06-11 13:58:02 -07:00
Selim Cinek
521702935c Merge "Not rendering the dark icons with the shelf anymore" into qt-r1-dev 2019-06-06 21:05:11 +00:00
Selim Cinek
195dfc5db6 Not rendering the dark icons with the shelf anymore
Instead it is rendered by a dedicated container.
This will help with a lot of the transitions that
are necessary for the bypass and also fixes the
coloring of the notification icons on the lockscreen.

Fixes: 133869048
Bug: 130327302
Bug: 133182504
Test: atest SystemUITests
Change-Id: I422b3da488fdac6577173d41b26c67f81c7826c5
2019-06-06 11:26:03 -07:00
Lucas Dupin
877adf1dfd Lock screen string change
Test: manual
Fixes: 133876098
Change-Id: Ie45c68098b7e4cf4605c33ea4767444ddc85537e
2019-06-04 18:56:49 -07:00
Amin Shaikh
19c8df2517 Merge "Update battery content description." into qt-dev
am: 5c9415dd1a

Change-Id: I979b5d0a0f75ed7e494cd99b35e5ab74dad3ada8
2019-05-31 14:07:37 -07:00
Amin Shaikh
44386742fd Update battery content description.
Ensure "battery" and "percent" are included.

Bug: 134035327
Test: make; enable talkback
Change-Id: I4c8a0a2c53333bc24b7075f19ca9ec4f9203167e
2019-05-31 09:25:38 -04:00
Winson Chung
74ab46629e Merge "Ensure margins for floating rotation button account for corner insets" into qt-dev
am: 64fc46315f

Change-Id: I8403d942429a06a27e79808c30e2e8813bf198e9
2019-05-30 21:06:51 -07:00
Winson Chung
64fc46315f Merge "Ensure margins for floating rotation button account for corner insets" into qt-dev 2019-05-31 03:41:33 +00:00
Felka Chang
c6f2a4f41f Merge "Fix notification shade inefficient contrast" into qt-dev
am: f185b652bd

Change-Id: I3de394c9687e4322b4bfbd5b33c02e1a3b27cc44
2019-05-30 18:38:27 -07:00
TreeHugger Robot
f185b652bd Merge "Fix notification shade inefficient contrast" into qt-dev 2019-05-31 01:26:19 +00:00
Winson Chung
082e8dfb06 Ensure margins for floating rotation button account for corner insets
Bug: 134070810
Test: On P4, rotate the screen and see the button
Change-Id: I67159e94a3a03e8a580b943d860ad32b1753e160
2019-05-30 16:18:00 -07:00
Mehdi Alizadeh
71cb077172 Merge "Adds strings for notifications when default launcher changes" into qt-dev
am: 32d97863d6

Change-Id: Ic6d507eed5cdcb6ed3c35847640ea13c30bf31c6
2019-05-30 14:22:18 -07:00
Mehdi Alizadeh
32d97863d6 Merge "Adds strings for notifications when default launcher changes" into qt-dev 2019-05-30 21:13:08 +00:00
Mehdi Alizadeh
4a0c923c96 Adds strings for notifications when default launcher changes
Bug: 129532605
Test: None
Change-Id: Ie85dfc704939db217c9b59724e0a586020aaa797
2019-05-30 12:00:39 -07:00
Lucas Dupin
839b7183d6 Merge "Move bypass default value to framework" into qt-r1-dev 2019-05-30 06:50:17 +00:00
Miranda Kephart
0bcd698481 Merge "Add white edgelights to AOSP" into qt-dev 2019-05-30 02:15:55 +00:00
Miranda Kephart
433c811755 Add white edgelights to AOSP
Moves most of the invocation code (as well as PerimeterPathGuide,
CornerPathRenderer, and EdgeLight) into base SystemUI. Shows
white edge lights coming in from the corners into the center, from
gesture or squeeze.

Bug: 132984557
Test: manual

Change-Id: Icbe611c3513f24f0ac13b68bd4d65f7cb4d402d6
2019-05-29 18:34:58 -04:00
Felka Chang
97bc8d592f Fix notification shade inefficient contrast
Because the color of the notification shade contains alpha channel,
the colors in wallpaper blend with the color of the notification
shade. After the blending with wallpaper colors and notification
shade color, the contrast ratio between gear icon and the blending
color is not enough.
The solution is to use the solid color rather than the colors with
the transparency.
Light Theme: shade=#E8EAED gear=#5f6368
Dark Theme: shade=#202124 gear=#9aa0a6

Fixes: 124379911
Test: atest SystemUITests
Change-Id: I0e436a1f6b5507c5083b4b1b9811166d0fb41da7
2019-05-29 19:41:49 +08:00
Lucas Dupin
1b883b4858 Move bypass default value to framework
It also needs to be read from Settings

Bug: 130327302
Test: make
Test: toggle setting on Settings app
Change-Id: I46b7e61764e4bc9a07110e4b0b25deb7bc0b88f1
2019-05-28 19:48:21 -07:00
Tracy Zhou
64f3175974 Merge "Set the floating rotation button to be visible." into qt-dev 2019-05-28 23:37:41 +00:00
Tracy Zhou
4f15c46a31 Set the floating rotation button to be visible.
The layout is shared by both FloatingRotationButton and
RotationContextButton and therefore it's invisible by default.

Fixes: 132201048
Test: manual
Change-Id: I131cb4eac7a31b41988fe5d8876efce5af0a8327
2019-05-28 14:58:43 -07:00
TreeHugger Robot
7692d97543 Merge "Move config for inflateSignalStrength" into qt-dev 2019-05-28 21:54:12 +00:00
Ned Burns
2810896630 Merge "Update guts to match latest specs" into qt-dev 2019-05-28 18:31:16 +00:00