Home
last modified time | relevance | path

Searched refs:LocalTextStyle (Results 1 – 25 of 120) sorted by relevance

12345

/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DText.kt109 style: TextStyle = LocalTextStyle.current in Text()
157 style: TextStyle = LocalTextStyle.current
254 style: TextStyle = LocalTextStyle.current
304 style: TextStyle = LocalTextStyle.current
335 val LocalTextStyle = compositionLocalOf(structuralEqualityPolicy()) { DefaultTextStyle } in <lambda>() constant
347 val mergedStyle = LocalTextStyle.current.merge(value) in ProvideTextStyle()
348 CompositionLocalProvider(LocalTextStyle provides mergedStyle, content = content) in ProvideTextStyle()
DSnackbar.kt121 CompositionLocalProvider(LocalTextStyle provides textStyle) { in <lambda>()
282 LocalTextStyle provides actionTextStyle, in NewLineButtonSnackbar()
315 LocalTextStyle provides actionTextStyle, in OneRowSnackbar()
DTooltip.kt326 LocalTextStyle provides textStyle, in TooltipScope()
405 LocalTextStyle provides subheadTextStyle, in TooltipScope()
413 LocalTextStyle provides supportingTextStyle, in TooltipScope()
425 LocalTextStyle provides actionLabelTextStyle, in TooltipScope()
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DText.kt110 style: TextStyle = LocalTextStyle.current in Text()
184 style: TextStyle = LocalTextStyle.current
283 style: TextStyle = LocalTextStyle.current
359 style: TextStyle = LocalTextStyle.current
390 val LocalTextStyle = compositionLocalOf(structuralEqualityPolicy()) { DefaultTextStyle } in <lambda>() constant
402 val mergedStyle = LocalTextStyle.current.merge(value) in ProvideTextStyle()
403 CompositionLocalProvider(LocalTextStyle provides mergedStyle, content = content) in ProvideTextStyle()
DTextField.kt183 textStyle: TextStyle = LocalTextStyle.current, in <lambda>()
330 textStyle: TextStyle = LocalTextStyle.current, in TextField()
407 textStyle: TextStyle = LocalTextStyle.current, in TextField()
520 textStyle: TextStyle = LocalTextStyle.current, in TextField()
597 textStyle: TextStyle = LocalTextStyle.current, in TextField()
DSecureTextField.kt108 textStyle: TextStyle = LocalTextStyle.current, in <lambda>()
230 textStyle: TextStyle = LocalTextStyle.current, in OutlinedSecureTextField()
DOutlinedTextField.kt164 textStyle: TextStyle = LocalTextStyle.current, in <lambda>()
325 textStyle: TextStyle = LocalTextStyle.current, in OutlinedTextField()
422 textStyle: TextStyle = LocalTextStyle.current, in OutlinedTextField()
532 textStyle: TextStyle = LocalTextStyle.current, in OutlinedTextField()
629 textStyle: TextStyle = LocalTextStyle.current, in OutlinedTextField()
/compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text2/
DTextFieldLineLimitsDemos.kt29 import androidx.compose.material.LocalTextStyle
63 textStyle = LocalTextStyle.current, in DefaultLineLimits()
75 textStyle = LocalTextStyle.current, in SingleLineLimits()
113 textStyle = LocalTextStyle.current, in MultiLineLimits()
DBasicTextFieldDemos.kt35 import androidx.compose.material.LocalTextStyle
122 BasicTextField(state, demoTextFieldModifiers, textStyle = LocalTextStyle.current) in PlainBasicTextField()
161 BasicTextField(state, demoTextFieldModifiers, textStyle = LocalTextStyle.current) in StateTogglingBasicTextField()
184 textStyle = LocalTextStyle.current, in BasicTextFieldEditControls()
DDecorationBoxDemos.kt40 import androidx.compose.material.LocalTextStyle
76 textStyle = LocalTextStyle.current, in SimpleDecorationWithLabel()
94 textStyle = LocalTextStyle.current.copy(color = LocalContentColor.current), in OutlinedBasicTextField()
DKeyboardOptionsDemos.kt33 import androidx.compose.material.LocalTextStyle
99 BasicText("Focus me", style = LocalTextStyle.current) in ShowKeyboardOnFocus()
DBasicTextFieldInScrollableDemo.kt38 import androidx.compose.material.LocalTextStyle in <lambda>()
122 textStyle = LocalTextStyle.current, in DemoTextField()
DReceiveContentDemos.kt56 import androidx.compose.material.LocalTextStyle in <lambda>()
178 textStyle = LocalTextStyle.current in <lambda>()
248 textStyle = LocalTextStyle.current in NestedReceiveContentDemo()
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/internal/
DProvideContentColorTextStyle.kt20 import androidx.compose.material3.LocalTextStyle
40 val mergedStyle = LocalTextStyle.current.merge(textStyle)
43 LocalTextStyle provides mergedStyle,
/compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/
DInteractionSourceSample.kt41 import androidx.compose.material.LocalTextStyle in <lambda>()
100 style = LocalTextStyle.current.copy(textAlign = TextAlign.Center), in <lambda>()
179 style = LocalTextStyle.current.copy(textAlign = TextAlign.Center), in InteractionSourceFlowSample()
192 style = LocalTextStyle.current.copy(textAlign = TextAlign.Center), in InteractionSourceFlowSample()
199 style = LocalTextStyle.current.copy(textAlign = TextAlign.Center), in InteractionSourceFlowSample()
/compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/layoutanimation/
DAnimateContentSizeDemo.kt35 import androidx.compose.material.LocalTextStyle in <lambda>()
84 style = LocalTextStyle.current.copy(color = Color.White) in MyText()
101 style = LocalTextStyle.current.copy(color = Color.White), in MyButton()
123 style = LocalTextStyle.current.copy(color = Color.Black) in Image()
/compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/
DTextFieldSamples.kt48 import androidx.compose.material3.LocalTextStyle in <lambda>()
346 textStyle = LocalTextStyle.current, in CustomTextFieldUsingDecorator()
385 textStyle = LocalTextStyle.current, in CustomOutlinedTextFieldUsingDecorator()
426 textStyle = LocalTextStyle.current, in CustomTextFieldBasedOnDecorationBox()
468 textStyle = LocalTextStyle.current, in CustomOutlinedTextFieldBasedOnDecorationBox()
/compose/ui/ui-text/samples/src/main/java/androidx/compose/ui/text/samples/
DTextMotionSamples.kt25 import androidx.compose.material.LocalTextStyle
59 style = LocalTextStyle.current.copy(textMotion = TextMotion.Animated) in TextMotionSample()
DDrawTextSamples.kt27 import androidx.compose.material.LocalTextStyle in <lambda>()
143 val materialTextStyle = LocalTextStyle.current in DrawTextDrawWithCacheSample()
/compose/animation/animation/samples/src/main/java/androidx/compose/animation/samples/
DAnimationModifierSample.kt27 import androidx.compose.material.LocalTextStyle
58 style = LocalTextStyle.current.copy(color = Color.White) in AnimateContent()
/compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/
DLetterSpacingDemo.kt24 import androidx.compose.material.LocalTextStyle
70 LocalTextStyle.current.copy( in AnnotatedText()
DStrokeDemo.kt22 import androidx.compose.material.LocalTextStyle
142 LocalTextStyle.current.merge( in TextStrokeDemo()
DComposeMinTouchTargetTextSelectionDemo.kt27 import androidx.compose.material.LocalTextStyle in <lambda>()
146 style = LocalTextStyle.current.merge(color = color), in MinTouchTargetInTextSelection()
DTextAnimationDemo.kt36 import androidx.compose.material.LocalTextStyle
149 val textStyle = LocalTextStyle.current in rememberTextMotionState()
/compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/textfield/
DOutlinedTextFieldScreenshotTest.kt31 import androidx.compose.material.LocalTextStyle in <lambda>()
466 textStyle = LocalTextStyle.current.copy(textAlign = TextAlign.Center), in <lambda>()
481 textStyle = LocalTextStyle.current.copy(textAlign = TextAlign.End), in <lambda>()

12345