summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKarthik Ravi Shankar <karthikrs@google.com>2017-04-12 15:31:20 -0700
committerKarthik Ravi Shankar <karthikrs@google.com>2017-04-17 14:23:08 -0700
commitcdf9ce7229e791fe345b0860fe32433f15c95db8 (patch)
treee738b602eca8cbb6417947fe09be7ee970e140e4 /tools/aapt2/java/JavaClassGenerator.cpp
parenta609bbc9c4e1614eca7e70cb90739486f745e5c7 (diff)
Make VR mode virtual display properties customizable
Currently the virtual display created in VR mode is of fixed size. This may not work for all the devices. Add APIs to make the resolution and DPI adjustable from VrCore. Bug: 37260266 Test: Sample reflection which works - cl/153039188 Test: adb shell set-persistent-vr-mode-enabled true adb shell vr set-compatibility-display-properties 500 500 500 adb shell dumpsys display >> DisplayDeviceInfo{"VR 2D Display": uniqueId="virtual:android,1000,VR 2D Display,0", 500 x 500, modeId 6, defaultModeId 6, supportedModes [{id=6, width=500, height=500, fps=60.0}], colorMode 0, supportedColorModes [0], HdrCapabilities null, density 500, 500.0 x 500.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state ON, owner android (uid 1000), FLAG_PRIVATE, FLAG_NEVER_BLANK, FLAG_OWN_CONTENT_ONLY} Change-Id: Ibb2d03b7f7f8f62fcce97fcc2b373ae3f09cef01 Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions