/frameworks/base/services/core/java/com/android/server/policy/ |
D | DeferredKeyActionExecutor.java | 62 public void queueKeyAction(int keyCode, long downTime, Runnable action) { in queueKeyAction() 75 public void setActionsExecutable(int keyCode, long downTime) { in setActionsExecutable() 84 public void cancelQueuedAction(int keyCode) { in cancelQueuedAction() 91 private TimedActionsBuffer getActionsBufferWithLazyCleanUp(int keyCode, long downTime) { in getActionsBufferWithLazyCleanUp() 124 TimedActionsBuffer(int keyCode, long downTime) { in TimedActionsBuffer()
|
D | GlobalKeyManager.java | 74 boolean handleGlobalKey(Context context, int keyCode, KeyEvent event) { in handleGlobalKey() 94 boolean shouldHandleGlobalKey(int keyCode) { in shouldHandleGlobalKey() 101 boolean shouldDispatchFromNonInteractive(int keyCode) { in shouldDispatchFromNonInteractive() 144 int keyCode = KeyEvent.keyCodeFromString(keyCodeName); in loadGlobalKeys() local
|
D | SingleKeyGestureDetector.java | 81 SingleKeyRule(int keyCode) { in SingleKeyRule() 88 private boolean shouldInterceptKey(int keyCode) { in shouldInterceptKey() 185 private record MessageObject(SingleKeyRule activeRule, int keyCode, int pressCount, in MessageObject() 227 final int keyCode = event.getKeyCode(); in interceptKeyDown() local 387 int getKeyPressCounter(int keyCode) { in getKeyPressCounter() 413 boolean isKeyIntercepted(int keyCode) { in isKeyIntercepted() 446 final int keyCode = object.keyCode; in handleMessage() local
|
D | KeyCombinationManager.java | 81 boolean shouldInterceptKey(int keyCode) { in shouldInterceptKey() 159 final int keyCode = event.getKeyCode(); in interceptKeyLocked() local 229 long getKeyInterceptTimeout(int keyCode) { in getKeyInterceptTimeout()
|
D | ModifierShortcutManager.java | 141 private Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { in getIntent() 315 private boolean handleShortcutService(int keyCode, int metaState) { in handleShortcutService() 355 final int keyCode = keyEvent.getKeyCode(); in handleIntentShortcut() local 439 final int keyCode = event.getKeyCode(); in interceptKey() local
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 245 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 252 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() 259 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() 264 private boolean handleKeyUp(int keyCode) { in handleKeyUp() 305 private static boolean isKeyCodeNumeric(int keyCode) { in isKeyCodeNumeric() 313 private static int numericKeyCodeToInt(int keyCode) { in numericKeyCodeToInt()
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvRemoteServiceInput.aidl | 33 void sendKeyDown(IBinder token, int keyCode); in sendKeyDown() 35 void sendKeyUp(IBinder token, int keyCode); in sendKeyUp() 45 void sendGamepadKeyDown(IBinder token, int keyCode); in sendGamepadKeyDown() 46 void sendGamepadKeyUp(IBinder token, int keyCode); in sendGamepadKeyUp()
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 302 private static native char nativeGetCharacter(long ptr, int keyCode, int metaState); in nativeGetCharacter() 303 private static native boolean nativeGetFallbackAction(long ptr, int keyCode, int metaState, in nativeGetFallbackAction() 305 private static native char nativeGetNumber(long ptr, int keyCode); in nativeGetNumber() 306 private static native char nativeGetMatch(long ptr, int keyCode, char[] chars, int metaState); in nativeGetMatch() 307 private static native char nativeGetDisplayLabel(long ptr, int keyCode); in nativeGetDisplayLabel() 403 int keyCode = nativeGetMappedKey(mPtr, scanCode); in getMappedKeyOrDefault() local 428 public int get(int keyCode, int metaState) { in get() 457 public FallbackAction getFallbackAction(int keyCode, int metaState) { in getFallbackAction() 489 public char getNumber(int keyCode) { in getNumber() 506 public char getMatch(int keyCode, char[] chars) { in getMatch() [all …]
|
D | InputEventConsistencyVerifier.java | 211 final int keyCode = event.getKeyCode(); in onKeyEvent() local 600 final int keyCode = keyEvent.getKeyCode(); in onUnhandledEvent() local 744 private KeyState findKeyState(int deviceId, int source, int keyCode, boolean remove) { in findKeyState() 766 private void addKeyState(int deviceId, int source, int keyCode) { in addKeyState() 779 public int keyCode; field in InputEventConsistencyVerifier.KeyState 785 public static KeyState obtain(int deviceId, int source, int keyCode) { in obtain()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | SingleKeyGestureTests.java | 192 public final int keyCode; field in SingleKeyGestureTests.KeyUpData 195 KeyUpData(int keyCode, int pressCount) { in KeyUpData() 201 private void pressKey(int keyCode, long pressTime) { in pressKey() 205 private void pressKey(int keyCode, long pressTime, boolean interactive) { in pressKey() 210 int keyCode, long pressTime, boolean interactive, boolean defaultDisplayOn) { in pressKey()
|
D | ShortcutKeyTestBase.java | 147 final int keyCode = keyCodes[i]; in sendKeyCombination() local 164 final int keyCode = keyCodes[i]; in sendKeyCombination() local 176 final int keyCode = keyCodes[i]; in sendKeyCombination() local 199 void sendKey(int keyCode) { in sendKey() 203 void sendKey(int keyCode, boolean longPress) { in sendKey()
|
/frameworks/native/libs/input/ |
D | KeyCharacterMap.cpp | 226 char16_t KeyCharacterMap::getCharacter(int32_t keyCode, int32_t metaState) const { in getCharacter() 238 bool KeyCharacterMap::getFallbackAction(int32_t keyCode, int32_t metaState, in getFallbackAction() 261 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, in getMatch() 292 int32_t keyCode, metaState; in getEvents() local 429 const KeyCharacterMap::Behavior* KeyCharacterMap::getKeyBehavior(int32_t keyCode, in getKeyBehavior() 496 void KeyCharacterMap::addKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t keyCode, in addKey() 573 int32_t keyCode, int32_t keyMetaState, in addSingleEphemeralMetaKey() 603 int32_t keyCode, int32_t keyMetaState, in addLockedMetaKey() 633 int32_t keyCode = parcel->readInt32(); in readFromParcel() local 906 std::optional<int> keyCode = InputEventLookup::getKeyCodeByLabel(keyCodeToken.c_str()); in parseMapKey() local [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | UinputBridge.java | 37 private static native void nativeSendKey(long ptr, int keyCode, boolean down); in nativeSendKey() 50 private static native void nativeSendGamepadKey(long ptr, int keyCode, boolean down); in nativeSendGamepadKey() 138 public void sendKeyDown(IBinder token, int keyCode) { in sendKeyDown() 144 public void sendKeyUp(IBinder token, int keyCode) { in sendKeyUp() 172 public void sendGamepadKey(IBinder token, int keyCode, boolean down) { in sendGamepadKey()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionWindow.java | 192 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 200 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress() 208 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() 216 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.cpp | 31 static int32_t rotateKeyCode(int32_t keyCode, ui::Rotation orientation) { in rotateKeyCode() 66 static bool isMediaKey(int32_t keyCode) { in isMediaKey() 259 int32_t keyCode; in processKey() local 371 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() 393 bool KeyboardInputMapper::updateMetaState(int32_t keyCode) { in updateMetaState() 402 bool KeyboardInputMapper::updateMetaStateIfNeeded(int32_t keyCode, bool down) { in updateMetaStateIfNeeded()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 71 final int keyCode = event.getKeyCode(); in dispatchKeyEvent() local 81 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 206 boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | AlertActivity.java | 92 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 98 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
/frameworks/base/core/java/android/text/method/ |
D | KeyListener.java | 64 int keyCode, KeyEvent event); in onKeyDown() 72 int keyCode, KeyEvent event); in onKeyUp()
|
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/ |
D | TvRemoteProvider.java | 324 public void sendKeyUp(@NonNull IBinder token, int keyCode) throws RuntimeException { in sendKeyUp() 341 public void sendKeyDown(@NonNull IBinder token, int keyCode) throws RuntimeException { in sendKeyDown() 428 public void sendGamepadKeyDown(@NonNull IBinder token, @GamepadKeyCode int keyCode) in sendGamepadKeyDown() 451 public void sendGamepadKeyUp(@NonNull IBinder token, @GamepadKeyCode int keyCode) in sendGamepadKeyUp()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertActivity.java | 106 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 112 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | ActionsDialog.java | 80 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 88 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 44 jfieldID keyCode; member 130 jint keyCode, jint metaState) { in nativeGetCharacter() 138 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction() 157 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber() 166 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetMatch() 186 static jchar nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetDisplayLabel()
|
/frameworks/native/services/inputflinger/tests/ |
D | KeyboardInputMapper_test.cpp | 79 for (int32_t keyCode : keyCodes) { in testTouchpadTapStateForKeys() local 120 for (int32_t keyCode : keyCodes) { in TEST_F() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 73 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 82 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardAbsKeyInputView.java | 74 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 91 boolean onKeyDown(int keyCode, KeyEvent keyEvent); in onKeyDown()
|