Home
last modified time | relevance | path

Searched defs:textFieldValue (Results 1 – 25 of 26) sorted by relevance

12

/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/
DTextFieldCharSequenceTest.kt38 val textFieldValue = in aligns_selection_to_the_text_length() constant
49 val textFieldValue = TextFieldCharSequence(text = text, selection = selection) in keep_selection_that_is_less_than_text_length() constant
63 val textFieldValue = TextEditState(text = text, composition = TextRange(text.length + 1)) in aligns_composition_to_text_length() constant
73 val textFieldValue = TextEditState(text = text, composition = composition) in keep_composition_that_is_less_than_text_length() constant
81 val textFieldValue = in equals_returns_true_for_same_instance() constant
94 val textFieldValue = in equals_returns_true_for_equivalent_object() constant
115 val textFieldValue = TextFieldCharSequence(text = "a", selection = TextRange(1)) in text_and_selection_parameter_constructor_has_null_composition_and_highlight() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/internal/
DLegacyCursorAnchorInfoBuilderTest.kt72 val textFieldValue = TextFieldValue() in testSelectionDefault() constant
84 val textFieldValue = TextFieldValue("abc", selection = TextRange(2)) in testSelectionCursor() constant
96 val textFieldValue = TextFieldValue("abc", selection = TextRange(1, 2)) in testSelectionRange() constant
108 val textFieldValue = TextFieldValue(composition = null) in testCompositionNone() constant
121 val textFieldValue = TextFieldValue(text, composition = TextRange(0, text.length)) in testCompositionCoveringAllString() constant
136 val textFieldValue = in testCompositionCoveringPortionOfString() constant
155 val textFieldValue = in testCompositionNotIncludedWhenIncludeCharacterBoundsFalse() constant
177 val textFieldValue = TextFieldValue(text, composition = TextRange(0, text.length)) in testResetsBetweenExecutions() constant
196 val textFieldValue = TextFieldValue("abc", selection = TextRange(1)) in testInsertionMarkerCursor() constant
212 val textFieldValue = TextFieldValue("abc", selection = TextRange(1, 2)) in testInsertionMarkerSelectionIsSameWithCursor() constant
[all …]
DLegacyTextInputMethodRequestCursorAnchorInfoTest.kt121 val textFieldValue = in <lambda>() constant
167 val textFieldValue = in <lambda>() constant
216 var textFieldValue = in <lambda>() variable
292 val textFieldValue = in <lambda>() constant
350 val textFieldValue = in <lambda>() constant
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/
DCursorAnchorInfoBuilderTest.kt76 val textFieldValue = TextFieldValue() in testSelectionDefault() constant
88 val textFieldValue = TextFieldValue("abc", selection = TextRange(2)) in testSelectionCursor() constant
100 val textFieldValue = TextFieldValue("abc", selection = TextRange(1, 2)) in testSelectionRange() constant
112 val textFieldValue = TextFieldValue(composition = null) in testCompositionNone() constant
125 val textFieldValue = TextFieldValue(text, composition = TextRange(0, text.length)) in testCompositionCoveringAllString() constant
140 val textFieldValue = in testCompositionCoveringPortionOfString() constant
159 val textFieldValue = in testCompositionNotIncludedWhenIncludeCharacterBoundsFalse() constant
181 val textFieldValue = TextFieldValue(text, composition = TextRange(0, text.length)) in testResetsBetweenExecutions() constant
200 val textFieldValue = TextFieldValue("abc", selection = TextRange(1)) in testInsertionMarkerCursor() constant
216 val textFieldValue = TextFieldValue("abc", selection = TextRange(1, 2)) in testInsertionMarkerSelectionIsSameWithCursor() constant
[all …]
DTextInputServiceAndroidCursorAnchorInfoTest.kt124 val textFieldValue = in requestCursorUpdates_immediate() constant
174 val textFieldValue = in requestCursorUpdates_immediate_beforeUpdateTextLayoutResult() constant
227 var textFieldValue = in requestCursorUpdates_monitor() variable
308 val textFieldValue = in requestCursorUpdates_immediateAndMonitor() constant
370 val textFieldValue = in requestCursorUpdates_cancel() constant
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/input/
DTextFieldValueTest.kt66 val textFieldValue = TextFieldValue(text = text, selection = TextRange(text.length + 1)) in aligns_selection_to_the_text_length() constant
76 val textFieldValue = TextFieldValue(text = text, selection = selection) in keep_selection_that_is_less_than_text_length() constant
90 val textFieldValue = TextFieldValue(text = text, composition = TextRange(text.length + 1)) in aligns_composition_to_text_length() constant
100 val textFieldValue = TextFieldValue(text = text, composition = composition) in keep_composition_that_is_less_than_text_length() constant
108 val textFieldValue = in equals_returns_true_for_same_instance() constant
116 val textFieldValue = in equals_returns_true_for_same_object() constant
124 val textFieldValue = in copy_sets_text_correctly() constant
139 val textFieldValue = in copy_sets_selection_correctly() constant
154 val textFieldValue = TextFieldValue(text = "a", selection = TextRange(1)) in text_and_selection_parameter_constructor_has_null_composition() constant
DEditProcessorTest.kt87 val textFieldValue = TextFieldValue("qwerty", TextRange.Zero, TextRange.Zero) in testNewState_new_buffer_created_if_text_is_different() constant
102 val textFieldValue = TextFieldValue(buildAnnotatedString { append("abc") }, TextRange.Zero) in testNewState_compositionNotLost_ifTextIsSame_butAnnotationsAreDifferent() constant
123 val textFieldValue = TextFieldValue("qwerty", TextRange.Zero, TextRange.Zero) in testNewState_buffer_not_recreated_if_selection_is_different() constant
139 val textFieldValue = TextFieldValue("qwerty", TextRange.Zero, TextRange(1)) in testNewState_buffer_not_recreated_if_composition_is_different() constant
160 val textFieldValue = TextFieldValue("qwerty", initialSelection, TextRange(1)) in testNewState_reversedSelection_setsTheSelection() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/textfield/
DTextFieldSelectionTest.kt70 val textFieldValue = mutableStateOf("text text text") in <lambda>() constant
92 val textFieldValue = mutableStateOf(TextFieldValue("texttexttext")) in <lambda>() constant
135 val textFieldValue = mutableStateOf("text text text") in <lambda>() constant
156 val textFieldValue = mutableStateOf(TextFieldValue("text")) in <lambda>() constant
213 val textFieldValue = mutableStateOf(TextFieldValue("texttexttext")) in <lambda>() constant
256 val textFieldValue = mutableStateOf(TextFieldValue("texttexttext")) in <lambda>() constant
301 val textFieldValue = mutableStateOf(TextFieldValue(text, TextRange(Int.MAX_VALUE))) in <lambda>() constant
431 val textFieldValue = mutableStateOf(TextFieldValue(text, TextRange(Int.MAX_VALUE))) in <lambda>() constant
DTextFieldVisualTransformationCursorTest.kt70 val textFieldValue = mutableStateOf(TextFieldValue(text)) in originalToTransformed() constant
DTextFieldTest.kt1171 val textFieldValue = mutableStateOf("Hello") in <lambda>() constant
1192 val textFieldValue = mutableStateOf("Hello World!") in <lambda>() constant
1214 val textFieldValue = mutableStateOf("Hello") in <lambda>() constant
1242 val textFieldValue = mutableStateOf("Hello") in <lambda>() constant
1273 val textFieldValue = mutableStateOf("Hello") in <lambda>() constant
/compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/
DTextFieldCursorBlinkingDemo.kt85 val textFieldValue = TextFieldValue(text = "Normal blink", selection = TextRange(3)) in DefaultCursor() constant
91 val textFieldValue = TextFieldValue(text = "Red cursor", selection = TextRange(3)) in ColorCursor() constant
110 val textFieldValue = TextFieldValue(text = "Rainbow cursor", selection = TextRange(3)) in RainbowCursor() constant
129 val textFieldValue = TextFieldValue(text = "Gradient cursor", selection = TextRange(3)) in GradientCursor() constant
152 val textFieldValue = in TypingCursorNeverBlinks() constant
175 val textFieldValue = TextFieldValue(text = text, selection = selection) in ChangingSelectionShowsCursor() constant
DEmojiCompatDemo.kt49 val textFieldValue = in EmojiCompatDemo() constant
DComposeLineHeight.kt446 var textFieldValue by remember(text) { mutableStateOf(TextFieldValue(text)) } in TextWithLineHeight() variable
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/
DCoreTextFieldHandwritingGestureTest.kt103 ) { textFieldValue, resultCode, textToolbar -> in <lambda>() method
130 ) { textFieldValue, _, _ -> in <lambda>() method
149 ) { textFieldValue, resultCode, textToolbar -> in <lambda>() method
176 ) { textFieldValue, _, _ -> in <lambda>() method
197 ) { textFieldValue, resultCode, textToolbar -> in <lambda>() method
218 ) { textFieldValue, resultCode, textToolbar -> in <lambda>() method
243 ) { textFieldValue, _, _ -> in <lambda>() method
266 ) { textFieldValue, resultCode, textToolbar -> in <lambda>() method
291 ) { textFieldValue, resultCode, textToolbar -> in <lambda>() method
318 ) { textFieldValue, _, _ -> in <lambda>() method
[all …]
DCoreTextFieldSelectionOnBackTest.kt65 var textFieldValue by mutableStateOf(TextFieldValue("hello")) in whenBackPressed_andReleased_coreTextFieldClearsSelection() variable
DKeyboardActionsTest.kt116 val textFieldValue = TextFieldValue("Placeholder Text") in <lambda>() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/selection/gestures/
DTextField1SelectionGesturesTest.kt41 private var textFieldValue by mutableStateOf(TextFieldValue(initialText)) variable
DTextFieldSelectionHandlesGesturesTest.kt57 private val textFieldValue = mutableStateOf(TextFieldValue(textContent)) constant
/compose/ui/ui/integration-tests/ui-demos/src/main/java/androidx/compose/ui/demos/keyinput/
DInterceptEnterToSendMessageDemo.kt53 var textFieldValue by remember { mutableStateOf(TextFieldValue("")) } in <lambda>() variable
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/internal/
DTextFieldStateInternalBufferTest.kt123 val textFieldValue = TextFieldCharSequence("qwerty", TextRange.Zero, TextRange.Zero) in <lambda>() constant
143 val textFieldValue = TextFieldCharSequence("qwerty", TextRange.Zero, TextRange.Zero) in <lambda>() constant
167 val textFieldValue = TextFieldCharSequence("qwerty", TextRange.Zero, TextRange(1)) in <lambda>() constant
189 val textFieldValue = TextFieldCharSequence("qwerty", initialSelection, TextRange(1)) in <lambda>() constant
/compose/material3/material3/integration-tests/material3-demos/src/main/java/androidx/compose/material3/demos/
DTooltipDemo.kt63 var textFieldValue by remember { mutableStateOf("") } in <lambda>() variable
/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/input/internal/
DLegacyCursorAnchorInfoController.android.kt41 private var textFieldValue: TextFieldValue? = null variable in androidx.compose.foundation.text.input.internal.LegacyCursorAnchorInfoController
DRecordingInputConnection.android.kt81 internal var textFieldValue: TextFieldValue = initState in <lambda>() variable
/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/text/input/
DCursorAnchorInfoController.android.kt44 private var textFieldValue: TextFieldValue? = null variable in androidx.compose.ui.text.input.CursorAnchorInfoController
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/
DBasicTextField.kt733 val textFieldValue = textFieldValueState.copy(text = value) constant

12