Home
last modified time | relevance | path

Searched refs:scrollBehavior (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSettingsTopAppBar.kt28 scrollBehavior: TopAppBarScrollBehavior, in SettingsTopAppBar()
35 scrollBehavior = scrollBehavior, in SettingsTopAppBar()
DCustomizedAppBar.kt115 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 …]
DSearchScaffold.kt82 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()
DSettingsScaffold.kt57 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/
DCustomizedAppBarTest.kt193 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/
DRotary.kt308 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 …]