Commit graph

34 commits

Author SHA1 Message Date
Nicolò Mazzucato
3029b6ee68 Merge "Increase keyguardDrawnTimeout to reduce fold->AOD flickers" into tm-qpr-dev 2023-03-13 19:39:51 +00:00
Nicolo' Mazzucato
628167f508 Increase keyguardDrawnTimeout to reduce fold->AOD flickers
This is a temporary measure to decrease the chances of flickers when folding to aod, while we work in parallel to decrease latency.

According to ww metrics, Fold to AoD takes:

p50: 714ms
p89: 1020ms
p95: 1147ms
p99: 1577ms

Once we hit the keyguard drawn timeout, the screen is turned on . However, in some cases sysui and launcher are not ready, and this results with the screen on while showing the unfolded layout, with a rapid transition to the folded one (according to pitot data[1], this happens in 11% of the fold->aod).

This cl sets the timeout to 1700ms (slightly higher than p99). In this way, the chances to have flicker are greatly reduced, but the underlying latency problem remains.
In parallel, we're looking to decrease this latency (see bug).

[1] https://screenshot.googleplex.com/9gV9nEfpstkJmCt

Bug: 243015678
Test: fold->aod many times, no flicker.
Change-Id: I0738901279136dd7577016a3ba46dc4c5b9a86f1
2023-03-10 08:26:16 +00:00
TreeHugger Robot
4346d16968 Merge "Persist the nit brightness for the default display" into tm-qpr-dev 2023-03-09 15:11:33 +00:00
Piotr Wilczyński
0af89589cf Persist the nit brightness for the default display
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.

Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
Merged-In: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
2023-03-09 11:36:06 +00:00
Weizhung Ding
2e9591f5b3 extend lux/brightness mapping table
extend lux/brightness mapping table to support 1200nits

Bug: 270673324
Test: brightness level can be 100%
Change-Id: Ie77e797fa5f4a860f8fdd6c84379819dd870192d
2023-03-06 12:43:04 +00:00
Amy Hsu
aaa5680897 display: remove the blocking zone for HBM HDR in config
We have different settings for inner and outer. So we will use display
config to set them separately.

Bug: 258107876
Test: manual testing
Change-Id: I12ea64b9874ee79eec94c4ede6fa2320b27d0c41
2023-02-13 08:24:10 +00:00
lbill
09aafc6f77 Customize AuthCredentialPatternContainerStyle for F10
In unfold display, the pattern view UI showing in 2 panes
But the additional horizontal padding make the pattern view
truncate.

Test: build and flash, use demo BP to check the pattern view UI
Test: run CTSVerifier and check the test
Bug: 268276210
Change-Id: Idc040bf7f022c1a282c46d1652a0ce3ca75c1839
2023-02-09 11:49:20 +00:00
Nick Chameyev
a976196f43 Update StatusBar height for portrait unfolded screeen
Currently, 3P apps could read the system resource
of status bar height for portrait orientation on the
unfolded screen. Updating this value to a correct one.

Bug: 264656380
Change-Id: I859b7c756f1dab88373bf2116cf1638a5faae624
Test: manual
2023-01-18 17:55:37 +00:00
Bill Lin
a439291b27 Merge "5/ Turn ON face auth dismisses keyguard by default on F10" into tm-qpr-dev 2023-01-12 07:20:36 +00:00
lbill
4e71fdbecd 4-2/ Config config_face_auth_supported_posture to listen for face on folded state
1. Set config_face_auth_supported_posture to 1(DEVICE_POSTURE_CLOSED)
2. Set the camera id to 1 for the front camera

Test: Check face auth do not active when device on unfolded state
Test: Check face auth active when device on folded state
Bug: 260636659

Change-Id: I6cbaa43bd7a60e3ac1aa1c14c8bb6559c7e3a8c6
2022-12-22 18:17:53 +08:00
lbill
a526c9aeaa 5/ Turn ON face auth dismisses keyguard by default on F10
Bug: 260636659
Test: manual build and check face auth default settings
Change-Id: I592b3b69cf3e078f4dad9466a044da9526c3400b
2022-12-16 07:25:05 +00:00
Amy Hsu
2bfe63fde4 Merge "display: add blocking zone for HBM HDR" into tm-qpr-dev 2022-12-12 04:05:05 +00:00
Beverly
83da95b468 Remove udfps-configs for device w/o udfps
Removes sensors specified for:
   config_dozeUdfpsLongPressSensorType
   config_quickPickupSensorType

Test: builds, AoD works
Fixes: 261748785
Change-Id: I53364c8e00a15c4a8b3efdcffef3dd8a6d512c50
2022-12-08 14:34:57 +00:00
Amy Hsu
c3a13c7ce3 display: add blocking zone for HBM HDR
fix hbm hdr at 60 hz

