diff options
| author | Tadashi G. Takaoka <takaoka@google.com> | 2013-08-01 07:53:44 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-08-01 07:53:45 +0000 |
| commit | a299421f67e6800e3d19021df275029f5d084a8b (patch) | |
| tree | 7f9fefca304dddc1ce11a9bbfe208d25f771c4fd /java/src/com/android/inputmethod/keyboard/MainKeyboardView.java | |
| parent | 503b79029a41d672f6a4c22e2d4f24709a1dfc80 (diff) | |
| parent | 5433ce64c0f141bc4ee82912844f47f575654af5 (diff) | |
Merge "Remove getTimer() reference except from PointerTracker"
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/MainKeyboardView.java')
| -rw-r--r-- | java/src/com/android/inputmethod/keyboard/MainKeyboardView.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java index 1c96f7f96..98eed264f 100644 --- a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java @@ -1007,6 +1007,18 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack } } + public void startDoubleTapShiftKeyTimer() { + mKeyTimerHandler.startDoubleTapShiftKeyTimer(); + } + + public void cancelDoubleTapShiftKeyTimer() { + mKeyTimerHandler.cancelDoubleTapShiftKeyTimer(); + } + + public boolean isInDoubleTapShiftKeyTimeout() { + return mKeyTimerHandler.isInDoubleTapShiftKeyTimeout(); + } + @Override public boolean dispatchTouchEvent(MotionEvent event) { if (AccessibilityUtils.getInstance().isTouchExplorationEnabled()) { |
