diff --git a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java index b09f9b20c9cf141598ddc6b914261d24a3af22e9..7e9e3ce1ad917e434e3d79d5eab81aa5443f0dde 100644 --- a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java @@ -369,13 +369,13 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack } @Override - public void cancelAllUpdateBatchInputTimer() { + public void cancelAllUpdateBatchInputTimers() { removeMessages(MSG_UPDATE_BATCH_INPUT); } public void cancelAllMessages() { cancelKeyTimers(); - cancelAllUpdateBatchInputTimer(); + cancelAllUpdateBatchInputTimers(); } } diff --git a/java/src/com/android/inputmethod/keyboard/PointerTracker.java b/java/src/com/android/inputmethod/keyboard/PointerTracker.java index bd4a713ecd3ef9a230a38b1757b374406ef39b03..296a45faf2243d889fb957b098efe61d676b533e 100644 --- a/java/src/com/android/inputmethod/keyboard/PointerTracker.java +++ b/java/src/com/android/inputmethod/keyboard/PointerTracker.java @@ -95,7 +95,7 @@ public final class PointerTracker implements PointerTrackerQueue.Element { public boolean isInDoubleTapTimeout(); public void cancelKeyTimers(); public void startUpdateBatchInputTimer(PointerTracker tracker); - public void cancelAllUpdateBatchInputTimer(); + public void cancelAllUpdateBatchInputTimers(); public static class Adapter implements TimerProxy { @Override @@ -121,7 +121,7 @@ public final class PointerTracker implements PointerTrackerQueue.Element { @Override public void startUpdateBatchInputTimer(PointerTracker tracker) {} @Override - public void cancelAllUpdateBatchInputTimer() {} + public void cancelAllUpdateBatchInputTimers() {} } } @@ -754,7 +754,7 @@ public final class PointerTracker implements PointerTrackerQueue.Element { Log.d(TAG, String.format("[%d] onEndBatchInput : batchPoints=%d", mPointerId, sAggregratedPointers.getPointerSize())); } - mTimerProxy.cancelAllUpdateBatchInputTimer(); + mTimerProxy.cancelAllUpdateBatchInputTimers(); mListener.onEndBatchInput(sAggregratedPointers); } }