Searched refs:scrollableState (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/ |
D | Haptics.kt | 90 private val scrollableState: ScrollableState, in handleScrollHaptic() constant in com.android.permissioncontroller.permission.ui.wear.elements.rotaryinput.DefaultRotaryHapticHandler 101 (scrollDelta > 0 && !scrollableState.canScrollForward) || in handleScrollHaptic() 102 (scrollDelta < 0 && !scrollableState.canScrollBackward) in handleScrollHaptic() 122 (scrollDelta > 0 && !scrollableState.canScrollForward) || in handleScrollHaptic() 123 (scrollDelta < 0 && !scrollableState.canScrollBackward) in handleScrollHaptic() 198 scrollableState: ScrollableState, in rememberRotaryHapticHandler() 204 return remember(scrollableState, hapticsChannel, rotaryHaptics) { in rememberRotaryHapticHandler() 205 DefaultRotaryHapticHandler(scrollableState, hapticsChannel, hapticsThresholdPx) in rememberRotaryHapticHandler()
|
D | Rotary.kt | 88 scrollableState: ScrollableState, in rotaryWithScroll() 91 rotaryHaptics: RotaryHapticHandler = rememberRotaryHapticHandler(scrollableState), in rotaryWithScroll() 96 RotaryDefaults.rememberFlingHandler(scrollableState, flingBehavior), in rotaryWithScroll() 102 properties["scrollableState"] = scrollableState in rotaryWithScroll() 130 rememberRotaryHapticHandler(rotaryScrollAdapter.scrollableState), in Modifier() 158 override val scrollableState: ScalingLazyListState, constant in com.android.permissioncontroller.permission.ui.wear.elements.rotaryinput.ScalingLazyColumnRotaryScrollAdapter 163 val visibleItems = scrollableState.layoutInfo.visibleItemsInfo in averageItemSize() 168 override fun currentItemIndex(): Int = scrollableState.centerItemIndex in currentItemIndex() 171 override fun currentItemOffset(): Float = scrollableState.centerItemScrollOffset.toFloat() in currentItemIndex() 174 override fun totalItemsCount(): Int = scrollableState.layoutInfo.totalItemsCount in currentItemIndex() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/layout/ |
D | ScalingLazyColumnState.kt | 228 scrollableState = columnState.state, in ScalingLazyColumn()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/ |
D | ScrollableScreen.kt | 188 scrollableState = listState, in Scaffold()
|