Searched defs:mActivePointerId (Results 26 - 27 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java73 * Sentinel value for no current active pointer. Used by {@link #mActivePointerId}.
100 private int mActivePointerId; field in class:NotificationStackScrollLayout
880 mActivePointerId = ev.getPointerId(0);
884 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
886 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent");
932 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
954 mActivePointerId = INVALID_POINTER;
964 mActivePointerId = INVALID_POINTER;
972 mActivePointerId = ev.getPointerId(index);
977 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId));
[all...]
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java4798 private int mActivePointerId = -1; field in class:ViewRootImpl.SyntheticTouchNavigationHandler
4891 mActivePointerId = event.getPointerId(0);
4909 if (mActivePointerId < 0) {
4912 final int index = event.findPointerIndex(mActivePointerId);
4936 final float vx = mVelocityTracker.getXVelocity(mActivePointerId);
4937 final float vy = mVelocityTracker.getYVelocity(mActivePointerId);
4970 if (mActivePointerId >= 0) {
4971 mActivePointerId = -1;

Completed in 82 milliseconds

12