/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipTouchState.java | 68 private int mActivePointerId; field in PipTouchState 105 mActivePointerId = ev.getPointerId(0); in onTouchEvent() 108 "%s: Setting active pointer id on DOWN: %d", TAG, mActivePointerId); in onTouchEvent() 133 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() 136 "%s: Invalid active pointer id on MOVE: %d", TAG, mActivePointerId); in onTouchEvent() 168 if (pointerId == mActivePointerId) { in onTouchEvent() 171 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent() 175 TAG, mActivePointerId); in onTouchEvent() 193 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() 196 "%s: Invalid active pointer id on UP: %d", TAG, mActivePointerId); in onTouchEvent() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewPager.java | 59 private int mActivePointerId; field in PhotoViewPager 127 mActivePointerId = INVALID_POINTER; in onInterceptTouchEvent() 133 final int activePointerId = mActivePointerId; in onInterceptTouchEvent() 163 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent() 170 if (pointerId == mActivePointerId) { in onInterceptTouchEvent() 174 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex); in onInterceptTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | ForwardingListener.java | 57 private int mActivePointerId; field in ForwardingListener 113 mActivePointerId = MotionEvent.INVALID_POINTER_ID; in onViewDetachedFromWindow() 169 mActivePointerId = srcEvent.getPointerId(0); in onTouchObserved() 182 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); in onTouchObserved() 267 final boolean handled = dst.onForwardedEvent(dstEvent, mActivePointerId); in onTouchForwarded()
|
D | HorizontalScrollView.java | 169 private int mActivePointerId = INVALID_POINTER; field in HorizontalScrollView 593 final int activePointerId = mActivePointerId; in onInterceptTouchEvent() 631 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent() 657 mActivePointerId = INVALID_POINTER; in onInterceptTouchEvent() 665 mActivePointerId = ev.getPointerId(index); in onInterceptTouchEvent() 670 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent() 710 mActivePointerId = ev.getPointerId(0); in onTouchEvent() 714 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() 716 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent"); in onTouchEvent() 790 int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent() [all …]
|
D | StackView.java | 129 private int mActivePointerId; field in StackView 199 mActivePointerId = INVALID_POINTER; in initStackView() 626 if (mActivePointerId == INVALID_POINTER) { in onInterceptTouchEvent() 629 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent() 634 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() 652 mActivePointerId = INVALID_POINTER; in onInterceptTouchEvent() 716 int pointerIndex = ev.findPointerIndex(mActivePointerId); 761 mActivePointerId = INVALID_POINTER; 772 if (pointerId == mActivePointerId) { 798 mActivePointerId = ev.getPointerId(index); [all …]
|
D | ScrollView.java | 180 private int mActivePointerId = INVALID_POINTER; field in ScrollView 633 final int activePointerId = mActivePointerId; in onInterceptTouchEvent() 678 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent() 709 mActivePointerId = INVALID_POINTER; in onInterceptTouchEvent() 771 mActivePointerId = ev.getPointerId(0); in onTouchEvent() 776 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() 778 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent"); in onTouchEvent() 866 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() 875 mActivePointerId = INVALID_POINTER; in onTouchEvent() 884 mActivePointerId = INVALID_POINTER; in onTouchEvent() [all …]
|
D | AbsListView.java | 711 private int mActivePointerId = INVALID_POINTER; field in AbsListView 4020 mActivePointerId = id; in onTouchEvent() 4044 mActivePointerId = ev.getPointerId(0); in onTouchDown() 4128 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchMove() 4131 mActivePointerId = ev.getPointerId(pointerIndex); in onTouchMove() 4272 (velocityTracker.getYVelocity(mActivePointerId) * mVelocityScale); in onTouchUp() 4325 final int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onTouchUp() 4349 mActivePointerId = INVALID_POINTER; in onTouchUp() 4397 mActivePointerId = INVALID_POINTER; in onTouchCancel() 4643 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 213 int mActivePointerId = ACTIVE_POINTER_ID_NONE; field in ItemTouchHelper 306 mActivePointerId = event.getPointerId(0); 324 mActivePointerId = ACTIVE_POINTER_ID_NONE; 326 } else if (mActivePointerId != ACTIVE_POINTER_ID_NONE) { 329 final int index = event.findPointerIndex(mActivePointerId); 353 if (mActivePointerId == ACTIVE_POINTER_ID_NONE) { 357 final int activePointerIndex = event.findPointerIndex(mActivePointerId); 384 mActivePointerId = ACTIVE_POINTER_ID_NONE; 389 if (pointerId == mActivePointerId) { 393 mActivePointerId = event.getPointerId(newPointerIndex); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
D | SwipeDetector.java | 50 protected int mActivePointerId = INVALID_POINTER_ID; field in SwipeDetector 214 mActivePointerId = ev.getPointerId(0); in onTouchEvent() 229 if (ptrId == mActivePointerId) { in onTouchEvent() 235 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent() 239 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 148 private int mActivePointerId; field in PointerLocationView 214 mActivePointerId = 0; in PointerLocationView() 419 if (mActivePointerId < 0 || mActivePointerId >= mPointers.size()) { in drawLabels() 430 final PointerState ps = mPointers.get(mActivePointerId); in drawLabels() 634 if (mActivePointerId < 0 || mActivePointerId >= NP in onPointerEvent() 635 || !mPointers.get(mActivePointerId).mCurDown) { in onPointerEvent() 636 mActivePointerId = id; in onPointerEvent() 721 if (mActivePointerId == id) { in onPointerEvent() 722 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0); in onPointerEvent()
|
D | ResolverDrawerLayout.java | 125 private int mActivePointerId = MotionEvent.INVALID_POINTER_ID; field in ResolverDrawerLayout 347 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent() 402 mActivePointerId = ev.getPointerId(0); in onTouchEvent() 411 int index = ev.findPointerIndex(mActivePointerId); in onTouchEvent() 413 Log.e(TAG, "Bad pointer id " + mActivePointerId + ", resetting"); in onTouchEvent() 415 mActivePointerId = ev.getPointerId(0); in onTouchEvent() 445 mActivePointerId = ev.getPointerId(pointerIndex); in onTouchEvent() 473 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent() 527 if (pointerId == mActivePointerId) { 533 mActivePointerId = ev.getPointerId(newPointerIndex); [all …]
|
D | ViewPager.java | 169 private int mActivePointerId = INVALID_POINTER; field in ViewPager 1821 mActivePointerId = INVALID_POINTER; 1853 final int activePointerId = mActivePointerId; 1908 mActivePointerId = ev.getPointerId(0); 1990 mActivePointerId = ev.getPointerId(0); 1995 final int pointerIndex = ev.findPointerIndex(mActivePointerId); 2021 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); 2030 … final int initialVelocity = (int) velocityTracker.getXVelocity(mActivePointerId); 2045 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); 2052 mActivePointerId = INVALID_POINTER; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | CropView.java | 76 private int mActivePointerId; field in CropView 170 mActivePointerId = event.getPointerId(0); in onTouchEvent() 180 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent() 197 if (mActivePointerId == event.getPointerId(event.getActionIndex()) in onTouchEvent() 204 if (mActivePointerId == event.getPointerId(event.getActionIndex()) in onTouchEvent() 213 && mActivePointerId == event.getPointerId(mActivePointerId)) { in onTouchEvent()
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 60 int32_t mActivePointerId; member in android::VelocityTrackerState 66 : mVelocityTracker(strategy), mActivePointerId(-1) {} in VelocityTrackerState() 70 mActivePointerId = -1; in clear()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsController.java | 169 private int mActivePointerId = -1; field in UdfpsController 480 final TouchProcessorResult result = mTouchProcessor.processTouch(event, mActivePointerId, in newOnTouch() 491 mActivePointerId = processedTouch.getPointerOnSensorId(); in newOnTouch() 575 mActivePointerId = event.getPointerId(0); in oldOnTouch() 591 final int idx = mActivePointerId == -1 in oldOnTouch() 593 : event.findPointerIndex(mActivePointerId); in oldOnTouch() 616 final float v = computePointerSpeed(mVelocityTracker, mActivePointerId); in oldOnTouch() 669 mActivePointerId = -1; in oldOnTouch() 1107 mActivePointerId = -1; in onFingerUp()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 121 : mLastEventTime(0), mCurrentPointerIdBits(0), mActivePointerId(-1) { in VelocityTracker() 199 mActivePointerId = -1; in clear() 208 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) { in clearPointers() 209 mActivePointerId = !remainingIdBits.isEmpty() ? remainingIdBits.firstMarkedBit() : -1; in clearPointers() 237 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) { in addMovement() 238 mActivePointerId = idBits.isEmpty() ? -1 : idBits.firstMarkedBit(); in addMovement() 246 eventTime, idBits.value, mActivePointerId); in addMovement()
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 115 inline int32_t getActivePointerId() const { return mActivePointerId; } in getActivePointerId() 130 int32_t mActivePointerId; variable
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 122 private int mActivePointerId; field in StaggeredGridView 287 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent() 297 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); in onInterceptTouchEvent() 300 mActivePointerId + " - did StaggeredGridView receive an inconsistent " + in onInterceptTouchEvent() 328 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent() 333 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); in onTouchEvent() 336 mActivePointerId + " - did StaggeredGridView receive an inconsistent " + in onTouchEvent() 366 mActivePointerId); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainer.java | 162 private int mActivePointerId = -1; field in KeyguardSecurityContainer 460 mActivePointerId = event.getPointerId(pointerIndex); in onInterceptTouchEvent() 474 int index = event.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() 504 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent() 516 mActivePointerId = -1; in onTouchEvent() 524 if (pointerId == mActivePointerId) { in onTouchEvent() 529 mActivePointerId = event.getPointerId(newPointerIndex); in onTouchEvent()
|
D | LockIconViewController.java | 119 private int mActivePointerId = -1; field in LockIconViewController 634 mActivePointerId = event.getPointerId(0); in onTouchEvent() 656 mActivePointerId); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 189 private int mActivePointerId = INVALID_POINTER; field in NotificationStackScrollLayout 3636 if (ev.findPointerIndex(mActivePointerId) == -1 && action != MotionEvent.ACTION_DOWN) { in onScrollTouch() 3639 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent " in onScrollTouch() 3662 mActivePointerId = ev.getPointerId(0); in onScrollTouch() 3666 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onScrollTouch() 3668 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent"); in onScrollTouch() 3717 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId); in onScrollTouch() 3745 mActivePointerId = INVALID_POINTER; in onScrollTouch() 3756 mActivePointerId = INVALID_POINTER; in onScrollTouch() 3764 mActivePointerId = ev.getPointerId(index); in onScrollTouch() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 7531 private int mActivePointerId = -1; 7624 mActivePointerId = event.getPointerId(0); 7642 if (mActivePointerId < 0) { 7645 final int index = event.findPointerIndex(mActivePointerId); 7669 final float vx = mVelocityTracker.getXVelocity(mActivePointerId); 7670 final float vy = mVelocityTracker.getYVelocity(mActivePointerId); 7703 if (mActivePointerId >= 0) { 7704 mActivePointerId = -1;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 64490 Landroid/view/ViewRootImpl$SyntheticTouchNavigationHandler;->mActivePointerId:I 67642 Landroid/widget/ForwardingListener;->mActivePointerId:I 67987 Landroid/widget/HorizontalScrollView;->mActivePointerId:I 69465 Landroid/widget/ScrollView;->mActivePointerId:I 70036 Landroid/widget/StackView;->mActivePointerId:I
|