Searched refs:oldKeyIndex (Results 1 – 1 of 1) sorted by relevance
889 int oldKeyIndex = mCurrentKeyIndex; in showPreview() local894 if (oldKeyIndex != mCurrentKeyIndex) { in showPreview()895 if (oldKeyIndex != NOT_A_KEY && keys.length > oldKeyIndex) { in showPreview()896 keys[oldKeyIndex].onReleased(mCurrentKeyIndex == NOT_A_KEY); in showPreview()897 invalidateKey(oldKeyIndex); in showPreview()904 if (oldKeyIndex != mCurrentKeyIndex && mShowPreview && isParentPreviewEnabled()) { in showPreview()