It appears that OnePlus is not using AOSP resources for display cutout.
Instead they are drawing it manually thus I used their x, y and radius
to prepare my own vector path:
<dimen name="op_draw_cutout_circle_r">43.0px</dimen>
<dimen name="op_draw_cutout_circle_x">155.0px</dimen>
<dimen name="op_draw_cutout_circle_y">83.0px</dimen>
Change-Id: Ia061229717cd84277d792269aa1985ded07d1ae3
[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
* Set rounded_corner_radius instead of _top + _bottom
as they are exactly the same.
* Overlay rounded.xml with _top drawable as _bottom one
is the pretty much the same as _top after manually
rotating it by 90 degrees.
Change-Id: I89ce857d15804f9a9361ff3825a9426a9382c578