Home
last modified time | relevance | path

Searched refs:HISTORY_CURRENT (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/
DMotionEvent.java1769 private static final int HISTORY_CURRENT = -0x80000000; field in MotionEvent
2575 return nativeGetEventTimeNanos(mNativePtr, HISTORY_CURRENT) / NS_PER_MS; in getEventTime()
2592 return nativeGetEventTimeNanos(mNativePtr, HISTORY_CURRENT); in getEventTimeNanos()
2605 return nativeGetAxisValue(mNativePtr, AXIS_X, 0, HISTORY_CURRENT); in getX()
2618 return nativeGetAxisValue(mNativePtr, AXIS_Y, 0, HISTORY_CURRENT); in getY()
2628 return nativeGetAxisValue(mNativePtr, AXIS_PRESSURE, 0, HISTORY_CURRENT); in getPressure()
2638 return nativeGetAxisValue(mNativePtr, AXIS_SIZE, 0, HISTORY_CURRENT); in getSize()
2648 return nativeGetAxisValue(mNativePtr, AXIS_TOUCH_MAJOR, 0, HISTORY_CURRENT); in getTouchMajor()
2658 return nativeGetAxisValue(mNativePtr, AXIS_TOUCH_MINOR, 0, HISTORY_CURRENT); in getTouchMinor()
2668 return nativeGetAxisValue(mNativePtr, AXIS_TOOL_MAJOR, 0, HISTORY_CURRENT); in getToolMajor()
[all …]
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp125 static const jint HISTORY_CURRENT = -0x80000000; variable
429 if (historyPos != HISTORY_CURRENT && !validateHistoryPos(env, historyPos, *event)) { in android_view_MotionEvent_nativeGetPointerCoords()
449 const float value = historyPos == HISTORY_CURRENT in android_view_MotionEvent_nativeGetPointerCoords()
455 const PointerCoords* rawPointerCoords = historyPos == HISTORY_CURRENT in android_view_MotionEvent_nativeGetPointerCoords()
465 const bool isResampled = historyPos == HISTORY_CURRENT in android_view_MotionEvent_nativeGetPointerCoords()
548 if (historyPos == HISTORY_CURRENT) { in android_view_MotionEvent_nativeGetEventTimeNanos()
566 if (historyPos == HISTORY_CURRENT) { in android_view_MotionEvent_nativeGetRawAxisValue()
583 if (historyPos == HISTORY_CURRENT) { in android_view_MotionEvent_nativeGetAxisValue()