Bug: 259644610
Test: Check FPS when playing HDR video and at HBM mode.
Change-Id: Ie1073fb5fd51c3a4fc166f2838944e6b28540198
2022-12-08 01:35:24 +00:00
Shawn Lin
78be149aab Update status bar height to center the hole punch cutout
Bug: 253071694
Test: make
Change-Id: I76602279a987af0593e8585606a80b33fc4d71c5
2022-10-17 19:07:58 +08:00
Weizhung Ding
d328c82ab7 Enabel smooth display
Bug: 234327332
Test: entry/exit idle and AoD
Change-Id: Icebb3e85ff23631b051d11a359c44a7efe28cdad
2022-10-11 10:43:25 +08:00
Shawn Lin
cad27fd619 Update cutout & rounded corner configs
Bug: 234327307
Test: make
Change-Id: Ib855e5cf965e9bb76b736cad9a8ea2593879adc2
(cherry picked from commit da937e8ca0)
Merged-In: Ib855e5cf965e9bb76b736cad9a8ea2593879adc2
2022-09-20 09:14:51 +00:00
Gil Liu
c358c2b727 Merge "display: update AOD brightness setting" into tm-qpr-dev 2022-09-16 07:58:34 +00:00
Gary Jian
58bcd73499 Merge "Correct MMS UA, UAProf for F10" into tm-qpr-dev 2022-09-16 06:45:03 +00:00
Gary Jian
18f271ab61 Correct MMS UA, UAProf for F10
Bug: 239520846
Test: make
Change-Id: Id42f8cffef9997e79ce602e32440fb07fc65338b
2022-09-14 11:41:51 +08:00
gilliu
7a8d1b7ad0 display: update AOD brightness setting
Bug: 244389620
Test: check AOD brightness
Change-Id: Iadce02f701e1572a269a739c0c18224fd955a442
2022-09-06 08:50:21 +00:00
Alex Chau
cf1f36d2c4 Fix height of status bar
Fix: 244590750
Test: none
Change-Id: I507608b7fd13b2cb0ac0650db6b5c2372bffb211
2022-09-01 18:12:56 +01:00
Gil
3f58156018 Config: Update display config file
1. Auto Brightness debounce
2. ambient threshold setting
3. Auto Brightness table

Bug: 234326197
Bug: 234327304
Test: adb shell dumpsys display
Change-Id: I387dae5c5c8a554ccdeb799462e5553089c257dd
2022-08-30 20:10:59 +08:00
Burney Yu
f1af595c4e F10: update default brightness
update default brightness in kernel to match the brightness from bootloader.

Test: make dist -j 128
Bug: 234327433
Change-Id: Iadc96325addda2fa569a70bd7d6aa14e5c181ad2
2022-08-16 18:53:52 +08:00
Gary Jian
6d96a3ba30 Handle the network selection restoring in modem side
Bug: 240654108
Test: manual
Change-Id: Ia2aab8cbb3beb2aea572a29f2a125e2ed185262c
2022-08-03 16:39:53 +08:00
Tai Kuo
a18f357b38 Set audio haptic channel amplitude limit
Bug: 236709186
Test: dumpsys vibrator_manager
Change-Id: I8e1555c29aa2f617d49b277d13bdfc74303d341f
2022-07-27 12:01:55 +00:00
Sam Ou
573f754531 Merge "power_profile: update modem power numbers" into tm-qpr-dev 2022-07-18 03:58:40 +00:00
Sam Ou
6c75444bbf power_profile: update modem power numbers
Bug: 209525694
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Ife6448f674a63a9361867f9f4ebefa79f60698b1
2022-06-23 04:01:44 +00:00
TreeHugger Robot
e0232c5006 Merge "power_profile: Correct CPU topology and update power number" into tm-qpr-dev 2022-04-28 10:42:24 +00:00
Sam Ou
caf4102a07 power_profile: Correct CPU topology and update power number
Bug: 219870109
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Ib17f537fe1206f6315eb0f1e57f864363c551180
2022-04-28 06:31:22 +00:00
Jason Chang
2ed03b57ac Phase out config_roundedCornerMultipleRadius from overlay package
[F10]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I05b19a61800cbe016a950c9a0e75de5e52fcda53
2022-04-16 19:46:46 +08:00
Cyan_Hsieh
687519c606 update felix device
based on pipit   93e38fbd070b55875d9c23e214dff6d26ac0cdf9
based on cheetah cdc1dc5379faf6bb60cf4f8b4b967ae87992b2ed

Bug: 206057564
Change-Id: I68ca7715cf7fd96066d8d517bc4daf236512f501
2022-03-08 10:59:22 +08:00
Yohei Yukawa
08fdad3260 Migrate "rounded_corner_content_padding"
This CL updates resource overlay of

  rounded_corner_content_padding

so that the same device-specific value can be seen from both the
Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: I7564a8d3f587ce735b74fbda6b4ea066f266d486
2022-01-28 12:42:59 -08:00
Cyan_Hsieh
e7cfbb7e37 Initialize device felix
based on pipit 68a0b4b411e8d23dfd966d24a5c35ea4ffb9d5f1
and cheetah 9acaa7507c23ffc7ca5f82a9579dd3a7c56af809

Bug: 206057564
Change-Id: Id59ed48d2a39c9a5a811c41157732914f3568d51
2021-12-08 16:10:12 +08:00