Home
last modified time | relevance | path

Searched refs:mCurrentKeyIndex (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java142 private int mCurrentKeyIndex = NOT_A_KEY; field in KeyboardView
870 int oldKeyIndex = mCurrentKeyIndex; in showPreview()
873 mCurrentKeyIndex = keyIndex; in showPreview()
876 if (oldKeyIndex != mCurrentKeyIndex) { in showPreview()
879 oldKey.onReleased(mCurrentKeyIndex == NOT_A_KEY); in showPreview()
888 if (mCurrentKeyIndex != NOT_A_KEY && keys.length > mCurrentKeyIndex) { in showPreview()
889 Key newKey = keys[mCurrentKeyIndex]; in showPreview()
891 invalidateKey(mCurrentKeyIndex); in showPreview()
901 if (oldKeyIndex != mCurrentKeyIndex && mShowPreview) { in showPreview()
/aosp12/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java155 private int mCurrentKeyIndex = NOT_A_KEY; field in KeyboardView
987 int oldKeyIndex = mCurrentKeyIndex; in showPreview()
990 mCurrentKeyIndex = keyIndex; in showPreview()
993 if (oldKeyIndex != mCurrentKeyIndex) { in showPreview()
1002 if (mCurrentKeyIndex != NOT_A_KEY && keys.length > mCurrentKeyIndex) { in showPreview()
1003 Key newKey = keys[mCurrentKeyIndex]; in showPreview()
1005 invalidateKey(mCurrentKeyIndex); in showPreview()
1009 if (oldKeyIndex != mCurrentKeyIndex && mShowPreview) { in showPreview()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt25564 Landroid/inputmethodservice/KeyboardView;->mCurrentKeyIndex:I