diff options
author | Petar Šegina <psegina@google.com> | 2017-08-15 16:20:43 +0100 |
---|---|---|
committer | Petar Šegina <psegina@google.com> | 2017-08-23 19:20:12 +0100 |
commit | 91df3f9e7c95d43d645e158b7d8fd34acc3385d3 (patch) | |
tree | 59ffdb56f0c67dfab44d8223e32aa389d1875551 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b2fb182085686ea72ee4a1364d0399ba236f4ec5 (diff) |
Expand the animation from the user's last touch point
The Smart Select animation now expands from the spot the user last
lifted their finger.
In order to achieve this, the last up event coordinates need to be
tracked in Editor.
Since it's possible to trigger Smart Select by having the second of the
two taps outside any of the rectangles, the touch point gets moved into
the nearest rectangle and the animation starts from that point.
Test: manual - try out Smart Select by touching different words at
different points
Test: manual - try to trigger Smart Select with a double tap where the
second tap is outside of the word
Test: bit FrameworksCoreTests:android.widget.SelectionActionModeHelperTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsAccessibilityServiceTestCases:android.accessibilityservice.cts.AccessibilityTextTraversalTest
Change-Id: I96844e8307554b010b476673820f98dae09c0cc3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions