Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp188 static bool validatePointerCoords(JNIEnv* env, jobject pointerCoordsObj) { in validatePointerCoords() argument
189 if (!pointerCoordsObj) { in validatePointerCoords()
206 static PointerCoords pointerCoordsToNative(JNIEnv* env, jobject pointerCoordsObj) { in pointerCoordsToNative() argument
209 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.x)); in pointerCoordsToNative()
211 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.y)); in pointerCoordsToNative()
213 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure)); in pointerCoordsToNative()
215 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.size)); in pointerCoordsToNative()
217 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.touchMajor)); in pointerCoordsToNative()
219 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.touchMinor)); in pointerCoordsToNative()
221 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.toolMajor)); in pointerCoordsToNative()
[all …]