/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRoot.java | 41 private final int mTouchSlop; field in InlineSuggestionRoot 50 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in InlineSuggestionRoot() 70 if (!isSecure || distance > mTouchSlop) { in dispatchTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | NonInterceptingScrollView.java | 30 private final int mTouchSlop; field in NonInterceptingScrollView 35 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in NonInterceptingScrollView() 78 if (yDiff < -mTouchSlop && !canScrollVertically(1)) { in onInterceptTouchEvent()
|
D | QSScrollLayout.java | 41 private final int mTouchSlop; field in QSScrollLayout 50 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); in QSScrollLayout() 102 if (mLastMotionY >= 0 && Math.abs(ev.getY() - mLastMotionY) > mTouchSlop in shouldIntercept()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DoubleTapHelper.java | 38 private float mTouchSlop; field in DoubleTapHelper 54 mTouchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in DoubleTapHelper() 143 return Math.abs(event.getX() - mDownX) < mTouchSlop in isWithinTouchSlop() 144 && Math.abs(event.getY() - mDownY) < mTouchSlop; in isWithinTouchSlop()
|
D | HeadsUpTouchHelper.java | 36 private float mTouchSlop; field in HeadsUpTouchHelper 53 mTouchSlop = configuration.getScaledTouchSlop(); in HeadsUpTouchHelper() 109 if (mTouchingHeadsUpView && Math.abs(h) > mTouchSlop in onInterceptTouchEvent()
|
D | KeyguardAffordanceHelper.java | 54 private int mTouchSlop; field in KeyguardAffordanceHelper 94 mTouchSlop = configuration.getScaledPagingTouchSlop(); in initDimens() 157 if (!mTouchSlopExeeded && distance > mTouchSlop) { in onTouchEvent() 421 return translation > 0.0f ? translation + mTouchSlop : 0.0f; in getTranslationFromRadius() 425 if (translation <= mTouchSlop) { in getRadiusFromTranslation() 428 return (translation - mTouchSlop) * BACKGROUND_RADIUS_SCALE_FACTOR + mMinBackgroundRadius; in getRadiusFromTranslation()
|
D | PanelViewController.java | 97 private int mTouchSlop; field in PanelViewController 266 mTouchSlop = configuration.getScaledTouchSlop(); in loadDimens() 276 ? mTouchSlop * mSlopMultiplier in getTouchSlop() 277 : mTouchSlop; in getTouchSlop() 366 if ((mTracking && mTouchSlopExceeded) || Math.abs(x - mInitialTouchX) > mTouchSlop in endMotionEvent() 367 || Math.abs(y - mInitialTouchY) > mTouchSlop in endMotionEvent()
|
D | EdgeBackGestureHandler.java | 145 private float mTouchSlop; field in EdgeBackGestureHandler 267 mTouchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop() * backGestureSlop; in updateCurrentUserResources() 549 if (dy > dx && dy > mTouchSlop) { in onMotionEvent() 556 } else if (dx > dy && dx > mTouchSlop) { in onMotionEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | MultiTap.java | 36 int mTouchSlop; field in MultiTap 47 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in MultiTap() 85 if (!isInsideSlop(rawEvent, mTouchSlop)) { in onUp() 105 if (!isInsideSlop(rawEvent, mTouchSlop)) { in onMove()
|
D | SecondFingerMultiTap.java | 36 int mTouchSlop; field in SecondFingerMultiTap 49 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in SecondFingerMultiTap() 92 if (!isSecondFingerInsideSlop(rawEvent, mTouchSlop)) { in onPointerUp() 117 if (!isSecondFingerInsideSlop(rawEvent, mTouchSlop)) { in onMove()
|
D | MultiFingerMultiTap.java | 43 private int mTouchSlop; field in MultiFingerMultiTap 71 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop() * fingers; in MultiFingerMultiTap() 123 final PointF nearest = findNearestPoint(rawEvent, mTouchSlop, false); in onUp() 151 if (null == findNearestPoint(rawEvent, mTouchSlop, false)) { in onMove()
|
D | Swipe.java | 87 private int mTouchSlop; field in Swipe 125 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in Swipe() 170 if (moveDelta < mTouchSlop) { in onMove()
|
D | MultiFingerSwipe.java | 80 private int mTouchSlop; field in MultiFingerSwipe 104 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in MultiFingerSwipe() 297 if (moveDelta < mTouchSlop) { in onMove()
|
/frameworks/base/core/java/android/view/ |
D | ViewConfiguration.java | 318 private final int mTouchSlop; field in ViewConfiguration 358 mTouchSlop = TOUCH_SLOP; in ViewConfiguration() 460 mTouchSlop = res.getDimensionPixelSize( in ViewConfiguration() 466 mPagingTouchSlop = mTouchSlop * 2; in ViewConfiguration() 468 mDoubleTapTouchSlop = mTouchSlop; in ViewConfiguration() 719 return mTouchSlop; in getScaledTouchSlop()
|
D | NotificationHeaderView.java | 384 private int mTouchSlop; field in NotificationHeaderView.HeaderTouchListener 399 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); in bindTouchRects() 450 if (Math.abs(mDownX - x) > mTouchSlop in onTouch() 451 || Math.abs(mDownY - y) > mTouchSlop) { in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
D | SwipeDetector.java | 158 private final float mTouchSlop; field in SwipeDetector 186 mTouchSlop = touchSlope; in SwipeDetector() 198 if (Math.max(mDir.getActiveTouchSlop(ev, pointerIndex, mDownPos), mTouchSlop) in shouldScrollStart() 286 mSubtractDisplacement = mTouchSlop; in initializeDragging() 288 mSubtractDisplacement = -mTouchSlop; in initializeDragging()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 51 private final float mTouchSlop; field in DragDownHelper 67 mTouchSlop = configuration.getScaledTouchSlop(); in DragDownHelper() 94 ? mTouchSlop * mSlopMultiplier in onInterceptTouchEvent() 95 : mTouchSlop; in onInterceptTouchEvent()
|
D | PulseExpansionHandler.kt | 94 private val mTouchSlop: Float in <lambda>() constant 117 mTouchSlop = ViewConfiguration.get(context).scaledTouchSlop.toFloat() in <lambda>() 149 if (h > mTouchSlop && h > Math.abs(x - mInitialTouchX)) { in <lambda>()
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
D | DemoModeController.java | 46 private int mTouchSlop; field in DemoModeController 65 mTouchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in onCreate() 115 if (Math.abs(mLastDown.x - x) > mTouchSlop || Math.abs(mLastDown.y - y) > mTouchSlop) { in onTouch()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 104 private final int mTouchSlop; field in ResolverDrawerLayout 168 mTouchSlop = vc.getScaledTouchSlop(); in ResolverDrawerLayout() 323 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null && in onInterceptTouchEvent() 327 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, in onInterceptTouchEvent() 328 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); in onInterceptTouchEvent() 401 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null) { in onTouchEvent() 403 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, in onTouchEvent() 404 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); in onTouchEvent() 446 if (mOpenOnClick && Math.abs(ev.getX() - mInitialTouchX) < mTouchSlop && in onTouchEvent() 447 Math.abs(ev.getY() - mInitialTouchY) < mTouchSlop) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | DoubleTapHelperTest.java | 52 private int mTouchSlop; field in DoubleTapHelperTest 64 mTouchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in setup() 66 mDoubleTouchSlop = mTouchSlop - 1; in setup() 168 1 + mTouchSlop, in testSingleTap_slop()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 123 private int mTouchSlop; field in Switch 307 mTouchSlop = config.getScaledTouchSlop(); in Switch() 1010 final int thumbTop = mSwitchTop - mTouchSlop; in hitThumb() 1011 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; in hitThumb() 1013 mTempRect.left + mTempRect.right + mTouchSlop; in hitThumb() 1014 final int thumbBottom = mSwitchBottom + mTouchSlop; in hitThumb() 1043 if (Math.abs(x - mTouchX) > mTouchSlop || in onTouchEvent() 1044 Math.abs(y - mTouchY) > mTouchSlop) { in onTouchEvent()
|
D | HorizontalScrollView.java | 149 private int mTouchSlop; field in HorizontalScrollView 318 mTouchSlop = configuration.getScaledTouchSlop(); in initScrollView() 601 if (xDiff > mTouchSlop) { in onInterceptTouchEvent() 707 if (!mIsBeingDragged && Math.abs(deltaX) > mTouchSlop) { in onTouchEvent() 714 deltaX -= mTouchSlop; in onTouchEvent() 716 deltaX += mTouchSlop; in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipResizeGestureHandler.java | 103 private float mTouchSlop; field in PipResizeGestureHandler 156 mTouchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in reloadResources() 313 && Math.hypot(x - mDownPoint.x, y - mDownPoint.y) > mTouchSlop) { in onMotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 89 private final int mTouchSlop; field in ExpandHelper 180 mTouchSlop = configuration.getScaledTouchSlop(); in ExpandHelper() 266 ? mTouchSlop * mSlopMultiplier in getTouchSlop() 267 : mTouchSlop; in getTouchSlop()
|