Searched refs:scrollBehavior (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
D | SettingsTopAppBar.kt | 28 scrollBehavior: TopAppBarScrollBehavior, in SettingsTopAppBar() 35 scrollBehavior = scrollBehavior, in SettingsTopAppBar()
|
D | CustomizedAppBar.kt | 115 scrollBehavior: TopAppBarScrollBehavior? = null, 129 scrollBehavior = scrollBehavior, 290 scrollBehavior: TopAppBarScrollBehavior? in TwoRowsTopAppBar() 312 if (scrollBehavior?.state?.heightOffsetLimit != pinnedHeightPx - maxHeightPx.floatValue) { in TwoRowsTopAppBar() 313 scrollBehavior?.state?.heightOffsetLimit = pinnedHeightPx - maxHeightPx.floatValue in TwoRowsTopAppBar() 322 val colorTransitionFraction = scrollBehavior?.state?.collapsedFraction ?: 0f in TwoRowsTopAppBar() 341 val appBarDragModifier = if (scrollBehavior != null && !scrollBehavior.isPinned) { in TwoRowsTopAppBar() 345 scrollBehavior.state.heightOffset += delta in TwoRowsTopAppBar() 349 scrollBehavior.state, in TwoRowsTopAppBar() 351 scrollBehavior.flingAnimationSpec, in TwoRowsTopAppBar() [all …]
|
D | SearchScaffold.kt | 82 val scrollBehavior = TopAppBarDefaults.exitUntilCollapsedScrollBehavior() constant 84 modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection), 89 scrollBehavior = scrollBehavior, in <lambda>() 123 scrollBehavior: TopAppBarScrollBehavior, in SearchableTopAppBar() 137 SettingsTopAppBar(title, scrollBehavior) { in SearchableTopAppBar() 139 scrollBehavior.collapse() in SearchableTopAppBar()
|
D | SettingsScaffold.kt | 57 val scrollBehavior = TopAppBarDefaults.exitUntilCollapsedScrollBehavior() constant 59 modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection), 60 topBar = { SettingsTopAppBar(title, scrollBehavior, actions) }, in <lambda>()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/scaffold/ |
D | CustomizedAppBarTest.kt | 193 val content = @Composable { scrollBehavior: TopAppBarScrollBehavior? -> in <lambda>() method 203 scrollBehavior = scrollBehavior, in <lambda>() 279 private fun MultiPageContent(scrollBehavior: TopAppBarScrollBehavior, state: LazyListState) { in <lambda>() 281 modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection), in <lambda>() 397 lateinit var scrollBehavior: TopAppBarScrollBehavior in <lambda>() variable 399 scrollBehavior = TopAppBarDefaults.exitUntilCollapsedScrollBehavior() in <lambda>() 405 content(scrollBehavior) in <lambda>() 410 scrollBehavior.state.heightOffset = -partiallyCollapsedHeightOffsetPx in <lambda>() 411 scrollBehavior.state.contentOffset = -partiallyCollapsedHeightOffsetPx in <lambda>() 421 scrollBehavior.state.heightOffset = -fullyCollapsedHeightOffsetPx in <lambda>() [all …]
|
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/ |
D | Rotary.kt | 308 fun scrollBehavior() = AnimationScrollBehavior(scrollableState) in averageItemSize() method 313 scrollBehaviorFactory = { scrollBehavior() }, in averageItemSize() 318 scrollBehaviorFactory = { scrollBehavior() }, in averageItemSize() 884 private var scrollBehavior: RotaryScrollBehavior = scrollBehaviorFactory() variable in HighResRotaryScrollHandler 917 scrollBehavior.handleEvent(rotaryScrollDistance) in handleScrollEvent() 926 scrollBehavior = scrollBehaviorFactory() in handleScrollEvent() 942 scrollBehavior = scrollBehaviorFactory() in resetTracking() 965 private var scrollBehavior: RotaryScrollBehavior = scrollBehaviorFactory() variable in LowResRotaryScrollHandler 990 scrollBehavior.handleEvent(rotaryScrollDistance) in handleScrollEvent() 998 scrollBehavior = scrollBehaviorFactory() in handleScrollEvent() [all …]
|