Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java21 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
79 if (mCode != KEYCODE_UNKNOWN) {
98 mCode = KEYCODE_UNKNOWN; in KeyButtonView()
116 return mCode != KEYCODE_UNKNOWN || super.isClickable(); in isClickable()
132 if (mCode != KEYCODE_UNKNOWN) { in onInitializeAccessibilityNodeInfo()
151 if (action == ACTION_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
158 } else if (action == ACTION_LONG_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
190 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
216 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
236 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
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()
278 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
304 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
324 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java54 private int mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN;
193 if (mDownKeyCode == KeyEvent.KEYCODE_UNKNOWN || mDownKeyCode != event.getKeyCode()) { in interceptKey()
223 if (mDownKeyCode != KeyEvent.KEYCODE_UNKNOWN in interceptKeyDown()
296 mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN; in interceptKeyUp()
345 if (mDownKeyCode != KeyEvent.KEYCODE_UNKNOWN) { in reset()
358 mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN; in reset()
DGlobalKeyManager.java141 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in loadGlobalKeys()
DPhoneWindowManager.java41 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
4366 if (shouldDispatchInputWhenNonInteractive(displayId, KEYCODE_UNKNOWN)) { in interceptMotionBeforeQueueingNonInteractive()
/frameworks/base/core/java/android/view/
DKeyboardShortcutInfo.java55 checkArgument(keycode >= KeyEvent.KEYCODE_UNKNOWN && keycode <= KeyEvent.getMaxKeyCode()); in KeyboardShortcutInfo()
87 mKeycode = KeyEvent.KEYCODE_UNKNOWN; in KeyboardShortcutInfo()
DKeyEvent.java92 public static final int KEYCODE_UNKNOWN = 0; field in KeyEvent
1595 mKeyCode = KEYCODE_UNKNOWN; in KeyEvent()
2932 if (code != KeyEvent.KEYCODE_UNKNOWN) { in dispatch()
3127 return KEYCODE_UNKNOWN; in keyCodeFromString()
3131 return keyCode >= KEYCODE_UNKNOWN && keyCode <= LAST_KEYCODE; in keyCodeIsValid()
DViewRootImpl.java7405 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
7417 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
7461 return KeyEvent.KEYCODE_UNKNOWN; // should never happen
7553 private int mPendingKeyCode = KeyEvent.KEYCODE_UNKNOWN;
7666 if (mConsumedMovement && mPendingKeyCode != KeyEvent.KEYCODE_UNKNOWN) {
7768 if (mPendingKeyCode != KeyEvent.KEYCODE_UNKNOWN) {
7777 mPendingKeyCode = KeyEvent.KEYCODE_UNKNOWN;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java27 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
148 mKeyButtonView.setCode(KEYCODE_UNKNOWN); in testNoEventInjectedOnAbortUnknownGesture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskInitializerTest.kt151 createNoteTaskInitializer().callbacks.handleSystemKey(KeyEvent.KEYCODE_UNKNOWN) in handleSystemKey_receiveInvalidSystemKey_shouldDoNothing()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardAbsKeyInputViewControllerTest.java131 KeyEvent.KEYCODE_UNKNOWN, mock(KeyEvent.class)); in onKeyDown_noSecurityMessageInteraction()
/frameworks/base/core/java/android/widget/
DSearchView.java1091 … launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null, mSearchSrcTextView.getText()
1128 return onItemClicked(position, KeyEvent.KEYCODE_UNKNOWN, null); in onSuggestionsKey()
1311 launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null, query.toString()); in onSubmitQuery()
1504 launchSuggestion(position, KeyEvent.KEYCODE_UNKNOWN, null); in onItemClicked()
1529 onItemClicked(position, KeyEvent.KEYCODE_UNKNOWN, null);
1670 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
DAutoCompleteTextView.java134 private int mLastKeyCode = KeyEvent.KEYCODE_UNKNOWN;
878 mLastKeyCode = KeyEvent.KEYCODE_UNKNOWN; in onKeyDown()
/frameworks/base/core/java/android/app/
DSearchDialog.java539 launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null); in launchQuerySearch()
623 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardAbsKeyInputViewController.java60 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java503 || event.getKeyCode() != KeyEvent.KEYCODE_UNKNOWN) { in onKeyOther()
DBaseMovementMethod.java54 if (keyCode != KeyEvent.KEYCODE_UNKNOWN in onKeyOther()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java456 KeyEvent.KEYCODE_UNKNOWN, in getDefaultApplicationShortcuts()
711 if (info.getKeycode() == KeyEvent.KEYCODE_UNKNOWN) { in getHumanReadableShortcutKeys()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java517 if (keyCode == KeyEvent.KEYCODE_UNKNOWN) { in runKeyCombination()
DInputManagerService.java19 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
678 if (locationKeyCode <= KEYCODE_UNKNOWN || locationKeyCode > KeyEvent.getMaxKeyCode()) { in getKeyCodeForKeyLocation()
679 return KEYCODE_UNKNOWN; in getKeyCodeForKeyLocation()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3463 int keyCode = KeyEvent.KEYCODE_UNKNOWN; in adjustStreamVolume()
3481 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in adjustStreamVolume()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32696 field public static final int KEYCODE_UNKNOWN = 0; // 0x0
/frameworks/base/core/api/
Dcurrent.txt48629 field public static final int KEYCODE_UNKNOWN = 0; // 0x0