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
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
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
69f64976b0
Update camera cutout and rounded rect
...
Bug: 305866773
Test: Make
Change-Id: I4ca1fd7ade7768de9fc68f66fe725c1dcd793dcd
2023-10-25 09:32:17 +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
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
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
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