Searched refs:gridState (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | CommunalHub.kt | 173 val gridState = rememberLazyGridState() in <lambda>() constant 190 ScrollOnUpdatedLiveContentEffect(communalContent, gridState) in <lambda>() 199 .pointerInput(gridState, contentOffset, contentListState) { in <lambda>() 204 val index = firstIndexAtOffset(gridState, adjustedOffset) in <lambda>() 211 gridState, in <lambda>() 224 adjustedOffset?.let { firstIndexAtOffset(gridState, it) } in <lambda>() 295 gridState = gridState, in <lambda>() 409 gridState: LazyGridState, in ScrollOnUpdatedLiveContentEffect() 424 if (indexOfFirstUpdatedContent in 0 until gridState.firstVisibleItemIndex) { in ScrollOnUpdatedLiveContentEffect() 427 coroutineScope.launch { gridState.animateScrollToItem(indexOfFirstUpdatedContent) } in ScrollOnUpdatedLiveContentEffect() [all …]
|
D | DragAndDropTargetState.kt | 59 gridState: LazyGridState, in <lambda>() 70 remember(gridState, contentListState) { in <lambda>() 72 state = gridState, in <lambda>() 83 gridState.scrollBy(autoScrollSpeed.floatValue) in <lambda>()
|
D | GridDragDropState.kt | 56 gridState: LazyGridState, in <lambda>() 62 remember(gridState, contentListState) { in <lambda>() 64 state = gridState, in <lambda>() 73 gridState.scrollBy(diff) in <lambda>()
|