Commit graph

71 commits

Author SHA1 Message Date
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
Treehugger Robot
daf0aa8a8b Merge "update darkening light debounce to 2s" into main 2023-11-09 04:59:08 +00:00
Derick Hong
9092e56682 Merge "Comet: change display density to 360" into main 2023-11-08 05:29:40 +00:00
derickhong
693717cbbb Comet: change display density to 360
Bug: 284857612
Test: adb shell getprop ro.sf.lcd_density
Change-Id: Ida0a97f3d987ef025b4ee2b7f9827ff5c9e0a0ed
2023-11-08 10:38:21 +08:00
Roshan Pius
8f086f9019 Merge "Revert "comet(nfc): Modify NFC overlays for NFC apex"" into main 2023-11-06 14:31:02 +00:00
Roshan Pius
fffed73cbe Revert "comet(nfc): Modify NFC overlays for NFC apex"
Revert submission 25189355-nfc_overlay

Reason for revert: Causing bootloop with signed builds

Reverted changes: /q/submissionid:25189355-nfc_overlay

Bug: 309117462
Change-Id: I36d4ce1897b400644fd06b7a20112d5bbc374238
Test: Compiles, device boots up
2023-11-04 19:01:10 +00:00
Peter Lin
3f85fc50a2 update darkening light debounce to 2s
Bug: 298742079
test: check dumpsys display
Change-Id: Icae83917aefa6b52faac54b72d8af30d80de0660
2023-11-02 02:31:24 +00:00
Weizhung Ding
ea55918cca Merge "display: enable smooth display" into main 2023-10-31 02:26:47 +00:00
Shin-Yu Wang
d6dc1e3e0c Merge "Update Doze brightness mapping" into main 2023-10-30 04:49:19 +00:00
Weizhung Ding
752f81e6b6 display: enable smooth display
Bug: 284856707
Test: build and check smooth display is enable
Change-Id: Icfdeb1d88f643f6c31127d2fa5ed1dd924b0c1ed
2023-10-30 03:42:16 +00:00
Roshan Pius
22df671c5d comet(nfc): Modify NFC overlays for NFC apex
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: Ie18d902c949b1307547eb7fdcfd93213ab8c0561
2023-10-26 10:00:14 -07:00