Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp181 jobject inputEventObj; in consumeEvents() local
187 inputEventObj = android_view_KeyEvent_fromNative(env, in consumeEvents()
195 inputEventObj = android_view_MotionEvent_obtainAsCopy(env, in consumeEvents()
201 inputEventObj = NULL; in consumeEvents()
204 if (inputEventObj) { in consumeEvents()
209 gInputEventReceiverClassInfo.dispatchInputEvent, seq, inputEventObj); in consumeEvents()
Dandroid_app_NativeActivity.cpp538 jobject inputEventObj = android_view_KeyEvent_fromNative( in mainWorkCallback() local
541 if (inputEventObj) { in mainWorkCallback()
543 gNativeActivityClassInfo.dispatchUnhandledKeyEvent, inputEventObj); in mainWorkCallback()
546 code->env->DeleteLocalRef(inputEventObj); in mainWorkCallback()
555 jobject inputEventObj = android_view_KeyEvent_fromNative( in mainWorkCallback() local
557 if (inputEventObj) { in mainWorkCallback()
559 gNativeActivityClassInfo.preDispatchKeyEvent, inputEventObj, seq); in mainWorkCallback()
561 code->env->DeleteLocalRef(inputEventObj); in mainWorkCallback()
/frameworks/base/services/jni/
Dcom_android_server_input_InputManagerService.cpp787 jobject inputEventObj; in filterInputEvent() local
792 inputEventObj = android_view_KeyEvent_fromNative(env, in filterInputEvent()
796 inputEventObj = android_view_MotionEvent_obtainAsCopy(env, in filterInputEvent()
803 if (!inputEventObj) { in filterInputEvent()
810 inputEventObj, policyFlags); in filterInputEvent()
814 env->DeleteLocalRef(inputEventObj); in filterInputEvent()
1174 jint ptr, jobject inputEventObj, jint injectorPid, jint injectorUid, in nativeInjectInputEvent() argument
1178 if (env->IsInstanceOf(inputEventObj, gKeyEventClassInfo.clazz)) { in nativeInjectInputEvent()
1180 status_t status = android_view_KeyEvent_toNative(env, inputEventObj, & keyEvent); in nativeInjectInputEvent()
1189 } else if (env->IsInstanceOf(inputEventObj, gMotionEventClassInfo.clazz)) { in nativeInjectInputEvent()
[all …]