aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/PointerTracker.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-08-30 20:18:55 +0900
committerTadashi G. Takaoka <takaoka@google.com>2010-08-31 00:43:40 +0900
commitba9b24edffa15cf664acfddd1abd86ef8dddb021 (patch)
tree7cc82f1c1f889a5390d2077e8ebf2e34c39a747c /java/src/com/android/inputmethod/latin/PointerTracker.java
parent06123e56912b5dcd7aca3d0c18c7ceb1f1cde573 (diff)
downloadlatinime-ba9b24edffa15cf664acfddd1abd86ef8dddb021.tar.gz
latinime-ba9b24edffa15cf664acfddd1abd86ef8dddb021.tar.xz
latinime-ba9b24edffa15cf664acfddd1abd86ef8dddb021.zip
Remove mAbortKey flag completely
These three conditions assign true to the mAbortKey flag. 1. setKeyboard() sets the new keyboard layout. 2. long press shows the pop-up mini keyboard. 3. ACTION_CANCEL event is occurred. In the case 1, in LatinIME so far, only "symbol key" and "language switch" cause keyboard layout change. In both cases, the event is occurred in onUpEvent(), so we do not need to worry about aborting event. In the case 2, long press is used only to pop-up mini-keyboard and at that time mMiniKeyboardOnScreen could be used as a flag. In the case 3, though I'm not sure when this case occurs, in onCancelEvent() all the things that should be canceled are canceled in onCancelEvent(). Bug: 2910379 Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc
Diffstat (limited to 'java/src/com/android/inputmethod/latin/PointerTracker.java')
0 files changed, 0 insertions, 0 deletions