Commit graph

130 commits

Author SHA1 Message Date
Evan Laird
4990157024 [Cutout] Make cutout rect approximation intersect with y=0
Tokay, Caiman, and Komodo all had cutout rect approximations that did
not intersect with the top edge of the phone (they did not start at
y=0). This was causing logic in SystemUI not to be aware of _which_ edge
the cutout was associated with, and thus in some cases would not account
for potential letterboxing.

This change modifies the rect approximations to start at y=0, and adds
that same amount to their height so that the sizing should be the same.

Test: manually verified the .svg shapes
Test: manual on device
Bug: 319203599
Flag: NONE
Change-Id: I2e669b8d178eb5ace29b0d4f68c1e500b545d601
2024-04-18 10:38:21 -04:00
Treehugger Robot
f6653ddbf8 Merge "uwb: update calibrations" into 24D1-dev am: 9815540170
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/26968784

Change-Id: Ia471070e2444e27b9d877a7e1472f6dda8c7031b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 21:02:35 +00:00
Hasan Awais
68a0cd3d1f uwb: update calibrations
Bug: 309643761
Change-Id: Ib12c31ca8eb9dc47e754f737bb6c30070436ade6
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-04-15 12:41:31 -07:00
Haijie Hong
a8c54b6c00 Update panel top corners for p24
Flag: aconfig new_volume_panel TEAMFOOD
Test: manual on the phone
Bug: 330795383
Change-Id: Iab9bb823b2bd944be41dede5d0fb26d4d23deef3
2024-04-15 08:13:20 +00:00
Treehugger Robot
a2bfef343a Merge "uwb: update calibrations" into 24D1-dev 2024-04-12 23:57:30 +00:00
Hasan Awais
764a8de4b9 uwb: update calibrations
Bug: 333728140
Bug: 334113564
Change-Id: I7148e2ad4e09ded1e93adb2f3378188f21c9b109
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-04-12 22:06:50 +00:00
Treehugger Robot
6608a445b5 Merge "uwb: update calibrations" into 24D1-dev 2024-04-12 18:50:56 +00:00
Samridhi
cd503d7315 Merge "Add component override for komodo, tokay, caiman" into 24D1-dev 2024-04-12 18:02:17 +00:00
Hasan Awais
3adc38061c uwb: update calibrations
Bug: 309643761
Change-Id: I2eaecffa3f5f4af7918d33c28f92cf5c94f8548c
Signed-off-by: Hasan Awais <hasanawais@google.com>
(cherry picked from commit cd74fe9b41)
2024-04-12 15:50:09 +00:00
Samridhi
66023bce1e Add component override for komodo, tokay, caiman
Bug: 330743136
Test: MANUAL
Change-Id: Ia9a775316a52f794cc2db45d6d688972b5d40bf8
2024-04-12 04:58:00 +00:00
Kimi Hsu
e15d1f8651 Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: I70be19a730ff6d29b7eb18f27c26d217ae1727c4
(cherry picked from commit 517aca891b)
2024-04-11 01:36:18 +00:00
Shiyong Li
27cfc147f5 Merge changes from topic "km4/cm4-blockingzone_config" into 24D1-dev am: 386c8c0134
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/26767166

Change-Id: I7147a2af0726ac3720275db73e917b86dcc2dc95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 03:22:20 +00:00
Shiyong Li
386c8c0134 Merge changes from topic "km4/cm4-blockingzone_config" into 24D1-dev
* changes:
  display/cm4: remove blocking zone config
  display/km4: remove blocking zone config
2024-04-04 02:34:56 +00:00
Cutter Coryell
9b143000e7 Turn off ML in system back gesture am: fab889fb5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/26766737

Change-Id: I43e96aeabcc6b3fcd7e2987dde4df0406eb8cd60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-01 21:17:00 +00:00
Cutter Coryell
fab889fb5a Turn off ML in system back gesture
Bug: 329496560
Test: builds
Change-Id: I6fb4eb13078df82c576a9793edf8021b00333406
2024-04-01 17:52:08 +00:00
Jeremy DeHaan
41112461f0 display/cm4: remove blocking zone config
Remove blocking zone configuration in favor of displayconfig settings.

