diff options
author | Shu Chen <shuchen@google.com> | 2020-01-21 14:32:32 +0800 |
---|---|---|
committer | Shu Chen <shuchen@google.com> | 2020-01-21 20:20:15 +0800 |
commit | 38451194630ca9a5628fb24a6c5274614e80bac4 (patch) | |
tree | 88f071e68ea378c9fd55c638e6c22b7b5092eddf /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c33182c36972f52855a0fbf7f0ee688c05f82728 (diff) |
Implement touch through on InsertionHandleView.
So that the logic of double-tap & long-press to select words can be shared to InsertionHandleView.
Note:
- This requires to work with the cursor dragging feature, otherwise the InsertionHandleView cannot move.
- InsertionHandleView needs to handle touch up events to toggle the insertion menu as expected.
- The event coordinates need to be modified in order to make the touches on handle equivalent to touches on text at cursor.
Bug: 145547052,145535934
Test: m -j & manual test & automated tests
atest frameworksCoreTests:EditorCursorDragTest
atest FrameworksCoreTests:TextViewActivityTest
Change-Id: Ic025700eb06addd67a2abcfff97eaf0e8a196718
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions