summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-09-10 10:48:58 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-09-10 10:49:04 -0700
commit0c381504a8fce293b3b9ef8ad0333849c43eb6a4 (patch)
tree0d348d32c00f423a63332f3fdc18b24542564b31 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentadd52a975aa78d9e24d3e63a8168c00a9bfb80ec (diff)
Improve scaling vs pan in screen magnifier.
1. Due to frequent changes of the behavior of ScaleGestureDetector this patch rolls in a gesture detector used for changing the screen magnification level. It has an improved algorithm which uses the diameter of min circle around the points as the span, the center of this circle as the focal point, and the average slop of the lines from each pointer to the center to determine the angle of the diameter used when computing the span x and y. Change-Id: I5cee8dba84032a0702016b8f9632f78139024bbe
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions