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
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
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
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
Users where missing the music controls so
we are showing a headsup for them on the
lockscreen.
Fixes: 134543453
Change-Id: I089fa8ff35b918f485f79e09393173f05971a73e
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
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
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
On a white background, the contrast needs to be at least 4.5
Test: Accessibility scanner
Fixes: 134900492
Change-Id: Ic03484bb00aa6ace6edd6b34eed34e2134f38340
- 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
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)
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
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
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
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
It also needs to be read from Settings
Bug: 130327302
Test: make
Test: toggle setting on Settings app
Change-Id: I46b7e61764e4bc9a07110e4b0b25deb7bc0b88f1
The layout is shared by both FloatingRotationButton and
RotationContextButton and therefore it's invisible by default.
Fixes: 132201048
Test: manual
Change-Id: I131cb4eac7a31b41988fe5d8876efce5af0a8327