/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/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackViewTouchHandler.java | 45 int mActivePointerId = INACTIVE_POINTER_ID; field in class:TaskStackViewTouchHandler 138 mActivePointerId = ev.getPointerId(0); 149 if (mActivePointerId == INACTIVE_POINTER_ID) break; 155 int activePointerIndex = ev.findPointerIndex(mActivePointerId); 179 mActivePointerId = INACTIVE_POINTER_ID; 213 mActivePointerId = ev.getPointerId(0); 230 mActivePointerId = ev.getPointerId(index); 237 if (mActivePointerId == INACTIVE_POINTER_ID) break; 241 int activePointerIndex = ev.findPointerIndex(mActivePointerId); 277 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayout.java | 106 private int mActivePointerId = INVALID_POINTER; field in class:SwipeRefreshLayout 645 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 647 final float initialDownY = getMotionEventY(ev, mActivePointerId); 655 if (mActivePointerId == INVALID_POINTER) { 660 final float y = getMotionEventY(ev, mActivePointerId); 679 mActivePointerId = INVALID_POINTER; 718 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 723 final int pointerIndex = MotionEventCompat.findPointerIndex(ev, mActivePointerId); 786 mActivePointerId = MotionEventCompat.getPointerId(ev, index); 796 if (mActivePointerId [all...] |
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; 570 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId), 571 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId)); 703 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId), 704 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId), 891 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/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 88 private int mActivePointerId = MotionEvent.INVALID_POINTER_ID; field in class:ResolverDrawerLayout 183 mActivePointerId = ev.getPointerId(0); 222 mActivePointerId = ev.getPointerId(0); 231 int index = ev.findPointerIndex(mActivePointerId); 233 Log.e(TAG, "Bad pointer id " + mActivePointerId + ", resetting"); 235 mActivePointerId = ev.getPointerId(0); 260 mActivePointerId = pointerId; 288 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); 321 if (pointerId == mActivePointerId) { 327 mActivePointerId [all...] |
H A D | PointerLocationView.java | 125 private int mActivePointerId; field in class:PointerLocationView 175 mActivePointerId = 0; 231 if (mActivePointerId >= 0) { 232 final PointerState ps = mPointers.get(mActivePointerId); 561 if (mActivePointerId < 0 || 562 !mPointers.get(mActivePointerId).mCurDown) { 563 mActivePointerId = id; 642 if (mActivePointerId == id) { 643 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0);
|
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 132 private int mActivePointerId = INVALID_POINTER; field in class:HorizontalScrollView 136 * Used by {@link #mActivePointerId}. 465 final int activePointerId = mActivePointerId; 503 mActivePointerId = ev.getPointerId(0); 521 mActivePointerId = INVALID_POINTER; 529 mActivePointerId = ev.getPointerId(index); 534 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); 574 mActivePointerId = ev.getPointerId(0); 578 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); 580 Log.e(TAG, "Invalid pointerId=" + mActivePointerId [all...] |
H A D | ScrollView.java | 138 private int mActivePointerId = INVALID_POINTER; field in class:ScrollView 158 * Used by {@link #mActivePointerId}. 500 final int activePointerId = mActivePointerId; 545 mActivePointerId = ev.getPointerId(0); 566 mActivePointerId = INVALID_POINTER; 624 mActivePointerId = ev.getPointerId(0); 629 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); 631 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent"); 704 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); 713 mActivePointerId [all...] |
H A D | StackView.java | 106 * Used by {@link #mActivePointerId}. 129 private int mActivePointerId; field in class:StackView 197 mActivePointerId = INVALID_POINTER; 624 if (mActivePointerId == INVALID_POINTER) { 627 mActivePointerId = ev.getPointerId(0); 632 int pointerIndex = ev.findPointerIndex(mActivePointerId); 650 mActivePointerId = INVALID_POINTER; 714 int pointerIndex = ev.findPointerIndex(mActivePointerId); 759 mActivePointerId = INVALID_POINTER; 770 if (pointerId == mActivePointerId) { [all...] |
H A D | ListPopupWindow.java | 1225 private int mActivePointerId; field in class:ListPopupWindow.ForwardingListener 1280 mActivePointerId = MotionEvent.INVALID_POINTER_ID; 1336 mActivePointerId = srcEvent.getPointerId(0); 1350 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); 1436 final boolean handled = dst.onForwardedEvent(dstEvent, mActivePointerId);
|
H A D | AbsListView.java | 631 private int mActivePointerId = INVALID_POINTER; field in class:AbsListView 635 * Used by {@link #mActivePointerId}. 3668 mActivePointerId = id; 3691 mActivePointerId = ev.getPointerId(0); 3754 int pointerIndex = ev.findPointerIndex(mActivePointerId); 3757 mActivePointerId = ev.getPointerId(pointerIndex); 3896 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); 3944 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); 3968 mActivePointerId = INVALID_POINTER; 4012 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 | 162 protected int mActivePointerId = INVALID_POINTER; field in class:PagedView 1111 if (mActivePointerId != INVALID_POINTER) { 1117 // if mActivePointerId is INVALID_POINTER, then we must have missed an ACTION_DOWN 1221 mActivePointerId = ev.getPointerId(0); 1233 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1256 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1279 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1426 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 1573 final int activePointerId = mActivePointerId; 1701 mActivePointerId [all...] |
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 68 * Sentinel value for no current active pointer. Used by {@link #mActivePointerId}. 95 private int mActivePointerId; field in class:NotificationStackScrollLayout 803 mActivePointerId = ev.getPointerId(0); 807 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); 809 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent"); 855 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); 877 mActivePointerId = INVALID_POINTER; 887 mActivePointerId = INVALID_POINTER; 895 mActivePointerId = ev.getPointerId(index); 900 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); [all...] |
/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 | 185 private int mActivePointerId = INVALID_POINTER; field in class:ViewPager 188 * Used by {@link #mActivePointerId}. 1800 mActivePointerId = INVALID_POINTER; 1832 final int activePointerId = mActivePointerId; 1887 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 1965 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 1970 final int pointerIndex = MotionEventCompat.findPointerIndex(ev, mActivePointerId); 1997 ev, mActivePointerId); 2007 velocityTracker, mActivePointerId); 2015 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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListPopupWindow.java | 1240 private int mActivePointerId; field in class:ListPopupWindow.ForwardingListener 1341 mActivePointerId = srcEvent.getPointerId(0); 1354 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); 1435 final boolean handled = dst.onForwardedEvent(dstEvent, mActivePointerId);
|