OSDN Git Service

Support @left marker
authorLucas Dupin <dupin@google.com>
Thu, 21 Nov 2019 23:15:36 +0000 (15:15 -0800)
committerLucas Dupin <dupin@google.com>
Mon, 25 Nov 2019 01:29:23 +0000 (17:29 -0800)
commit6e9636c5e0bde377e43fafaef80d13e8cb57fb92
tree3180a605eb8b2055d1ab7fbcc0992ff76f6df74c
parent339650b13240893f6f6df143033dd1d427df10b4
Support @left marker

By default cutouts are centered and support a @right marker to allow
them to be right aligned. Let's also support left alignment by
introducing a @left marker.

Test: atest DisplayCutoutTest
Test: manual
Bug: 143222961
Change-Id: Ic5a645bd9f0513f3665f31c8b0f1861585bf30e6
core/java/android/view/DisplayCutout.java
core/res/res/values/config.xml