Searched refs:thresholdPx (Results 1 – 3 of 3) sorted by relevance
273 private val thresholdPx constant in androidx.compose.material3.pulltorefresh.PullToRefreshModifierNode277 get() = adjustedDistancePulled / thresholdPx282 verticalOffset = if (isRefreshing) thresholdPx.toFloat() else 0f in onAttach()312 state.snapTo(verticalOffset / thresholdPx) in onPostScroll()353 if (adjustedDistancePulled > thresholdPx) { in onRelease()379 adjustedDistancePulled <= thresholdPx -> adjustedDistancePulled in calculateVerticalOffset()388 val extraOffset = thresholdPx * tensionPercent in calculateVerticalOffset()389 thresholdPx + extraOffset in calculateVerticalOffset()397 distancePulled = thresholdPx.toFloat() in animateToThreshold()398 verticalOffset = thresholdPx.toFloat() in animateToThreshold()
67 val thresholdPx: Float in <lambda>() constant71 thresholdPx = refreshThreshold.toPx() in <lambda>()76 remember(scope) { PullRefreshState(scope, onRefreshState, refreshingOffsetPx, thresholdPx) } in <lambda>()80 state.setThreshold(thresholdPx) in <lambda>()
1052 var thresholdPx = 0f in <lambda>() variable1060 thresholdPx = in <lambda>()1070 swipeUp(bottom, bottom - thresholdPx / 4f) in <lambda>()1077 swipeUp(bottom, bottom - thresholdPx * 2) in <lambda>()1086 var thresholdPx = 0f in <lambda>() variable1094 thresholdPx = with(LocalDensity.current) { customThreshold.toPx() } in <lambda>()1101 swipeUp(bottom, bottom - thresholdPx / 4f) in <lambda>()1108 swipeUp(bottom, bottom - thresholdPx) in <lambda>()