Searched refs:mCurrentKeyIndex (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java136 private int mCurrentKeyIndex = NOT_A_KEY; field in class:KeyboardView
889 int oldKeyIndex = mCurrentKeyIndex;
892 mCurrentKeyIndex = keyIndex;
894 if (oldKeyIndex != mCurrentKeyIndex) {
896 keys[oldKeyIndex].onReleased(mCurrentKeyIndex == NOT_A_KEY);
899 if (mCurrentKeyIndex != NOT_A_KEY && keys.length > mCurrentKeyIndex) {
900 keys[mCurrentKeyIndex].onPressed();
901 invalidateKey(mCurrentKeyIndex);
904 if (oldKeyIndex != mCurrentKeyIndex
[all...]
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java155 private int mCurrentKeyIndex = NOT_A_KEY; field in class:KeyboardView
984 int oldKeyIndex = mCurrentKeyIndex;
987 mCurrentKeyIndex = keyIndex;
990 if (oldKeyIndex != mCurrentKeyIndex) {
999 if (mCurrentKeyIndex != NOT_A_KEY && keys.length > mCurrentKeyIndex) {
1000 Key newKey = keys[mCurrentKeyIndex];
1002 invalidateKey(mCurrentKeyIndex);
1006 if (oldKeyIndex != mCurrentKeyIndex && mShowPreview) {

Completed in 339 milliseconds