Home
last modified time | relevance | path

Searched refs:KEYCODE_UNKNOWN (Results 1 – 25 of 28) sorted by relevance

12

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonView.java20 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
133 if (mCode != KEYCODE_UNKNOWN) {
160 mCode = a.getInteger(R.styleable.KeyButtonView_keyCode, KEYCODE_UNKNOWN); in KeyButtonView()
184 return mCode != KEYCODE_UNKNOWN || super.isClickable(); in isClickable()
223 if (mCode != KEYCODE_UNKNOWN) { in onInitializeAccessibilityNodeInfo()
242 if (action == ACTION_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
248 } else if (action == ACTION_LONG_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
279 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
305 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
325 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DSingleKeyGestureDetector.java54 private int mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN;
187 if (mDownKeyCode == KeyEvent.KEYCODE_UNKNOWN || mDownKeyCode != event.getKeyCode()) { in interceptKey()
214 if (mDownKeyCode != KeyEvent.KEYCODE_UNKNOWN in interceptKeyDown()
276 mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN; in interceptKeyUp()
323 if (mDownKeyCode != KeyEvent.KEYCODE_UNKNOWN) { in reset()
336 mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN; in reset()
H A DGlobalKeyManager.java143 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in loadGlobalKeys()
H A DPhoneWindowManager.java44 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
3987 if (shouldDispatchInputWhenNonInteractive(displayId, KEYCODE_UNKNOWN)) { in interceptMotionBeforeQueueingNonInteractive()
/aosp12/frameworks/base/core/java/android/view/
H A DKeyboardShortcutInfo.java55 checkArgument(keycode >= KeyEvent.KEYCODE_UNKNOWN && keycode <= KeyEvent.getMaxKeyCode()); in KeyboardShortcutInfo()
87 mKeycode = KeyEvent.KEYCODE_UNKNOWN; in KeyboardShortcutInfo()
H A DKeyEvent.java90 public static final int KEYCODE_UNKNOWN = 0; field in KeyEvent
1552 mKeyCode = KEYCODE_UNKNOWN; in KeyEvent()
2885 if (code != KeyEvent.KEYCODE_UNKNOWN) { in dispatch()
3080 return KEYCODE_UNKNOWN; in keyCodeFromString()
3084 return keyCode >= KEYCODE_UNKNOWN && keyCode <= LAST_KEYCODE; in keyCodeIsValid()
H A DViewRootImpl.java7079 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
7091 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
7135 return KeyEvent.KEYCODE_UNKNOWN; // should never happen
7227 private int mPendingKeyCode = KeyEvent.KEYCODE_UNKNOWN;
7340 if (mConsumedMovement && mPendingKeyCode != KeyEvent.KEYCODE_UNKNOWN) {
7442 if (mPendingKeyCode != KeyEvent.KEYCODE_UNKNOWN) {
7451 mPendingKeyCode = KeyEvent.KEYCODE_UNKNOWN;
/aosp12/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DSideFragment.java74 this(KeyEvent.KEYCODE_UNKNOWN, KeyEvent.KEYCODE_UNKNOWN); in SideFragment()
139 return mHideKey != KeyEvent.KEYCODE_UNKNOWN in isHideKeyForThisPanel()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonViewTest.java27 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
148 mKeyButtonView.setCode(KEYCODE_UNKNOWN); in testNoEventInjectedOnAbortUnknownGesture()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
H A DAbstractDialpadFragment.java73 private int mCurrentlyPlayingTone = KeyEvent.KEYCODE_UNKNOWN;
154 mCurrentlyPlayingTone = KeyEvent.KEYCODE_UNKNOWN; in onKeypadKeyUp()
/aosp12/frameworks/base/core/java/android/widget/
H A DSearchView.java1084 … launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null, mSearchSrcTextView.getText()
1121 return onItemClicked(position, KeyEvent.KEYCODE_UNKNOWN, null); in onSuggestionsKey()
1304 launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null, query.toString()); in onSubmitQuery()
1497 launchSuggestion(position, KeyEvent.KEYCODE_UNKNOWN, null); in onItemClicked()
1522 onItemClicked(position, KeyEvent.KEYCODE_UNKNOWN, null);
1663 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
H A DAutoCompleteTextView.java131 private int mLastKeyCode = KeyEvent.KEYCODE_UNKNOWN;
863 mLastKeyCode = KeyEvent.KEYCODE_UNKNOWN; in onKeyDown()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
H A DAvrcpPassthrough.java131 return KeyEvent.KEYCODE_UNKNOWN; in toKeyCode()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardAbsKeyInputViewControllerTest.java124 KeyEvent.KEYCODE_UNKNOWN, mock(KeyEvent.class)); in onKeyDown_noSecurityMessageInteraction()
/aosp12/frameworks/base/core/java/android/app/
H A DSearchDialog.java539 launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null); in launchQuerySearch()
623 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardAbsKeyInputViewController.java58 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
/aosp12/frameworks/base/core/java/android/text/method/
H A DBaseKeyListener.java503 || event.getKeyCode() != KeyEvent.KEYCODE_UNKNOWN) { in onKeyOther()
H A DBaseMovementMethod.java54 if (keyCode != KeyEvent.KEYCODE_UNKNOWN in onKeyOther()
/aosp12/packages/apps/Car/RotaryController/src/com/android/car/rotary/
H A DRotaryService.java27 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
1744 String.format(OFF_SCREEN_NUDGE_KEY_CODE_FORMAT, directionString), KEYCODE_UNKNOWN); in handleAppSpecificOffScreenNudge()
1745 if (keyCode != KEYCODE_UNKNOWN) { in handleAppSpecificOffScreenNudge()
1789 if (keyCode != KEYCODE_UNKNOWN) { in handleAppAgnosticOffScreenNudge()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java456 KeyEvent.KEYCODE_UNKNOWN, in getDefaultApplicationShortcuts()
711 if (info.getKeycode() == KeyEvent.KEYCODE_UNKNOWN) { in getHumanReadableShortcutKeys()
/aosp12/frameworks/base/services/core/java/com/android/server/input/
H A DInputShellCommand.java473 if (keyCode == KeyEvent.KEYCODE_UNKNOWN) { in runKeyCombination()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarShellCommand.java1106 int keyCode = KeyEvent.KEYCODE_UNKNOWN;
1134 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
1147 if (keyCode == KeyEvent.KEYCODE_UNKNOWN) {
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DRichInputConnection.java542 case KeyEvent.KEYCODE_UNKNOWN: in sendKeyEvent()
/aosp12/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
H A DLeanbackKeyboardContainer.java1027 focus.code = KeyEvent.KEYCODE_UNKNOWN; in configureFocus()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java3024 int keyCode = KeyEvent.KEYCODE_UNKNOWN; in adjustStreamVolume()
3038 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in adjustStreamVolume()

12