Lines Matching refs:pointerIndex
1477 private static native int nativeGetPointerId(long nativePtr, int pointerIndex);
1478 private static native int nativeGetToolType(long nativePtr, int pointerIndex);
1484 int axis, int pointerIndex, int historyPos);
1486 int axis, int pointerIndex, int historyPos);
1488 int pointerIndex, int historyPos, PointerCoords outPointerCoords);
1490 int pointerIndex, PointerProperties outPointerProperties);
2073 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2076 public final int getPointerId(int pointerIndex) {
2077 return nativeGetPointerId(mNativePtr, pointerIndex);
2085 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2094 public final int getToolType(int pointerIndex) {
2095 return nativeGetToolType(mNativePtr, pointerIndex);
2116 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2121 public final float getX(int pointerIndex) {
2122 return nativeGetAxisValue(mNativePtr, AXIS_X, pointerIndex, HISTORY_CURRENT);
2131 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2136 public final float getY(int pointerIndex) {
2137 return nativeGetAxisValue(mNativePtr, AXIS_Y, pointerIndex, HISTORY_CURRENT);
2148 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2153 public final float getPressure(int pointerIndex) {
2154 return nativeGetAxisValue(mNativePtr, AXIS_PRESSURE, pointerIndex, HISTORY_CURRENT);
2166 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2171 public final float getSize(int pointerIndex) {
2172 return nativeGetAxisValue(mNativePtr, AXIS_SIZE, pointerIndex, HISTORY_CURRENT);
2180 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2185 public final float getTouchMajor(int pointerIndex) {
2186 return nativeGetAxisValue(mNativePtr, AXIS_TOUCH_MAJOR, pointerIndex, HISTORY_CURRENT);
2194 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2199 public final float getTouchMinor(int pointerIndex) {
2200 return nativeGetAxisValue(mNativePtr, AXIS_TOUCH_MINOR, pointerIndex, HISTORY_CURRENT);
2210 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2215 public final float getToolMajor(int pointerIndex) {
2216 return nativeGetAxisValue(mNativePtr, AXIS_TOOL_MAJOR, pointerIndex, HISTORY_CURRENT);
2226 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2231 public final float getToolMinor(int pointerIndex) {
2232 return nativeGetAxisValue(mNativePtr, AXIS_TOOL_MINOR, pointerIndex, HISTORY_CURRENT);
2245 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2250 public final float getOrientation(int pointerIndex) {
2251 return nativeGetAxisValue(mNativePtr, AXIS_ORIENTATION, pointerIndex, HISTORY_CURRENT);
2259 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2266 public final float getAxisValue(int axis, int pointerIndex) {
2267 return nativeGetAxisValue(mNativePtr, axis, pointerIndex, HISTORY_CURRENT);
2274 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2280 public final void getPointerCoords(int pointerIndex, PointerCoords outPointerCoords) {
2281 nativeGetPointerCoords(mNativePtr, pointerIndex, HISTORY_CURRENT, outPointerCoords);
2288 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2294 public final void getPointerProperties(int pointerIndex,
2296 nativeGetPointerProperties(mNativePtr, pointerIndex, outPointerProperties);
2627 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2636 public final float getHistoricalX(int pointerIndex, int pos) {
2637 return nativeGetAxisValue(mNativePtr, AXIS_X, pointerIndex, pos);
2645 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2654 public final float getHistoricalY(int pointerIndex, int pos) {
2655 return nativeGetAxisValue(mNativePtr, AXIS_Y, pointerIndex, pos);
2663 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2672 public final float getHistoricalPressure(int pointerIndex, int pos) {
2673 return nativeGetAxisValue(mNativePtr, AXIS_PRESSURE, pointerIndex, pos);
2681 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2690 public final float getHistoricalSize(int pointerIndex, int pos) {
2691 return nativeGetAxisValue(mNativePtr, AXIS_SIZE, pointerIndex, pos);
2699 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2708 public final float getHistoricalTouchMajor(int pointerIndex, int pos) {
2709 return nativeGetAxisValue(mNativePtr, AXIS_TOUCH_MAJOR, pointerIndex, pos);
2717 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2726 public final float getHistoricalTouchMinor(int pointerIndex, int pos) {
2727 return nativeGetAxisValue(mNativePtr, AXIS_TOUCH_MINOR, pointerIndex, pos);
2735 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2744 public final float getHistoricalToolMajor(int pointerIndex, int pos) {
2745 return nativeGetAxisValue(mNativePtr, AXIS_TOOL_MAJOR, pointerIndex, pos);
2753 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2762 public final float getHistoricalToolMinor(int pointerIndex, int pos) {
2763 return nativeGetAxisValue(mNativePtr, AXIS_TOOL_MINOR, pointerIndex, pos);
2771 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2780 public final float getHistoricalOrientation(int pointerIndex, int pos) {
2781 return nativeGetAxisValue(mNativePtr, AXIS_ORIENTATION, pointerIndex, pos);
2790 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2799 public final float getHistoricalAxisValue(int axis, int pointerIndex, int pos) {
2800 return nativeGetAxisValue(mNativePtr, axis, pointerIndex, pos);
2809 * @param pointerIndex Raw index of pointer to retrieve. Value may be from 0
2819 public final void getHistoricalPointerCoords(int pointerIndex, int pos,
2821 nativeGetPointerCoords(mNativePtr, pointerIndex, pos, outPointerCoords);