sm6250-common: overlay: Import correct mainBuiltInDisplayCutout
Change-Id: I35c98114261215bdadb8b0ef863420677f3b2e68
This commit is contained in:
parent
e5d5f85e51
commit
6fdeeb9833
@ -274,6 +274,26 @@
|
|||||||
orientation. If zero, the value of rounded_corner_radius is used. -->
|
orientation. If zero, the value of rounded_corner_radius is used. -->
|
||||||
<dimen name="rounded_corner_radius_bottom">93px</dimen>
|
<dimen name="rounded_corner_radius_bottom">93px</dimen>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- The bounding path of the cutout region of the main built-in display.
|
||||||
|
Must either be empty if there is no cutout region, or a string that is parsable by
|
||||||
|
{@link android.util.PathParser}.
|
||||||
|
The path is assumed to be specified in display coordinates with pixel units and in
|
||||||
|
the display's native orientation, with the origin of the coordinate system at the
|
||||||
|
center top of the display.
|
||||||
|
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
|
||||||
|
appended after the path string to interpret coordinates in dp instead of px units.
|
||||||
|
Note that a physical cutout should be configured in pixels for the best results.
|
||||||
|
Example for a 10px x 10px square top-center cutout:
|
||||||
|
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
|
||||||
|
Example for a 10dp x 10dp square top-center cutout:
|
||||||
|
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
|
||||||
|
@see https://www.w3.org/TR/SVG/paths.html#PathData
|
||||||
|
-->
|
||||||
|
<string name="config_mainBuiltInDisplayCutout">
|
||||||
|
M 0,0 H -36 V 100 H 36 V 0 H 0 Z
|
||||||
|
</string>
|
||||||
|
|
||||||
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
|
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
|
||||||
percent. The length of this array is assumed to be one greater than
|
percent. The length of this array is assumed to be one greater than
|
||||||
config_ambientThresholdLevels. The brightening threshold is calculated as
|
config_ambientThresholdLevels. The brightening threshold is calculated as
|
||||||
|
Loading…
Reference in New Issue
Block a user