Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSceneTransitionLayoutStateTest.kt348 assertThat(state.snapToIdleIfClose(threshold = 0.1f)).isFalse() in <lambda>()
352 assertThat(state.snapToIdleIfClose(threshold = 0.2f)).isTrue() in <lambda>()
364 assertThat(state.snapToIdleIfClose(threshold = 0.1f)).isFalse() in <lambda>()
368 assertThat(state.snapToIdleIfClose(threshold = 0.2f)).isTrue() in <lambda>()
392 assertThat(state.snapToIdleIfClose(threshold = 0.1f)).isFalse() in <lambda>()
396 assertThat(state.snapToIdleIfClose(threshold = 0.2f)).isTrue() in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutState.kt681 internal fun snapToIdleIfClose(threshold: Float): Boolean { in snapToIdleIfClose() method
DDraggableHandler.kt969 val hasSnappedToIdle = layoutState.snapToIdleIfClose(threshold) in nestedScrollConnection()