diff options
author | Andrei Stingaceanu <stg@google.com> | 2015-04-29 14:39:40 +0100 |
---|---|---|
committer | Andrei Stingaceanu <stg@google.com> | 2015-05-14 16:11:07 +0100 |
commit | fae270c108f774d48f5b8f122d46c533ad4ef2f5 (patch) | |
tree | d2912bd995b081089639ed2c4d6a81355f704d07 /rs/java/android/renderscript/RenderScript.java | |
parent | a0f6b87bbbbc10700aa14d2c4d9191fe1f064a60 (diff) |
Editor: enable double tap for selection after cut/copy.
* detect double tap in the TextView and pass it to Editor.
* add a timer (with getDoubleTapTimeout) for executing the
single tap job in Editor.
* if double tap is detected then cancel the single tap job.
This way one tap shows the toolbar if within the timeframe
and two taps select the word and show the toolbar.
Bug: 20442587
Change-Id: I0a117939c896fcb13669346e30c9c48d319576dd
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions