Phasing out config_roundedCornerMultipleRadius config from device
overlay package.
Bug: 224688507
Test: Build ROM and pass presubmit test
Change-Id: I5cb7efdde8b03f89b74d775612b20e78c6e4d89d
We'll be hacking sensors.ssc.so to provide wise light sensor under
android.sensor.light instead, this will make sure that other apps can
access it.
This reverts commit bd3828a7c8.
Change-Id: I0fa19cd723e58c6591c4cfae453401608d15ebcb
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.
Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
* 28dp * (450dpi / 160) = 78.75px, this will cause the height
of the status bar to be displayed incorrectly under some apps,
so restore it to its original value.
Change-Id: I82685a0ab33bb08daeaf87b74c93e80aba16c055
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.
Bug: 186604541
Test: make
Change-Id: I36d869866ed03d3996b7b0d8cc6d3f6bb6ab624d
We enabled smooth display in sm8250-common, but we purposely left out
setting the max refresh rate there as not all the sm8250 devices have
the same peak refresh rate. Set it for each device instead.
Change-Id: I26963dd1e26bf39ef2613a3ffc784a0128a3e3b1
* fod radius = radius value / 2
* fod x position = x position value + (radius value / 2)
* fod y position = y position value + (radius value / 2)
* fod enroll progress radius = (radius value / 2) + 5
Change-Id: I487e3a16fec8a7f9760a100606e7081aec5f7581
It appears that on Android 12 there's a higher status bar padding by
default, thus we need to adjust it by more or less dividing current
value by 2.
Change-Id: I98e34734425e858242d96812e4aa1329c6052be2
[LuK1337]: Modified vector path so that its height matches regular
cutout path + converted it from relative to absolute.
Change-Id: I792a85826041c7debf7f70e65318855c0cce65fe
When config_screenBrightnessSettingMaximumFloat is unset
we are falling back to legacy (0-255 int) configuration.
Change-Id: Iecb9ad8fcc25178160e2114dd40337f59af3cf66
* Because of config_roundedCornerMultipleRadius being set to
obnoxiously high value we end up having too high corner
border radius for Android recents.
* Also we still need to set rounded_corner_radius to something
other than 0 so that we'll have our rounded border drawables
applied. I guess that 8dp is a fair value for that.
Change-Id: Ib39ac6c4aaf6c00c247b2945e4f0a71ab0789df5
* Drawables have been converted from PNG -> SVG using
Image Trace feature of Adobe Illustrator.
* Also we need to set rounded_corner_radius to workaround
SystemUI bug where updateRoundedCornerRadii only compares
against newRoundedDefault...
Change-Id: I89ce857d15804f9a9361ff3825a9426a9382c578