Commit graph

181 commits

Author SHA1 Message Date
Chris Göllner
e633380f6f [Comet] Configure display unique ids for camera protection
Test: Manual
Bug: 321955113
Change-Id: I75c6f5b97f2c2f5c7ab9d8a50ea91aa2fb166e64
2024-01-30 12:14:38 +00:00
Treehugger Robot
75c47a98ea Merge "Adding interrupt mapping for comet" into main 2024-01-30 05:28:45 +00:00
Suprabh Shukla
a724f52fce Adding interrupt mapping for comet
Test: Manually verify the output for `dumpsys batterystats --wakeups`

Fixes: 320610176
Change-Id: Ie1d4730c384ced690eb181e7289731eb502cbce5
2024-01-29 16:04:17 -08:00
Cutter Coryell
671b971814 Turn off ML in system back gesture
Bug: 277603560
Flag: None
Test: Manual
Change-Id: I4471d5e24b55466cf1f1b48f4958eb674307bd0d
2024-01-29 13:59:24 -08:00
Kyle Hsiao
c95201dd53 Merge "[NFC] Add antenna position coordinates" into main 2024-01-29 12:24:55 +00:00
Kyle Hsiao
25a4b5ba97 [NFC] Add antenna position coordinates
Bug: 279124459
Test: manual
Change-Id: Ic9d81f0f7156276b0d333147fb7efb6c30165ebe
2024-01-29 08:43:27 +00:00
Yunfan Chen
b20ae66cec Comet: define display cutout side overrides for all rotations
This is necessary to define all four values, otherwise, the different
source rotation may cause different behavior on the same target rotation
if the target rotation doesn't have a defined side override.

Bug: 302387383
Test: rotate from 270 to 0 and see no black bar underneath status bar.
Change-Id: I629a9cca6b239f8095775c73448a7176089dbd10
2024-01-26 15:59:12 +09:00
Massimo Carli
682fb46367 Merge "Default font-scale value customization" into main 2024-01-25 18:06:06 +00:00
Massimo Carli
323cca9654 Default font-scale value customization
Bug: 316160749
Test: `adb shell settings get system font_scale` returns 1.1

Change-Id: I8248c2a5c3a6952f5e057367ffe1c3f488c46ad7
2024-01-25 00:35:16 +00:00
Cathy Hsu
0ba0fbd5af display: ct3e: port brightness profile from ct3c
Bug: 310805932
Test: Check dumpsys display
Change-Id: I74d34b93bc211e8c93551a9e7fa1293834f77830
Signed-off-by: Cathy Hsu <cathsu@google.com>
2024-01-24 04:19:00 +00:00
Derick Hong
5850dcc010 Merge "display: ct3: update Adaptive Brightness Curve" into main 2024-01-23 01:08:53 +00:00
Jagrut Desai
71206994d2 Merge "Taskbar 3 button mode insets for comet" into main 2024-01-19 23:19:01 +00:00
Jagrut Desai
144ed4b8cd Taskbar 3 button mode insets for comet
Test: Test out the build from presubmit
Bug: 318396795
Flag: NONE

Change-Id: I16de687d556a06700a220dabff2e5e2f356a58f5
2024-01-19 19:14:48 +00:00
Hunsuk Choi
4377abc4f3 Merge "Fix domain selection service configuration for plug-in architecture" into main 2024-01-19 16:54:29 +00:00
Treehugger Robot
f6f142bca6 Merge "Update FP and power button location" into main 2024-01-18 18:59:04 +00:00
derickhong
be38a4895e display: ct3: update Adaptive Brightness Curve
remove config "config_autoBrightnessDisplayValuesNits"

