Commit graph

45 commits

Author SHA1 Message Date
Evan Laird
9f9a33218c Update device corners and holepunch
This CL updates the paths for the corners as
well as small adjustments to the front-facing holepunch camera.

Test: adb shell setprop debug.screenshot_rounded_corners 1 // then restart sysui
Bug: 238416581
Change-Id: Idfe83b9732b30a8fff92ed1eb5bc8959ab1526eb
2022-09-23 20:24:07 +00:00
Ilya Matyukhin
55fdb7f923 p10: remove unused udfps_illumination_transition_ms
Bug: 243818429
Test: N/A
Change-Id: I198e4991e06951e0b324726649c9e967e8aac6fb
Merged-In: I198e4991e06951e0b324726649c9e967e8aac6fb
2022-09-19 23:50:26 +00:00
Beverly
1a1f44c185 Update udfps burn in vertical translation am: ea44163534
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19429533

Change-Id: I2d47bf24339dfa268fd5974bd497688f224eaa22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 23:13:23 +00:00
Beverly
ea44163534 Update udfps burn in vertical translation
So that the mm conversion is less than 1.

Also update missing config auth_ripple_alpha_in_duration
which should have been migrated to be 0 since the device
supports UDFPS.

Test: manual
Bug: 237311757
Change-Id: Ia0ba3145250ea16e58803651d77471f9c701b444
2022-07-26 20:44:13 +00:00
Sam Ou
8d5dc506a7 power_profile: update modem power numbers
Bug: 209525694
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Ie685e86feeb0ed3719b5cdebccd0a2218e2a2a6d
2022-07-18 03:58:38 +00:00
Tai Kuo
661e6c8c17 Set audio haptic channel amplitude limit
Bug: 236709186
Test: dumpsys vibrator_manager
Change-Id: I23cf1e7dab264448dd0675bb1939135ae0cacd02
2022-07-04 01:34:01 +00:00
Vincent Wang
48101c1997 Move haptic from FaceAuthenticationClient to SysUI(2/2)
Disable haptic from biometric framework & enable haptic in
SysUI

BUG: 231756704
Test: Check if the haptic is abnormal on C10/P10
Change-Id: I40745b34fb6a75318f180c438bbfa7fa461e445a
2022-06-13 05:16:07 +00:00
linpeter
d1335270f3 display: blocking zone update and hbm sunlight refresh rate
zone1 condition(10 nits) in 90Hz
zone2 condition(15 nits, 10 Lux) in 90Hz

Sunlight high brightness mode in 90Hz

Bug: 222637975
Test: check dumpsys
Change-Id: I1c4b3f90d9513f587921c7360b3e257b32b166e8
2022-06-10 01:45:00 +00:00
Grace Cheng
be0d2baf7a Adjust lock icon padding for visual match on C10/P10
Adjust lock icon padding for visual match on C10/P10

Bug: 219895641
Test: Visual comparison of alignment using layout inspector
Change-Id: Iffb6fb6344a29c5cc217f1ff4897790a784e6829
2022-06-09 21:56:40 +00:00
Beverly
9d342cabbe Update longpress time on lock icon to 100ms
Test: manual
Bug: 231712181
Change-Id: I0a9faf86b690399d7bc901e0fc8f72f9f7435b63
2022-06-09 14:27:47 +00:00
edyblin
69136ea87e Update ./DevInfo/Mod model name am: a7e8dbb927
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18492027

Change-Id: I91e5303db3cec0c875473f07ae0bf9a058ad1fa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 17:48:17 +00:00
edyblin
a7e8dbb927 Update ./DevInfo/Mod model name
Need to set model name to GE2AE and GQML3
Bug: 232495475
Test: Pass at b/232495475#comment7

Change-Id: I21cc02b2a980f493a34bcfcd40117bb827504075
2022-05-25 17:21:09 +00:00
SianyiHuang
099addb63d Config: Update Auto Brightness debounce and ambient threshold setting
Bug: 233283720
Test: adb shell dumpsys display and check debounce and ambien threshold
seting

Change-Id: I36cc5cf257869c37304c6525d1965a61da5bd037
2022-05-25 05:39:18 +00:00
linpeter
46546e2e2c display: update the indoor auto-brightness curve
Modified the indoor range mapping in
the indoor auto-brightness curve.

Bug: 200227638
Test: check the default curve
Change-Id: I7b9219023fabdefe05cb910666c0e0ff998ed06c
2022-05-24 07:21:14 +00:00
Bill Lin
fdf0d5d091 Add quickpickup sensor to config.xml am: 21240c5ca5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18401597

Change-Id: Id1a42287c84ddb275dcc259ce2d1214b349a0e8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 12:20:20 +00:00
Bill Lin
21240c5ca5 Add quickpickup sensor to config.xml
Test: manual enable AOD and verify quick pick up gesture
Bug: 232717890
Change-Id: I5ae6f871168368e351a64a9f4337c83d14f4ecca
2022-05-17 17:41:02 +08:00
Jing Ji
97125e45f9 Turn on auto restricted bucket on abusive bg battery usage am: 0496799caa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18337180

Change-Id: I6f6b08e87745df739ded6a62b61802eb2cf0ffd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 18:21:08 +00:00
Jing Ji
0496799caa Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.
Bug: 203105544
Test: dumpsys activity -a

Change-Id: I1c841edbbcea6cd37e1495abd95a9b55ead5babc
2022-05-13 18:01:56 +00:00
Long Ling
b6636294d7 display: fix hbm hdr at 60 hz
Bug: 229942385
Change-Id: Id20fbbb4bad5885613843a46df16db39eef350a9
2022-05-12 17:51:14 +00:00
samou
53a6f56c31 power_profile: Correct CPU topology and update power number
Bug: 219870109
Signed-off-by: samou <samou@google.com>
Change-Id: I45b40c4f2f1942d7246d5dbc5fdb237a6ecc571c
2022-05-05 08:02:06 +00:00
William Tai
5df8c12d59 panther: add display high blocking zone
High blocking zone: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz

Bug: 222637975
Test: manual test
Change-Id: Iabd0409c3989cf0000030d93f70c8715eca4174a
2022-04-29 01:45:56 +00:00
Jason Chang
07462d28c2 Phase out config_roundedCornerMultipleRadius from overlay package am: beb111be34
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17782663

Change-Id: I941c63cc5aeda856fedf6980c3db6cc2ee63c7b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 06:34:47 +00:00
Jason Chang
beb111be34 Phase out config_roundedCornerMultipleRadius from overlay package
[P10/C10]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I325157ca5163d9c429724000be73c07728fbdc45
2022-04-21 06:17:44 +00:00
Avinash Malipatil
0ae8841b8e Enable ONS auto provisioning using device config
Bug: 229727068
Test: Manual. Flash the device with the binary including this change and check adb logs. ERR_AUTO_PROVISIONING_DISABLED should not be printed.
Change-Id: I826f86c9943573d25ffeb1ac9761a29c03bf4cc9
2022-04-19 14:03:57 +00:00
shawnlin
f94b464832 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: Iff388639497a7955e363c3372d79ead35831bea5
2022-04-12 02:15:55 +00:00
linpeter
3b4f9c3cdc display: update the outdoor auto-brightness curve
Modified the outdoor range mapping in
the outdoor auto-brightness curve.

Bug: 213251504
Test: check the default curve
Change-Id: I387e87f343ffe7af72fb965f2c7ea05eb85dfda1
2022-04-06 10:03:44 +00:00
William Tai
8489809c43 P22: update display blocking zone for EVT1.0
C10:
zone condition(5 nits, 5 Lux) in 120Hz
P10:
zone1 condition(20 nits) in 90Hz
zone2 condition(25 nits, 20 Lux) in 90Hz

Bug: 220878644
Change-Id: Id8c94230c070812093600f32e7326d8550794f6d
2022-03-23 07:46:02 +00:00
Joshua Mccloskey
181a35eb41 Devices will not skip lockscreen after face unlock
Test: Verified after face authentication is done, the lockscreen
is not skipped.
Fixes: 219634181

Change-Id: Ife19c5b6ac60c60d6cc6f68f32dc6755426043b0
2022-03-23 01:04:46 +00:00
Gary Jian
8358d48714 Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: I16b665f72aae3b7e82c7f46a608eed36bbddae7f
2022-03-16 17:53:01 +08:00
ryanlwlin
28f176b9fc Add override for fingerprint sensor gesture support
Bug: 222019218
Test: atest AccessibilityFingerprintGestureTest
Change-Id: Ic36efe75a02cb707adc5c9aab10ec8916644c890
2022-03-16 09:14:39 +00:00
William Tai
c7e91120e4 Update SystemUI config.xml
- Add Doze settings

Test: manual
Bug: 199469793
Bug: 199468273
Change-Id: I05aa9305781539444e37a2e2ae0b05f0c8fbf79a
2022-03-11 05:22:05 +00:00
Kris Chen
cd8a034fd9 c10p10: Add config_udfps_illumination_transition_ms
Bug: 197780765
Test: Enroll and authenticate fingerprints.
Change-Id: I5101da79c856481d6509d0ef36af8eef7dbbbf05
2022-03-07 01:44:25 +00:00
Chris Kuiper
cdc1dc5379 Config: Fine-tune ambient thresholds for brightness stability.
Porting to C10/P10.

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: I68d2121bb8694aab0e23ab67b5cc2cc5d5b1fdb4
2022-02-17 16:53:48 +00:00
samou
d321e3f112 Create initial power_profile.xml
Bug: 219368899
Change-Id: I38c0c65e5be0b4ae3fb22637f3273d039b1fd685
2022-02-17 09:08:16 +00:00
Midas Chien
ba2ac351b5 display: enable smooth display by default
Turn on Smooth Display in Settings App by default. Users can disable it
in Settings App.

Bug: 219650450
Test: Smooth Display is enabled by default after factory reset
Change-Id: I3acc5d548bad8a5068a75140673512ba793890e8
2022-02-17 02:21:59 +00:00
Robin Hsu
9adc062bcc config.xml: max_cached_processes changed to 64
Bug: 190531672
Test: dumpsys activity -i | grep -i cached_process
Signed-off-by: Robin Hsu <robinhsu@google.com>
Change-Id: I3cf8989a398ea594187b0e5a8cc8bad315b78ac3
2022-02-16 14:25:35 +00:00
Kris Chen
db6c57f396 c10p10: Add config_dozeUdfpsLongPressSensorType
Bug: 219382123
Test: sysui has registered the udfps gesture after entering AOD.
Change-Id: I872406401b4f849e866cb28e406552074a929f84
2022-02-15 12:54:22 +00:00
Bill Lin
5a664f4f15 Update C10/P10 SysUI overlay customization
1. [C10]Remove duplicate config_frontBuiltInDisplayCutoutProtection
2. [C10]Shift right config_frontBuiltInDisplayCutoutProtection position
3. [P10]Shift down config_frontBuiltInDisplayCutoutProtection position

Test: make and flash + enable rounded corner debug + launch front camera
Bug: 199469413
Bug: 203593020
Bug: 199468172
Change-Id: Iec8aaefe9ac649940d2364a95c12c75b69e34871
2022-02-14 09:03:07 +00:00
Tim Lin
59ca0ca6bf Add MMS UA, UAProf for C10/P10
Bug: 216398771
Test: make
Change-Id: I2f36baa3a28c1a4be3f07bafc5c9646180045baa
2022-02-10 12:01:30 +00:00
Yohei Yukawa
ca6b8be9e5 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: I373b59068959d96f46f8d2d48e4923fbe8c961c8
2022-01-29 02:31:37 +00:00
SianyiHuang
70440096d6 Config: Update Auto Brightness debounce setting
Bug: 216280663
Test: adb shell dumpsys display and check debounce setting
Change-Id: Ib11c5ded76e2cfe76e16ebe54d9ff2d31ac72eb5
2022-01-27 03:43:23 +00:00
Bill Lin
3ecded6453 Revert some customization config from C10/P10
Previously ag/16573869,ag/16655971 accidently migration some
config unrelated to rounded corner / display cutout.

Test: make and flash, enable debug mode and check visual
Bug: 199468172
Bug: 199467921
Bug: 203593020
Bug: 203592814
Change-Id: Idb5ecfd6e20293c083c3e13a926eef2c48d9605d
2022-01-17 16:49:36 +08:00
Bill Lin
b5f4b7da86 Customize Rounded Corner and punch hole for P10
Screen size : 1080x2400

Test: make and enable debug
Bug: 199469413
Bug: 199469519
Change-Id: Ica99e6ce1d56f1e6eed1ccd136a566d5cd8a99e7
2022-01-07 11:30:57 +00:00
William Tai
9acaa7507c Create initial config.xml
Create config.xml to support device suspend when screen off due to
p-sensor and enable adapative brightness. Modify auto brightness
table to support 1000 nits in HBM mode.

Bug: 208358826
Bug: 199469930
Test: brightness and adaptive brightness manual test
Change-Id: I0831a7783f7a383fa86ddea180d76d9ef4ba9f97
2021-12-03 08:50:26 +00:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00