Bug: 327645820
Change-Id: Ieb7365e369f13b3a7024b953a85d47a96ec2a3a3
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2024-03-29 15:45:34 -07:00
Treehugger Robot
a66d19d483 Merge "uwb: update calibrations" into main 2024-03-19 21:52:52 +00:00
Hasan Awais
cd74fe9b41 uwb: update calibrations
Bug: 309643761
Change-Id: I2eaecffa3f5f4af7918d33c28f92cf5c94f8548c
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-03-19 13:03:36 -07:00
Kimi Hsu
e83bd29b1b Merge "Use rounded corner radius from max resolution" into main 2024-03-19 06:09:20 +00:00
Kimi Hsu
517aca891b Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: I70be19a730ff6d29b7eb18f27c26d217ae1727c4
2024-03-19 04:54:21 +00:00
Wei Wang
a5a799a6bb Merge "power_profile.xml: Update CPU Parameters for Caimito" into 24D1-dev 2024-03-14 23:35:33 +00:00
Kevin (Chung-Kai) Yang
e47c953824 power_profile.xml: Update CPU Parameters for Caimito
Test: manual test

Bug: 324079178
Change-Id: I397e30c91520ea6693f41724013ffc3cea5a33f0
Signed-off-by: Kevin (Chung-Kai) Yang <chungkaiyang@google.com>
2024-03-14 11:52:25 +00:00
Kevin (Chung-Kai) Yang
6b8115b74b power_profile: initialize caimito power_profile.xml
Test: manual test

Bug: 324079178
Change-Id: I5b897ffe36a51314ee4567087f72340cc17c70d6
Signed-off-by: Kevin (Chung-Kai) Yang <chungkaiyang@google.com>
2024-03-10 11:59:54 +00:00
Jeremy DeHaan
5697a5cfb0 display: cm4: update AOD brightness
Bug: 328365322
Change-Id: I7d1e401827b64efa76f6e24149d67a9fc10aa692
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2024-03-08 15:00:45 -08:00
Yabin Cui
2bda846652 Merge "caiman: add etm modules in userdebug/eng builds" into main 2024-03-04 18:36:10 +00:00
Yabin Cui
06b08f2a8b caiman: add etm modules in userdebug/eng builds
Since etm modules are not in the normal kernel prebuilts,
they get left out of modules.load. So also import rc
file to load them.

Bug: 321061072
Test: build and run caiman
Change-Id: Iaf41244bc1135b7528d3a3ec3e92a4e644f5ee53
2024-02-29 16:18:56 -08:00
Brad Lassey
8599e087d0 Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: I9a72ecd1032eb3899b3aa45a72443a164a79b798
2024-02-29 20:06:05 +00:00
Bill Yi
443a642059 Add AOSP support for caiman/komodo/tokay
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/caiman
platform/vendor/aosp/google_devices/komodo
platform/vendor/aosp/google_devices/tokay

and the path is
vendor/google_devices/caiman
vendor/google_devices/komodo
vendor/google_devices/tokay

BUG: 325612343
Change-Id: I881994da5b81e963f5427af1642e29bffdca9c97
2024-02-27 14:26:16 -08:00
Jeremy DeHaan
0fdfd18c51 display: cm4: don't apply overlay in low light
Bug: 325072661
Change-Id: I6246682513ebbcc3b21e0c42b69d175eb46c719e
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2024-02-14 16:51:25 -08:00
Beverly
1e95d331b5 Update face auth sensor location
These values are used to calculate the size of the
screen decoration overlays (however, the actual
camera protection is provided by the camera callback).

Test: manual
Fixes: 324018508
Flag: none
Change-Id: Ie4a4100ba98ca9e69f43ca32a0cc36e6002b08f0
2024-02-13 18:40:25 +00:00
Charlotte Lu
42572896ec Edit JP Initial MIC elabel name
Fix: 317019325

Test: Visual
Change-Id: Ib6c9a9eaf76716daabfcd0166954678ea770c4e9
2024-01-31 16:53:56 +08:00
Treehugger Robot
5db3b2ca76 Merge "Revert^2 "Override shade background color from G0 to G1"" into main 2024-01-30 16:32:34 +00:00
Justin Weir
54a63b6006 Revert^2 "Override shade background color from G0 to G1"
This reverts commit 644a0f82cc.

