Home
last modified time | relevance | path

Searched refs:pointerIndex (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewWithDraggableItems.java133 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineDraggingStart() local
134 final float x = ev.getX(pointerIndex); in determineDraggingStart()
135 final float y = ev.getY(pointerIndex); in determineDraggingStart()
DPagedView.java1043 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local
1044 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() local
1200 final float x = ev.getX(pointerIndex); in onTouchEvent()
1230 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local
1231 final float x = ev.getX(pointerIndex); in onTouchEvent()
1359 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local
1361 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()
[all …]
DWorkspace.java1422 int pointerIndex = ev.getActionIndex();
1423 position[0] += (int) ev.getX(pointerIndex);
1424 position[1] += (int) ev.getY(pointerIndex);
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java216 int pointerIndex = ev.getActionIndex(); in dispatchTouchEvent() local
219 (int) ev.getX(pointerIndex), (int) ev.getY(pointerIndex), 0, null); in dispatchTouchEvent()
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java531 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent() local
532 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() local
790 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()
795 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp()