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.cpp864 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 …]