summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
authorFelka Chang <felkachang@google.com>2019-12-26 13:36:23 +0800
committerFelka Chang <felkachang@google.com>2020-02-07 16:30:05 +0800
commit489cf260aa879e8f33b25db7dac6c263154dc0d8 (patch)
treea3bf580772551f8580f58a1104015c1f0cdad419 /opengl/java
parent1f0cb0acad8faedc239e27293ff0f39a2aaa332a (diff)
To add new marker to support long edge cutout
Currently, the cutout only exists in short edge of a display. It means that the cutout only locates in short edge of the display in portrait mode. The method to parse the cutout only supports top boundary or bottom boundary cutout. To modify the parser of cutout specification supports the long edge cutout feature. CutoutSpecification handles the parsing rulers extracted from DisplayCutout. In order to make parsing faster, it doesn't use regular expression to parse specification and String.split. Test: atest \ FrameworksCoreTests:android.view.DisplayCutoutTest \ FrameworksCoreTests:android.view.CutoutSpecificationTest \ SystemUITests:com.android.systemui.ScreenDecorationsTest \ CorePerfTests:android.view.CutoutSpecificationBenchmark Bug: 146875639 Change-Id: Ice3ad28ef29a6f11875c4946cf4a60ee792f1270
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions