Searched refs:startedPosition (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | MultiPointerDraggable.kt | 75 startDragImmediately: (startedPosition: Offset) -> Boolean, in <lambda>() 76 onDragStarted: (startedPosition: Offset, overSlop: Float, pointersDown: Int) -> DragController, in <lambda>() 92 private val startDragImmediately: (startedPosition: Offset) -> Boolean, in <lambda>() 94 (startedPosition: Offset, overSlop: Float, pointersDown: Int) -> DragController, in <lambda>() 118 var startDragImmediately: (startedPosition: Offset) -> Boolean, 120 (startedPosition: Offset, overSlop: Float, pointersDown: Int) -> DragController, 185 onDragStart = { startedPosition, overSlop, pointersDown -> in onCancelPointerInput() method 187 onDragStarted(startedPosition, overSlop, pointersDown) in onCancelPointerInput() 233 startDragImmediately: (startedPosition: Offset) -> Boolean, in detectDragGestures() 235 (startedPosition: Offset, overSlop: Float, pointersDown: Int) -> DragController, in detectDragGestures()
|
D | DraggableHandler.kt | 47 fun onDragStarted(startedPosition: Offset?, overSlop: Float, pointersDown: Int): DragController in <lambda>() 93 internal fun shouldImmediatelyIntercept(startedPosition: Offset?): Boolean { in onDrag() 110 val swipes = computeSwipes(fromScene, startedPosition, pointersDown = 1) in onDrag() 119 startedPosition: Offset?, in onDrag() 148 val swipes = computeSwipes(fromScene, startedPosition, pointersDown) in onDrag() 182 startedPosition: Offset?, in onDrag() 186 startedPosition?.let { position -> in onDrag() 965 draggableHandler.shouldImmediatelyIntercept(startedPosition = null) in nestedScrollConnection() 1043 startedPosition = null, in nestedScrollConnection()
|
D | SwipeToScene.kt | 104 private fun startDragImmediately(startedPosition: Offset): Boolean { in startDragImmediately() 107 return !canOppositeSwipe() && draggableHandler.shouldImmediatelyIntercept(startedPosition) in startDragImmediately()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | DraggableHandlerTest.kt | 174 startedPosition: Offset = Offset.Zero, in onDragStarted() 180 return onDragStarted(draggableHandler, startedPosition, overSlop, pointersDown) in onDragStarted() 184 startedPosition: Offset = Offset.Zero, in onDragStartedImmediately() 187 return onDragStarted(draggableHandler, startedPosition, overSlop = 0f, pointersDown) in onDragStartedImmediately() 192 startedPosition: Offset = Offset.Zero, in onDragStarted() 198 startedPosition = startedPosition, in onDragStarted() 387 startedPosition = Offset(SCREEN_SIZE * 0.5f, SCREEN_SIZE), in <lambda>() 853 onDragStarted(startedPosition = middle, overSlop = up(0.1f)) in <lambda>() 868 onDragStartedImmediately(startedPosition = middle) in <lambda>() 886 onDragStarted(startedPosition = bottom, overSlop = up(0.1f)) in <lambda>() [all …]
|