Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java1098 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local
1099 if (pointerIndex == -1) { in determineScrollingStart()
1102 final float x = ev.getX(pointerIndex); in determineScrollingStart()
1103 final float y = ev.getY(pointerIndex); in determineScrollingStart()
1254 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
1255 final float x = ev.getX(pointerIndex); in onTouchEvent()
1285 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local
1286 final float x = ev.getX(pointerIndex); in onTouchEvent()
1419 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local
1421 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()
[all …]
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()
DWorkspace.java1446 int pointerIndex = ev.getActionIndex();
1447 position[0] += (int) ev.getX(pointerIndex);
1448 position[1] += (int) ev.getY(pointerIndex);
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1434 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local
1435 if (pointerIndex == -1) return; in determineScrollingStart()
1438 final float x = ev.getX(pointerIndex); in determineScrollingStart()
1439 final float y = ev.getY(pointerIndex); in determineScrollingStart()
1640 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
1642 if (pointerIndex == -1) return true; in onTouchEvent()
1644 final float x = ev.getX(pointerIndex); in onTouchEvent()
1750 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local
1751 final float x = ev.getX(pointerIndex); in onTouchEvent()
1937 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local
[all …]
DWorkspace.java1863 int pointerIndex = ev.getActionIndex(); in onWallpaperTap() local
1864 position[0] += (int) ev.getX(pointerIndex); in onWallpaperTap()
1865 position[1] += (int) ev.getY(pointerIndex); in onWallpaperTap()
/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()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java217 int pointerIndex = ev.getActionIndex(); in dispatchTouchEvent() local
220 (int) ev.getX(pointerIndex), (int) ev.getY(pointerIndex), 0, null); in dispatchTouchEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java751 final int pointerIndex = me.findPointerIndex(mPointerId); in onMoveEvent() local
754 final int historicalX = (int)me.getHistoricalX(pointerIndex, h); in onMoveEvent()
755 final int historicalY = (int)me.getHistoricalY(pointerIndex, h); in onMoveEvent()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java402 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() local
403 final float y = ev.getY(pointerIndex); in onInterceptTouchEvent()