Searched refs:activePointerIndex (Results 1 – 8 of 8) sorted by relevance
155 int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() local156 int y = (int) ev.getY(activePointerIndex); in onInterceptTouchEvent()157 int x = (int) ev.getX(activePointerIndex); in onInterceptTouchEvent()241 int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local242 int x = (int) ev.getX(activePointerIndex); in onTouchEvent()243 int y = (int) ev.getY(activePointerIndex); in onTouchEvent()
629 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local630 if (activePointerIndex == -1) { in onTouchEvent()635 final int y = (int) ev.getY(activePointerIndex); in onTouchEvent()682 ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()688 1.f - ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()
578 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local579 if (activePointerIndex == -1) { in onTouchEvent()584 final int x = (int) ev.getX(activePointerIndex); in onTouchEvent()621 1.f - ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()627 ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()
1350 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId);1351 if (activePointerIndex >= 0) {1352 final float x = srcEvent.getX(activePointerIndex);1353 final float y = srcEvent.getY(activePointerIndex);
768 final int activePointerIndex = ev.getActionIndex();769 final int pointerId = ev.getPointerId(activePointerIndex);782 if (index != activePointerIndex) {789 float oldX = ev.getX(activePointerIndex);790 float oldY = ev.getY(activePointerIndex);
1354 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId);1355 if (activePointerIndex >= 0) {1356 final float x = srcEvent.getX(activePointerIndex);1357 final float y = srcEvent.getY(activePointerIndex);
807 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onScrollTouch() local808 if (activePointerIndex == -1) { in onScrollTouch()813 final int y = (int) ev.getY(activePointerIndex); in onScrollTouch()814 final int x = (int) ev.getX(activePointerIndex); in onScrollTouch()
1996 final int activePointerIndex = MotionEventCompat.findPointerIndex(1998 final float x = MotionEventCompat.getX(ev, activePointerIndex);2014 final int activePointerIndex =2016 final float x = MotionEventCompat.getX(ev, activePointerIndex);