commit | fae270c108f774d48f5b8f122d46c533ad4ef2f5 | [log] [tgz] |
---|---|---|
author | Andrei Stingaceanu <stg@google.com> | Wed Apr 29 14:39:40 2015 +0100 |
committer | Andrei Stingaceanu <stg@google.com> | Thu May 14 16:11:07 2015 +0100 |
tree | d2912bd995b081089639ed2c4d6a81355f704d07 | |
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