Searched refs:historyPos (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp164 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) { argument
165 if (historyPos < 0 || size_t(historyPos) >= historySize) {
167 "historyPos out of range");
585 jint nativePtr, jint historyPos) {
587 if (historyPos == HISTORY_CURRENT) {
591 if (!validateHistoryPos(env, historyPos, historySize)) {
594 return event->getHistoricalEventTime(historyPos);
599 jint nativePtr, jint axis, jint pointerIndex, jint historyPos) {
606 if (historyPos
584 android_view_MotionEvent_nativeGetEventTimeNanos(JNIEnv* env, jclass clazz, jint nativePtr, jint historyPos) argument
598 android_view_MotionEvent_nativeGetRawAxisValue(JNIEnv* env, jclass clazz, jint nativePtr, jint axis, jint pointerIndex, jint historyPos) argument
617 android_view_MotionEvent_nativeGetAxisValue(JNIEnv* env, jclass clazz, jint nativePtr, jint axis, jint pointerIndex, jint historyPos) argument
636 android_view_MotionEvent_nativeGetPointerCoords(JNIEnv* env, jclass clazz, jint nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java371 for (int historyPos = 0; historyPos < N; historyPos++) {
374 event.getHistoricalPointerCoords(i, historyPos, mTempCoords);
511 for (int historyPos = 0; historyPos < N; historyPos++) {
516 event.getHistoricalPointerCoords(i, historyPos, coords);
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1359 private static native long nativeGetEventTimeNanos(int nativePtr, int historyPos); argument
1361 int axis, int pointerIndex, int historyPos);
1363 int axis, int pointerIndex, int historyPos);
1365 int pointerIndex, int historyPos, PointerCoords outPointerCoords);
2852 final int historyPos = h == historySize ? HISTORY_CURRENT : h;
2855 nativeGetPointerCoords(mNativePtr, map[i], historyPos, pc[i]);
2858 final long eventTimeNanos = nativeGetEventTimeNanos(mNativePtr, historyPos);
1360 nativeGetRawAxisValue(int nativePtr, int axis, int pointerIndex, int historyPos) argument
1362 nativeGetAxisValue(int nativePtr, int axis, int pointerIndex, int historyPos) argument
1364 nativeGetPointerCoords(int nativePtr, int pointerIndex, int historyPos, PointerCoords outPointerCoords) argument

Completed in 1740 milliseconds