Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/view/
DKeyCharacterMap.java291 private static native char nativeGetCharacter(int ptr, int keyCode, int metaState); in nativeGetCharacter()
292 private static native boolean nativeGetFallbackAction(int ptr, int keyCode, int metaState, in nativeGetFallbackAction()
294 private static native char nativeGetNumber(int ptr, int keyCode); in nativeGetNumber()
295 private static native char nativeGetMatch(int ptr, int keyCode, char[] chars, int metaState); in nativeGetMatch()
296 private static native char nativeGetDisplayLabel(int 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.java204 final int keyCode = event.getKeyCode(); in onKeyEvent() local
533 final int keyCode = keyEvent.getKeyCode(); in onUnhandledEvent() local
668 private KeyState findKeyState(int deviceId, int source, int keyCode, boolean remove) { in findKeyState()
690 private void addKeyState(int deviceId, int source, int keyCode) { in addKeyState()
703 public int keyCode; field in InputEventConsistencyVerifier.KeyState
709 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/base/policy/src/com/android/internal/policy/impl/
DGlobalKeyManager.java69 boolean handleGlobalKey(Context context, int keyCode, KeyEvent event) { in handleGlobalKey()
86 boolean shouldHandleGlobalKey(int keyCode, KeyEvent event) { in shouldHandleGlobalKey()
106 int keyCode = KeyEvent.keyCodeFromString(keyCodeName); in loadGlobalKeys() local
DPhoneFallbackEventHandler.java65 final int keyCode = event.getKeyCode(); in dispatchKeyEvent() local
74 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
185 boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java78 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
84 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java48 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { in backspace()
60 public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) { in forwardDelete()
64 private boolean backspaceOrForwardDelete(View view, Editable content, int keyCode, in backspaceOrForwardDelete()
151 int keyCode, KeyEvent event) { in onKeyDown()
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()
DTextKeyListener.java133 int keyCode, KeyEvent event) { in onKeyDown()
141 int keyCode, KeyEvent event) { in onKeyUp()
218 int keyCode, KeyEvent event) { in onKeyDown()
222 public boolean onKeyUp(View view, Editable content, int keyCode, in onKeyUp()
DMetaKeyKeyListener.java266 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { in onKeyDown()
321 public boolean onKeyUp(View view, Editable content, int keyCode, KeyEvent event) { in onKeyUp()
482 public static long handleKeyDown(long state, int keyCode, KeyEvent event) { in handleKeyDown()
520 public static long handleKeyUp(long state, int keyCode, KeyEvent event) { in handleKeyUp()
/frameworks/base/libs/androidfw/
DKeyCharacterMap.cpp174 int32_t keyCode = overlay->mKeys.keyAt(i); in combine() local
229 char16_t KeyCharacterMap::getCharacter(int32_t keyCode, int32_t metaState) const { in getCharacter()
242 bool KeyCharacterMap::getFallbackAction(int32_t keyCode, int32_t metaState, in getFallbackAction()
266 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, in getMatch()
301 int32_t keyCode, metaState; in getEvents() local
360 bool KeyCharacterMap::getKey(int32_t keyCode, const Key** outKey) const { in getKey()
369 bool KeyCharacterMap::getKeyBehavior(int32_t keyCode, int32_t metaState, in getKeyBehavior()
443 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { in addKey()
518 int32_t keyCode, int32_t keyMetaState, in addSingleEphemeralMetaKey()
548 int32_t keyCode, int32_t keyMetaState, in addLockedMetaKey()
[all …]
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp41 jfieldID keyCode; member
116 jint keyCode, jint metaState) { in nativeGetCharacter()
121 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jint ptr, jint keyCode, in nativeGetFallbackAction()
136 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jint ptr, jint keyCode) { in nativeGetNumber()
141 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jint ptr, jint keyCode, in nativeGetMatch()
157 static jchar nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jint ptr, jint keyCode) { in nativeGetDisplayLabel()
Dandroid_view_KeyEvent.cpp80 jint keyCode = env->GetIntField(eventObj, gKeyEventClassInfo.mKeyCode); in android_view_KeyEvent_toNative() local
104 static jboolean native_isSystemKey(JNIEnv* env, jobject clazz, jint keyCode) { in native_isSystemKey()
108 static jboolean native_hasDefaultAction(JNIEnv* env, jobject clazz, jint keyCode) { in native_hasDefaultAction()
/frameworks/base/core/java/android/webkit/
DPluginFullScreenHolder.java100 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
110 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardViewBase.java125 abstract public void wakeWhenReadyTq(int keyCode); in wakeWhenReadyTq()
163 final int keyCode = event.getKeyCode(); in interceptMediaKey() local
/frameworks/av/include/media/
DMediaMetadataRetrieverInterface.h53 virtual const char* extractMetadata(int keyCode) { return NULL; } in extractMetadata()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java173 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
187 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DGoneParentFocusedChild.java84 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/frameworks/base/core/tests/coretests/src/android/util/
DTouchModeFlexibleAsserts.java60 …public static void assertNotInTouchModeAfterKey(InstrumentationTestCase test, int keyCode, View ch… in assertNotInTouchModeAfterKey()
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java272 final int keyCode = keyCodeField.getInt(null); in sendKeys() local
334 final int keyCode = keys[i + 1]; in sendRepeatedKeys() local
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java61 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSceneGraphView.java74 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown()
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown()

123456