summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMihai Popa <popam@google.com>2018-03-07 12:25:21 +0000
committerMihai Popa <popam@google.com>2018-03-09 13:57:35 +0000
commite301746a0e393bdb1a8042e36c368fb03c49ae71 (patch)
treee3576f07bdf348fe643351de315e691d33386931 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent17ea30584a579a442809f1070e9a67f33b1afb65 (diff)
[Magnifier-31] Do not magnify outside current line
Currently, after the cursor is reaching the end of a line, the magnifier keeps following the finger even if the cursor cannot move anymore. This CL limits the movement of the magnifier, ensuring it stays between the bounds of the text line. Also, when the finger gets too far from the end of the line, we dismiss the magnifier. We consider it went too far when the cursor is not visible anymore inside the magnifier. Bug: 72314536 Test: manual testing (both English and Arabic) Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest Change-Id: I8dafba1fc8e7b8e482526e818831ece2ee20ac27 (cherry picked from commit dfc752bc745ca272234be41f2b54d49eccece84d) Merged-In: I8dafba1fc8e7b8e482526e818831ece2ee20ac27
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions