Searched refs:pointerCoordsObj (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 174 static bool validatePointerCoords(JNIEnv* env, jobject pointerCoordsObj) { in validatePointerCoords() argument 175 if (!pointerCoordsObj) { in validatePointerCoords() 192 static void pointerCoordsToNative(JNIEnv* env, jobject pointerCoordsObj, in pointerCoordsToNative() argument 196 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.x) - xOffset); in pointerCoordsToNative() 198 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.y) - yOffset); in pointerCoordsToNative() 200 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure)); in pointerCoordsToNative() 202 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.size)); in pointerCoordsToNative() 204 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.touchMajor)); in pointerCoordsToNative() 206 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.touchMinor)); in pointerCoordsToNative() 208 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.toolMajor)); in pointerCoordsToNative() [all …]
|