Searched refs:activePointerIndex (Results 1 – 7 of 7) sorted by relevance
182 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); in onTouchObserved() local183 if (activePointerIndex >= 0) { in onTouchObserved()184 final float x = srcEvent.getX(activePointerIndex); in onTouchObserved()185 final float y = srcEvent.getY(activePointerIndex); in onTouchObserved()
699 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local700 if (activePointerIndex == -1) { in onTouchEvent()705 final int x = (int) ev.getX(activePointerIndex); in onTouchEvent()742 1.f - ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()748 ev.getY(activePointerIndex) / getHeight()); in onTouchEvent()
770 final int activePointerIndex = ev.getActionIndex();771 final int pointerId = ev.getPointerId(activePointerIndex);784 if (index != activePointerIndex) {791 float oldX = ev.getX(activePointerIndex);792 float oldY = ev.getY(activePointerIndex);
761 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local762 if (activePointerIndex == -1) { in onTouchEvent()767 final int y = (int) ev.getY(activePointerIndex); in onTouchEvent()814 ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()820 1.f - ev.getX(activePointerIndex) / getWidth()); in onTouchEvent()
357 final int activePointerIndex = event.findPointerIndex(mActivePointerId);358 if (activePointerIndex >= 0) {359 checkSelectForSwipe(action, event, activePointerIndex);368 if (activePointerIndex >= 0) {369 updateDxDy(event, mSelectedFlags, activePointerIndex);
2010 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);2011 final float x = ev.getX(activePointerIndex);2034 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);2035 final float x = ev.getX(activePointerIndex);
3974 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);3975 if (activePointerIndex == -1) {3980 final int y = (int) ev.getY(activePointerIndex);3981 final int x = (int) ev.getX(activePointerIndex);