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

/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp165 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) { argument
166 if (historyPos < 0 || size_t(historyPos) >= historySize) {
168 "historyPos out of range");
586 jint nativePtr, jint historyPos) {
588 if (historyPos == HISTORY_CURRENT) {
592 if (!validateHistoryPos(env, historyPos, historySize)) {
595 return event->getHistoricalEventTime(historyPos);
600 jint nativePtr, jint axis, jint pointerIndex, jint historyPos) {
607 if (historyPos
585 android_view_MotionEvent_nativeGetEventTimeNanos(JNIEnv* env, jclass clazz, jint nativePtr, jint historyPos) argument
599 android_view_MotionEvent_nativeGetRawAxisValue(JNIEnv* env, jclass clazz, jint nativePtr, jint axis, jint pointerIndex, jint historyPos) argument
618 android_view_MotionEvent_nativeGetAxisValue(JNIEnv* env, jclass clazz, jint nativePtr, jint axis, jint pointerIndex, jint historyPos) argument
637 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.java399 for (int historyPos = 0; historyPos < N; historyPos++) {
402 event.getHistoricalPointerCoords(i, historyPos, mTempCoords);
545 for (int historyPos = 0; historyPos < N; historyPos++) {
550 event.getHistoricalPointerCoords(i, historyPos, coords);
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1356 private static native long nativeGetEventTimeNanos(int nativePtr, int historyPos); argument
1358 int axis, int pointerIndex, int historyPos);
1360 int axis, int pointerIndex, int historyPos);
1362 int pointerIndex, int historyPos, PointerCoords outPointerCoords);
2811 final int historyPos = (h == historySize ? HISTORY_CURRENT : h);
2814 nativeGetPointerCoords(event.mNativePtr, i, historyPos, pc[i]);
2817 final long eventTimeNanos = nativeGetEventTimeNanos(event.mNativePtr, historyPos);
2954 final int historyPos = h == historySize ? HISTORY_CURRENT : h;
2957 nativeGetPointerCoords(mNativePtr, map[i], historyPos, pc[i]);
2960 final long eventTimeNanos = nativeGetEventTimeNanos(mNativePtr, historyPos);
1357 nativeGetRawAxisValue(int nativePtr, int axis, int pointerIndex, int historyPos) argument
1359 nativeGetAxisValue(int nativePtr, int axis, int pointerIndex, int historyPos) argument
1361 nativeGetPointerCoords(int nativePtr, int pointerIndex, int historyPos, PointerCoords outPointerCoords) argument
[all...]

Completed in 133 milliseconds