Home
last modified time | relevance | path

Searched defs:selection (Results 1 – 25 of 59) sorted by relevance

123

/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/internal/
DCursorAnchorInfoBuilderTest.kt68 val selection = TextRange(0) in testSelectionDefault() constant
82 val selection = TextRange(2) in testSelectionCursor() constant
96 val selection = TextRange(1, 2) in testSelectionRange() constant
110 val selection = TextRange(0) in testCompositionNone() constant
124 val selection = TextRange(0) in testCompositionCoveringAllString() constant
141 val selection = TextRange(0) in testCompositionCoveringPortionOfString() constant
158 val selection = TextRange(0) in testCompositionNotIncludedWhenIncludeCharacterBoundsFalse() constant
179 val selection = TextRange(0) in testResetsBetweenExecutions() constant
206 val selection = TextRange(1) in testInsertionMarkerCursor() constant
225 val selection = TextRange(1, 2) in testInsertionMarkerSelectionIsSameWithCursor() constant
[all …]
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/selection/
DSelectionLayoutTest.kt44 val selection = getSelection() in <lambda>() constant
56 val selection = getSelection() in <lambda>() constant
81 val selection = getSingleSelectionLayoutForTest() in <lambda>() constant
87 val selection = buildSelectionLayoutForTest { appendInfoForTest() } in <lambda>() constant
93 val selection = buildSelectionLayoutForTest { in <lambda>() constant
1005 val selection = getSelection(startOffset = 1, endOffset = 0, handlesCrossed = false) in <lambda>() constant
1014 val selection = getSelection(startOffset = 0, endOffset = 1, handlesCrossed = true) in <lambda>() constant
1024 val selection = getSelection() in <lambda>() constant
1034 val selection = getSelection() in <lambda>() constant
1041 val selection = getSelection(startOffset = 1, endOffset = 0, handlesCrossed = false) in <lambda>() constant
[all …]
DSelectionTest.kt58 val selection = in selection_constructor() constant
101 val selection = selection1.merge(selection2) in selection_merge_handles_not_cross() constant
145 val selection = selection1.merge(selection2) in selection_merge_handles_cross() constant
170 val selection = Selection(start = startAnchor, end = endAnchor, handlesCrossed = false) in selection_toTextRange_handles_not_cross() constant
193 val selection = Selection(start = startAnchor, end = endAnchor, handlesCrossed = false) in selection_toTextRange_handles_cross() constant
DSelectionManagerTest.kt247 val selection = in <lambda>() constant
275 val selection = in <lambda>() constant
574 val selection = in <lambda>() constant
605 val selection = in <lambda>() constant
838 val selection = in <lambda>() constant
872 val selection = in <lambda>() constant
904 val selection = in <lambda>() constant
946 var selection: Selection? = fakeSelection in <lambda>() variable
981 var selection: Selection? = fakeSelection in <lambda>() variable
1108 val selection: TextRange?, in <lambda>() constant in androidx.compose.foundation.text.selection.SelectionManagerTest.IsEntireContainerSelectedData
[all …]
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/internal/
DDeleteSurroundingTextInCodePointsCommandTest.kt273 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows_withMaxValue() constant
289 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows_withMaxValue() constant
305 val selection = TextRange(0) in deletes_whenBothOverflow_withMaxValue_cursorAtStart() constant
321 val selection = TextRange(5) in deletes_whenBothOverflow_withMaxValue_cursorAtEnd() constant
338 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows() constant
354 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows() constant
DDeleteSurroundingTextCommandTest.kt262 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows_withMaxValue() constant
275 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows_withMaxValue() constant
289 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows() constant
305 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows() constant
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/input/
DDeleteSurroundingTextInCodePointsCommandTest.kt256 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows_withMaxValue() constant
272 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows_withMaxValue() constant
288 val selection = TextRange(0) in deletes_whenBothOverflow_withMaxValue_cursorAtStart() constant
304 val selection = TextRange(5) in deletes_whenBothOverflow_withMaxValue_cursorAtEnd() constant
321 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows() constant
337 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows() constant
DDeleteSurroundingTextCommandTest.kt245 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows_withMaxValue() constant
258 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows_withMaxValue() constant
272 val selection = TextRange(textAfterDelete.length) in deletes_whenLengthAfterCursorOverflows() constant
285 val selection = TextRange(1) in deletes_whenLengthBeforeCursorOverflows() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/selection/
DSelectionContainerContextMenuTest.kt139 var selection by mutableStateOf<Selection?>(null) in <lambda>() variable
183 ) { selection -> in <lambda>() method
198 ) { selection -> in <lambda>() method
214 ) { selection -> in <lambda>() method
244 var selection by mutableStateOf<Selection?>(null) in <lambda>() variable
DMultiWidgetSelectionDelegateTest.kt80 val selection = in getHandlePosition_StartHandle_invalid() constant
127 val selection = in getHandlePosition_EndHandle_invalid() constant
174 val selection = in getHandlePosition_StartHandle_not_cross_ltr() constant
221 val selection = in getHandlePosition_StartHandle_cross_ltr() constant
268 val selection = in getHandlePosition_StartHandle_not_cross_rtl() constant
316 val selection = in getHandlePosition_StartHandle_cross_rtl() constant
366 val selection = in getHandlePosition_StartHandle_not_cross_bidi() constant
415 val selection = in getHandlePosition_StartHandle_cross_bidi() constant
462 val selection = in getHandlePosition_EndHandle_not_cross_ltr() constant
514 val selection = in getHandlePosition_EndHandle_not_cross_ltr_overflowed() constant
[all …]
DSelectionCopyTest.kt64 private val selection = mutableStateOf<Selection?>(null) constant in androidx.compose.foundation.text.selection.SelectionCopyTest
DSelectionContainerContextMenuBuilderTest.kt133 var selection by mutableStateOf<Selection?>(null) in runClickContextMenuItemTest() variable
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/
DSelectionManager.kt81 var selection: Selection? in <lambda>() variable in androidx.compose.foundation.text.selection.SelectionManager
220 val selection = this.selection ?: return 0f in <lambda>() constant
228 val selection = this.selection ?: return 0f in <lambda>() constant
362 val selection = selection in <lambda>() constant
428 val selection = in <lambda>() constant
510 val selection = selection ?: return true in <lambda>() constant
523 val selection = selection ?: return false in <lambda>() constant
661 val selection = selection ?: return in <lambda>() constant
687 val selection = selection!! in <lambda>() constant
932 val selection = in <lambda>() constant
[all …]
DSelection.kt61 val selection = this in merge() constant
DSelectionContainer.kt54 var selection by remember { mutableStateOf<Selection?>(null) } in <lambda>() variable
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/
DTextFieldCharSequenceTest.kt47 val selection = TextRange(0, "a".length) in keep_selection_that_is_less_than_text_length() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/input/internal/selection/
DTextFieldMagnifier.kt77 val selection = textFieldState.visualText.selection in textFieldMagnifierNode() constant
/compose/material/material/samples/src/main/java/androidx/compose/material/samples/
DBackdropScaffoldSamples.kt52 val selection = remember { mutableStateOf(1) } in BackdropScaffoldSample() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/input/internal/
DTextFieldKeyEventHandler.kt72 val selection = textFieldState.visualText.selection in <lambda>() constant
DTransformedTextFieldState.kt251 val selection = mapFromTransformed(range) in <lambda>() constant
275 val selection = selection in <lambda>() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/
DTextLayoutResultIntegrationTest.kt139 val selection = layoutResult.getOffsetForPosition(Offset.Zero) in getPositionForOffset_First_Character() constant
163 val selection = in getPositionForOffset_other_Character() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/selection/gestures/
DMultiTextWithSpaceSelectionGesturesRegressionTest.kt60 private val selection = mutableStateOf<Selection?>(null) in <lambda>() constant
DMultiText2dSelectionGesturesTest.kt57 private val selection = mutableStateOf<Selection?>(null) in <lambda>() constant in androidx.compose.foundation.text.selection.gestures.MultiText2dSelectionGesturesTest
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/modifiers/
DTextLayoutResultIntegrationTest.kt151 val selection = layoutResult.getOffsetForPosition(Offset.Zero) in getPositionForOffset_First_Character() constant
176 val selection = in getPositionForOffset_other_Character() constant
/compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/
DPlatformTextInputAdapterDemo.kt172 var selection by mutableStateOf(TextRange(0)) variable
215 .collectLatest { selection -> in onFocusEvent() method

123