/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonView.java | 21 import static android.view.KeyEvent.KEYCODE_UNKNOWN; 76 mCode = KEYCODE_UNKNOWN; in KeyButtonView() 94 return mCode != KEYCODE_UNKNOWN || super.isClickable(); in isClickable() 110 if (mCode != KEYCODE_UNKNOWN) { in onInitializeAccessibilityNodeInfo() 129 if (action == ACTION_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal() 136 } else if (action == ACTION_LONG_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal() 167 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent() 190 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent() 209 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonView.java | 20 import static android.view.KeyEvent.KEYCODE_UNKNOWN; 138 if (mCode != KEYCODE_UNKNOWN) { 165 mCode = a.getInteger(R.styleable.KeyButtonView_keyCode, KEYCODE_UNKNOWN); in KeyButtonView() 189 return mCode != KEYCODE_UNKNOWN || super.isClickable(); in isClickable() 232 if (mCode != KEYCODE_UNKNOWN) { in onInitializeAccessibilityNodeInfo() 251 if (action == ACTION_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal() 257 } else if (action == ACTION_LONG_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal() 287 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent() 313 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent() 333 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SingleKeyGestureDetector.java | 53 private int mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN; 216 if (mDownKeyCode == KeyEvent.KEYCODE_UNKNOWN || mDownKeyCode != event.getKeyCode()) { in interceptKey() 248 if (mDownKeyCode != KeyEvent.KEYCODE_UNKNOWN in interceptKeyDown() 322 mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN; in interceptKeyUp() 397 if (mDownKeyCode != KeyEvent.KEYCODE_UNKNOWN) { in reset() 410 mDownKeyCode = KeyEvent.KEYCODE_UNKNOWN; in reset()
|
D | GlobalKeyManager.java | 145 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in loadGlobalKeys()
|
D | PhoneWindowManager.java | 49 import static android.view.KeyEvent.KEYCODE_UNKNOWN; 5254 if (shouldDispatchInputWhenNonInteractive(displayId, KEYCODE_UNKNOWN)) {
|
/frameworks/base/core/java/android/view/ |
D | KeyboardShortcutInfo.java | 55 checkArgument(keycode >= KeyEvent.KEYCODE_UNKNOWN && keycode <= KeyEvent.getMaxKeyCode()); in KeyboardShortcutInfo() 87 mKeycode = KeyEvent.KEYCODE_UNKNOWN; in KeyboardShortcutInfo()
|
D | KeyEvent.java | 99 public static final int KEYCODE_UNKNOWN = 0; field in KeyEvent 1716 this(/* downTime= */ time, /* eventTime= */ time, ACTION_MULTIPLE, KEYCODE_UNKNOWN, in KeyEvent() 3060 if (code != KeyEvent.KEYCODE_UNKNOWN) { in dispatch() 3255 return KEYCODE_UNKNOWN; in keyCodeFromString() 3259 return keyCode >= KEYCODE_UNKNOWN && keyCode <= LAST_KEYCODE; in keyCodeIsValid()
|
D | KeyCharacterMap.java | 404 return keyCode == KeyEvent.KEYCODE_UNKNOWN ? defaultKeyCode : keyCode; in getMappedKeyOrDefault()
|
D | ViewRootImpl.java | 8641 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { 8653 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { 8697 return KeyEvent.KEYCODE_UNKNOWN; // should never happen
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonViewTest.java | 27 import static android.view.KeyEvent.KEYCODE_UNKNOWN; 151 mKeyButtonView.setCode(KEYCODE_UNKNOWN); in testNoEventInjectedOnAbortUnknownGesture()
|
/frameworks/base/core/java/android/hardware/input/ |
D | PhysicalKeyLayout.java | 311 getKey(KeyEvent.KEYCODE_UNKNOWN, 1.0F), in createJisLayout() 313 getKey(KeyEvent.KEYCODE_UNKNOWN, 1.0F), in createJisLayout() 314 getKey(KeyEvent.KEYCODE_UNKNOWN, 1.0F), in createJisLayout() 326 DEFAULT_KEYCODE_FOR_SCANCODE.get(scanCode, KeyEvent.KEYCODE_UNKNOWN)); in getKey() 374 case KeyEvent.KEYCODE_UNKNOWN: in isSpecialKey()
|
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 1091 … 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()
|
D | AutoCompleteTextView.java | 134 private int mLastKeyCode = KeyEvent.KEYCODE_UNKNOWN; 878 mLastKeyCode = KeyEvent.KEYCODE_UNKNOWN; in onKeyDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardAbsKeyInputViewControllerTest.java | 155 KeyEvent.KEYCODE_UNKNOWN, mock(KeyEvent.class));
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 539 launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null); in launchQuerySearch() 623 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardAbsKeyInputViewController.java | 63 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | KeyEventHandling.java | 119 import static android.view.KeyEvent.KEYCODE_UNKNOWN; 393 return KEYCODE_UNKNOWN; in javaToAndroidKeyCode()
|
/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 522 || event.getKeyCode() != KeyEvent.KEYCODE_UNKNOWN) { in onKeyOther()
|
D | BaseMovementMethod.java | 55 if (keyCode != KeyEvent.KEYCODE_UNKNOWN in onKeyOther()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 228 KeyEvent.KEYCODE_UNKNOWN, /* repeat= */ 0, /* metaState= */ 0, DEVICE_ID, in testConstructorWith4Args()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcuts.java | 526 KeyEvent.KEYCODE_UNKNOWN, in getDefaultApplicationShortcuts() 784 if (info.getKeycode() == KeyEvent.KEYCODE_UNKNOWN) { in getHumanReadableShortcutKeys()
|
D | KeyboardShortcutListSearch.java | 560 Pair.create(KeyEvent.KEYCODE_UNKNOWN, KeyEvent.META_META_ON))), in getMultiMappingSystemShortcuts() 1228 if (info.getKeycode() == KeyEvent.KEYCODE_UNKNOWN) { in getHumanReadableShortcutKeys()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 677 if (keyCode == KeyEvent.KEYCODE_UNKNOWN) { in runKeyCombination()
|
D | InputManagerService.java | 20 import static android.view.KeyEvent.KEYCODE_UNKNOWN; 672 if (locationKeyCode <= KEYCODE_UNKNOWN || locationKeyCode > KeyEvent.getMaxKeyCode()) { in getKeyCodeForKeyLocation() 673 return KEYCODE_UNKNOWN; in getKeyCodeForKeyLocation()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 3851 int keyCode = KeyEvent.KEYCODE_UNKNOWN; in adjustStreamVolume() 3869 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in adjustStreamVolume()
|