Home
last modified time | relevance | path

Searched refs:distanceMoved (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
DLongPressHandlingViewInteractionHandler.kt48 val distanceMoved: Float, constant in com.android.systemui.common.ui.view.LongPressHandlingViewInteractionHandler.MotionEventModel.Move
52 val distanceMoved: Float, constant in com.android.systemui.common.ui.view.LongPressHandlingViewInteractionHandler.MotionEventModel.Up
73 if (event.distanceMoved > ViewConfiguration.getTouchSlop()) { in onTouchEvent()
81 event.distanceMoved <= ViewConfiguration.getTouchSlop() && in onTouchEvent()
DLongPressHandlingView.kt121 distanceMoved = distanceMoved(), in toModel()
125 distanceMoved = distanceMoved(), in toModel()
133 private fun MotionEvent.distanceMoved(): Float { in MotionEvent() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSettingsButtonOnTouchListener.kt41 val distanceMoved = in onTouch() constant
46 val isClick = distanceMoved < ViewConfiguration.getTouchSlop() in onTouch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/
DLongPressHandlingViewInteractionHandlerTest.kt85 distanceMoved = ViewConfiguration.getTouchSlop() - 0.1f, in <lambda>()
132 distanceMoved = ViewConfiguration.getTouchSlop() + 0.1f, in <lambda>()
149 distanceMoved = ViewConfiguration.getTouchSlop().toFloat(), in <lambda>()