/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncView.java | 36 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 D | FBOTestView.java | 36 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 D | ShadersTestView.java | 34 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/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewPager.java | 59 private int mActivePointerId; field in class:PhotoViewPager 127 mActivePointerId = INVALID_POINTER; 133 final int activePointerId = mActivePointerId; 163 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 170 if (pointerId == mActivePointerId) { 174 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelView.java | 45 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 D | TestAppView.java | 55 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/support/v4/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 115 private int mActivePointerId = INVALID_POINTER; field in class:ViewDragHelper 466 mActivePointerId = activePointerId; 483 return mActivePointerId; 498 mActivePointerId = INVALID_POINTER; 540 mActivePointerId = INVALID_POINTER; 563 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId), 564 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId)); 696 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId), 697 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), 883 if (toCapture == mCapturedView && mActivePointerId [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_VelocityTracker.cpp | 61 int32_t mActivePointerId; member in class:android::VelocityTrackerState 67 mVelocityTracker(strategy), mActivePointerId(-1) { 72 mActivePointerId = -1;
|
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 131 private int mActivePointerId = INVALID_POINTER; field in class:HorizontalScrollView 135 * Used by {@link #mActivePointerId}. 459 final int activePointerId = mActivePointerId; 497 mActivePointerId = ev.getPointerId(0); 515 mActivePointerId = INVALID_POINTER; 523 mActivePointerId = ev.getPointerId(index); 528 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); 568 mActivePointerId = ev.getPointerId(0); 572 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); 574 Log.e(TAG, "Invalid pointerId=" + mActivePointerId [all...] |
H A D | ScrollView.java | 138 private int mActivePointerId = INVALID_POINTER; field in class:ScrollView 151 * Used by {@link #mActivePointerId}. 489 final int activePointerId = mActivePointerId; 533 mActivePointerId = ev.getPointerId(0); 553 mActivePointerId = INVALID_POINTER; 604 mActivePointerId = ev.getPointerId(0); 608 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); 610 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent"); 671 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); 684 mActivePointerId [all...] |
H A D | StackView.java | 106 * 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 D | ListPopupWindow.java | 1199 private int mActivePointerId; field in class:ListPopupWindow.ForwardingListener 1242 mActivePointerId = MotionEvent.INVALID_POINTER_ID; 1298 mActivePointerId = srcEvent.getPointerId(0); 1305 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); 1355 final boolean handled = dst.onForwardedEvent(dstEvent, mActivePointerId);
|
H A D | AbsListView.java | 610 private int mActivePointerId = INVALID_POINTER; field in class:AbsListView 614 * Used by {@link #mActivePointerId}. 3467 mActivePointerId = id; 3486 mActivePointerId = ev.getPointerId(0); 3547 int pointerIndex = ev.findPointerIndex(mActivePointerId); 3550 mActivePointerId = ev.getPointerId(pointerIndex); 3681 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); 3720 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); 3744 mActivePointerId = INVALID_POINTER; 3788 mActivePointerId [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | SlidingChallengeLayout.java | 97 private int mActivePointerId = INVALID_POINTER; field in class:SlidingChallengeLayout 581 if (!mIsBouncing && mActivePointerId == INVALID_POINTER 586 mActivePointerId = ev.getPointerId(i); 601 mActivePointerId = INVALID_POINTER; 619 mActivePointerId = INVALID_POINTER; 646 if (mActivePointerId != ev.getPointerId(ev.getActionIndex())) { 652 showChallenge((int) mVelocityTracker.getYVelocity(mActivePointerId)); 666 && mActivePointerId == INVALID_POINTER 670 mActivePointerId = ev.getPointerId(i); 684 final int index = ev.findPointerIndex(mActivePointerId); [all...] |
H A D | PagedView.java | 170 protected int mActivePointerId = INVALID_POINTER; field in class:PagedView 1135 if (mActivePointerId != INVALID_POINTER) { 1141 // if mActivePointerId is INVALID_POINTER, then we must have missed an ACTION_DOWN 1245 mActivePointerId = ev.getPointerId(0); 1261 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1286 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1433 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1575 final int activePointerId = mActivePointerId; 1702 mActivePointerId = INVALID_POINTER; 1755 if (pointerId == mActivePointerId) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 123 private int mActivePointerId; field in class:PointerLocationView 173 mActivePointerId = 0; 229 if (mActivePointerId >= 0) { 230 final PointerState ps = mPointers.get(mActivePointerId); 558 if (mActivePointerId < 0 || 559 !mPointers.get(mActivePointerId).mCurDown) { 560 mActivePointerId = id; 639 if (mActivePointerId == id) { 640 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0);
|
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 110 mLastEventTime(0), mCurrentPointerIdBits(0), mActivePointerId(-1) { 204 mActivePointerId = -1; 213 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) { 214 mActivePointerId = !remainingIdBits.isEmpty() ? remainingIdBits.firstMarkedBit() : -1; 238 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) { 239 mActivePointerId = idBits.isEmpty() ? -1 : idBits.firstMarkedBit(); 246 eventTime, idBits.value, mActivePointerId);
|
/frameworks/native/include/input/ |
H A D | VelocityTracker.h | 99 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 D | ViewPager.java | 180 private int mActivePointerId = INVALID_POINTER; field in class:ViewPager 183 * Used by {@link #mActivePointerId}. 1795 mActivePointerId = INVALID_POINTER; 1827 final int activePointerId = mActivePointerId; 1882 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 1960 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 1965 final int pointerIndex = MotionEventCompat.findPointerIndex(ev, mActivePointerId); 1992 ev, mActivePointerId); 2002 velocityTracker, mActivePointerId); 2010 MotionEventCompat.findPointerIndex(ev, mActivePointerId); [all...] |
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 122 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);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 4494 private int mActivePointerId = -1; field in class:ViewRootImpl.SyntheticTouchNavigationHandler 4591 mActivePointerId = event.getPointerId(0); 4610 if (mActivePointerId < 0) { 4613 final int index = event.findPointerIndex(mActivePointerId); 4637 final float vx = mVelocityTracker.getXVelocity(mActivePointerId); 4638 final float vy = mVelocityTracker.getYVelocity(mActivePointerId); 4671 if (mActivePointerId >= 0) { 4672 mActivePointerId = -1;
|