Home
last modified time | relevance | path

Searched refs:velocityThreshold (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DDraggableHandlerTest.kt120 val velocityThreshold = draggableHandler.velocityThreshold constant in com.android.compose.animation.scene.DraggableHandlerTest.TestGestureScope
280 dragController.onDragStopped(velocity = velocityThreshold - 0.01f) in <lambda>()
293 dragController.onDragStopped(velocity = velocityThreshold) in <lambda>()
332 dragController.onDragStopped(velocity = velocityThreshold) in onDragReversedDirection_changeToScene()
436 dragController1.onDragStopped(velocity = -velocityThreshold) in <lambda>()
451 dragController2.onDragStopped(velocity = -velocityThreshold) in <lambda>()
463 dragController1.onDragStopped(velocity = -velocityThreshold) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
527 dragController.onDragStopped(velocity = velocityThreshold) in <lambda>()
687 nestedScroll.preFling(available = Velocity(0f, velocityThreshold)) in flingAfterScroll()
746 nestedScroll.preFling(available = Velocity(0f, velocityThreshold)) in flingAfterScrollStartedInScene()
[all …]
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt197 internal var velocityThreshold by mutableStateOf(0f) variable
250 velocityThreshold = Float.POSITIVE_INFINITY
364 velocityThreshold = velocityThreshold in performFling()
563 velocityThreshold: Dp = VelocityThreshold
575 properties["velocityThreshold"] = velocityThreshold in <lambda>()
596 state.velocityThreshold = velocityThreshold.toPx() in <lambda>()
754 velocityThreshold: Float in computeTarget()
765 if (velocity >= velocityThreshold) { in computeTarget()
773 if (velocity <= -velocityThreshold) { in computeTarget()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt77 internal val velocityThreshold: Float in onDrag() constant in com.android.compose.animation.scene.DraggableHandlerImpl
480 val velocityThreshold = draggableHandler.velocityThreshold in shouldCommitSwipe() constant
485 return if (offset > 0f || velocity >= velocityThreshold) { in shouldCommitSwipe()
488 velocity <= -velocityThreshold || in shouldCommitSwipe()
495 return if (offset < 0f || velocity <= -velocityThreshold) { in shouldCommitSwipe()
498 velocity >= velocityThreshold || in shouldCommitSwipe()