Searched refs:pointerIndex (Results 1 – 6 of 6) sorted by relevance
45 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument50 final float x = event.getX(pointerIndex); in onResolvePointerIcon()51 final float y = event.getY(pointerIndex); in onResolvePointerIcon()
48 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument68 final float relativeX = (event.getX(pointerIndex) / getWidth()) - 0.5f; in onResolvePointerIcon()69 final float relativeY = (event.getY(pointerIndex) / getHeight()) - 0.5f; in onResolvePointerIcon()
47 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument
49 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument
122 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent() local124 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()128 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent()
260 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent() local262 mLastEventY = (int) event.getY(pointerIndex); in onTouchEvent()290 pointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onTouchEvent()292 final int pointerId = event.getPointerId(pointerIndex); in onTouchEvent()