Home
last modified time | relevance | path

Searched refs:offsetAvailable (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationScrimNestedScrollConnection.kt47 canStartPreScroll = { offsetAvailable, offsetBeforeStart -> in offsetBeforeStart() method
48 offsetAvailable < 0 && in offsetBeforeStart()
55 canStartPostScroll = { offsetAvailable, _ -> in offsetAvailable() method
56 offsetAvailable > 0 && (scrimOffset() < maxScrimOffset || isCurrentGestureOverscroll()) in offsetAvailable()
64 onStart = { offsetAvailable -> onStart(offsetAvailable) }, in offsetAvailable() method
65 onScroll = { offsetAvailable -> in offsetAvailable() method
68 if (offsetAvailable > 0) { in offsetAvailable()
70 offsetAvailable.coerceAtMost(amountLeft) in offsetAvailable()
73 offsetAvailable.coerceAtLeast(amountLeft) in offsetAvailable()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/nestedscroll/
DPriorityNestedScrollConnection.kt38 private val canStartPreScroll: (offsetAvailable: Offset, offsetBeforeStart: Offset) -> Boolean, in <lambda>()
39 private val canStartPostScroll: (offsetAvailable: Offset, offsetBeforeStart: Offset) -> Boolean, in <lambda>()
43 private val onStart: (offsetAvailable: Offset) -> Unit, in <lambda>()
44 private val onScroll: (offsetAvailable: Offset) -> Offset, in <lambda>()
170 canStartPreScroll: (offsetAvailable: Float, offsetBeforeStart: Float) -> Boolean, in PriorityNestedScrollConnection()
171 canStartPostScroll: (offsetAvailable: Float, offsetBeforeStart: Float) -> Boolean, in PriorityNestedScrollConnection()
175 onStart: (offsetAvailable: Float) -> Unit, in PriorityNestedScrollConnection()
176 onScroll: (offsetAvailable: Float) -> Float, in PriorityNestedScrollConnection()
181 canStartPreScroll = { offsetAvailable: Offset, offsetBeforeStart: Offset -> in PriorityNestedScrollConnection() method
182 canStartPreScroll(offsetAvailable.toFloat(), offsetBeforeStart.toFloat()) in PriorityNestedScrollConnection()
[all …]
DLargeTopAppBarNestedScrollConnection.kt46 canStartPreScroll = { offsetAvailable, offsetBeforeStart -> in <lambda>() method
47 offsetAvailable < 0 && offsetBeforeStart == 0f && height() > minHeight() in <lambda>()
51 canStartPostScroll = { offsetAvailable, _ -> in <lambda>() method
52 offsetAvailable > 0 && height() < maxHeight() in <lambda>()
61 onScroll = { offsetAvailable -> in <lambda>() method
64 if (offsetAvailable > 0) { in <lambda>()
66 offsetAvailable.coerceAtMost(amountLeft) in <lambda>()
69 offsetAvailable.coerceAtLeast(amountLeft) in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt958 canStartPreScroll = { offsetAvailable, offsetBeforeStart -> in nestedScrollConnection() method
964 offsetAvailable != 0f && in nestedScrollConnection()
982 canStartPostScroll = { offsetAvailable, offsetBeforeStart -> in nestedScrollConnection() method
985 offsetAvailable > 0f -> topOrLeftBehavior in nestedScrollConnection()
986 offsetAvailable < 0f -> bottomOrRightBehavior in nestedScrollConnection()
1001 isZeroOffset && hasNextScene(offsetAvailable) in nestedScrollConnection()
1005 hasNextScene(offsetAvailable) in nestedScrollConnection()
1009 hasNextScene(offsetAvailable) in nestedScrollConnection()
1039 onStart = { offsetAvailable -> in nestedScrollConnection() method
1044 overSlop = if (isIntercepting) 0f else offsetAvailable, in nestedScrollConnection()
[all …]