Searched refs:keyEventObj (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 189 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/ |
D | com_android_server_input_InputManagerService.cpp | 864 jobject keyEventObj = android_view_KeyEvent_fromNative(env, keyEvent); in interceptKeyBeforeQueueing() local 866 if (keyEventObj) { in interceptKeyBeforeQueueing() 869 keyEventObj, policyFlags); in interceptKeyBeforeQueueing() 873 android_view_KeyEvent_recycle(env, keyEventObj); in interceptKeyBeforeQueueing() 874 env->DeleteLocalRef(keyEventObj); in interceptKeyBeforeQueueing() 944 jobject keyEventObj = android_view_KeyEvent_fromNative(env, keyEvent); in interceptKeyBeforeDispatching() local 945 if (keyEventObj) { in interceptKeyBeforeDispatching() 948 inputWindowHandleObj, keyEventObj, policyFlags); in interceptKeyBeforeDispatching() 950 android_view_KeyEvent_recycle(env, keyEventObj); in interceptKeyBeforeDispatching() 951 env->DeleteLocalRef(keyEventObj); in interceptKeyBeforeDispatching() [all …]
|