| /compose/material/material/samples/src/main/java/androidx/compose/material/samples/ |
| D | PullRefreshSamples.kt | 59 var refreshing by remember { mutableStateOf(false) } in <lambda>() variable 64 refreshing = true in <lambda>() 67 refreshing = false in <lambda>() 70 val state = rememberPullRefreshState(refreshing, ::refresh) in <lambda>() 74 if (!refreshing) { in <lambda>() 79 PullRefreshIndicator(refreshing, state, Modifier.align(Alignment.TopCenter)) in <lambda>() 93 var refreshing by remember { mutableStateOf(false) } in CustomPullRefreshSample() variable 101 refreshing = true in CustomPullRefreshSample() 104 refreshing = false in CustomPullRefreshSample() 109 refreshing -> 0f in CustomPullRefreshSample() [all …]
|
| /compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/pullrefresh/ |
| D | PullRefreshIndicatorTest.kt | 72 var refreshing by mutableStateOf(false) in indicatorDisplayed_setRefreshing() variable 75 val state = rememberPullRefreshState(refreshing, {}) in indicatorDisplayed_setRefreshing() 77 PullRefreshIndicator(refreshing, state, Modifier.testTag(IndicatorTag)) in indicatorDisplayed_setRefreshing() 83 refreshing = true in indicatorDisplayed_setRefreshing() 93 var refreshing by mutableStateOf(false) in indicatorDisplayed_pullRefresh() variable 98 refreshing, in indicatorDisplayed_pullRefresh() 100 refreshing = true in indicatorDisplayed_pullRefresh() 107 PullRefreshIndicator(refreshing, state, Modifier.testTag(IndicatorTag)) in indicatorDisplayed_pullRefresh() 116 assertThat(refreshing).isTrue() in indicatorDisplayed_pullRefresh() 119 refreshing = false in indicatorDisplayed_pullRefresh() [all …]
|
| D | PullRefreshStateTest.kt | 70 refreshing = false, in pullBeyondThreshold_triggersRefresh() 97 refreshing = false, in pullLessThanOrEqualToThreshold_doesNot_triggerRefresh() 134 refreshing = false, in progressAndPosition_scaleCorrectly_untilThreshold() 185 refreshing = false, in progressAndPosition_scaleCorrectly_beyondThreshold() 230 refreshing = false, in positionIsCapped() 267 refreshing = false, in pullInterrupted() 318 refreshing = false, in pullBeyondThreshold_refreshingNotChangedToTrue_animatePositionBackToZero() 354 refreshing = true, in thresholdAndRefreshingOffsetUpdated() 385 refreshing = false, in nestedPreScroll_negativeDelta_notRefreshing() 429 refreshing = true, in nestedPreScroll_negativeDelta_refreshing() [all …]
|
| D | PullRefreshIndicatorTransformTest.kt | 64 val state = rememberPullRefreshState(refreshing = false, {}) in indicatorClippedWhenNotDisplayed() 90 state = rememberPullRefreshState(refreshing = false, onRefresh = {}) in indicatorPartiallyClippedWhenPartiallyDisplayed() 148 refreshing = true, in indicatorNotClippedWhenFullyDisplayed()
|
| /compose/material/material/src/commonMain/kotlin/androidx/compose/material/pullrefresh/ |
| D | PullRefreshState.kt | 58 refreshing: Boolean, in <lambda>() 79 state.setRefreshing(refreshing) in <lambda>() 119 internal val refreshing constant 147 if (refreshing) return 0f // Already refreshing, do nothing in onRelease() 170 internal fun setRefreshing(refreshing: Boolean) { in setRefreshing() 171 if (_refreshing != refreshing) { in setRefreshing() 172 _refreshing = refreshing in setRefreshing() 174 animateIndicatorTo(if (refreshing) _refreshingOffset else 0f) in setRefreshing() 185 if (refreshing) animateIndicatorTo(refreshingOffset) in setRefreshingOffset()
|
| D | PullRefreshIndicator.kt | 76 refreshing: Boolean, in <lambda>() 84 remember(refreshing, state) { derivedStateOf { refreshing || state.position > 0.5f } } in <lambda>() 102 targetState = refreshing, in <lambda>() 104 ) { refreshing -> in <lambda>() method 108 if (refreshing) { in <lambda>()
|
| D | PullRefreshIndicatorTransform.kt | 60 if (scale && !state.refreshing) { in <lambda>()
|
| /compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/pulltorefresh/ |
| D | PullToRefresh.kt | 552 ) { refreshing -> in Indicator() method 553 if (refreshing) { in Indicator() 604 ) { refreshing -> in LoadingIndicator() method 605 if (refreshing) { in LoadingIndicator()
|
| /compose/material/material/api/ |
| D | 1.3.0-beta03.txt | 942 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 960 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.3.0-beta04.txt | 942 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 960 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.4.0-beta01.txt | 926 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 944 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.4.0-beta02.txt | 926 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 944 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.5.0-beta01.txt | 939 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 957 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | restricted_1.8.0-beta01.txt | 1023 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1041 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.7.0-beta01.txt | 999 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1017 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | restricted_1.6.0-beta01.txt | 971 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 989 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.7.0-beta02.txt | 999 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1017 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.8.0-beta01.txt | 1023 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1041 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | restricted_1.7.0-beta01.txt | 999 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1017 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | restricted_1.7.0-beta02.txt | 999 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1017 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | 1.6.0-beta01.txt | 971 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 989 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | current.txt | 1024 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1042 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|
| D | restricted_current.txt | 1024 …ose.runtime.Composable public static void PullRefreshIndicator(boolean refreshing, androidx.compos… 1042 …material.pullrefresh.PullRefreshState rememberPullRefreshState(boolean refreshing, kotlin.jvm.func…
|