aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-06-03 03:01:54 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-06-03 03:01:54 -0700
commitadf68c5828d1647680113a99c6b77e8b920da0af (patch)
treea4b1b5c0d88e7de3bb30668534a51abf2dfae434 /tests/src
parentf4f547f0e7874526d5b02126a3c01cca17534af6 (diff)
parentb4ae86f0de556bea6d809d8d8cb89007d8900446 (diff)
downloadlatinime-adf68c5828d1647680113a99c6b77e8b920da0af.tar.gz
latinime-adf68c5828d1647680113a99c6b77e8b920da0af.tar.xz
latinime-adf68c5828d1647680113a99c6b77e8b920da0af.zip
am b4ae86f0: Merge "Rename methods for readability"
* commit 'b4ae86f0de556bea6d809d8d8cb89007d8900446': Rename methods for readability
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java b/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java
index 2cb964805..90dbaabc9 100644
--- a/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java
+++ b/tests/src/com/android/inputmethod/keyboard/internal/MockKeyboardSwitcher.java
@@ -53,7 +53,7 @@ public class MockKeyboardSwitcher implements KeyboardState.SwitchActions {
// Following InputConnection's behavior. Simulating InputType.TYPE_TEXT_FLAG_CAP_WORDS.
private int mAutoCapsState = MockConstants.CAP_MODE_OFF;
- private boolean mIsInDoubleTapTimeout;
+ private boolean mIsInDoubleTapShiftKeyTimeout;
private int mLongPressTimeoutCode;
private final KeyboardState mState = new KeyboardState(this);
@@ -81,7 +81,7 @@ public class MockKeyboardSwitcher implements KeyboardState.SwitchActions {
}
public void expireDoubleTapTimeout() {
- mIsInDoubleTapTimeout = false;
+ mIsInDoubleTapShiftKeyTimeout = false;
}
@Override
@@ -125,18 +125,18 @@ public class MockKeyboardSwitcher implements KeyboardState.SwitchActions {
}
@Override
- public void startDoubleTapTimer() {
- mIsInDoubleTapTimeout = true;
+ public void startDoubleTapShiftKeyTimer() {
+ mIsInDoubleTapShiftKeyTimeout = true;
}
@Override
- public void cancelDoubleTapTimer() {
- mIsInDoubleTapTimeout = false;
+ public void cancelDoubleTapShiftKeyTimer() {
+ mIsInDoubleTapShiftKeyTimeout = false;
}
@Override
- public boolean isInDoubleTapTimeout() {
- return mIsInDoubleTapTimeout;
+ public boolean isInDoubleTapShiftKeyTimeout() {
+ return mIsInDoubleTapShiftKeyTimeout;
}
@Override