Home
last modified time | relevance | path

Searched refs:newPointerIndex (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java172 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onInterceptTouchEvent() local
173 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex); in onInterceptTouchEvent()
174 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex); in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java160 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in onTouchEvent() local
161 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
166 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java231 final int newPointerIndex = index == 0 ? 1 : 0; in onTouchEvent() local
232 mLastTouchY = event.getY(newPointerIndex); in onTouchEvent()
233 mActivePointerId = event.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java465 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
466 mInitialTouchX = ev.getX(newPointerIndex);
467 mInitialTouchY = mLastTouchY = ev.getY(newPointerIndex);
468 mActivePointerId = ev.getPointerId(newPointerIndex);
DViewPager.java2352 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
2353 mLastMotionX = ev.getX(newPointerIndex);
2354 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java323 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in handleTouchEvent() local
324 mActivePointerId = ev.getPointerId(newPointerIndex); in handleTouchEvent()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java817 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
818 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
819 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
DScrollView.java885 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
886 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()
887 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
DAbsListView.java4589 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
4590 mMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
4591 mMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()
4593 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java392 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
393 mActivePointerId = event.getPointerId(newPointerIndex);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3945 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
3946 mLastMotionY = (int) ev.getY(newPointerIndex);
3947 mActivePointerId = ev.getPointerId(newPointerIndex);