Reason for revert: Roll forward with fix

Change-Id: Ibc51ddd7befce0163e10aa874711a9c873b34b9f
2024-01-30 14:44:07 +00:00
Justin Weir
5d07330aae Merge "Revert "Override shade background color from G0 to G1"" into main 2024-01-30 14:43:33 +00:00
Justin Weir
644a0f82cc Revert "Override shade background color from G0 to G1"
This reverts commit 6a43947dc9.

Reason for revert: Wrong color

Change-Id: If7befe4bd264dfea5659e859ea0fb7f389f42c27
2024-01-30 12:52:23 +00:00
Treehugger Robot
8eb0ccf06c Merge "Adding interrupt mappings for caimito devices" into main 2024-01-30 05:28:45 +00:00
Charlotte Lu
46189be66d Merge "Add JP Initial MIC elabel" into main 2024-01-30 02:55:29 +00:00
Suprabh Shukla
5c995832e7 Adding interrupt mappings for caimito devices
Test: Manually verify the wakeup data in
`dumpsys batterystats --wakeups`

Bug: 320610176
Change-Id: If12294e7604023d5c482369772d0d6b7685cb1fc
2024-01-29 16:01:53 -08:00
Charlotte Lu
e64e6da939 Add JP Initial MIC elabel
Fix: 317019325

Test: Visual

Change-Id: Idbb66adbe7773d85e87660a45822af9f01bc595c
2024-01-29 10:01:06 +00:00
Justin Weir
1c8de663a2 Merge "Override shade background color from G0 to G1" into main 2024-01-26 14:27:20 +00:00
Justin Weir
6a43947dc9 Override shade background color from G0 to G1
Fixes: 316465230
Test: manual
Change-Id: Ia78c95a5538143d4edcde97a5de7f0b236e16c25
2024-01-24 13:00:36 -05:00
Beverly Tai
d06dbb468a Merge "Update pixel pitch of devices" into main 2024-01-23 14:13:15 +00:00
Derick Hong
75e42b3700 Merge "display: cm4/km4/tk4: update Adaptive Brightness Curve" into main 2024-01-23 01:08:53 +00:00
Beverly
bcefcaa3f5 Update pixel pitch of devices
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual
Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2024-01-18 21:45:59 +00:00
derickhong
62e0f564ff display: cm4/km4/tk4: update Adaptive Brightness Curve
remove config "config_autoBrightnessDisplayValuesNits"

Bug: 298738593
Test: adb shell dumpsys display | grep mBrightnessLevelsNits
Change-Id: I481b63dae26c48d2ff7265eb633166000f53d6a7
Signed-off-by: derickhong <derickhong@google.com>
2024-01-18 07:41:38 +00:00
Hunsuk Choi
398dc0786a Fix domain selection service configuration for plug-in architecture
Bug: 258112541
Test: build
Change-Id: Ia2531e9ab165a9c3b87cc2fc2e06428d99dc9ffa
2024-01-18 05:11:48 +00:00
Morgan Shen
b1aaf685e9 Merge "Enable AOSP domain selection service" into main 2024-01-18 03:51:44 +00:00
Beverly
752f6ab629 Update face sensor location
Fixes: 319468937
Flag: none
Test: manual
Change-Id: Ib170e4229664c70316db24bcc98ec684b94db037
2024-01-17 16:59:39 +00:00
Sasha Kuznetsov
46d063e588 Config Caiman to allow external GPS location providers
-A noop change by itself, but allows Google to later overlay
 a different GPS engine within GmsCore.

Bug: 306045408
Change-Id: Ia0e2accf09e495d46becda7504b33a8687827c29
Test: Manual
2024-01-11 18:57:02 +00:00
Hunsuk Choi
86e32f2670 Enable AOSP domain selection service
Bug: 318772907
Test: build
Change-Id: I0172df306e5d323863e07761a2dbeac6158e8454
2024-01-09 03:46:24 +00:00