Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java256 (key == null ? "none" : Constants.printableCode(key.getCode())), in callListenerOnPressAndCheckKeyboardLayoutChange()
265 sListener.onPressKey(key.getCode(), repeatCount, getActivePointerTrackerCount() == 1); in callListenerOnPressAndCheckKeyboardLayoutChange()
729 if (!sInGesture && key != null && Character.isLetter(key.getCode()) in onGestureMoveEvent()
799 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack()
800 x, y, Constants.printableCode(key.getCode()))); in processPhantomSuddenMoveHack()
818 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processProximateBogusDownMoveUpEventHack()
819 x, y, Constants.printableCode(key.getCode()))); in processProximateBogusDownMoveUpEventHack()
827 callListenerOnRelease(oldKey, oldKey.getCode(), true /* withSliding */); in processDraggingFingerOutFromOldKey()
981 callListenerOnRelease(currentKey, currentKey.getCode(), true /* withSliding */); in onUpEventInternal()
995 && (currentKey.getCode() == currentRepeatingKeyCode) && !isInDraggingFinger) { in onUpEventInternal()
[all …]
DProximityInfo.java100 return key.getCode() >= Constants.CODE_SPACE; in needsProximityInfo()
128 proximityCharsArray[infoIndex] = neighborKey.getCode(); in createNativeProximityInfo()
169 keyCharCodes[infoIndex] = key.getCode(); in createNativeProximityInfo()
210 Constants.printableCode(key.getCode()))); in createNativeProximityInfo()
384 final int code = key.getCode(); in fillArrayWithNearestKeyCodes()
DKeyDetector.java109 || key.getCode() > primaryKey.getCode()) { in detectHitKey()
DKeyboardLayout.java60 mKeyCodes[i] = Character.toLowerCase(key.getCode()); in KeyboardLayout()
117 if (key.getCode() != ',') { in newKeyboardLayout()
DKeyboard.java201 if (key.getCode() == code) { in getKey()
218 mKeyCache.put(key.getCode(), key); in hasKey()
DKey.java343 final int code = KeySpecParser.getCode(keySpec); in Key()
533 final int code = getCode(); in toShortString()
562 public int getCode() { in getCode() method in Key
/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.java423 if (lhs.getCode() == rhs.getCode()) {
426 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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java83 assertEquals(DisconnectCause.ERROR, callAnalytics.callTerminationReason.getCode()); in testAnalyticsSingleCall()
126 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumping()
188 assertEquals(DisconnectCause.ERROR, callAnalytics1.callTerminationReason.getCode());
189 assertEquals(DisconnectCause.REMOTE, callAnalytics2.callTerminationReason.getCode());
297 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumpToProto()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DTimerHandler.java93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); in startKeyRepeatTimerOf()
117 final int messageId = (key.getCode() == Constants.CODE_SHIFT) in startLongPressTimerOf()
152 final int typedCode = typedKey.getCode(); in startTypingStateTimer()
DKeySpecParser.java196 public static int getCode(@Nullable final String keySpec) { in getCode() method in KeySpecParser
228 return KeyboardCodesSet.getCode(text.substring(KeyboardCodesSet.PREFIX_CODE.length())); in parseCode()
DMoreKeySpec.java62 final int codeInSpec = KeySpecParser.getCode(moreKeySpec); in MoreKeySpec()
131 final int code = key.getCode(); in addLetter()
DKeyboardCodesSet.java32 public static int getCode(final String name) { in getCode() method in KeyboardCodesSet
DKeyboardParams.java131 if (key.getCode() == Constants.CODE_SHIFT) { in onAddKey()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java84 return mCode == key.getCode(); in hasSameKeyOutput()
139 return key.getCode() == Constants.CODE_OUTPUT_TEXT in hasSameKeyOutput()
DActualKeyboardBuilder.java144 key.getLabel(), key.getIconId(), key.getOutputText(), key.getCode())); in stringize()
/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/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java139 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged()
223 call.getDisconnectCause().getCode() == DisconnectCause.CALL_PULLED); in logCall()
DCall.java699 return mDisconnectCause.getCode() == DisconnectCause.ERROR || in shouldContinueProcessingAfterDisconnect()
769 mDisconnectCause.getCode() == DisconnectCause.MISSED) { in setState()
1102 (mDisconnectCause.getCode() == DisconnectCause.REJECTED || in getAgeMillis()
1103 mDisconnectCause.getCode() == DisconnectCause.MISSED)) { in getAgeMillis()
DAnalytics.java257 other.callTerminationReason.getCode(), in CallInfoImpl()
434 callTerminationReason.getCode()) in toProto()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPunctuationSuggestions.java74 final int code = KeySpecParser.getCode(keySpec); in getWord()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivityCommon.java562 && (cause.getCode() == DisconnectCause.ERROR in shouldShowDisconnectErrorDialog()
563 || cause.getCode() == DisconnectCause.RESTRICTED); in shouldShowDisconnectErrorDialog()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityNodeProvider.java329 if (currentSettings.isWordSeparator(key.getCode())) { in getKeyDescription()

12