Home
last modified time | relevance | path

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

/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/composable/
DShareouselLazyListPrefetchStrategy.kt80 private fun getVisibleRange(visibleItems: List<LazyListItemInfo>) = in getVisibleRange()
81 if (visibleItems.isEmpty()) IntRange.EMPTY in getVisibleRange()
82 else IntRange(visibleItems.first().index, visibleItems.last().index) in getVisibleRange()
98 private fun LazyListPrefetchScope.updatePrefetchSet(visibleItems: List<LazyListItemInfo>) { in LazyListPrefetchScope()
99 val visibleRange = getVisibleRange(visibleItems) in LazyListPrefetchScope()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/
DRotary.kt163 val visibleItems = scrollableState.layoutInfo.visibleItemsInfo in averageItemSize() constant
164 return (visibleItems.fastSumBy { it.unadjustedSize } / visibleItems.size).toFloat() in averageItemSize()