Lines Matching refs:pointerIndex
158 static bool validatePointerIndex(JNIEnv* env, jint pointerIndex, size_t pointerCount) {
159 if (pointerIndex < 0 || size_t(pointerIndex) >= pointerCount) {
161 "pointerIndex out of range");
568 jlong nativePtr, jint pointerIndex) {
571 if (!validatePointerIndex(env, pointerIndex, pointerCount)) {
574 return event->getPointerId(pointerIndex);
578 jlong nativePtr, jint pointerIndex) {
581 if (!validatePointerIndex(env, pointerIndex, pointerCount)) {
584 return event->getToolType(pointerIndex);
614 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) {
617 if (!validatePointerIndex(env, pointerIndex, pointerCount)) {
622 return event->getRawAxisValue(axis, pointerIndex);
628 return event->getHistoricalRawAxisValue(axis, pointerIndex, historyPos);
633 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) {
636 if (!validatePointerIndex(env, pointerIndex, pointerCount)) {
641 return event->getAxisValue(axis, pointerIndex);
647 return event->getHistoricalAxisValue(axis, pointerIndex, historyPos);
652 jlong nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) {
655 if (!validatePointerIndex(env, pointerIndex, pointerCount)
662 rawPointerCoords = event->getRawPointerCoords(pointerIndex);
668 rawPointerCoords = event->getHistoricalRawPointerCoords(pointerIndex, historyPos);
675 jlong nativePtr, jint pointerIndex, jobject outPointerPropertiesObj) {
678 if (!validatePointerIndex(env, pointerIndex, pointerCount)
683 const PointerProperties* pointerProperties = event->getPointerProperties(pointerIndex);