Loading java/src/com/android/inputmethod/keyboard/KeyDetector.java +0 −9 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ public class KeyDetector { private Keyboard mKeyboard; private int mCorrectionX; private int mCorrectionY; private boolean mProximityCorrectOn; /** * This class handles key detection. Loading Loading @@ -64,14 +63,6 @@ public class KeyDetector { return mKeyboard; } public void setProximityCorrectionEnabled(boolean enabled) { mProximityCorrectOn = enabled; } public boolean isProximityCorrectionEnabled() { return mProximityCorrectOn; } public boolean alwaysAllowsSlidingInput() { return false; } Loading java/src/com/android/inputmethod/keyboard/MainKeyboardView.java +0 −17 Original line number Diff line number Diff line Loading @@ -497,23 +497,6 @@ public class MainKeyboardView extends KeyboardView implements PointerTracker.Key mHasDistinctMultitouch = hasDistinctMultitouch; } /** * When enabled, calls to {@link KeyboardActionListener#onCodeInput} will include key * codes for adjacent keys. When disabled, only the primary key code will be * reported. * @param enabled whether or not the proximity correction is enabled */ public void setProximityCorrectionEnabled(boolean enabled) { mKeyDetector.setProximityCorrectionEnabled(enabled); } /** * Returns true if proximity correction is enabled. */ public boolean isProximityCorrectionEnabled() { return mKeyDetector.isProximityCorrectionEnabled(); } @Override protected void onAttachedToWindow() { super.onAttachedToWindow(); Loading java/src/com/android/inputmethod/latin/LatinIME.java +0 −1 Original line number Diff line number Diff line Loading @@ -693,7 +693,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen inputView.setKeyPreviewPopupEnabled(mCurrentSettings.mKeyPreviewPopupOn, mCurrentSettings.mKeyPreviewPopupDismissDelay); inputView.setProximityCorrectionEnabled(true); if (TRACE) Debug.startMethodTracing("/data/trace/latinime"); } Loading Loading
java/src/com/android/inputmethod/keyboard/KeyDetector.java +0 −9 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ public class KeyDetector { private Keyboard mKeyboard; private int mCorrectionX; private int mCorrectionY; private boolean mProximityCorrectOn; /** * This class handles key detection. Loading Loading @@ -64,14 +63,6 @@ public class KeyDetector { return mKeyboard; } public void setProximityCorrectionEnabled(boolean enabled) { mProximityCorrectOn = enabled; } public boolean isProximityCorrectionEnabled() { return mProximityCorrectOn; } public boolean alwaysAllowsSlidingInput() { return false; } Loading
java/src/com/android/inputmethod/keyboard/MainKeyboardView.java +0 −17 Original line number Diff line number Diff line Loading @@ -497,23 +497,6 @@ public class MainKeyboardView extends KeyboardView implements PointerTracker.Key mHasDistinctMultitouch = hasDistinctMultitouch; } /** * When enabled, calls to {@link KeyboardActionListener#onCodeInput} will include key * codes for adjacent keys. When disabled, only the primary key code will be * reported. * @param enabled whether or not the proximity correction is enabled */ public void setProximityCorrectionEnabled(boolean enabled) { mKeyDetector.setProximityCorrectionEnabled(enabled); } /** * Returns true if proximity correction is enabled. */ public boolean isProximityCorrectionEnabled() { return mKeyDetector.isProximityCorrectionEnabled(); } @Override protected void onAttachedToWindow() { super.onAttachedToWindow(); Loading
java/src/com/android/inputmethod/latin/LatinIME.java +0 −1 Original line number Diff line number Diff line Loading @@ -693,7 +693,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen inputView.setKeyPreviewPopupEnabled(mCurrentSettings.mKeyPreviewPopupOn, mCurrentSettings.mKeyPreviewPopupDismissDelay); inputView.setProximityCorrectionEnabled(true); if (TRACE) Debug.startMethodTracing("/data/trace/latinime"); } Loading