Searched refs:pointerIndex (Results 1 – 5 of 5) sorted by relevance
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()
1043 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local1044 if (pointerIndex == -1) { in determineScrollingStart()1047 final float x = ev.getX(pointerIndex); in determineScrollingStart()1048 final float y = ev.getY(pointerIndex); in determineScrollingStart()1199 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local1200 final float x = ev.getX(pointerIndex); in onTouchEvent()1230 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local1231 final float x = ev.getX(pointerIndex); in onTouchEvent()1359 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local1361 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()[all …]
1422 int pointerIndex = ev.getActionIndex();1423 position[0] += (int) ev.getX(pointerIndex);1424 position[1] += (int) ev.getY(pointerIndex);
216 int pointerIndex = ev.getActionIndex(); in dispatchTouchEvent() local219 (int) ev.getX(pointerIndex), (int) ev.getY(pointerIndex), 0, null); in dispatchTouchEvent()
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()