aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-08-25 16:47:16 +0900
committerTadashi G. Takaoka <takaoka@google.com>2010-08-26 23:28:52 +0900
commitdfbc5080a1b639fda448098ab080d632639591dc (patch)
treeb483b151149c17a9bed649e3d6083375babd6336 /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
parent542f057ef64ae16cf2bc528880cf32bfd073edad (diff)
downloadlatinime-dfbc5080a1b639fda448098ab080d632639591dc.tar.gz
latinime-dfbc5080a1b639fda448098ab080d632639591dc.tar.xz
latinime-dfbc5080a1b639fda448098ab080d632639591dc.zip
Refactor SwipeTracker class
This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
index 7247632c3..346daa3e3 100644
--- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
+++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
@@ -1286,7 +1286,6 @@ public class LatinKeyboardBaseView extends View implements View.OnClickListener
}
// Track the last few movements to look for spurious swipes.
- if (action == MotionEvent.ACTION_DOWN) mSwipeTracker.clear();
mSwipeTracker.addMovement(me);
// Ignore all motion events until a DOWN.