Home
last modified time | relevance | path

Searched refs:keyEventObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp189 jobject keyEventObj = android_view_KeyEvent_fromNative(env, &events.itemAt(i)); in nativeGetEvents() local
190 if (!keyEventObj) break; // threw OOM exception in nativeGetEvents()
191 env->SetObjectArrayElement(result, jsize(i), keyEventObj); in nativeGetEvents()
192 env->DeleteLocalRef(keyEventObj); in nativeGetEvents()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1001 jobject keyEventObj = android_view_KeyEvent_fromNative(env, keyEvent); in interceptKeyBeforeQueueing() local
1003 if (keyEventObj) { in interceptKeyBeforeQueueing()
1006 keyEventObj, policyFlags); in interceptKeyBeforeQueueing()
1010 android_view_KeyEvent_recycle(env, keyEventObj); in interceptKeyBeforeQueueing()
1011 env->DeleteLocalRef(keyEventObj); in interceptKeyBeforeQueueing()
1086 jobject keyEventObj = android_view_KeyEvent_fromNative(env, keyEvent); in interceptKeyBeforeDispatching() local
1087 if (keyEventObj) { in interceptKeyBeforeDispatching()
1090 tokenObj, keyEventObj, policyFlags); in interceptKeyBeforeDispatching()
1092 android_view_KeyEvent_recycle(env, keyEventObj); in interceptKeyBeforeDispatching()
1093 env->DeleteLocalRef(keyEventObj); in interceptKeyBeforeDispatching()
[all …]