Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 25 of 42) 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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallTest.java146 assertEquals(DisconnectCause.REJECTED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenAudioProcessing()
173 assertEquals(DisconnectCause.LOCAL, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenAudioProcessingAfterActive()
198 assertEquals(DisconnectCause.MISSED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenSimulatedRingingAndDisconnect()
223 assertEquals(DisconnectCause.REJECTED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenSimulatedRingingAndReject()
DAnalyticsTests.java123 assertEquals(DisconnectCause.ERROR, callAnalytics.callTerminationReason.getCode()); in testAnalyticsSingleCall()
167 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumping()
230 assertEquals(DisconnectCause.ERROR, callAnalytics1.callTerminationReason.getCode());
231 assertEquals(DisconnectCause.REMOTE, callAnalytics2.callTerminationReason.getCode());
345 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
/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()
/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()
/packages/services/Telephony/src/com/android/phone/
DImsRcsController.java94 throw new ServiceSpecificException(e.getCode()); in registerImsRegistrationCallback()
177 throw new ServiceSpecificException(e.getCode()); in registerRcsAvailabilityCallback()
DPhoneInterfaceManager.java3266 throw new ServiceSpecificException(e.getCode()); in registerImsRegistrationCallback()
3388 throw new ServiceSpecificException(e.getCode()); in registerMmTelCapabilityCallback()
3510 throw new ServiceSpecificException(e.getCode()); in isAdvancedCallingSettingEnabled()
3526 throw new ServiceSpecificException(e.getCode()); in setAdvancedCallingSettingEnabled()
3545 throw new ServiceSpecificException(e.getCode()); in isVtSettingEnabled()
3560 throw new ServiceSpecificException(e.getCode()); in setVtSettingEnabled()
3580 throw new ServiceSpecificException(e.getCode()); in isVoWiFiSettingEnabled()
3595 throw new ServiceSpecificException(e.getCode()); in setVoWiFiSettingEnabled()
3615 throw new ServiceSpecificException(e.getCode()); in isVoWiFiRoamingSettingEnabled()
3631 throw new ServiceSpecificException(e.getCode()); in setVoWiFiRoamingSettingEnabled()
[all …]
/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/Telephony/tests/src/com/android/services/telephony/
DDisconnectCauseUtilTest.java41 assertEquals(android.telecom.DisconnectCause.ERROR, tcCause.getCode()); in testDropDueToWifiLoss()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPunctuationSuggestions.java74 final int code = KeySpecParser.getCode(keySpec); in getWord()

12