commit | 16693f3466108de69db77ae6dc7b73cc74102bc6 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Thu Jan 18 17:45:52 2018 +0100 |
committer | Adrian Roos <roosa@google.com> | Fri Jan 19 12:55:01 2018 +0100 |
tree | 8530b2bf90d49cda7e3b8160b59ce1158398d788 | |
parent | 7d0e1f8065cc618ed8931f070777cda366e65fd0 [diff] |
DisplayCutout: device-independent emulation overlay Adds an option to use dp instead of px when specifying the cutout bounds. Also centers the coordinate system in the middle, making it easier to specify the usually centered cutouts. Also makes the emulated cutout a bit prettier. Bug: 65689439 Test: adb shell overlay enable com.android.display.cutout.emulation Change-Id: I3bd16af15f1dad2af204d436abaa35fb9e5ae146