Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp286 jobject inputEventObj; in consumeEvents() local
292 inputEventObj = android_view_KeyEvent_fromNative(env, in consumeEvents()
304 inputEventObj = android_view_MotionEvent_obtainAsCopy(env, motionEvent); in consumeEvents()
310 inputEventObj = NULL; in consumeEvents()
313 if (inputEventObj) { in consumeEvents()
318 gInputEventReceiverClassInfo.dispatchInputEvent, seq, inputEventObj, in consumeEvents()
324 env->DeleteLocalRef(inputEventObj); in consumeEvents()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp957 jobject inputEventObj; in filterInputEvent() local
962 inputEventObj = android_view_KeyEvent_fromNative(env, in filterInputEvent()
966 inputEventObj = android_view_MotionEvent_obtainAsCopy(env, in filterInputEvent()
973 if (!inputEventObj) { in filterInputEvent()
980 inputEventObj, policyFlags); in filterInputEvent()
984 env->DeleteLocalRef(inputEventObj); in filterInputEvent()
1410 jlong ptr, jobject inputEventObj, jint displayId, jint injectorPid, jint injectorUid, in nativeInjectInputEvent() argument
1414 if (env->IsInstanceOf(inputEventObj, gKeyEventClassInfo.clazz)) { in nativeInjectInputEvent()
1416 status_t status = android_view_KeyEvent_toNative(env, inputEventObj, & keyEvent); in nativeInjectInputEvent()
1425 } else if (env->IsInstanceOf(inputEventObj, gMotionEventClassInfo.clazz)) { in nativeInjectInputEvent()
[all …]