Searched refs:pointerIndex (Results 1 – 9 of 9) sorted by relevance
1098 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local1099 if (pointerIndex == -1) { in determineScrollingStart()1102 final float x = ev.getX(pointerIndex); in determineScrollingStart()1103 final float y = ev.getY(pointerIndex); in determineScrollingStart()1254 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local1255 final float x = ev.getX(pointerIndex); in onTouchEvent()1285 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local1286 final float x = ev.getX(pointerIndex); in onTouchEvent()1419 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local1421 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()[all …]
133 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineDraggingStart() local134 final float x = ev.getX(pointerIndex); in determineDraggingStart()135 final float y = ev.getY(pointerIndex); in determineDraggingStart()
1446 int pointerIndex = ev.getActionIndex();1447 position[0] += (int) ev.getX(pointerIndex);1448 position[1] += (int) ev.getY(pointerIndex);
1434 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local1435 if (pointerIndex == -1) return; in determineScrollingStart()1438 final float x = ev.getX(pointerIndex); in determineScrollingStart()1439 final float y = ev.getY(pointerIndex); in determineScrollingStart()1640 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local1642 if (pointerIndex == -1) return true; in onTouchEvent()1644 final float x = ev.getX(pointerIndex); in onTouchEvent()1750 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local1751 final float x = ev.getX(pointerIndex); in onTouchEvent()1937 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local[all …]
1863 int pointerIndex = ev.getActionIndex(); in onWallpaperTap() local1864 position[0] += (int) ev.getX(pointerIndex); in onWallpaperTap()1865 position[1] += (int) ev.getY(pointerIndex); in onWallpaperTap()
531 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent() local532 final float y = mHorizontal ? ev.getX(pointerIndex) : ev in onInterceptTouchEvent()533 .getY(pointerIndex); in onInterceptTouchEvent()545 final float ocoord = mHorizontal ? ev.getY(pointerIndex) : ev in onInterceptTouchEvent()546 .getX(pointerIndex); in onInterceptTouchEvent()788 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local790 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()795 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp()
217 int pointerIndex = ev.getActionIndex(); in dispatchTouchEvent() local220 (int) ev.getX(pointerIndex), (int) ev.getY(pointerIndex), 0, null); in dispatchTouchEvent()
751 final int pointerIndex = me.findPointerIndex(mPointerId); in onMoveEvent() local754 final int historicalX = (int)me.getHistoricalX(pointerIndex, h); in onMoveEvent()755 final int historicalY = (int)me.getHistoricalY(pointerIndex, h); in onMoveEvent()
402 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() local403 final float y = ev.getY(pointerIndex); in onInterceptTouchEvent()