Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp89 std::unique_ptr<MotionEvent> destEvent = std::make_unique<MotionEvent>(); in android_view_MotionEvent_obtainAsCopy() local
90 destEvent->copyFrom(&event, true); in android_view_MotionEvent_obtainAsCopy()
91 return android_view_MotionEvent_obtainFromNative(env, std::move(destEvent)); in android_view_MotionEvent_obtainAsCopy()
615 MotionEvent* destEvent = reinterpret_cast<MotionEvent*>(destNativePtr); in android_view_MotionEvent_nativeCopy() local
616 if (!destEvent) { in android_view_MotionEvent_nativeCopy()
617 destEvent = new MotionEvent(); in android_view_MotionEvent_nativeCopy()
620 destEvent->copyFrom(sourceEvent, keepHistory); in android_view_MotionEvent_nativeCopy()
621 return reinterpret_cast<jlong>(destEvent); in android_view_MotionEvent_nativeCopy()
626 MotionEvent* destEvent = reinterpret_cast<MotionEvent*>(destNativePtr); in android_view_MotionEvent_nativeSplit() local
627 if (!destEvent) { in android_view_MotionEvent_nativeSplit()
[all …]