Searched refs:draggableHandler (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | SwipeToScene.kt | 35 draggableHandler: DraggableHandlerImpl, in swipeToScene() 38 return this.then(SwipeToSceneElement(draggableHandler, swipeDetector)) in swipeToScene() 42 val draggableHandler: DraggableHandlerImpl, constant in com.android.compose.animation.scene.SwipeToSceneElement 45 override fun create(): SwipeToSceneNode = SwipeToSceneNode(draggableHandler, swipeDetector) in create() 48 node.draggableHandler = draggableHandler in create() 53 draggableHandler: DraggableHandlerImpl, 59 orientation = draggableHandler.orientation, 62 onDragStarted = draggableHandler::onDragStarted, 67 private var _draggableHandler = draggableHandler 68 var draggableHandler: DraggableHandlerImpl variable [all …]
|
D | DraggableHandler.kt | 241 private val draggableHandler: DraggableHandlerImpl, constant in com.android.compose.animation.scene.DragControllerImpl 245 val layoutState = draggableHandler.layoutImpl.state 303 coroutineScope = draggableHandler.coroutineScope, in onDrag() 307 layoutImpl = draggableHandler.layoutImpl, in onDrag() 308 orientation = draggableHandler.orientation, in onDrag() 370 with(draggableHandler.layoutImpl.state) { in onStop() 371 draggableHandler.coroutineScope.onChangeScene(targetScene.key) in onStop() 376 coroutineScope = draggableHandler.coroutineScope, in onStop() 448 coroutineScope = draggableHandler.coroutineScope, in onStop() 452 layoutImpl = draggableHandler.layoutImpl, in onStop() [all …]
|
D | SceneTransitionLayoutImpl.kt | 141 internal fun draggableHandler(orientation: Orientation): DraggableHandlerImpl = in <lambda>() method
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | DraggableHandlerTest.kt | 104 val draggableHandler = layoutImpl.draggableHandler(Orientation.Vertical) constant 105 val horizontalDraggableHandler = layoutImpl.draggableHandler(Orientation.Horizontal) 113 orientation = draggableHandler.orientation, in nestedScrollConnection() 120 val velocityThreshold = draggableHandler.velocityThreshold 180 return onDragStarted(draggableHandler, startedPosition, overSlop, pointersDown) in onDragStarted() 187 return onDragStarted(draggableHandler, startedPosition, overSlop = 0f, pointersDown) in onDragStartedImmediately() 191 draggableHandler: DraggableHandler, in onDragStarted() 197 draggableHandler.onDragStarted( in onDragStarted() 867 assertThat(draggableHandler.shouldImmediatelyIntercept(middle)).isTrue() in <lambda>() 885 assertThat(draggableHandler.shouldImmediatelyIntercept(bottom)).isFalse() in <lambda>() [all …]
|