Searched refs:scrollableState (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/ |
D | Haptics.kt | 103 private val scrollableState: ScrollableState, in handleScrollHaptic() constant in com.google.android.horologist.compose.rotaryinput.DefaultRotaryHapticHandler 113 if ((scrollDelta > 0 && !scrollableState.canScrollForward) || in handleScrollHaptic() 114 (scrollDelta < 0 && !scrollableState.canScrollBackward) in handleScrollHaptic() 133 if ((scrollDelta > 0 && !scrollableState.canScrollForward) || in handleScrollHaptic() 134 (scrollDelta < 0 && !scrollableState.canScrollBackward) in handleScrollHaptic() 223 scrollableState: ScrollableState, in rememberRotaryHapticHandler() 229 return remember(scrollableState, hapticsChannel, rotaryHaptics) { in rememberRotaryHapticHandler() 230 DefaultRotaryHapticHandler(scrollableState, hapticsChannel, hapticsThresholdPx) in rememberRotaryHapticHandler()
|
D | Rotary.kt | 124 scrollableState: ScrollableState, in rotaryWithFling() 126 rotaryHaptics: RotaryHapticHandler = rememberRotaryHapticHandler(scrollableState), in rotaryWithFling() 129 rotaryScrollHandler = RotaryDefaults.rememberFlingHandler(scrollableState, flingBehavior), in rotaryWithFling() 154 scrollableState: ScrollableState, in rotaryWithFling() 157 rotaryHaptics: RotaryHapticHandler = rememberRotaryHapticHandler(scrollableState), in rotaryWithFling() 160 rotaryScrollHandler = RotaryDefaults.rememberFlingHandler(scrollableState, flingBehavior), in rotaryWithFling() 188 rememberRotaryHapticHandler(rotaryScrollAdapter.scrollableState), in rotaryWithFling() 211 override val scrollableState: ScalingLazyListState, in rotaryWithFling() constant in com.google.android.horologist.compose.rotaryinput.ScalingLazyColumnRotaryScrollAdapter 218 val visibleItems = scrollableState.layoutInfo.visibleItemsInfo in rotaryWithFling() 225 override fun currentItemIndex(): Int = scrollableState.centerItemIndex in rotaryWithFling() [all …]
|
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/navscaffold/ |
D | NavScaffoldViewModel.kt | 69 public val scrollableState: ScrollableState? constant in com.google.android.horologist.compose.navscaffold.NavScaffoldViewModel 210 this.scrollableState as ScrollState in timeTextScrollableState() 215 this.scrollableState as ScalingLazyListState in timeTextScrollableState() 222 this.scrollableState as LazyListState in timeTextScrollableState() 255 val scrollableState: T, constant in com.google.android.horologist.compose.navscaffold.ScaffoldContext 288 val scrollableState: ScalingLazyListState constant in com.google.android.horologist.compose.navscaffold.ScrollableScaffoldContext
|
D | WearNavScaffold.kt | 140 scrollState = viewModel.scrollableState as ScrollState, in NavPositionIndicator() 145 scalingLazyListState = viewModel.scrollableState as ScalingLazyListState, in NavPositionIndicator() 151 lazyListState = viewModel.scrollableState as LazyListState, in NavPositionIndicator()
|
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/layout/ |
D | ScalingLazyColumnState.kt | 148 scrollableState = columnState.state, in ScalingLazyColumn()
|