Home
last modified time | relevance | path

Searched defs:annotatedString (Results 1 – 25 of 34) sorted by relevance

12

/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/
DAnnotatedStringTest.kt317 val annotatedString = AnnotatedString(text = text, paragraphStyles = paragraphStyles) in normalizedParagraphStyles() constant
334 val annotatedString = AnnotatedString(text = text) in normalizedParagraphStyles_only_string() constant
345 val annotatedString = AnnotatedString(text = text) in normalizedParagraphStyles_empty_string() constant
357 val annotatedString = in normalizedParagraphStyles_zeroLength_paragraphStyle() constant
375 val annotatedString = AnnotatedString(text = text) in normalizedParagraphStyles_with_newLine() constant
386 val annotatedString = AnnotatedString(text = text) in normalizedParagraphStyles_with_only_lineFeed() constant
397 val annotatedString = AnnotatedString(text) in length_returns_text_length() constant
467 val annotatedString = AnnotatedString.Builder("abcd").toAnnotatedString() in subSequence_returns_the_correct_string() constant
474 val annotatedString = in subSequence_returns_empty_text_for_start_equals_end() constant
489 val annotatedString = in subSequence_returns_original_text_for_text_range_is_full_range() constant
[all …]
DAnnotatedStringBuilderTest.kt38 val annotatedString = AnnotatedString.Builder().toAnnotatedString() in <lambda>() constant
48 val annotatedString = AnnotatedString.Builder(text).toAnnotatedString() in <lambda>() constant
58 val annotatedString = AnnotatedString.Builder(text).toAnnotatedString() in <lambda>() constant
69 val annotatedString = in <lambda>() constant
85 val annotatedString = in <lambda>() constant
101 val annotatedString = in <lambda>() constant
116 val annotatedString = in <lambda>() constant
131 val annotatedString = in <lambda>() constant
179 val annotatedString = in <lambda>() constant
302 val annotatedString = in <lambda>() constant
[all …]
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/
DTextLayoutResultIntegrationTest.kt54 val annotatedString = AnnotatedString(text, spanStyle) in width_getter() constant
74 val annotatedString = AnnotatedString(text, spanStyle) in width_getter_with_small_width() constant
94 val annotatedString = AnnotatedString(text, spanStyle) in height_getter() constant
127 val annotatedString = in getPositionForOffset_First_Character() constant
151 val annotatedString = in getPositionForOffset_other_Character() constant
176 val annotatedString = AnnotatedString(text, spanStyle) in hasOverflowShaderFalse() constant
197 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isTrue_when_maxLines_exceeded() constant
221 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isFalse_when_maxLines_notExceeded() constant
245 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isTrue_when_maxHeight_exceeded() constant
269 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isFalse_when_maxHeight_notExceeded() constant
DBasicTextLinkInteropTest.kt67 val annotatedString = buildAnnotatedString { in interop_multiMeasure_doesNotCauseInfiniteRecomposition_inLinks() constant
DTextDelegateIntegrationTest.kt53 val annotatedString = AnnotatedString(text, spanStyle) in minIntrinsicWidth_getter() constant
75 val annotatedString = AnnotatedString(text, spanStyle) in maxIntrinsicWidth_getter() constant
DBasicTextIntrinsicWidthWrappingRegressionTest.kt72 private val annotatedString = AnnotatedString(TEXT, spanStyles) constant
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/
DAndroidAccessibilitySpannableStringTest.kt82 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_locale() constant
104 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_color() constant
125 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_fontSizeInSp() constant
146 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_fontSizeInEm() constant
166 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_fontWeightBold() constant
184 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_italic() constant
203 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_fontFamily() constant
222 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_underline() constant
242 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_lineThrough() constant
263 val annotatedString = buildAnnotatedString { in toAccessibilitySpannableString_with_scaleX() constant
[all …]
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/modifiers/
DTextLayoutResultIntegrationTest.kt57 val annotatedString = AnnotatedString(text, spanStyle) in width_getter() constant
78 val annotatedString = AnnotatedString(text, spanStyle) in width_getter_with_small_width() constant
99 val annotatedString = AnnotatedString(text, spanStyle) in height_getter() constant
138 val annotatedString = in getPositionForOffset_First_Character() constant
163 val annotatedString = in getPositionForOffset_other_Character() constant
189 val annotatedString = AnnotatedString(text, spanStyle) in hasOverflowShaderFalse() constant
211 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isTrue_when_maxLines_exceeded() constant
236 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isFalse_when_maxLines_notExceeded() constant
261 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isTrue_when_maxHeight_exceeded() constant
287 val annotatedString = AnnotatedString(text, spanStyle) in didOverflowHeight_isFalse_when_maxHeight_notExceeded() constant
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/selection/
DSelectionManagerTest.kt243 val annotatedString = AnnotatedString(text) in <lambda>() constant
272 val annotatedString = AnnotatedString(text) in <lambda>() constant
300 val annotatedString = AnnotatedString(text = text) in <lambda>() constant
387 val annotatedString = AnnotatedString(text) in <lambda>() constant
474 val annotatedString = AnnotatedString(text) in <lambda>() constant
570 val annotatedString = AnnotatedString(text = text) in <lambda>() constant
601 val annotatedString = AnnotatedString(text = text) in <lambda>() constant
632 val annotatedString = AnnotatedString(text = text) in <lambda>() constant
728 val annotatedString = AnnotatedString(text = text) in <lambda>() constant
834 val annotatedString = AnnotatedString(text = text) in <lambda>() constant
[all …]
DSelectionFakes.kt93 val annotatedString = AnnotatedString(text) in getTextLayoutResultMock() constant
/compose/ui/ui-text/benchmark/src/androidTest/java/androidx/compose/ui/text/benchmark/
DParagraphBenchmark.kt107 val annotatedString = text(textGenerator) in <lambda>() constant
154 val annotatedString = runWithMeasurementDisabled { in <lambda>() constant
176 val annotatedString = text(textGenerator) in <lambda>() constant
197 val annotatedString = text(textGenerator) in <lambda>() constant
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/
DAnnotatedStringFromHtmlTest.kt417 val annotatedString = AnnotatedString.fromHtml(stringWithColoredLink) in link_appliesColorFromHtmlTag() constant
431 val annotatedString = in link_appliesColorFromHtmlTag_rightMostAlwaysWinsInNestedStyling() constant
452 val annotatedString = in link_appliesColorFromMethod_whenNoNestedStyling() constant
469 val annotatedString = in link_mergesDecorationFromMethod() constant
488 val annotatedString = in linkAnnotation_constructedFromMethodArguments() constant
/compose/ui/ui-text/samples/src/main/java/androidx/compose/ui/text/samples/
DBaselineShiftSamples.kt49 val annotatedString = buildAnnotatedString { in BaselineShiftAnnotatedStringSample() constant
/compose/material/material/samples/src/main/java/androidx/compose/material/samples/
DTextSamples.kt38 val annotatedString = buildAnnotatedString { in TextWithLinks() constant
/compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/
DTextSamples.kt40 val annotatedString = buildAnnotatedString { in TextWithLinks() constant
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/
DMultiParagraphIntrinsics.kt45 val annotatedString: AnnotatedString, in <lambda>() constant in androidx.compose.ui.text.MultiParagraphIntrinsics
99 annotatedString, in <lambda>() method
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/platform/
DAndroidClipboardTest.kt57 val annotatedString = buildAnnotatedString { in annotatedString_singleSpanStyle_convertToCharSequenceAndRecover() constant
67 val annotatedString = buildAnnotatedString { in annotatedString_multipleSpanStyle_convertToCharSequenceAndRecover() constant
78 val annotatedString = buildAnnotatedString { in annotatedString_nestedSpanStyle_convertToCharSequenceAndRecover() constant
/compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/
DComposeTextPointerIcon.kt94 val annotatedString = buildAnnotatedString { in IconDemoRectangle() constant
DComposeMultiParagraph.kt79 val annotatedString = buildAnnotatedString { in TextDemoParagraphTextAlign() constant
DComposeInputFieldMinMaxLines.kt120 VisualTransformation { annotatedString -> in TextFieldWithMinMaxLines() method
/compose/integration-tests/demos/src/main/java/androidx/compose/integration/demos/
DDemoFilter.kt104 val annotatedString = buildAnnotatedString { in FilteredDemoListItem() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/
DParagraphLayoutCache.kt332 val annotatedString = AnnotatedString(text) in slowCreateTextLayoutResultOrNull() constant
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/input/
DTextFieldValue.kt62 val annotatedString: AnnotatedString, constant in androidx.compose.ui.text.input.TextFieldValue
DEditCommand.kt44 class CommitTextCommand(val annotatedString: AnnotatedString, val newCursorPosition: Int) : in applyTo() constant in androidx.compose.ui.text.input.CommitTextCommand
164 class SetComposingTextCommand(val annotatedString: AnnotatedString, val newCursorPosition: Int) : constant in androidx.compose.ui.text.input.SetComposingTextCommand
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/input/
DTextFieldValueTest.kt162 val annotatedString = buildAnnotatedString { in test_Saver() constant

12