Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 25 of 29) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java304 (key == null ? "none" : Constants.printableCode(key.getCode())), in callListenerOnPressAndCheckKeyboardLayoutChange()
313 sListener.onPressKey(key.getCode(), repeatCount, getActivePointerTrackerCount() == 1); in callListenerOnPressAndCheckKeyboardLayoutChange()
790 if (!sInGesture && key != null && Character.isLetter(key.getCode()) in onGestureMoveEvent()
860 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack()
861 x, y, Constants.printableCode(key.getCode()))); in processPhantomSuddenMoveHack()
879 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processProximateBogusDownMoveUpEventHack()
880 x, y, Constants.printableCode(key.getCode()))); in processProximateBogusDownMoveUpEventHack()
888 callListenerOnRelease(oldKey, oldKey.getCode(), true /* withSliding */); in processDraggingFingerOutFromOldKey()
1042 callListenerOnRelease(currentKey, currentKey.getCode(), true /* withSliding */); in onUpEventInternal()
1056 && (currentKey.getCode() == currentRepeatingKeyCode) && !isInDraggingFinger) { in onUpEventInternal()
[all …]
DProximityInfo.java103 return key.getCode() >= Constants.CODE_SPACE; in needsProximityInfo()
130 proximityCharsArray[infoIndex] = neighborKey.getCode(); in createNativeProximityInfo()
171 keyCharCodes[infoIndex] = key.getCode(); in createNativeProximityInfo()
212 Constants.printableCode(key.getCode()))); in createNativeProximityInfo()
386 final int code = key.getCode(); in fillArrayWithNearestKeyCodes()
DKeyDetector.java109 || key.getCode() > primaryKey.getCode()) { in detectHitKey()
DKeyboard.java179 if (key.getCode() == code) { in getKey()
196 mKeyCache.put(key.getCode(), key); in hasKey()
DKey.java320 final int code = KeySpecParser.getCode(keySpec); in Key()
486 final int code = getCode(); in toShortString()
515 public int getCode() { in getCode() method in Key
DMainKeyboardView.java625 final int code = key.getCode(); in onLongPress()
844 final int code = key.getCode(); in onDrawKeyTopVisuals()
DMoreKeysKeyboardView.java196 final int code = key.getCode(); in onKeyInput()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DDynamicGridKeyboard.java69 if (key.getCode() == code) { in getTemplateKey()
138 keys.add(key.getCode()); in saveRecentKeys()
149 if (key.getCode() == code) { in getKeyByCode()
254 if (getCode() != key.getCode()) return false; in equals()
DEmojiCategory.java335 if (lhs.getCode() == rhs.getCode()) {
338 return lhs.getCode() < rhs.getCode() ? -1 : 1;
DEmojiPalettesView.java337 final int code = key.getCode(); in onPressKey()
350 final int code = key.getCode(); in onReleaseKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DTimerHandler.java89 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); in startKeyRepeatTimerOf()
113 final int messageId = (key.getCode() == Constants.CODE_SHIFT) in startLongPressTimerOf()
148 final int typedCode = typedKey.getCode(); in startTypingStateTimer()
DKeySpecParser.java187 public static int getCode(final String keySpec) { in getCode() method in KeySpecParser
219 return KeyboardCodesSet.getCode(text.substring(KeyboardCodesSet.PREFIX_CODE.length())); in parseCode()
DKeyboardCodesSet.java32 public static int getCode(final String name) { in getCode() method in KeyboardCodesSet
DKeyboardParams.java110 if (key.getCode() == Constants.CODE_SHIFT) { in onAddKey()
DMoreKeySpec.java56 KeySpecParser.getCode(moreKeySpec), needsToUpperCase, locale); in MoreKeySpec()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java85 return mCode == key.getCode(); in equalsTo()
140 return key.getCode() == Constants.CODE_OUTPUT_TEXT in equalsTo()
DActualKeyboardBuilder.java137 key.getLabel(), key.getIconId(), key.getOutputText(), key.getCode())); in stringize()
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java431 return mDisconnectCause.getCode() == DisconnectCause.ERROR || in shouldContinueProcessingAfterDisconnect()
631 (mDisconnectCause.getCode() == DisconnectCause.REJECTED || in getAgeMillis()
632 mDisconnectCause.getCode() == DisconnectCause.MISSED)) { in getAgeMillis()
DCallLogManager.java101 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged()
DMissedCallNotifier.java88 call.getDisconnectCause().getCode() == DisconnectCause.MISSED) { in onCallStateChanged()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeySpecParserTestsBase.java51 mCodeSettings = KeyboardCodesSet.getCode(CODE_SETTINGS_NAME); in setUp()
52 mCodeActionNext = KeyboardCodesSet.getCode("key_action_next"); in setUp()
DKeySpecParserTests.java36 final int actualCode = KeySpecParser.getCode(keySpecResolved); in assertParser()
/packages/apps/InCallUI/src/com/android/incallui/
DInCallActivity.java717 && (disconnectCause.getCode() == DisconnectCause.ERROR || in maybeShowErrorDialogOnDisconnect()
718 disconnectCause.getCode() == DisconnectCause.RESTRICTED)) { in maybeShowErrorDialogOnDisconnect()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPunctuationSuggestions.java65 final int code = KeySpecParser.getCode(keySpec); in getWord()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityNodeProvider.java329 if (currentSettings.isWordSeparator(key.getCode())) { in getKeyDescription()

12