Searched refs:keyEventObj (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 220 jobject keyEventObj = android_view_KeyEvent_fromNative(env, &events.itemAt(i)); in nativeGetEvents() local 221 if (!keyEventObj) break; // threw OOM exception in nativeGetEvents() 222 env->SetObjectArrayElement(result, jsize(i), keyEventObj); in nativeGetEvents() 223 env->DeleteLocalRef(keyEventObj); in nativeGetEvents()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1213 jobject keyEventObj = android_view_KeyEvent_fromNative(env, keyEvent); in interceptKeyBeforeQueueing() local 1215 if (keyEventObj) { in interceptKeyBeforeQueueing() 1218 keyEventObj, policyFlags); in interceptKeyBeforeQueueing() 1222 android_view_KeyEvent_recycle(env, keyEventObj); in interceptKeyBeforeQueueing() 1223 env->DeleteLocalRef(keyEventObj); in interceptKeyBeforeQueueing() 1298 jobject keyEventObj = android_view_KeyEvent_fromNative(env, keyEvent); in interceptKeyBeforeDispatching() local 1299 if (keyEventObj) { in interceptKeyBeforeDispatching() 1302 tokenObj, keyEventObj, policyFlags); in interceptKeyBeforeDispatching() 1304 android_view_KeyEvent_recycle(env, keyEventObj); in interceptKeyBeforeDispatching() 1305 env->DeleteLocalRef(keyEventObj); in interceptKeyBeforeDispatching() [all …]
|