summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authormincheli <mincheli@google.com>2021-04-01 11:12:00 +0800
committermincheli <mincheli@google.com>2021-05-19 13:08:40 +0800
commit778e94a7ca22a7bff73bdddaebf63b1eef448edb (patch)
tree85ea3c633cdee572bf5286fb5a2d3faaf373fab0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent732aed15d7312768378356e50b5fc80366b5ff85 (diff)
Makes the movable region of magnification button sticking to the edges
When dragging magnification button, the button should stick to the closer edge of the screen edges automatically after the dragging gesture is finished. And not to reset the position after the button is removed. So the but tton position can be recovered after calling showButton() again. Demo video: b/162706034#comment3 Bug: 162706034 Test: atest MagnificationModeSwitchTest Change-Id: I78127f3e3f479e797426e0f451424f6ed090cd78
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions