Home
last modified time | relevance | path

Searched refs:mActivePointerId (Results 1 – 17 of 17) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipTouchState.java71 private int mActivePointerId; field in PipTouchState
122 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
125 "%s: Setting active pointer id on DOWN: %d", TAG, mActivePointerId); in onTouchEvent()
150 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
153 "%s: Invalid active pointer id on MOVE: %d", TAG, mActivePointerId); in onTouchEvent()
185 if (pointerId == mActivePointerId) { in onTouchEvent()
188 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
192 TAG, mActivePointerId); in onTouchEvent()
210 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
213 "%s: Invalid active pointer id on UP: %d", TAG, mActivePointerId); in onTouchEvent()
[all …]
/aosp14/frameworks/base/core/java/android/widget/
H A DForwardingListener.java57 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()
H A DHorizontalScrollView.java177 private int mActivePointerId = INVALID_POINTER; field in HorizontalScrollView
601 final int activePointerId = mActivePointerId; in onInterceptTouchEvent()
639 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
665 mActivePointerId = INVALID_POINTER; in onInterceptTouchEvent()
673 mActivePointerId = ev.getPointerId(index); in onInterceptTouchEvent()
678 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()
718 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
811 mActivePointerId = INVALID_POINTER; in onTouchEvent()
826 mActivePointerId = INVALID_POINTER; in onTouchEvent()
847 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
[all …]
H A DStackView.java129 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()
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);
814 int pointerIndex = ev.findPointerIndex(mActivePointerId);
[all …]
H A DScrollView.java188 private int mActivePointerId = INVALID_POINTER; field in ScrollView
653 final int activePointerId = mActivePointerId; in onInterceptTouchEvent()
698 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
729 mActivePointerId = INVALID_POINTER; in onInterceptTouchEvent()
791 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
891 mActivePointerId = INVALID_POINTER; in onTouchEvent()
901 mActivePointerId = INVALID_POINTER; in onTouchEvent()
908 mActivePointerId = ev.getPointerId(index); in onTouchEvent()
913 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
928 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
[all …]
H A DAbsListView.java719 private int mActivePointerId = INVALID_POINTER; field in AbsListView
4028 mActivePointerId = id; in onTouchEvent()
4052 mActivePointerId = ev.getPointerId(0); in onTouchDown()
4139 mActivePointerId = ev.getPointerId(pointerIndex); in onTouchMove()
4371 mActivePointerId = INVALID_POINTER; in onTouchUp()
4473 mActivePointerId = INVALID_POINTER; in onTouchCancel()
4746 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
4796 mActivePointerId = INVALID_POINTER; in onInterceptTouchEvent()
4816 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
4824 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java213 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) {
353 if (mActivePointerId == ACTIVE_POINTER_ID_NONE) {
384 mActivePointerId = ACTIVE_POINTER_ID_NONE;
389 if (pointerId == mActivePointerId) {
915 if (mActivePointerId == ACTIVE_POINTER_ID_NONE) { in findSwipedView()
995 mActivePointerId = motionEvent.getPointerId(0); in checkSelectForSwipe()
1200 if (mVelocityTracker != null && mActivePointerId > -1) { in checkHorizontalSwipe()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
H A DSwipeDetector.java50 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()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java129 private int mActivePointerId = MotionEvent.INVALID_POINTER_ID; field in ResolverDrawerLayout
352 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
407 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
416 int index = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
418 Log.e(TAG, "Bad pointer id " + mActivePointerId + ", resetting"); in onTouchEvent()
420 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
450 mActivePointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
478 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
532 if (pointerId == mActivePointerId) {
538 mActivePointerId = ev.getPointerId(newPointerIndex);
[all …]
H A DPointerLocationView.java147 private int mActivePointerId; field in PointerLocationView
210 mActivePointerId = 0; in PointerLocationView()
419 final PointerState ps = mPointers.get(mActivePointerId, EMPTY_POINTER_STATE); in drawLabels()
618 if (!mPointers.contains(mActivePointerId) in onPointerEvent()
619 || !mPointers.get(mActivePointerId).mCurDown) { in onPointerEvent()
620 mActivePointerId = id; in onPointerEvent()
702 if (mActivePointerId == id) { in onPointerEvent()
703 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0); in onPointerEvent()
H A DViewPager.java169 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);
2052 mActivePointerId = INVALID_POINTER;
2062 mActivePointerId = INVALID_POINTER;
2073 mActivePointerId = ev.getPointerId(index);
2078 mLastMotionX = ev.getX(ev.findPointerIndex(mActivePointerId));
2393 if (pointerId == mActivePointerId) {
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DCropView.java76 private int mActivePointerId; field in CropView
174 mActivePointerId = event.getPointerId(0); in onTouchEvent()
184 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
201 if (mActivePointerId == event.getPointerId(event.getActionIndex()) in onTouchEvent()
208 if (mActivePointerId == event.getPointerId(event.getActionIndex()) in onTouchEvent()
217 && mActivePointerId == event.getPointerId(mActivePointerId)) { in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsController.java196 private int mActivePointerId = -1; field in UdfpsController
557 if (mActivePointerId == MotionEvent.INVALID_POINTER_ID in newOnTouch()
573 final TouchProcessorResult result = mTouchProcessor.processTouch(event, mActivePointerId, in newOnTouch()
585 mActivePointerId = processedTouch.getPointerOnSensorId(); in newOnTouch()
636 true) && mActivePointerId == MotionEvent.INVALID_POINTER_ID in newOnTouch()
699 mActivePointerId = event.getPointerId(0); in oldOnTouch()
715 final int idx = mActivePointerId == -1 in oldOnTouch()
717 : event.findPointerIndex(mActivePointerId); in oldOnTouch()
741 final float v = computePointerSpeed(mVelocityTracker, mActivePointerId); in oldOnTouch()
785 mActivePointerId = -1; in oldOnTouch()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java164 private int mActivePointerId = -1; field in KeyguardSecurityContainer
469 mActivePointerId = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
484 int index = event.findPointerIndex(mActivePointerId); in onInterceptTouchEvent()
514 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
526 mActivePointerId = -1; in onTouchEvent()
534 if (pointerId == mActivePointerId) { in onTouchEvent()
539 mActivePointerId = event.getPointerId(newPointerIndex); in onTouchEvent()
H A DLockIconViewController.java127 private int mActivePointerId = -1; field in LockIconViewController
624 mActivePointerId = event.getPointerId(0); in onTouchEvent()
646 mActivePointerId); in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayout.java190 private int mActivePointerId = INVALID_POINTER; field in NotificationStackScrollLayout
3570 mActivePointerId = ev.getPointerId(0); in onScrollTouch()
3653 mActivePointerId = INVALID_POINTER; in onScrollTouch()
3664 mActivePointerId = INVALID_POINTER; in onScrollTouch()
3672 mActivePointerId = ev.getPointerId(index); in onScrollTouch()
3678 mDownX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onScrollTouch()
3718 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
3724 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
3845 final int activePointerId = mActivePointerId; in onInterceptTouchEventScroll()
3889 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEventScroll()
[all …]
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt64490 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