/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | SwipeToSceneTest.kt | 128 var touchSlop = 0f in <lambda>() variable 132 touchSlop = LocalViewConfiguration.current.touchSlop in <lambda>() 146 moveBy(Offset(-55.dp.toPx() - touchSlop, 0f), delayMillis = 1_000) in <lambda>() 177 moveBy(Offset(0f, 56.dp.toPx() + touchSlop), delayMillis = 1_000) in <lambda>() 208 var touchSlop = 0f in <lambda>() variable 211 touchSlop = LocalViewConfiguration.current.touchSlop in <lambda>() 225 end = middle - Offset(55.dp.toPx() + touchSlop, 0f), in <lambda>() 250 end = middle + Offset(0f, 55.dp.toPx() + touchSlop), in <lambda>() 275 var touchSlop = 0f in <lambda>() variable 277 touchSlop = LocalViewConfiguration.current.touchSlop in <lambda>() [all …]
|
D | MultiPointerDraggableTest.kt | 62 var touchSlop = 0f in <lambda>() variable 64 touchSlop = LocalViewConfiguration.current.touchSlop in <lambda>() 90 moveBy(Offset(0f, touchSlop)) in <lambda>() 134 var touchSlop = 0f in <lambda>() variable 136 touchSlop = LocalViewConfiguration.current.touchSlop in <lambda>() 178 moveBy(Offset(0f, touchSlop)) in <lambda>() 183 rule.onRoot().performTouchInput { moveBy(Offset(0f, touchSlop)) } in <lambda>() 257 var touchSlop = 0f in <lambda>() variable 259 touchSlop = LocalViewConfiguration.current.touchSlop in <lambda>() 298 moveBy(Offset(0f, touchSlop)) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanelControllerTest.kt | 64 private val touchSlop = ViewConfiguration.get(context).scaledEdgeSlop constant 108 continueTouch(START_X + touchSlop - 1) in staysHiddenBeforeSlopCrossed() 119 continueTouch(START_X + touchSlop.toFloat() + 1) in handlesBackCommitted() 126 continueTouch(START_X + touchSlop + triggerThreshold + 1) in handlesBackCommitted() 129 continueTouch(START_X + touchSlop + triggerThreshold + 1) in handlesBackCommitted() 137 finishTouchActionUp(START_X + touchSlop + triggerThreshold + 1) in handlesBackCommitted() 157 continueTouch(START_X + touchSlop.toFloat() + 1) in handlesBackCancelled() 162 START_X + touchSlop + triggerThreshold - in handlesBackCancelled() 168 START_X + touchSlop + triggerThreshold - in handlesBackCancelled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | SingleTapClassifier.java | 31 @Named(SINGLE_TAP_TOUCH_SLOP) float touchSlop) { in SingleTapClassifier() argument 32 super(dataProvider, touchSlop); in SingleTapClassifier()
|
D | LongTapClassifier.java | 30 @Named(LONG_TAP_TOUCH_SLOP) float touchSlop) { in LongTapClassifier() argument 31 super(dataProvider, touchSlop); in LongTapClassifier()
|
D | TapClassifier.java | 29 float touchSlop) { in TapClassifier() argument 31 mTouchSlop = touchSlop; in TapClassifier()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 285 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() local 287 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in tapView() 325 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() local 327 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in touchAndCancelView() 361 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() local 363 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in clickView() 421 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() local 423 x + touchSlop / 2, y + touchSlop / 2, 0); in longClickView()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButton.java | 85 int touchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in onTouchEvent() local 86 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
|
D | KeyguardSecurityContainer.java | 488 float touchSlop = mViewConfiguration.getScaledTouchSlop() * SLOP_SCALE; in onInterceptTouchEvent() local 489 if (index != -1 && mStartTouchY - event.getY(index) > touchSlop) { in onInterceptTouchEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/ |
D | RelativeTouchListener.kt | 96 private var touchSlop: Int = -1 variable in com.android.wm.shell.common.bubbles.RelativeTouchListener 115 touchSlop = ViewConfiguration.get(v.context).scaledTouchSlop in onTouch() 130 if (!movedEnough && hypot(dx, dy) > touchSlop && !performedLongClick) { in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationGestureDetector.java | 99 final int touchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in MagnificationGestureDetector() local 100 mTouchSlopSquare = touchSlop * touchSlop; in MagnificationGestureDetector()
|
/frameworks/base/core/java/android/widget/ |
D | EditorTouchState.java | 189 int touchSlop = config.getScaledTouchSlop(); in update() local 190 mMovedEnoughForDrag = distanceSquared > touchSlop * touchSlop; in update()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragDetector.java | 118 void setTouchSlop(int touchSlop) { in setTouchSlop() argument 119 mTouchSlop = touchSlop; in setTouchSlop()
|
D | CaptionWindowDecoration.java | 235 final int touchSlop = ViewConfiguration.get(mResult.mRootView.getContext()) in relayout() local 237 mDragDetector.setTouchSlop(touchSlop); in relayout() 242 getFineResizeCornerSize(res), getLargeResizeCornerSize(res)), touchSlop); in relayout()
|
D | DragResizeInputListener.java | 171 boolean setGeometry(@NonNull DragResizeWindowGeometry incomingGeometry, int touchSlop) { in setGeometry() argument 179 mInputEventReceiver.setTouchSlop(touchSlop); in setGeometry() 340 void setTouchSlop(int touchSlop) { in setTouchSlop() argument 341 mDragDetector.setTouchSlop(touchSlop); in setTouchSlop()
|
D | DesktopModeWindowDecoration.java | 351 final int touchSlop = ViewConfiguration.get(mResult.mRootView.getContext()) in updateDragResizeListener() local 353 mDragDetector.setTouchSlop(touchSlop); in updateDragResizeListener() 361 getFineResizeCornerSize(res), getLargeResizeCornerSize(res)), touchSlop) in updateDragResizeListener()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 495 int touchSlop, doubleTapSlop, doubleTapTouchSlop; in init() local 498 touchSlop = ViewConfiguration.getTouchSlop(); in init() 499 doubleTapTouchSlop = touchSlop; // Hack rather than adding a hidden method for this in init() 508 touchSlop = configuration.getScaledTouchSlop(); in init() 515 mTouchSlopSquare = touchSlop * touchSlop; in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | LockscreenShadeTransitionController.kt | 770 private var touchSlop = 0f variable 799 touchSlop = configuration.scaledTouchSlop.toFloat() in updateResources() 820 val touchSlop = in onInterceptTouchEvent() constant 822 touchSlop * slopMultiplier in onInterceptTouchEvent() 824 touchSlop in onInterceptTouchEvent() 826 if (h > touchSlop && h > Math.abs(x - initialTouchX)) { in onInterceptTouchEvent()
|
D | PulseExpansionHandler.kt | 102 private var touchSlop = 0f in <lambda>() variable 132 touchSlop = ViewConfiguration.get(context).scaledTouchSlop.toFloat() in <lambda>() 164 if (h > touchSlop && h > Math.abs(x - mInitialTouchX)) { in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObject.kt | 155 private var touchSlop = 0 in <lambda>() variable 348 if (dragDistance > touchSlop) { in <lambda>() 590 touchSlop = in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | ShadeLogger.kt | 54 touchSlop: Float, in logQsTrackingNotStarted() 67 double1 = touchSlop.toDouble() in logQsTrackingNotStarted()
|
D | QuickSettingsControllerImpl.java | 1834 float touchSlop = event.getClassification() in onIntercept() local 1838 if ((h > touchSlop || (h < -touchSlop && getExpanded())) in onIntercept() 1856 mShadeLog.logQsTrackingNotStarted(mInitialTouchY, y, h, touchSlop, in onIntercept()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 277 int touchSlop = mConfig.getScaledTouchSlop(); in testUpdate_drag() local 278 float newX = event1.getX() + touchSlop + 1; in testUpdate_drag()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 1144 final int touchSlop = configuration.getScaledTouchSlop(); in initialize() local 1145 sTouchSlopSquare = touchSlop * touchSlop; in initialize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3615 final float touchSlop = getTouchSlop(ev); in onScrollTouch() local 3616 if (!mIsBeingDragged && yDiff > touchSlop && yDiff > xDiff) { in onScrollTouch() 3619 deltaY -= touchSlop; in onScrollTouch() 3621 deltaY += touchSlop; in onScrollTouch() 3795 final float touchSlop = getTouchSlop(ev); in handleEmptySpaceClick() local 3796 if (mTouchIsClick && (Math.abs(ev.getY() - mInitialTouchY) > touchSlop in handleEmptySpaceClick() 3797 || Math.abs(ev.getX() - mInitialTouchX) > touchSlop)) { in handleEmptySpaceClick()
|