summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authormincheli <mincheli@google.com>2021-05-21 12:29:11 +0800
committermincheli <mincheli@google.com>2021-05-24 02:09:36 +0800
commit690c6914c4529f8feb48db7e6593270b46472f46 (patch)
treea98432e5119ca0c3a94e1fdfd148b6f7d9272bc6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent27e377698added34ee0b1ec2e5017345edd0a39d (diff)
Assigns the default value of the cache magnification mode
The magnification switch button is not visible because the image source is not set when calling showButton(). Because the default value of cache magnification mode is the same as the current magnification mode. And the check in showButton() blocks setting the image source To fix this for fullscreen mode, the default value is replaced ACCESSIBILITY_MAGNIFICATION_MODE_FULLSCREEN with ACCESSIBILITY_MAGNIFICATION_MODE_NONE. Bug: 188857483 Test: atest MagnificationModeSwitchTest Change-Id: I36eb7b20f94adbab49f006627e60badeb0b0f02f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions