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
Shin-Yu Wang
31d6680e27
Update Doze brightness mapping
...
Bug: 284857992
Test: check lp_state in different lux
Change-Id: I67f6c5477673074ca5336a42cc3886dbde6b8b29
2023-10-26 05:57:48 +00:00
Kimi Hsu
5636fedb09
Merge "Update camera cutout and rounded rect" into main
2023-10-26 01:53:21 +00:00
Kimi Hsu
69f64976b0
Update camera cutout and rounded rect
...
Bug: 305866773
Test: Make
Change-Id: I4ca1fd7ade7768de9fc68f66fe725c1dcd793dcd
2023-10-25 09:32:17 +00:00
Shin-Yu Wang
8ec7483b3e
Add non-linear brightness table
...
Bug: 284858174
Test: log shows correct message
Change-Id: I8718e0fb121e5b7ed2bdd4c52ada90a7e7857b16
2023-10-24 02:32:01 +00:00
Kimi Hsu
25da957ae1
Update display shape configs
...
Bug: 303014926
Test: make
Change-Id: Ibbddcf4de4702a8c2b72e3c3f14d119fdc9e2357
2023-10-06 10:35:16 +00:00
Shivangi Dubey
13a523e706
Add Fold setting in overlay
...
Add Fold lock behvaior setting in overlay.
Bug: 300238754
Change-Id: Id78c3ca36e9cb9c54459af1b59a1d113d2793c0d
Test: NA
2023-10-02 14:03:39 +00:00
derickhong
1575ed2022
comet: add default configure
...
Sync the configuration from Felix
Bug: 301033984
Test: manual
Change-Id: I890d00a45e113318f54acd0bf2d413e850e9fcb9
2023-09-27 08:50:28 +00:00
Kimi Hsu
48c4a99889
Update rounded corner, cutout and display shape configs
...
Bug: 284856706
Test: make
Change-Id: Idb72ff873120b5dbf0db6d8a9cc2de89b830d56c
2023-09-22 02:54:41 +00:00
Willy Hu
46dd0a44e0
Apply new IA requirement
...
See b/227579876, for P23 and later, we can send null initial attach data profile to modem to clear any previoud data profiles.
Bug: 301072784
Change-Id: I3ca91a4ae4c10db0db88415461a84586810c5a78
Test: Build Passed.
2023-09-20 06:06:50 +00:00
Treehugger Robot
f8232cf087
Merge "Declare IDisplay aidl interface for secondary" into main
2023-09-12 06:00:28 +00:00
RoyYH Lee
9c67307eda
Inner Display: Re-new Non-linear table to meet HW MTP curve table
...
Bug: 284856949
Test: log shows correct message
Change-Id: I624030f0973faee317369c123598f8ad0f2ecd3b
2023-09-08 10:02:59 +08:00
RoyYH Lee
51ed1b3fb1
display: set default and enable adaptive brightness
...
Bug: 284857378
Test: dumpsys log shows correct information, include
mDisplayDeviceConfig & BrightnessConfiguration
Change-Id: I6ee8e908bf8a21dac1f4ff95d5f424ef0e0ba0d3
2023-09-07 22:31:07 +08:00
Burney Yu
ce094bc0df
Declare IDisplay aidl interface for secondary
...
Bug: 283353282
Test: Test pixel display interface
Change-Id: I20ed33b7cae127fa9e2e4f63fe939d9ccf639add
2023-09-07 16:46:23 +08:00
RoyYH Lee
6d844d7da6
Outer Display: Re-new Non-linear table for Max HBM
...
Bug: 284858073
Test: log shows correct message
Change-Id: Id4c7dd8317557353630f2e3402a68cf3853d72cb
2023-09-06 16:26:28 +08:00
Mariia Sandrikova
d38af32032
Change density to 390 dpi and status bar height to 52 dp
...
Test: manual
Bug: 297514229
Change-Id: I0ee30ad4dd8eb660146e7df97b7d804636c0565b
2023-08-25 22:28:51 +01:00
RoyYH Lee
bf393bc3bf
Add non-linear brightness table
...
Bug: 284856949
Bug: 284858073
Test: log shows correct message
Change-Id: I17413c3896bba2950497df1019be80a4f26dd9c5
2023-08-24 22:54:10 +08:00
Cyan_Hsieh
90890fac6f
comet23: include comet23 BoardConfig.mk
...
Bug: 283749430
Fix: 287731490
Change-Id: I788e920ac0a423150ae91885dccd146eb4dc6343
2023-06-17 07:32:30 +00:00
Robin Peng
e5d2a88616
Migrate comet to P24 zumapro codebase
...
Bug: 287173316
Change-Id: Id03e526ff8ca67d8d9ee83a9d3bacfb1473e9a25
2023-06-15 06:39:59 +00:00
George
e54ac5dc1a
[NFC] Add overlay and update configuration settings
...
Bug: 278155583
Test: manual
Change-Id: I76f48c597504fa36cf65df5384079baeefb94812
2023-04-18 21:42:27 +08:00
Tai Kuo
dc76cd8f2f
Set audio haptic channel amplitude limit
...
Pre-porting. Align with P23.
Bug: 242964127
Test: n/a
Change-Id: Ic0712ecc1de23b4634c5d7624c0afd542771a6c0
2023-03-02 14:38:26 +08:00
Cyan_Hsieh
919f3e1cb5
Initial device comet
...
based on 84d60a2e19d4ad09086067994d2f683ff86f6231
Bug: 263919239
Change-Id: I7be43786325116baddd35e182f87ad15fbe1a6ce
2023-01-18 18:34:03 +08:00