summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorryanlwlin <ryanlwlin@google.com>2020-05-07 19:47:53 +0800
committerryanlwlin <ryanlwlin@google.com>2020-05-13 13:38:15 +0800
commit8d1743c37195b5fb46ddac6893137c944e42473f (patch)
treecdf9fd55a9c5228f56cf94c53f3878119446da4f /graphics/java/android/renderscript/ProgramStore.java
parentcc640dd53f833ff6e88c15a7963e49a17bcc1630 (diff)
Support Magnification capabilities Settings value
To have more flexibility and have consistency with legacy behavior, Uses can choose single/multiple modes in settings. To support it, we have the following behavior 1. Switching magnification mode is allowed only when the capabilities is all. 2. If the capabilities doesn't support currnet magnification mode, the magnification mode will be fell back. 3. Set window magnification connection to null if the magnification settings is not turned on or the magnification capabilities is full-screen. Bug: 155965892 Test: atest WindowMagnificationManagerTest Test: manual test: select one or two magnification modes to see the behaviour. Change-Id: If32e2a038e64ed7a7bab9ec5a3d444b542d30161
Diffstat (limited to 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions