Fix typo in method name

This is a follow up of I6f851248.

Change-Id: I3fe17f3c81ed35e7c38ac9701e73c6b2c1ca8d63
main
Tadashi G. Takaoka 2012-11-28 14:34:48 +09:00
parent ee71ecf5e2
commit 2db9e1c447
2 changed files with 5 additions and 5 deletions

View File

@ -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();
}
}

View File

@ -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);
}
}