Searched refs:adjustedDistancePulled (Results 1 – 3 of 3) sorted by relevance
117 get() = adjustedDistancePulled / threshold128 private val adjustedDistancePulled by derivedStateOf { distancePulled * DragMultiplier } in <lambda>() constant149 if (adjustedDistancePulled > threshold) { in onRelease()206 adjustedDistancePulled <= threshold -> adjustedDistancePulled in calculateIndicatorPosition()
151 val adjustedDistancePulled = threshold / 2 // Account for PullMultiplier. in progressAndPosition_scaleCorrectly_untilThreshold() constant153 assertThat(state.position).isEqualTo(adjustedDistancePulled) in progressAndPosition_scaleCorrectly_untilThreshold()160 val adjustedDistancePulled = (2 * threshold + 1f) / 2 // Account for PullMultiplier. in progressAndPosition_scaleCorrectly_untilThreshold() constant161 assertThat(state.progress).isEqualTo(adjustedDistancePulled / threshold) in progressAndPosition_scaleCorrectly_untilThreshold()163 .isEqualTo(calculateIndicatorPosition(adjustedDistancePulled, threshold)) in progressAndPosition_scaleCorrectly_untilThreshold()206 val adjustedDistancePulled = 3 * threshold / 2 // Account for PullMultiplier. in progressAndPosition_scaleCorrectly_beyondThreshold() constant209 .isEqualTo(calculateIndicatorPosition(adjustedDistancePulled, threshold)) in progressAndPosition_scaleCorrectly_beyondThreshold()281 val adjustedDistancePulled = threshold / 2 // Account for PullMultiplier. in pullInterrupted() constant283 assertThat(state.position).isEqualTo(adjustedDistancePulled) in pullInterrupted()
270 private val adjustedDistancePulled: Float constant in androidx.compose.material3.pulltorefresh.PullToRefreshModifierNode277 get() = adjustedDistancePulled / thresholdPx353 if (adjustedDistancePulled > thresholdPx) { in onRelease()379 adjustedDistancePulled <= thresholdPx -> adjustedDistancePulled in calculateVerticalOffset()