Home
last modified time | relevance | path

Searched refs:newPointerIndex (Results 1 – 12 of 12) 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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java187 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in onTouchEvent() local
188 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
194 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchState.java187 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in onTouchEvent() local
188 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
194 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java240 int newPointerIndex = 0; in cancelMotion() local
251 coords[newPointerIndex] = c; in cancelMotion()
255 properties[newPointerIndex] = p; in cancelMotion()
256 newPointerIndex++; in cancelMotion()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java535 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
536 mInitialTouchX = ev.getX(newPointerIndex);
537 mInitialTouchY = mLastTouchY = ev.getY(newPointerIndex);
538 mActivePointerId = ev.getPointerId(newPointerIndex);
DViewPager.java2396 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
2397 mLastMotionX = ev.getX(newPointerIndex);
2398 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java853 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
854 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
855 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
DScrollView.java960 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
961 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()
962 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
DAbsListView.java4857 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
4858 mMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
4859 mMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()
4861 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java540 final int newPointerIndex = index == 0 ? 1 : 0; in onTouchEvent() local
541 mLastTouchY = event.getY(newPointerIndex); in onTouchEvent()
542 mActivePointerId = event.getPointerId(newPointerIndex); in onTouchEvent()
/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.java3760 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
3761 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()
3762 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()