Home
last modified time | relevance | path

Searched defs:keyCode (Results 1 – 25 of 184) sorted by relevance

12345678

/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java242 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
249 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple()
256 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
261 private boolean handleKeyUp(int keyCode) { in handleKeyUp()
302 private static boolean isKeyCodeNumeric(int keyCode) { in isKeyCodeNumeric()
310 private static int numericKeyCodeToInt(int keyCode) { in numericKeyCodeToInt()
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java291 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()
366 public int get(int keyCode, int metaState) { in get()
395 public FallbackAction getFallbackAction(int keyCode, int metaState) { in getFallbackAction()
427 public char getNumber(int keyCode) { in getNumber()
443 public char getMatch(int keyCode, char[] chars) { in getMatch()
457 public char getMatch(int keyCode, char[] chars, int metaState) { in getMatch()
[all …]
DInputEventConsistencyVerifier.java208 final int keyCode = event.getKeyCode(); in onKeyEvent() local
595 final int keyCode = keyEvent.getKeyCode(); in onUnhandledEvent() local
739 private KeyState findKeyState(int deviceId, int source, int keyCode, boolean remove) { in findKeyState()
761 private void addKeyState(int deviceId, int source, int keyCode) { in addKeyState()
774 public int keyCode; field in InputEventConsistencyVerifier.KeyState
780 public static KeyState obtain(int deviceId, int source, int keyCode) { in obtain()
/frameworks/support/v4/java/android/support/v4/media/
DTransportPerformer.java126 public boolean onMediaButtonDown(int keyCode, KeyEvent event) { in onMediaButtonDown()
163 public boolean onMediaButtonUp(int keyCode, KeyEvent event) { in onMediaButtonUp()
188 int keyCode = 0; in onAudioFocusChange() local
/frameworks/native/libs/input/
DKeyCharacterMap.cpp176 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/base/services/core/java/com/android/server/policy/
DGlobalKeyManager.java70 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/inputmethodservice/
DSoftInputWindow.java132 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
139 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
146 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
153 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java94 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
100 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java67 final int keyCode = event.getKeyCode(); in dispatchKeyEvent() local
76 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
203 boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAction.java141 public final void addKeyCode(int keyCode) { in addKeyCode()
148 public final void removeKeyCode(int keyCode) { in removeKeyCode()
155 public final boolean respondsToKeyCode(int keyCode) { in respondsToKeyCode()
DImeKeyMonitor.java39 public abstract boolean onKeyPreIme(EditText editText, int keyCode, KeyEvent event); in onKeyPreIme()
/frameworks/base/core/java/android/text/method/
DKeyListener.java64 int keyCode, KeyEvent event); in onKeyDown()
72 int keyCode, KeyEvent event); in onKeyUp()
DMovementMethod.java37 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()
DBaseKeyListener.java67 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { in backspace()
79 public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) { in forwardDelete()
295 private boolean backspaceOrForwardDelete(View view, Editable content, int keyCode, in backspaceOrForwardDelete()
451 int keyCode, KeyEvent event) { in onKeyDown()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp43 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/bluetooth/
DIBluetoothAvrcpController.aidl33 void sendPassThroughCmd(in BluetoothDevice device, int keyCode, int keyState); in sendPassThroughCmd()
38 void sendGroupNavigationCmd(in BluetoothDevice device, int keyCode, int keyState); in sendGroupNavigationCmd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipOnboardingActivity.java84 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
92 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java65 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
73 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiClient.java50 public void sendKeyEvent(int keyCode, boolean isPressed) { in sendKeyEvent()
52 mService.sendKeyEvent(getDeviceType(), keyCode, isPressed); in sendKeyEvent() local
/frameworks/base/media/java/android/media/tv/
DITvRemoteServiceInput.aidl28 void sendKeyDown(IBinder token, int keyCode); in sendKeyDown()
29 void sendKeyUp(IBinder token, int keyCode); in sendKeyUp()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DBaseTestActivity.java95 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
101 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
107 public boolean onKeyShortcut(int keyCode, KeyEvent event) { in onKeyShortcut()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFocusManager.java82 public boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event) { in handleKey()
152 private int findTargetPosition(View view, int keyCode, KeyEvent event) { in findTargetPosition()
230 private int findPagedTargetPosition(View view, int keyCode, KeyEvent event) { in findPagedTargetPosition()
362 public boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event) { in handleKey()
/frameworks/base/services/core/java/com/android/server/tv/
DUinputBridge.java39 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()
DTvRemoteProviderProxy.java260 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()
DTvRemoteService.java157 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()

12345678