Home
last modified time | relevance | path

Searched defs:newValue (Results 1 – 25 of 28) sorted by relevance

12

/compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/
DDragGestureDetectorSamples.kt79 val newValue = (originalX + over).coerceIn(0f, width - 50.dp.toPx()) in <lambda>() constant
87 val newValue = in <lambda>() constant
120 val newValue = (originalX + over).coerceIn(0f, width - 50.dp.toPx()) in HorizontalDragSample() constant
127 val newValue = in HorizontalDragSample() constant
157 val newValue = (originalX + dragAmount).coerceIn(0f, width - 50.dp.toPx()) in DetectHorizontalDragGesturesSample() constant
183 val newValue = in AwaitVerticalDragOrCancellationSample() constant
192 val newValue = in AwaitVerticalDragOrCancellationSample() constant
225 val newValue = in VerticalDragSample() constant
233 val newValue = in VerticalDragSample() constant
263 val newValue = (originalY + dragAmount).coerceIn(0f, height - 50.dp.toPx()) in DetectVerticalDragGesturesSample() constant
[all …]
DDraggableSamples.kt57 val newValue = offsetPosition.value + delta in <lambda>() constant
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/
DTextInputServiceAndroidOnStateUpdateTest.kt79 val newValue = TextFieldValue("b") in onUpdateState_resetInputCalled_whenOnlyTextChanged() constant
91 val newValue = TextFieldValue("a", TextRange.Zero, null) in onUpdateState_resetInputCalled_whenOnlyCompositionChanged() constant
106 val newValue = TextFieldValue("a", TextRange(1), null) in onUpdateState_updateSelectionCalled_whenOnlySelectionChanged() constant
158 val newValue = TextFieldValue("a", TextRange(1), null) in onUpdateState_resetInputNotCalled_whenSelectionAndCompositionChanged() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/internal/
DLegacyTextInputMethodRequestOnStateUpdateTest.kt78 val newValue = TextFieldValue("b") in onUpdateState_resetInputCalled_whenOnlyTextChanged() constant
90 val newValue = TextFieldValue("a", TextRange.Zero, null) in onUpdateState_resetInputCalled_whenOnlyCompositionChanged() constant
105 val newValue = TextFieldValue("a", TextRange(1), null) in onUpdateState_updateSelectionCalled_whenOnlySelectionChanged() constant
157 val newValue = TextFieldValue("a", TextRange(1), null) in onUpdateState_resetInputNotCalled_whenSelectionAndCompositionChanged() constant
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/input/
DEditProcessorTest.kt188 val newValue = processor.mBufferState.copy(text = "cd") in compositionIsCleared_when_textChanged() constant
210 val newValue = processor.mBufferState.copy() in compositionIsNotCleared_when_textIsSame() constant
226 val newValue = processor.mBufferState.copy(composition = TextRange(0, 2)) in compositionIsCleared_when_compositionReset() constant
242 val newValue = processor.mBufferState.copy(composition = TextRange(0, 1)) in compositionIsCleared_when_compositionChanged() constant
267 val newValue = processor.mBufferState.copy(selection = newSelection) in compositionIsNotCleared_when_onlySelectionChanged() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/
DTextFieldSelectionManager.kt209 val newValue = in <lambda>() constant
590 val newValue = value.copy(selection = TextRange(newCursorOffset)) in <lambda>() constant
659 val newValue = in <lambda>() constant
686 val newValue = in <lambda>() constant
715 val newValue = in <lambda>() constant
727 val newValue = in <lambda>() constant
1026 val newValue = in <lambda>() constant
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/internal/
DTextFieldStateInternalBufferTest.kt235 val newValue = TextFieldCharSequence("cd", state.selection, state.composition) in <lambda>() constant
256 val newValue = TextFieldCharSequence(state.text, state.selection, state.composition) in <lambda>() constant
274 val newValue = in <lambda>() constant
293 val newValue = in <lambda>() constant
317 val newValue = in <lambda>() constant
530 addNotifyImeListener { oldValue, newValue, restartImeIfContentChanges -> in <lambda>() method
DTransformedTextFieldStateTest.kt258 transformedState.collectImeNotifications { oldValue, newValue, restartIme -> in <lambda>() method
298 transformedState.collectImeNotifications { oldValue, newValue, restartIme -> in <lambda>() method
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/input/
DEditProcessor.kt78 val newValue = in reset() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/
DUpdatableAnimationState.kt121 val newValue = in <lambda>() constant
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/
DSnapshotFlow.kt158 val newValue = in <lambda>() constant
/compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/
DSpringSimulation.kt146 val newValue = (displacement + finalPosition).toFloat() in Motion() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/
DTextFieldDelegate.kt282 val newValue = editProcessor.apply(ops) in onEditCommand() constant
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/
DTextFieldStateTest.kt717 TextFieldState.NotifyImeListener { oldValue, newValue, restartIme -> in <lambda>() method
740 TextFieldState.NotifyImeListener { oldValue, newValue, restartIme -> in <lambda>() method
763 TextFieldState.NotifyImeListener { oldValue, newValue, restartIme -> in <lambda>() method
791 TextFieldState.NotifyImeListener { oldValue, newValue, restartIme -> in <lambda>() method
814 TextFieldState.NotifyImeListener { oldValue, newValue, restartIme -> in <lambda>() method
835 TextFieldState.NotifyImeListener { oldValue, newValue, restartIme -> in <lambda>() method
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/immutableSet/
DTrieNode.kt528 val newValue = run { in mutableRetainAll() constant
624 val newValue = run { in mutableRemoveAll() constant
/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/
DWindowRecomposer.android.kt115 val newValue = in getAnimationScaleFlowFor() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/
DScroll.kt132 val newValue = absolute.coerceIn(0f, maxValue.toFloat()) in <lambda>() constant
/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/input/internal/
DAndroidTextInputSession.android.kt86 state.collectImeNotifications { oldValue, newValue, restartIme -> in platformSpecificTextInputSession() method
/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/node/
DLookaheadDelegate.kt291 val newValue = newValues.getOrDefault(ruler, Float.NaN) in <lambda>() constant
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DSlider.kt1996 var newValue = in scale() variable
2056 var newValue = targetValue.coerceIn(valueRange.start, valueRange.endInclusive) in Modifier() variable
2115 var newValue = targetValue.coerceIn(valueRange.start, valueRange.endInclusive) in rangeSliderEndThumbSemantics() variable
DTimePicker.kt1058 onValueChange = { newValue -> in TimeInputImpl() method
1100 onValueChange = { newValue -> in TimeInputImpl() method
1827 val newValue = in timeInputOnChange() constant
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DSwitch.kt129 .collectLatest { newValue -> in <lambda>() method
DSlider.kt953 var newValue = targetValue.coerceIn(valueRange.start, valueRange.endInclusive) in sliderSemantics() variable
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/textfield/
DHardwareKeyboardTest.kt444 val onValueChange: (TextFieldValue) -> Unit = { newValue -> in <lambda>() method
/compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/
DSliderSamples.kt317 sliderState.onValueChange = { newValue -> in VerticalSliderSample() method

12