Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp197 static bool validatePointerProperties(JNIEnv* env, jobject pointerPropertiesObj) { in validatePointerProperties() argument
198 if (!pointerPropertiesObj) { in validatePointerProperties()
303 static PointerProperties pointerPropertiesToNative(JNIEnv* env, jobject pointerPropertiesObj) { in pointerPropertiesToNative() argument
305 out.id = env->GetIntField(pointerPropertiesObj, gPointerPropertiesClassInfo.id); in pointerPropertiesToNative()
307 env->GetIntField(pointerPropertiesObj, gPointerPropertiesClassInfo.toolType); in pointerPropertiesToNative()
352 jobject pointerPropertiesObj = env->GetObjectArrayElement(pointerPropertiesObjArray, i); in android_view_MotionEvent_nativeInitialize() local
353 if (!pointerPropertiesObj) { in android_view_MotionEvent_nativeInitialize()
356 pointerProperties.emplace_back(pointerPropertiesToNative(env, pointerPropertiesObj)); in android_view_MotionEvent_nativeInitialize()
357 env->DeleteLocalRef(pointerPropertiesObj); in android_view_MotionEvent_nativeInitialize()