diff options
author | mincheli <mincheli@google.com> | 2019-04-24 18:10:28 +0800 |
---|---|---|
committer | mincheli <mincheli@google.com> | 2019-04-25 13:40:03 +0800 |
commit | b7507a999723d0ccfecf16038ecebca1c40e0bf0 (patch) | |
tree | 7b64a4ed39886390f83e88f0aae27fc67265a002 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c37d832194c9a93a720bf14d0a991377e4d4db53 (diff) |
Adjust event location when two-finger dragging in TouchExplorer
To scroll on the screen when using TalkBack, a user need to dragging two
finger pointers. If the dragging pointer are closer that a given distance
we use the location of the primary one. Otherwise, we should adjust the
event location to take the middle between the two finger pointers.
Bug: 126354276
Test: atest TouchExplorerTest
Change-Id: I9e95ccec964d7930498febdd02731b94826fbb7b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions