Add the PWLE vibration pattern to the config.xml overlays for Pixel 2021
devices that support frequency control.
The patterns use the amplitude and frequency hand-designed for both
raven and oriole devices. The amplitude is using the maximum supported
value of 0.4, to allow scaling based on user settings.
Bug: 212366218
Test: manual
Change-Id: I73a2f3e50901b80aef299f4c8e9807a551170bbc
Merged-In: I73a2f3e50901b80aef299f4c8e9807a551170bbc
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.
Bug: 186604541
Test: make
Change-Id: Ib2ebacbc3250a1c2a2ad2b26f92eda6651fec37a
Moving forward, binned brightness will not
use prox. Let's get rid of this unnecessary config.
Test: manual
Bug: 194151347
Change-Id: I3352a3007138232c32aeb43ce4ec3ce97dad239d
Update the e-label of GR1YH and add the e-labels for GB7N6 and G9S9B.
Fixes: 187845531
Test: visual
Change-Id: I82bc0468167f9734442e90790ffe1b78d5e5979e
There's still 2px offset when transitioning from
KeyguardStatusBarView to PhoneStatusBarView.
To make the visual perfect, we can adjust more 0.5dp.
Test: Visual
Test: atest SystemUITests
Bug: 195670442
Change-Id: I84d10f2dad665fcbdb01665f5056d08b3c20e0d7
Adjust the system_icons_keyguard_padding_end for O6/R4
Consider below scenario:
1. Enable/Disable multi-user: This case must have x-asix shift due to
home StatusBar did not designed to show avator icon
2. Keyguard/Home StatusBar alignment
3. w/ & w/o privacy dot
4. w/ & w/o plug-in USB cable
5. w/ & w/o show battery percentage
Test: build and check the visual
Bug: 195670442
Change-Id: I783c026e46d7cc01839a4e56fed9fdb89ca6b194
This should not scale with density size increases b/c the
sensor size is fixed.
Test: manual
Change-Id: I84cd73992b657ee292873fd7ba4bf6e73fc6b349
Fixes: 195564809
Update customization for O6/R4
1. Put status_bar_header_height_kegyuard in correct folder
2. Refine system_icons_super_container_avatarless_margin_end
3. Refine the config_mainBuiltInDisplayCutoutRectApproximation xPos
4. Remove unused system_icons_keyguard_padding_end
5. Adjust window rounded corner radius to match H/W corners
Test: manual build and check visual
Test: In keyguard, launch camera and exit, check provacy dot position
Test: In Keyguard, check keyguard status bar height algin home statusbar
Test: atest SystemUITests
Bug: 194324044
Change-Id: I8856b0ae9d5124b44a3aab89b0de8d8ddbe5a4c8
This config indicate whether to allow the device to suspend
when the screen is off due to the proximity sensor. This
resource should only be set to true if the sensor HAL correctly
handles the proximity sensor as a wake-up source. Otherwise,
the device may fail to wake out of suspend reliably.
Bug: 192324731
Test: 1. Unplug USB. 2. make a phone call.
Test: 3. Cover p-sensor, the screen turns off for 10 seconds
Test: 4. Uncover p-sensor. 5. Plug USB.
Test: 6. 'adb shell dmesg | grep suspend' to check if AP ever suspend in calls.
Change-Id: I90c0ef56211908b5a211d9f887bbfc6693a3be40
This reduces the brightening and darkening light debounce
configuration to match R3 and earlier Pixel devices.
Bug: 185770517
Test: Verified "dumpsys display" shows correct config values.
Verified brightness transitions are similar to R3 now.
Change-Id: I6bd47cb52c28c63ece6b5247344a6cf062eb31ea
Update the Default brightenss to 0.17429718 for mapping to 140 nits
Bug: 187917731
Test: Dump the display log and check mScreenBrightness
Change-Id: I9836a2dd0127c881b0eceb4d2c908bb52ea709e7
Set Zone 2: < 30 Lux and UI brightness 45%. Lock 90Hz
Set Zone 3: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz
Bug: 187929149
Bug: 190018500
Test: no refresh rate chagne in the blocking zone
Change-Id: Iffe10c76cfff1c8eac9361e68a10377d26b48d10
Set night/low as 2 nits, sun/high as 50 nits
Bug: 184728677
Test: Boot test and check AOD brightness
Change-Id: I0e6f5fda297f3e57f21a1d45e2f70b0dcccf04d1
This CL transitions the regular build to the AIDL fingerprint HAL, while
keeping the factory build on HIDL.
AuthService reports "Registering HIDL ID: 0 Modality: 2 Strength: 15"
only for the factory build.
Bug: 188193467
Test: build oriole-userdebug
Test: build factory_oriole-userdebug
Test: adb logcat | grep AuthService
Change-Id: I2c10239b93f9c8025607643385304b16f24f5dc6
The patch turns on smooth display in Settings App by default to allow
more users experience 120Hz. Users can still disable the feature in
Settings App.
Bug: 185102566
Test: Basic panel flickering and performance tests by UTD
Change-Id: I67420f5625294873095c624d75ee7914bbe22035
Enables default setting to 90hz mode, this can be disabled through
Settings app.
Bug: 179149537
Test: wipe user settings and check default peak refresh rate enabled
Change-Id: I5c5bd2f72c7a348f802a631b14cad45ca81462a9