Searched refs:mActivePointerId (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncView.java36 private int mActivePointerId = INVALID_POINTER_ID; field in class:FBOSyncView
92 mActivePointerId = ev.getPointerId(0);
106 mActivePointerId = INVALID_POINTER_ID;
111 mActivePointerId = INVALID_POINTER_ID;
119 if (pointerId == mActivePointerId) {
126 mActivePointerId = ev.getPointerId(newPointerIndex);
H A DFBOTestView.java36 private int mActivePointerId = INVALID_POINTER_ID; field in class:FBOTestView
92 mActivePointerId = ev.getPointerId(0);
106 mActivePointerId = INVALID_POINTER_ID;
111 mActivePointerId = INVALID_POINTER_ID;
119 if (pointerId == mActivePointerId) {
126 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestView.java34 private int mActivePointerId = INVALID_POINTER_ID; field in class:ShadersTestView
86 mActivePointerId = ev.getPointerId(0);
100 mActivePointerId = INVALID_POINTER_ID;
105 mActivePointerId = INVALID_POINTER_ID;
113 if (pointerId == mActivePointerId) {
120 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/ex/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java58 private int mActivePointerId; field in class:PhotoViewPager
126 mActivePointerId = INVALID_POINTER;
132 final int activePointerId = mActivePointerId;
162 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
169 if (pointerId == mActivePointerId) {
173 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java58 private int mActivePointerId; field in class:PhotoViewPager
126 mActivePointerId = INVALID_POINTER;
132 final int activePointerId = mActivePointerId;
162 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
169 if (pointerId == mActivePointerId) {
173 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelView.java45 private int mActivePointerId = INVALID_POINTER_ID; field in class:SimpleModelView
119 mActivePointerId = ev.getPointerId(0);
133 mActivePointerId = INVALID_POINTER_ID;
138 mActivePointerId = INVALID_POINTER_ID;
146 if (pointerId == mActivePointerId) {
153 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppView.java55 private int mActivePointerId = INVALID_POINTER_ID; field in class:TestAppView
101 mActivePointerId = ev.getPointerId(0);
115 mActivePointerId = INVALID_POINTER_ID;
120 mActivePointerId = INVALID_POINTER_ID;
128 if (pointerId == mActivePointerId) {
135 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java128 private int mActivePointerId = INVALID_POINTER; field in class:HorizontalScrollView
132 * Used by {@link #mActivePointerId}.
454 final int activePointerId = mActivePointerId;
492 mActivePointerId = ev.getPointerId(0);
510 mActivePointerId = INVALID_POINTER;
518 mActivePointerId = ev.getPointerId(index);
523 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId));
563 mActivePointerId = ev.getPointerId(0);
567 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
569 Log.e(TAG, "Invalid pointerId=" + mActivePointerId
[all...]
H A DScrollView.java135 private int mActivePointerId = INVALID_POINTER; field in class:ScrollView
148 * Used by {@link #mActivePointerId}.
484 final int activePointerId = mActivePointerId;
528 mActivePointerId = ev.getPointerId(0);
548 mActivePointerId = INVALID_POINTER;
599 mActivePointerId = ev.getPointerId(0);
603 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
605 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent");
665 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
678 mActivePointerId
[all...]
H A DStackView.java106 * Used by {@link #mActivePointerId}.
129 private int mActivePointerId; field in class:StackView
190 mActivePointerId = INVALID_POINTER;
617 if (mActivePointerId == INVALID_POINTER) {
620 mActivePointerId = ev.getPointerId(0);
625 int pointerIndex = ev.findPointerIndex(mActivePointerId);
643 mActivePointerId = INVALID_POINTER;
707 int pointerIndex = ev.findPointerIndex(mActivePointerId);
752 mActivePointerId = INVALID_POINTER;
763 if (pointerId == mActivePointerId) {
[all...]
H A DAbsListView.java596 private int mActivePointerId = INVALID_POINTER; field in class:AbsListView
600 * Used by {@link #mActivePointerId}.
3282 mActivePointerId = ev.getPointerId(0);
3288 mActivePointerId = ev.getPointerId(0);
3338 int pointerIndex = ev.findPointerIndex(mActivePointerId);
3341 mActivePointerId = ev.getPointerId(pointerIndex);
3458 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale);
3497 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
3526 mActivePointerId = INVALID_POINTER;
3576 mActivePointerId
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp61 int32_t mActivePointerId; member in class:android::VelocityTrackerState
67 mVelocityTracker(strategy), mActivePointerId(-1) {
72 mActivePointerId = -1;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DSlidingChallengeLayout.java97 private int mActivePointerId = INVALID_POINTER; field in class:SlidingChallengeLayout
568 if (!mIsBouncing && mActivePointerId == INVALID_POINTER
572 mActivePointerId = ev.getPointerId(i);
586 mActivePointerId = INVALID_POINTER;
600 mActivePointerId = INVALID_POINTER;
627 if (mActivePointerId != ev.getPointerId(ev.getActionIndex())) {
633 showChallenge((int) mVelocityTracker.getYVelocity(mActivePointerId));
647 && mActivePointerId == INVALID_POINTER
651 mActivePointerId = ev.getPointerId(i);
665 final int index = ev.findPointerIndex(mActivePointerId);
[all...]
H A DPagedView.java163 protected int mActivePointerId = INVALID_POINTER; field in class:PagedView
1066 if (mActivePointerId != INVALID_POINTER) {
1070 // if mActivePointerId is INVALID_POINTER, then we must have missed an ACTION_DOWN
1091 mActivePointerId = ev.getPointerId(0);
1166 final int pointerIndex = ev.findPointerIndex(mActivePointerId);
1326 mActivePointerId = ev.getPointerId(0);
1343 final int pointerIndex = ev.findPointerIndex(mActivePointerId);
1479 final int activePointerId = mActivePointerId;
1597 mActivePointerId = INVALID_POINTER;
1650 if (pointerId == mActivePointerId) {
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java109 private int mActivePointerId; field in class:PointerLocationView
154 mActivePointerId = 0;
210 if (mActivePointerId >= 0) {
211 final PointerState ps = mPointers.get(mActivePointerId);
526 if (mActivePointerId < 0 ||
527 !mPointers.get(mActivePointerId).mCurDown) {
528 mActivePointerId = id;
599 if (mActivePointerId == id) {
600 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0);
/frameworks/base/libs/androidfw/
H A DVelocityTracker.cpp111 mLastEventTime(0), mCurrentPointerIdBits(0), mActivePointerId(-1) {
205 mActivePointerId = -1;
214 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) {
215 mActivePointerId = !remainingIdBits.isEmpty() ? remainingIdBits.firstMarkedBit() : -1;
239 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) {
240 mActivePointerId = idBits.isEmpty() ? -1 : idBits.firstMarkedBit();
247 eventTime, idBits.value, mActivePointerId);
/frameworks/base/include/androidfw/
H A DVelocityTracker.h99 inline int32_t getActivePointerId() const { return mActivePointerId; }
109 int32_t mActivePointerId; member in class:android::VelocityTracker
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java171 private int mActivePointerId = INVALID_POINTER; field in class:ViewPager
174 * Used by {@link #mActivePointerId}.
1729 mActivePointerId = INVALID_POINTER;
1761 final int activePointerId = mActivePointerId;
1816 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
1894 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
1899 final int pointerIndex = MotionEventCompat.findPointerIndex(ev, mActivePointerId);
1918 ev, mActivePointerId);
1928 velocityTracker, mActivePointerId);
1936 MotionEventCompat.findPointerIndex(ev, mActivePointerId);
[all...]
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java122 private int mActivePointerId; field in class:StaggeredGridView
287 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
297 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId);
300 mActivePointerId + " - did StaggeredGridView receive an inconsistent " +
328 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
333 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId);
336 mActivePointerId + " - did StaggeredGridView receive an inconsistent " +
366 mActivePointerId);

Completed in 3727 milliseconds