Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp187 if (historyPos < 0 || size_t(historyPos) >= event.getHistorySize()) { in validateHistoryPos()
426 if (historyPos != HISTORY_CURRENT && !validateHistoryPos(env, historyPos, *event)) { in android_view_MotionEvent_nativeGetPointerCoords()
446 const float value = historyPos == HISTORY_CURRENT in android_view_MotionEvent_nativeGetPointerCoords()
462 const bool isResampled = historyPos == HISTORY_CURRENT in android_view_MotionEvent_nativeGetPointerCoords()
464 : event->isResampled(pointerIndex, historyPos); in android_view_MotionEvent_nativeGetPointerCoords()
543 jlong nativePtr, jint historyPos) { in android_view_MotionEvent_nativeGetEventTimeNanos() argument
545 if (historyPos == HISTORY_CURRENT) { in android_view_MotionEvent_nativeGetEventTimeNanos()
551 return event->getHistoricalEventTime(historyPos); in android_view_MotionEvent_nativeGetEventTimeNanos()
557 jint pointerIndex, jint historyPos) { in android_view_MotionEvent_nativeGetRawAxisValue() argument
563 if (historyPos == HISTORY_CURRENT) { in android_view_MotionEvent_nativeGetRawAxisValue()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java489 for (int historyPos = 0; historyPos < N; historyPos++) { in logMotionEvent()
492 event.getHistoricalPointerCoords(i, historyPos, mTempCoords); in logMotionEvent()
639 for (int historyPos = 0; historyPos < N; historyPos++) { in onPointerEvent()
644 event.getHistoricalPointerCoords(i, historyPos, coords); in onPointerEvent()
/aosp14/frameworks/base/core/java/android/view/
H A DMotionEvent.java1697 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords() argument
1714 private static native long nativeGetEventTimeNanos(long nativePtr, int historyPos); in nativeGetEventTimeNanos() argument
1718 int axis, int pointerIndex, int historyPos); in nativeGetRawAxisValue() argument
1721 int axis, int pointerIndex, int historyPos); in nativeGetAxisValue() argument
3685 final int historyPos = (h == historySize ? HISTORY_CURRENT : h); in addBatch() local
3688 nativeGetPointerCoords(event.mNativePtr, i, historyPos, pc[i]); in addBatch()
3691 final long eventTimeNanos = nativeGetEventTimeNanos(event.mNativePtr, historyPos); in addBatch()
3829 final int historyPos = h == historySize ? HISTORY_CURRENT : h; in split() local
3832 nativeGetPointerCoords(mNativePtr, map[i], historyPos, pc[i]); in split()
3835 final long eventTimeNanos = nativeGetEventTimeNanos(mNativePtr, historyPos); in split()