Home
last modified time | relevance | path

Searched defs:textLayoutResult (Results 1 – 25 of 78) sorted by relevance

1234

/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/
DTextMeasurerTest.kt73 val textLayoutResult = in width_shouldMatter_ifSoftwrapIsEnabled() constant
87 val textLayoutResult = in width_shouldMatter_ifSoftwrapIsDisabled_butOverflowIsEllipsis() constant
103 val textLayoutResult = in width_shouldMatter_ifSoftwrapIsDisabled_butOverflowIsStartEllipsis() constant
119 val textLayoutResult = in width_shouldMatter_ifSoftwrapIsDisabled_butOverflowIsMiddleEllipsis() constant
134 val textLayoutResult = in width_shouldBeMaxIntrinsicWidth_ifSoftwrapIsDisabled_andOverflowIsClip() constant
151 val textLayoutResult = in width_shouldBeMaxIntrinsicWidth_ifSoftwrapIsDisabled_andOverflowIsVisible() constant
168 val textLayoutResult = in overwriteMaxLines_ifSoftwrapIsDisabled_andTextOverflowIsEllipsis() constant
182 val textLayoutResult = in overwriteMaxLines_ifSoftwrapIsDisabled_andTextOverflowIsStartEllipsis() constant
196 val textLayoutResult = in overwriteMaxLines_ifSoftwrapIsDisabled_andTextOverflowIsMiddleEllipsis() constant
210 val textLayoutResult = in dontOverwriteMaxLines_endEllipsis_ifSoftwrapIsEnabled() constant
[all …]
DTextLayoutCacheTest.kt96 val textLayoutResult = layoutText(textLayoutInput) in exactInput_shouldReturnTheSameResult() constant
111 val textLayoutResult = layoutText(firstInput) in colorChange_shouldReturnFromCache() constant
129 val textLayoutResult = layoutText(firstInput) in brushChange_shouldReturnFromCache() constant
150 val textLayoutResult = layoutText(firstInput) in shadowChange_shouldReturnFromCache() constant
171 val textLayoutResult = layoutText(firstInput) in textDecorationChange_shouldReturnFromCache() constant
194 val textLayoutResult = layoutText(firstInput) in constraintsMinChanges_shouldReturnNull() constant
207 val textLayoutResult = layoutText(firstInput) in textChanges_shouldReturnNull() constant
228 val textLayoutResult = layoutText(firstInput) in fontSizeChange_shouldReturnNull() constant
241 val textLayoutResult = layoutText(firstInput) in densityChange_shouldReturnNull() constant
256 val textLayoutResult = layoutText(firstInput) in layoutDirectionChange_shouldReturnNull() constant
[all …]
DTextPainterTest.kt67 val textLayoutResult = in drawTextWithMeasurer_shouldBeEqualTo_drawTextLayoutResult() constant
490 val textLayoutResult = in textMeasurerDraw_isConstrainedTo_canvasSizeByDefault() constant
514 val textLayoutResult = in textMeasurerDraw_usesCanvasDensity_ByDefault() constant
540 val textLayoutResult = in drawTextClipsTheContent_ifOverflowIsClip() constant
563 val textLayoutResult = in drawTextClipsTheContent_ifOverflowIsEllipsis_ifLessThanOneLineFits() constant
585 val textLayoutResult = in drawTextDoesNotClipTheContent_ifOverflowIsVisible() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/
DMultiWidgetSelectionDelegate.kt81 val textLayoutResult = layoutResultCallback() ?: return in appendSelectableInfoToBuilder() constant
102 val textLayoutResult = layoutResultCallback() ?: return null in getSelectAllSelection() constant
134 val textLayoutResult = layoutResultCallback() ?: return Offset.Unspecified in getHandlePosition() constant
151 override fun textLayoutResult(): TextLayoutResult? { in textLayoutResult() method
156 val textLayoutResult = layoutResultCallback() ?: return AnnotatedString("") in getText() constant
161 val textLayoutResult = layoutResultCallback() ?: return Rect.Zero in getBoundingBox() constant
168 val textLayoutResult = layoutResultCallback() ?: return -1f in getLineLeft() constant
175 val textLayoutResult = layoutResultCallback() ?: return -1f in getLineRight() constant
182 val textLayoutResult = layoutResultCallback() ?: return -1f in getCenterYForOffset() constant
191 val textLayoutResult = layoutResultCallback() ?: return TextRange.Zero in getRangeOfLineContaining() constant
[all …]
DSelectable.kt81 fun textLayoutResult(): TextLayoutResult? method
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/internal/
DLegacyCursorAnchorInfoBuilderTest.kt197 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerCursor() constant
213 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in testInsertionMarkerSelectionIsSameWithCursor() constant
240 val textLayoutResult = in testInsertionMarkerCursorClamped() constant
261 val textLayoutResult = in testInsertionMarkerRtl() constant
286 val textLayoutResult = getTextLayoutResult("ab---cde", fontSize = fontSize) in testInsertionMarkerWithVisualTransformation() constant
304 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerNotVisible() constant
333 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerPartiallyVisible() constant
362 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerNotIncludedWhenIncludeInsertionMarkerFalse() constant
384 val textLayoutResult = in testCharacterBoundsLtr() constant
414 val textLayoutResult = in testCharacterBoundsRtl() constant
[all …]
DCursorAnchorInfoBuilderTest.kt208 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize) in testInsertionMarkerCursor() constant
227 val textLayoutResult = getTextLayoutResult(text) in testInsertionMarkerSelectionIsSameWithCursor() constant
257 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize, width = width) in testInsertionMarkerCursorClamped() constant
280 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize, width = width) in testInsertionMarkerRtl() constant
299 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize) in testInsertionMarkerNotVisible() constant
332 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize) in testInsertionMarkerPartiallyVisible() constant
367 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize) in testInsertionMarkerNotIncludedWhenIncludeInsertionMarkerFalse() constant
396 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize, width = width) in testCharacterBoundsLtr() constant
425 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize, width = width) in testCharacterBoundsRtl() constant
461 val textLayoutResult = getTextLayoutResult(text, fontSize = fontSize, width = width) in testCharacterBoundsVisibility() constant
[all …]
DLegacyTextInputMethodRequestCursorAnchorInfoTest.kt127 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in <lambda>() constant
178 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in <lambda>() constant
222 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in <lambda>() constant
298 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in <lambda>() constant
356 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in <lambda>() constant
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/
DCursorAnchorInfoBuilderTest.kt201 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerCursor() constant
217 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in testInsertionMarkerSelectionIsSameWithCursor() constant
244 val textLayoutResult = in testInsertionMarkerCursorClamped() constant
265 val textLayoutResult = in testInsertionMarkerRtl() constant
290 val textLayoutResult = getTextLayoutResult("ab---cde", fontSize = fontSize) in testInsertionMarkerWithVisualTransformation() constant
308 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerNotVisible() constant
337 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerPartiallyVisible() constant
366 val textLayoutResult = getTextLayoutResult(textFieldValue.text, fontSize = fontSize) in testInsertionMarkerNotIncludedWhenIncludeInsertionMarkerFalse() constant
388 val textLayoutResult = in testCharacterBoundsLtr() constant
418 val textLayoutResult = in testCharacterBoundsRtl() constant
[all …]
DTextInputServiceAndroidCursorAnchorInfoTest.kt129 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in requestCursorUpdates_immediate() constant
184 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in requestCursorUpdates_immediate_beforeUpdateTextLayoutResult() constant
232 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in requestCursorUpdates_monitor() constant
313 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in requestCursorUpdates_immediateAndMonitor() constant
375 val textLayoutResult = getTextLayoutResult(textFieldValue.text) in requestCursorUpdates_cancel() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/
DCoreTextFieldHandwritingGestureTest.kt95 gestureFactory = { textLayoutResult -> in <lambda>() method
118 gestureFactory = { textLayoutResult -> in <lambda>() method
127 imageAssertion = { imageBitmap, textLayoutResult -> in <lambda>() method
141 gestureFactory = { textLayoutResult -> in <lambda>() method
164 gestureFactory = { textLayoutResult -> in <lambda>() method
173 imageAssertion = { imageBitmap, textLayoutResult -> in <lambda>() method
240 imageAssertion = { imageBitmap, textLayoutResult -> in <lambda>() method
257 gestureFactory = { textLayoutResult -> in <lambda>() method
283 gestureFactory = { textLayoutResult -> in <lambda>() method
306 gestureFactory = { textLayoutResult -> in <lambda>() method
[all …]
DBasicTextLayoutTest.kt42 var textLayoutResult: TextLayoutResult? = null in simple_layoutText_doesNotThrow_when2shl14char() variable
58 var textLayoutResult: TextLayoutResult? = null in annotatedString_layoutText_doesNotThrow_when2shl14char() variable
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/
DBasicTextFieldHandwritingGestureTest.kt87 gestureFactory = { textLayoutResult -> in <lambda>() method
107 gestureFactory = { textLayoutResult -> in <lambda>() method
133 gestureFactory = { textLayoutResult -> in <lambda>() method
153 gestureFactory = { textLayoutResult -> in <lambda>() method
242 gestureFactory = { textLayoutResult -> in <lambda>() method
267 gestureFactory = { textLayoutResult -> in <lambda>() method
289 gestureFactory = { textLayoutResult -> in <lambda>() method
314 gestureFactory = { textLayoutResult -> in <lambda>() method
339 gestureFactory = { textLayoutResult -> in <lambda>() method
362 gestureFactory = { textLayoutResult -> in <lambda>() method
[all …]
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/selection/gestures/
DTextField2SelectionGesturesLtrTest.kt39 val textLayoutResult = rule.onNodeWithTag(pointerAreaTag).fetchTextLayoutResult() in characterPosition() constant
DTextFieldSelectionGesturesLtrTest.kt39 val textLayoutResult = rule.onNodeWithTag(pointerAreaTag).fetchTextLayoutResult() in characterPosition() constant
DTextField2SelectionGesturesRtlTest.kt43 val textLayoutResult = rule.onNodeWithTag(pointerAreaTag).fetchTextLayoutResult() in characterPosition() constant
DTextFieldSelectionGesturesRtlTest.kt43 val textLayoutResult = rule.onNodeWithTag(pointerAreaTag).fetchTextLayoutResult() in characterPosition() constant
DSingleTextSelectionGesturesTest.kt87 val textLayoutResult = rule.onNodeWithTag(testTag).fetchTextLayoutResult() in characterPosition() constant
DSingleTextSelectionGesturesBidiTest.kt97 val textLayoutResult = rule.onNodeWithTag(testTag).fetchTextLayoutResult() in characterPosition() constant
DSingleTextSelectionGesturesRtlTest.kt99 val textLayoutResult = rule.onNodeWithTag(testTag).fetchTextLayoutResult() in characterPosition() constant
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/
DAccessibilityIteratorsTest.kt324 val textLayoutResult = multiLineText(text, 20.sp, 40.sp) in lineIterator_following() constant
349 val textLayoutResult = multiLineText(text, 20.sp, 40.sp) in lineIterator_preceding() constant
376 val textLayoutResult = textFieldInScroller() in pageIterator_following() constant
399 val textLayoutResult = textFieldInScroller() in pageIterator_preceding() constant
425 var textLayoutResult: TextLayoutResult? = null in multiLineText() variable
451 var textLayoutResult: TextLayoutResult? = null in textFieldInScroller() variable
/compose/ui/ui-text/samples/src/main/java/androidx/compose/ui/text/samples/
DDrawTextSamples.kt109 var textLayoutResult by remember { mutableStateOf<TextLayoutResult?>(null) } in DrawTextMeasureInLayoutSample() variable
158 val textLayoutResult = in DrawTextDrawWithCacheSample() constant
/compose/ui/ui-text/benchmark/src/androidTest/java/androidx/compose/ui/text/benchmark/
DTextMeasurerBenchmark.kt149 val textLayoutResult = in <lambda>() constant
181 val textLayoutResult = in <lambda>() constant
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/
DTextPainter.kt155 val textLayoutResult = in DrawScope() constant
219 val textLayoutResult = in DrawScope() constant
/compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/
DDrawTextDemo.kt180 val textLayoutResult = in DrawTextCenter() constant
248 var textLayoutResult by remember { mutableStateOf<TextLayoutResult?>(null) } in DrawTextMeasure() variable
399 var textLayoutResult by remember { mutableStateOf<TextLayoutResult?>(null) } in DrawTextMeasureAndAnimateColor() variable

1234