Searched refs:dragDropState (Results 1 – 2 of 2) sorted by relevance
212 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 …]
450 var dragDropState: GridDragDropState? = null in CommunalHubLazyGrid() variable454 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()