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.java159 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in onTouchEvent() local
160 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
165 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java226 final int newPointerIndex = index == 0 ? 1 : 0; in onTouchEvent() local
227 mLastTouchY = event.getY(newPointerIndex); in onTouchEvent()
228 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.java322 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in handleTouchEvent() local
323 mActivePointerId = ev.getPointerId(newPointerIndex); in handleTouchEvent()
/frameworks/base/core/java/android/widget/
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()
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()
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.java3901 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
3902 mLastMotionY = (int) ev.getY(newPointerIndex);
3903 mActivePointerId = ev.getPointerId(newPointerIndex);