Home
last modified time | relevance | path

Searched refs:oldKeyIndex (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java870 int oldKeyIndex = mCurrentKeyIndex; in showPreview() local
876 if (oldKeyIndex != mCurrentKeyIndex) { in showPreview()
877 if (oldKeyIndex != NOT_A_KEY && keys.length > oldKeyIndex) { in showPreview()
878 Key oldKey = keys[oldKeyIndex]; in showPreview()
880 invalidateKey(oldKeyIndex); in showPreview()
901 if (oldKeyIndex != mCurrentKeyIndex && mShowPreview) { in showPreview()
/aosp12/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java987 int oldKeyIndex = mCurrentKeyIndex; in showPreview() local
993 if (oldKeyIndex != mCurrentKeyIndex) { in showPreview()
994 if (oldKeyIndex != NOT_A_KEY && keys.length > oldKeyIndex) { in showPreview()
995 Key oldKey = keys[oldKeyIndex]; in showPreview()
1000 invalidateKey(oldKeyIndex); in showPreview()
1009 if (oldKeyIndex != mCurrentKeyIndex && mShowPreview) { in showPreview()