Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestView.java116 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local
117 x = ev.getX(newPointerIndex); in onTouchEvent()
118 y = ev.getY(newPointerIndex); in onTouchEvent()
120 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestView.java122 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local
123 x = ev.getX(newPointerIndex); in onTouchEvent()
124 y = ev.getY(newPointerIndex); in onTouchEvent()
126 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
DFBOSyncView.java122 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local
123 x = ev.getX(newPointerIndex); in onTouchEvent()
124 y = ev.getY(newPointerIndex); in onTouchEvent()
126 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestAppView.java131 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local
132 x = ev.getX(newPointerIndex); in onTouchEvent()
133 y = ev.getY(newPointerIndex); in onTouchEvent()
135 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelView.java149 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local
150 x = ev.getX(newPointerIndex); in onTouchEvent()
151 y = ev.getY(newPointerIndex); in onTouchEvent()
153 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/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/ex/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java171 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onInterceptTouchEvent() local
172 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex); in onInterceptTouchEvent()
173 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex); in onInterceptTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dscale.jd167 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
168 mLastTouchX = MotionEventCompat.getX(ev, newPointerIndex);
169 mLastTouchY = MotionEventCompat.getY(ev, newPointerIndex);
170 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java682 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
683 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
684 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
DScrollView.java713 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
714 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()
715 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
DAbsListView.java3844 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
3845 mMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
3846 mMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()
3848 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DPagedView.java1662 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local
1663 mLastMotionX = mDownMotionX = ev.getX(newPointerIndex); in onSecondaryPointerUp()
1664 mLastMotionY = ev.getY(newPointerIndex); in onSecondaryPointerUp()
1666 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java2310 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
2311 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex);
2312 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);