Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 25 of 37) 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/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionResponse.java41 return status.getCode() == Status.Code.UNAVAILABLE; in hasRecoverableError()
49 return status.getCode() == Code.ALREADY_EXISTS; in isStatusAlreadyExists()
57 return status.getCode() != Status.Code.OK && status.getCode() != Status.Code.UNAVAILABLE; in hasFatalError()
/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java113 assertEquals(DisconnectCause.ERROR, callAnalytics.callTerminationReason.getCode()); in testAnalyticsSingleCall()
157 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumping()
220 assertEquals(DisconnectCause.ERROR, callAnalytics1.callTerminationReason.getCode());
221 assertEquals(DisconnectCause.REMOTE, callAnalytics2.callTerminationReason.getCode());
333 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumpToProto()
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DDefaultErrorDialog.java34 && (disconnectCause.getCode() == DisconnectCause.ERROR in shouldShow()
35 || disconnectCause.getCode() == DisconnectCause.RESTRICTED); in shouldShow()
DDisconnectMessage.java61 cause.getCode(), in toString()
DVideoCallNotAvailablePrompt.java38 if (disconnectCause.getCode() == DisconnectCause.ERROR in shouldShow()
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPunctuationSuggestions.java74 final int code = KeySpecParser.getCode(keySpec); in getWord()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java161 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged()
322 call.getDisconnectCause().getCode() == DisconnectCause.CALL_PULLED, in logCall()

12