Bug: 298738593
Test: adb shell dumpsys display | grep mBrightnessLevelsNits
Change-Id: I66157819e757c6581648d1751729cecfe8b50e48
Signed-off-by: derickhong <derickhong@google.com>
2024-01-18 07:43:55 +00:00
Hunsuk Choi
268cfbd75e Fix domain selection service configuration for plug-in architecture
Bug: 258112541
Test: build
Change-Id: I21833699893bed05143401f8424db553a7392d57
2024-01-18 05:12:48 +00:00
Morgan Shen
623f06d21f Merge "Enable AOSP domain selection service" into main 2024-01-18 03:45:58 +00:00
Beverly
74648f7a15 Update FP and power button location
Test: manual
Fixes: 316448242
Flag: none
Change-Id: Icfd6f9dc127731d3f893cb051a23fe23370bd934
2024-01-17 21:47:03 +00:00
derickhong
0cd29ceabd display/ct3c: update brightness profile
Bug: 315055824
Test: adb logcat | grep libdisplay
Change-Id: Ia95e3bcbd5d94c96f90caf2e30fec08e864855b0
Signed-off-by: derickhong <derickhong@google.com>
2024-01-16 11:54:14 +08:00
Sasha Kuznetsov
e643be17a4 Config Comet 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: I30b185492aeb2998e58af0164a093f13a81779bb
Test: Manual
2024-01-11 22:30:22 +00:00
Treehugger Robot
44fa05927d Merge "Add MMS UA, UAProf for comet" into main 2024-01-11 11:09:23 +00:00
Treehugger Robot
86d490fbe5 Merge "display: ct3d: update non linear brighness profile" into main 2024-01-11 04:07:07 +00:00
Hunsuk Choi
25adc6f33c Enable AOSP domain selection service
Bug: 318772907
Test: build
Change-Id: I81ea5f5362db998f8ab4e38724a34610b7665f63
2024-01-11 01:35:17 +00:00
Treehugger Robot
7edb261147 Merge "[Comet] Lower display max scale to never go under sw600dp unfolded" into main 2024-01-09 15:11:48 +00:00
Chris Göllner
ddc83ddae3 [Comet] Lower display max scale to never go under sw600dp unfolded
Test: Manual
Fixes: 318688062
Change-Id: I3a32acadfc9f90cbe52c33e014641147812c6dfd
2024-01-09 14:35:21 +00:00
Shawn Lin
ea1a2f4a21 Merge "Add face sensor configs" into main 2024-01-09 02:47:24 +00:00
Shawn Lin
f0e0e1700c Add face sensor configs
Bug: 311564599
Test: make
Flag: NONE
Change-Id: I9981d4931a9e36b0730d54abbcdd355d24771034
2024-01-09 01:34:10 +00:00
timtmlin
4345d830ee Add MMS UA, UAProf for comet
Reference: go/comet-por

Bug: 315884062
Test: make
Change-Id: I16a3c617cb46f2eb637a9ae4b523512fefe7b623
2024-01-08 19:42:47 +08:00
Graciela Putri
43db25bdf8 Merge "Revert 56dp taskbar height" into main 2024-01-05 14:03:13 +00:00
Graciela Wissen Putri
780325047c Revert 56dp taskbar height
Keep default 60dp taskbar height as there is no significant impact on
app experience with slight reduction in height.

Bug: 318395803
Test: m
Change-Id: I41293565778a8f56fe9e4d4631aeb8bd5e1a1773
2024-01-05 11:25:30 +00:00
Chandru S
b4a79e179b Merge "Enable rest to unlock feature in SystemUI only for comet" into main 2024-01-04 17:56:39 +00:00
Derick Hong
f3c48ec6ab Merge "ct3b: Add non-linear brightness table" into main 2024-01-04 07:22:10 +00:00
Chandru S
698fd1fd99 Enable rest to unlock feature in SystemUI only for comet
Bug: 317164917
Flag: ACONFIG com.android.systemui.rest_to_unlock TEAMFOOD

Change-Id: I4aac632638cd4f87b599be25600a145a9b322cb0
2024-01-04 01:52:09 +00:00
derickhong
cecc0bb50c ct3b: Add non-linear brightness table
Bug: 284857069
Test: adb shell /vendor/bin/dumpsys displaycolor
Change-Id: I13228acbc9d2480890acf87832a0cd9762af0398
2024-01-03 17:57:08 +08:00
Chris Göllner
b7f3a3c08b [Comet] Configure horizontal padding for status bar
Fixes: 309775101
Test: Manual
Change-Id: Ie5e19c2285861d2d5514f0ca272329e3223c3eed
2023-12-29 16:28:13 +00:00
Yunfan Chen
0d4741ee23 Comet: Define cutout behavior per rotation
Set the side preference cutout config field to let the cutout always be
on the same side as the system bars.

Bug: 302387383
Test: build and rotate the device
Change-Id: I3413164e97bdb89b23d96b2ff279af9aef75b9b3
2023-12-25 13:08:01 +09:00
Chris Göllner
184df5a159 [Comet] Configure status bar per rotation bottom margins
Bug: 309775101
Test: Manual - Sent screenshots to UX for review
Change-Id: I023f8e2b487b0cb1379fc46bec6f5c2079ea1fe0
2023-12-18 17:33:58 +00:00
Chris Göllner
242d7789a3 Merge "[Comet] Configure camera cutout protection" into main 2023-12-15 15:05:48 +00:00
Chris Göllner
0b825d89b2 [Comet] Configure camera cutout protection
Before, it was only configured for the outer screen front camera.

Fixes: 311147359
Test: Manual
Change-Id: I060819a6069d07dc550d956c1897d6fa3a3b8e08
2023-12-15 14:12:27 +00:00
Chris Göllner
2d3d8a6d5d [Comet] Configure taskbar height
- Gesture nar bar to 24dp
- Frame height to 56dp

Bug: 309606777
Bug: 297514229
Test: Manual
Change-Id: I153bf3cabd88859e5c55175f879230df575c2df0
2023-12-12 11:41:54 +00:00
Beverly
8a61ce96ad Update device-specific config for AOD gestures
To support wake gestures on the inner display.
Also remove the lockIconLongpress config since it should
not be configured for this device.

Flag: NONE
Test: manual
Fixes: 309605698
Change-Id: I9554b3c312a2e8d417280c61b227aa716d83bc22
2023-11-28 21:07:08 +00:00
Cathy Hsu
0b93ade1bc display: ct3d: update non linear brighness profile
Bug: 296639856
Test: log shows correct message
Change-Id: I8a3ec571bfb28cf36db02e7674b9ed3d04225cdf
Signed-off-by: Cathy Hsu <cathsu@google.com>
2023-11-24 07:40:15 +00:00
Treehugger Robot
4f29e5d7b2 Merge "[Comet] Tweak cutout rect approximation to be 56p in width and height" into main 2023-11-17 14:53:20 +00:00
Chris Göllner
41e3874d72 [Comet] Tweak cutout rect approximation to be 56p in width and height
The specs say that the status bar and nav bar should be 56dp tall when
they contain the cutout. For the status bar this is when the cutout is
at the top (rotation 0 and rotation 90). For the nav bar this is when
the cutout is at the bottom (rotation 180 and rotation 270).

The status bar and nav bar have logic to make their height to be at
least as tall as the cutout rect approximation.

Fixes: 309773362
Bug: 299908906
Test: Manual
Change-Id: I1c01280558b145280449a8c199f680c1e4304ee6
2023-11-17 10:43:27 +00:00
Derick Hong
c8045ac143 Merge "Revert "Comet: change display density to 360"" into main 2023-11-17 02:37:04 +00:00
Chris Göllner
11aa4f51ef Merge "[Comet] Set status bar height to match specs and tweak cutout rect" into main 2023-11-16 10:20:38 +00:00
Derick Hong
70150cedb3 Revert "Comet: change display density to 360"
Revert submission 25284659-COMET_DISPLAY_DENSITY

Reason for revert: change density back to 390 as discussed

Reverted changes: /q/submissionid:25284659-COMET_DISPLAY_DENSITY

Change-Id: I59c1c2dcda8bf9c25fb4cb41b61e23a6930b202c
2023-11-16 07:22:05 +00:00
Chris Göllner
5e2daa3db3 [Comet] Set status bar height to match specs and tweak cutout rect
The height specs of the status bar are 56dp when the camera is at the
top and 36dp when the camera is at the bottom.
To achieve this, we set the status bar height config to 36dp, which will
be used when the camera is at the bottom.
Then to achieve 56dp when the camera is at the top, we use the cutout
rect approximation, and make it 56dp in height. The height of the
status bar is adjusted to be at least as tall as the cutout rect.

+ Tweak the cutout rect, to make it be in the corner and intersect with
  the top and right of the screen, which is needed for status bar inset
  calculations. Before, it had a vertical offset, and was offscreen to
  the right.
  Now it is a rect that starts from the top right of the screen and goes
  to 56dp in height and until the end of the camera in width.

Test: Manual
Fixes: 309773362
Change-Id: I9425364bab2e1413c02674cb2ae2c5be411f70c3
2023-11-15 14:06:53 +00:00
Yunfan Chen
4dc015fee8 Comet: decouple status bar and cutout from config
Override the config value for the comet device to make it happen.

Bug: 291870756
Test: m
Test: override the feature flag and observe
Change-Id: I887faf95391aaac268550e693bd1c38a5d290f68
2023-11-10 17:54:50 +09:00