Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java21 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/
DKeyButtonView.java20 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/
DSingleKeyGestureDetector.java53 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()
DGlobalKeyManager.java145 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in loadGlobalKeys()
DPhoneWindowManager.java49 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
5254 if (shouldDispatchInputWhenNonInteractive(displayId, KEYCODE_UNKNOWN)) {
/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.java99 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()
DKeyCharacterMap.java404 return keyCode == KeyEvent.KEYCODE_UNKNOWN ? defaultKeyCode : keyCode; in getMappedKeyOrDefault()
DViewRootImpl.java8641 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/
DKeyButtonViewTest.java27 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
151 mKeyButtonView.setCode(KEYCODE_UNKNOWN); in testNoEventInjectedOnAbortUnknownGesture()
/frameworks/base/core/java/android/hardware/input/
DPhysicalKeyLayout.java311 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/
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/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardAbsKeyInputViewControllerTest.java155 KeyEvent.KEYCODE_UNKNOWN, mock(KeyEvent.class));
/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.java63 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DKeyEventHandling.java119 import static android.view.KeyEvent.KEYCODE_UNKNOWN;
393 return KEYCODE_UNKNOWN; in javaToAndroidKeyCode()
/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java522 || event.getKeyCode() != KeyEvent.KEYCODE_UNKNOWN) { in onKeyOther()
DBaseMovementMethod.java55 if (keyCode != KeyEvent.KEYCODE_UNKNOWN in onKeyOther()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java228 KeyEvent.KEYCODE_UNKNOWN, /* repeat= */ 0, /* metaState= */ 0, DEVICE_ID, in testConstructorWith4Args()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java526 KeyEvent.KEYCODE_UNKNOWN, in getDefaultApplicationShortcuts()
784 if (info.getKeycode() == KeyEvent.KEYCODE_UNKNOWN) { in getHumanReadableShortcutKeys()
DKeyboardShortcutListSearch.java560 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/
DInputShellCommand.java677 if (keyCode == KeyEvent.KEYCODE_UNKNOWN) { in runKeyCombination()
DInputManagerService.java20 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/
DAudioService.java3851 int keyCode = KeyEvent.KEYCODE_UNKNOWN; in adjustStreamVolume()
3869 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) { in adjustStreamVolume()

12