/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiClient.java | 50 public void sendKeyEvent(int keyCode, boolean isPressed) { in sendKeyEvent() 52 mService.sendKeyEvent(getDeviceType(), keyCode, isPressed); in sendKeyEvent() local 69 public void sendVolumeKeyEvent(int keyCode, boolean isPressed) { in sendVolumeKeyEvent() 71 mService.sendVolumeKeyEvent(getDeviceType(), keyCode, isPressed); in sendVolumeKeyEvent() local
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 244 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 251 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() 258 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() 263 private boolean handleKeyUp(int keyCode) { in handleKeyUp() 304 private static boolean isKeyCodeNumeric(int keyCode) { in isKeyCodeNumeric() 312 private static int numericKeyCodeToInt(int keyCode) { in numericKeyCodeToInt()
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 291 private static native char nativeGetCharacter(long ptr, int keyCode, int metaState); in nativeGetCharacter() 292 private static native boolean nativeGetFallbackAction(long ptr, int keyCode, int metaState, in nativeGetFallbackAction() 294 private static native char nativeGetNumber(long ptr, int keyCode); in nativeGetNumber() 295 private static native char nativeGetMatch(long ptr, int keyCode, char[] chars, int metaState); in nativeGetMatch() 296 private static native char nativeGetDisplayLabel(long ptr, int keyCode); in nativeGetDisplayLabel() 367 public int get(int keyCode, int metaState) { in get() 396 public FallbackAction getFallbackAction(int keyCode, int metaState) { in getFallbackAction() 428 public char getNumber(int keyCode) { in getNumber() 445 public char getMatch(int keyCode, char[] chars) { in getMatch() 460 public char getMatch(int keyCode, char[] chars, int metaState) { 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()
|
D | KeyEvent.java | 1305 boolean onKeyDown(int keyCode, KeyEvent event); in onKeyDown() 1321 boolean onKeyLongPress(int keyCode, KeyEvent event); in onKeyLongPress() 1332 boolean onKeyUp(int keyCode, KeyEvent event); in onKeyUp() 1346 boolean onKeyMultiple(int keyCode, int count, KeyEvent event); in onKeyMultiple() 1349 private static native String nativeKeyCodeToString(int keyCode); in nativeKeyCodeToString() 1350 private static native int nativeKeyCodeFromString(String keyCode); in nativeKeyCodeFromString() 1812 public static final boolean isGamepadButton(int keyCode) { in isGamepadButton() 1855 public static final boolean isConfirmKey(int keyCode) { in isConfirmKey() 1873 public static final boolean isMediaSessionKey(int keyCode) { in isMediaSessionKey() 1894 public static final boolean isSystemKey(int keyCode) { in isSystemKey() [all …]
|
/frameworks/native/libs/input/ |
D | KeyCharacterMap.cpp | 176 int32_t keyCode = overlay->mKeys.keyAt(i); in combine() local 231 char16_t KeyCharacterMap::getCharacter(int32_t keyCode, int32_t metaState) const { in getCharacter() 244 bool KeyCharacterMap::getFallbackAction(int32_t keyCode, int32_t metaState, in getFallbackAction() 268 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, in getMatch() 303 int32_t keyCode, metaState; in getEvents() local 362 void KeyCharacterMap::tryRemapKey(int32_t keyCode, int32_t metaState, in tryRemapKey() 404 bool KeyCharacterMap::getKey(int32_t keyCode, const Key** outKey) const { in getKey() 413 bool KeyCharacterMap::getKeyBehavior(int32_t keyCode, int32_t metaState, in getKeyBehavior() 487 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { in addKey() 562 int32_t keyCode, int32_t keyMetaState, in addSingleEphemeralMetaKey() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.cpp | 82 static int32_t rotateKeyCode(int32_t keyCode, int32_t orientation) { in rotateKeyCode() 146 static void mapStemKey(int32_t keyCode, const PropertyMap& config, char const* property) { in mapStemKey() 223 bool KeyboardInputMapper::isMediaKey(int32_t keyCode) { in isMediaKey() 253 int32_t keyCode; in processKey() local 347 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() 364 void KeyboardInputMapper::updateMetaState(int32_t keyCode) { in updateMetaState() 368 bool KeyboardInputMapper::updateMetaStateIfNeeded(int32_t keyCode, bool down) { in updateMetaStateIfNeeded()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalKeyManager.java | 70 boolean handleGlobalKey(Context context, int keyCode, KeyEvent event) { in handleGlobalKey() 88 boolean shouldHandleGlobalKey(int keyCode, KeyEvent event) { in shouldHandleGlobalKey() 108 int keyCode = KeyEvent.keyCodeFromString(keyCodeName); in loadGlobalKeys() local
|
/frameworks/base/core/java/android/text/method/ |
D | KeyListener.java | 64 int keyCode, KeyEvent event); in onKeyDown() 72 int keyCode, KeyEvent event); in onKeyUp()
|
D | MovementMethod.java | 37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown() 38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyUp()
|
D | BaseKeyListener.java | 70 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { in backspace() 82 public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) { in forwardDelete() 319 private boolean backspaceOrForwardDelete(View view, Editable content, int keyCode, in backspaceOrForwardDelete() 475 int keyCode, KeyEvent event) { in onKeyDown()
|
D | TextKeyListener.java | 138 int keyCode, KeyEvent event) { in onKeyDown() 146 int keyCode, KeyEvent event) { in onKeyUp() 223 int keyCode, KeyEvent event) { in onKeyDown() 227 public boolean onKeyUp(View view, Editable content, int keyCode, in onKeyUp()
|
/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/jni/ |
D | android_view_KeyCharacterMap.cpp | 43 jfieldID keyCode; member 118 jint keyCode, jint metaState) { in nativeGetCharacter() 123 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction() 138 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber() 143 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetMatch() 161 static jchar nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetDisplayLabel()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | SoftInputWindow.java | 195 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 202 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress() 209 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() 216 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
|
D | MultiClientInputMethodServiceDelegate.java | 224 boolean onKeyDown(int keyCode, KeyEvent event); in onKeyDown() 235 boolean onKeyLongPress(int keyCode, KeyEvent event); in onKeyLongPress() 246 boolean onKeyMultiple(int keyCode, KeyEvent event); in onKeyMultiple() 257 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/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() 215 boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 72 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 81 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
/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()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | UinputBridge.java | 39 private static native void nativeSendKey(long ptr, int keyCode, boolean down); in nativeSendKey() 102 public void sendKeyDown(IBinder token, int keyCode) { in sendKeyDown() 108 public void sendKeyUp(IBinder token, int keyCode) { in sendKeyUp()
|
D | TvRemoteProviderProxy.java | 260 void sendKeyDown(TvRemoteProviderProxy provider, IBinder token, int keyCode); in sendKeyDown() 262 void sendKeyUp(TvRemoteProviderProxy provider, IBinder token, int keyCode); in sendKeyUp() 424 void sendKeyDown(final IBinder token, final int keyCode) { in sendKeyDown() 450 void sendKeyUp(final IBinder token, final int keyCode) { in sendKeyUp() 607 public void sendKeyDown(IBinder token, int keyCode) throws RemoteException { in sendKeyDown() 615 public void sendKeyUp(IBinder token, int keyCode) throws RemoteException { in sendKeyUp()
|
D | TvRemoteService.java | 157 private void sendKeyDownInternalLocked(IBinder token, int keyCode) { in sendKeyDownInternalLocked() 168 private void sendKeyUpInternalLocked(IBinder token, int keyCode) { in sendKeyUpInternalLocked() 310 public void sendKeyDown(TvRemoteProviderProxy provider, IBinder token, int keyCode) { in sendKeyDown() 322 public void sendKeyUp(TvRemoteProviderProxy provider, IBinder token, int keyCode) { in sendKeyUp()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | GlobalActionPerformer.java | 105 private void sendDownAndUpKeyEvents(int keyCode) { in sendDownAndUpKeyEvents() 117 private void sendKeyEventIdentityCleared(int keyCode, int action, long downTime, long time) { in sendKeyEventIdentityCleared()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | MainActivity.java | 37 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|