Home
last modified time | relevance | path

Searched refs:textSelectionColors (Results 1 – 22 of 22) sorted by relevance

/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/selection/
DTextSelectionColorsScreenshotTest.kt67 rule.setContent { TextTestContent(textSelectionColors = LocalTextSelectionColors.current) } in text_defaultSelectionColors()
83 textSelectionColors = in text_customSelectionColors()
104 TextFieldTestContent(textSelectionColors = LocalTextSelectionColors.current) in textField_defaultSelectionColors()
125 textSelectionColors = in textField_customSelectionColors()
149 private fun TextTestContent(textSelectionColors: TextSelectionColors) { in TextTestContent()
150 CompositionLocalProvider(LocalTextSelectionColors provides textSelectionColors) { in TextTestContent()
171 private fun TextFieldTestContent(textSelectionColors: TextSelectionColors) { in TextFieldTestContent()
172 CompositionLocalProvider(LocalTextSelectionColors provides textSelectionColors) { in TextFieldTestContent()
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DTextFieldDefaults.kt588 textSelectionColors = selectionColors, in <lambda>()
627 if (cachedColors.textSelectionColors == localTextSelectionColors) { in <lambda>()
630 cachedColors.copy(textSelectionColors = localTextSelectionColors).also { in <lambda>()
648 textSelectionColors = localTextSelectionColors, in <lambda>()
1328 textSelectionColors = selectionColors, in contentPadding()
1368 if (cachedColors.textSelectionColors == localTextSelectionColors) { in contentPadding()
1371 cachedColors.copy(textSelectionColors = localTextSelectionColors).also { in contentPadding()
1389 textSelectionColors = LocalTextSelectionColors.current, in contentPadding()
1559 val textSelectionColors: TextSelectionColors, in ContainerBox() constant in androidx.compose.material3.TextFieldColors
1609 textSelectionColors: TextSelectionColors? = this.textSelectionColors, in ContainerBox()
[all …]
DSecureTextField.kt167 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in <lambda>()
327 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in OutlinedSecureTextField()
DOutlinedTextField.kt240 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in <lambda>()
405 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in OutlinedTextField()
572 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in OutlinedTextField()
DTextField.kt299 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in <lambda>()
454 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in TextField()
604 CompositionLocalProvider(LocalTextSelectionColors provides colors.textSelectionColors) { in TextField()
DSearchBar.kt2691 textSelectionColors = TextSelectionColors(Color.Unspecified, Color.Unspecified),
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/modifiers/
DSelectionControllerTest.kt80 private val textSelectionColors = TextSelectionColors(highlightColor, highlightColor) in <lambda>() constant
103 LocalTextSelectionColors provides textSelectionColors, in <lambda>()
/compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/
DOutlinedTextFieldTest.kt1801 val textSelectionColors = LocalTextSelectionColors.current in <lambda>() constant
1802 assertThat(textSelectionColors.handleColor) in <lambda>()
1804 assertThat(textSelectionColors.backgroundColor) in <lambda>()
1825 val textSelectionColors = LocalTextSelectionColors.current in <lambda>() constant
1826 assertThat(textSelectionColors.handleColor).isEqualTo(Color.Red) in <lambda>()
1827 assertThat(textSelectionColors.backgroundColor).isEqualTo(Color.Green) in <lambda>()
1842 val textSelectionColors = LocalTextSelectionColors.current in <lambda>() constant
1843 assertThat(textSelectionColors.handleColor).isEqualTo(Color.Magenta) in <lambda>()
1844 assertThat(textSelectionColors.backgroundColor).isEqualTo(Color.Yellow) in <lambda>()
DTextFieldTest.kt1950 val textSelectionColors = LocalTextSelectionColors.current in <lambda>() constant
1951 assertThat(textSelectionColors.handleColor) in <lambda>()
1953 assertThat(textSelectionColors.backgroundColor) in <lambda>()
1974 val textSelectionColors = LocalTextSelectionColors.current in <lambda>() constant
1975 assertThat(textSelectionColors.handleColor).isEqualTo(Color.Red) in <lambda>()
1976 assertThat(textSelectionColors.backgroundColor).isEqualTo(Color.Green) in <lambda>()
1991 val textSelectionColors = LocalTextSelectionColors.current in <lambda>() constant
1992 assertThat(textSelectionColors.handleColor).isEqualTo(Color.Magenta) in <lambda>()
1993 assertThat(textSelectionColors.backgroundColor).isEqualTo(Color.Yellow) in <lambda>()
/compose/material3/material3/api/
Drestricted_1.3.0-beta02.txt1769 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1770 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1846 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
Drestricted_1.2.0-beta01.txt1716 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1717 …nal androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, optional l…
1793 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
D1.2.0-beta02.txt1713 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1714 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1790 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
D1.3.0-beta01.txt1769 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1770 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1846 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
Drestricted_1.3.0-beta01.txt1769 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1770 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1846 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
D1.2.0-beta01.txt1716 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1717 …nal androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, optional l…
1793 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
Drestricted_1.3.0-beta03.txt1772 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1773 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1849 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
Drestricted_1.2.0-beta02.txt1713 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1714 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1790 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
D1.3.0-beta03.txt1772 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1773 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1849 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
D1.3.0-beta02.txt1769 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
1770 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
1846 …ty public final androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
Drestricted_current.txt2743 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
2744 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
2820 …property public androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
Dcurrent.txt2743 …or, androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors, long focus…
2744 …al androidx.compose.foundation.text.selection.TextSelectionColors? textSelectionColors, optional l…
2820 …property public androidx.compose.foundation.text.selection.TextSelectionColors textSelectionColors;
/compose/material3/material3/bcv/native/
Dcurrent.txt1597 …final val textSelectionColors // androidx.compose.material3/TextFieldColors.textSelectionColors|{}
1598textSelectionColors>(): androidx.compose.foundation.text.selection/TextSelectionColors // androidx…