Home
last modified time | relevance | path

Searched refs:gridState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt173 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 …]
DDragAndDropTargetState.kt59 gridState: LazyGridState, in <lambda>()
70 remember(gridState, contentListState) { in <lambda>()
72 state = gridState, in <lambda>()
83 gridState.scrollBy(autoScrollSpeed.floatValue) in <lambda>()
DGridDragDropState.kt56 gridState: LazyGridState, in <lambda>()
62 remember(gridState, contentListState) { in <lambda>()
64 state = gridState, in <lambda>()
73 gridState.scrollBy(diff) in <lambda>()