commit | b7507a999723d0ccfecf16038ecebca1c40e0bf0 | [log] [tgz] |
---|---|---|
author | mincheli <mincheli@google.com> | Wed Apr 24 18:10:28 2019 +0800 |
committer | mincheli <mincheli@google.com> | Thu Apr 25 13:40:03 2019 +0800 |
tree | 7b64a4ed39886390f83e88f0aae27fc67265a002 | |
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