Home
last modified time | relevance | path

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

/compose/material/material/src/commonMain/kotlin/androidx/compose/material/pullrefresh/
DPullRefreshState.kt211 val linearTension = overshootPercent.fastCoerceIn(0f, 2f) in calculateIndicatorPosition() constant
213 val tensionPercent = linearTension - linearTension.pow(2) / 4 in calculateIndicatorPosition()
DPullRefreshIndicator.kt180 val linearTension = overshootPercent.fastCoerceIn(0f, 2f) in ArrowValues() constant
182 val tensionPercent = linearTension - linearTension.pow(2) / 4 in ArrowValues()
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/pulltorefresh/
DPullToRefresh.kt384 val linearTension = overshootPercent.coerceIn(0f, 2f) in calculateVerticalOffset() constant
386 val tensionPercent = linearTension - linearTension.pow(2) / 4 in calculateVerticalOffset()
807 val linearTension = overshootPercent.coerceIn(0f, 2f) in ArrowValues() constant
809 val tensionPercent = linearTension - linearTension.pow(2) / 4 in ArrowValues()
/compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/pullrefresh/
DPullRefreshStateTest.kt1030 val linearTension = overshootPercent.coerceIn(0f, 2f) in calculateIndicatorPosition() constant
1031 val tensionPercent = linearTension - linearTension.pow(2) / 4 in calculateIndicatorPosition()