Lines Matching defs:NOT_A_KEY
132 private static final int NOT_A_KEY = -1;
137 private int mCurrentKeyIndex = NOT_A_KEY;
199 private int mCurrentKey = NOT_A_KEY;
200 private int mDownKey = NOT_A_KEY;
207 private int mRepeatKeyIndex = NOT_A_KEY;
464 showPreview(NOT_A_KEY);
758 int primaryIndex = NOT_A_KEY;
759 int closestKey = NOT_A_KEY;
801 if (primaryIndex == NOT_A_KEY) {
808 if (index != NOT_A_KEY && index < mKeys.length) {
812 mKeyboardActionListener.onRelease(NOT_A_KEY);
817 Arrays.fill(codes, NOT_A_KEY);
858 if (oldKeyIndex != NOT_A_KEY && keys.length > oldKeyIndex) {
860 oldKey.onReleased(mCurrentKeyIndex == NOT_A_KEY);
869 if (mCurrentKeyIndex != NOT_A_KEY && keys.length > mCurrentKeyIndex) {
885 if (keyIndex == NOT_A_KEY) {
891 if (keyIndex != NOT_A_KEY) {
1077 showPreview(NOT_A_KEY);
1248 showPreview(NOT_A_KEY);
1269 mLastKey = NOT_A_KEY;
1275 mKeyboardActionListener.onPress(keyIndex != NOT_A_KEY ?
1284 mRepeatKeyIndex = NOT_A_KEY;
1288 if (mCurrentKey != NOT_A_KEY) {
1297 if (keyIndex != NOT_A_KEY) {
1298 if (mCurrentKey == NOT_A_KEY) {
1305 } else if (mRepeatKeyIndex == NOT_A_KEY) {
1321 if (keyIndex != NOT_A_KEY) {
1342 && mLastKey != NOT_A_KEY) {
1347 showPreview(NOT_A_KEY);
1348 Arrays.fill(mKeyIndices, NOT_A_KEY);
1350 if (mRepeatKeyIndex == NOT_A_KEY && !mMiniKeyboardOnScreen && !mAbortKey) {
1354 mRepeatKeyIndex = NOT_A_KEY;
1360 showPreview(NOT_A_KEY);
1432 mLastSentIndex = NOT_A_KEY;
1439 if (keyIndex == NOT_A_KEY) return;