Home
last modified time | relevance | path

Searched refs:consumedByScroll (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/nestedscroll/
DLargeTopAppBarNestedScrollConnectionTest.kt43 consumedByScroll: Offset = Offset.Zero, in NestedScrollConnection()
46 val consumed = consumedByPreScroll + consumedByScroll in NestedScrollConnection()
69 scrollConnection.scroll(available = Offset(0f, 1f), consumedByScroll = Offset(0f, 1f)) in onScrollUpAfterContentScrolled_ignoreUpEvent()
85 scrollConnection.scroll(available = Offset(0f, 1f), consumedByScroll = Offset(0f, 1f)) in onScrollUpAfterContentReturnedToZero_consumeHeight()
88 scrollConnection.scroll(available = Offset(0f, -1f), consumedByScroll = Offset(0f, -1f)) in onScrollUpAfterContentReturnedToZero_consumeHeight()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DMultiPointerDraggableTest.kt131 var consumedByScroll = false in <lambda>() variable
163 consumedByScroll = true in <lambda>()
192 assertThat(consumedByScroll).isTrue() in <lambda>()
198 consumedByScroll = false in <lambda>()
207 assertThat(consumedByScroll).isFalse() in <lambda>()
214 assertThat(consumedByScroll).isFalse() in <lambda>()
DDraggableHandlerTest.kt219 consumedByScroll: Offset = Offset.Zero, in NestedScrollConnection()
226 val consumed = consumedByPreScroll + consumedByScroll in NestedScrollConnection()
739 consumedByScroll = downOffset(fractionOfScreen = 0.1f) in flingAfterScrollStartedInScene()