Home
last modified time | relevance | path

Searched refs:dragDropState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DGridDragDropState.kt212 dragDropState: GridDragDropState, in dragContainer()
217 pointerInput(dragDropState, contentOffset) { in dragContainer()
221 dragDropState.onDrag(offset = offset) in dragContainer()
224 dragDropState.onDragStart(offset, contentOffset) in dragContainer()
228 dragDropState.onDragInterrupted() in dragContainer()
232 dragDropState.onDragInterrupted() in dragContainer()
245 dragDropState: GridDragDropState, in DraggableItem()
256 val dragging = index == dragDropState.draggingItemIndex in DraggableItem()
259 targetValue = if (dragDropState.isDraggingToRemove) 0.5f else 1f, in DraggableItem()
265 translationX = dragDropState.draggingItemOffset.x in DraggableItem()
[all …]
DCommunalHub.kt450 var dragDropState: GridDragDropState? = null in CommunalHubLazyGrid() variable
454 dragDropState = in CommunalHubLazyGrid()
461 gridModifier.fillMaxSize().dragContainer(dragDropState, contentOffset, viewModel) in CommunalHubLazyGrid()
498 if (viewModel.isEditMode && dragDropState != null) { in CommunalHubLazyGrid()
503 if (dragDropState.draggingItemIndex == index) { in CommunalHubLazyGrid()
510 dragDropState = dragDropState, in CommunalHubLazyGrid()