/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/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/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/ex/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewPager.java | 58 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 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/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/include/androidfw/ |
H A D | VelocityTracker.h | 99 inline int32_t getActivePointerId() const { return mActivePointerId; } 109 int32_t mActivePointerId; member in class:android::VelocityTracker
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 109 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/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 128 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 D | ScrollView.java | 135 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 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 | AbsListView.java | 596 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/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/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | SlidingChallengeLayout.java | 97 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 D | PagedView.java | 163 protected int mActivePointerId = INVALID_POINTER; field in class:PagedView 1073 if (mActivePointerId != INVALID_POINTER) { 1077 // if mActivePointerId is INVALID_POINTER, then we must have missed an ACTION_DOWN 1098 mActivePointerId = ev.getPointerId(0); 1173 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1333 mActivePointerId = ev.getPointerId(0); 1350 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1486 final int activePointerId = mActivePointerId; 1605 mActivePointerId = INVALID_POINTER; 1658 if (pointerId == mActivePointerId) { [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 174 private int mActivePointerId = INVALID_POINTER; field in class:ViewPager 177 * Used by {@link #mActivePointerId}. 1730 mActivePointerId = INVALID_POINTER; 1762 final int activePointerId = mActivePointerId; 1816 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 1895 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 1900 final int pointerIndex = MotionEventCompat.findPointerIndex(ev, mActivePointerId); 1920 ev, mActivePointerId); 1930 velocityTracker, mActivePointerId); 1938 MotionEventCompat.findPointerIndex(ev, mActivePointerId); [all...] |