Home
last modified time | relevance | path

Searched refs:Modifier (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DTexts.kt23 import androidx.compose.ui.Modifier
37 fun HeadlineText(text: String, modifier: Modifier = Modifier) { in HeadlineText()
51 fun BodyMediumText(text: String, modifier: Modifier = Modifier) { in BodyMediumText()
66 modifier: Modifier = Modifier, in BodySmallText()
85 fun LargeTitleText(text: String, modifier: Modifier = Modifier) { in LargeTitleText()
100 modifier: Modifier = Modifier, in SmallTitleText()
119 fun SectionHeaderText(text: String, modifier: Modifier = Modifier, color: Color) { in SectionHeaderText()
132 fun SnackbarContentText(text: String, modifier: Modifier = Modifier) { in SnackbarContentText()
145 fun SnackbarActionText(text: String, modifier: Modifier = Modifier) { in SnackbarActionText()
158 fun LargeLabelTextOnSurfaceVariant(text: String, modifier: Modifier = Modifier) { in LargeLabelTextOnSurfaceVariant()
[all …]
DEntry.kt41 import androidx.compose.ui.Modifier
61 modifier: Modifier = Modifier, in Entry()
82 val iconPadding = Modifier.wrapContentSize().padding(
87 val iconSize = Modifier.size(24.dp)
95 modifier = Modifier.fillMaxWidth().heightIn(min = 56.dp).padding( in <lambda>()
104 Column(modifier = Modifier.wrapContentHeight().fillMaxWidth().weight(1f)) { in <lambda>()
119 modifier = Modifier.fillMaxWidth().padding(top = 4.dp), in <lambda>()
138 modifier = Modifier.wrapContentSize().weight(1f, fill = false), in <lambda>()
141 modifier = Modifier.padding(start = 12.dp).size(24.dp), in <lambda>()
169 Box(modifier = Modifier.wrapContentSize().padding(start = 16.dp)) { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerContent.kt66 import androidx.compose.ui.Modifier in <lambda>()
118 modifier: Modifier = Modifier, in <lambda>()
132 modifier: Modifier in BouncerContent()
176 modifier: Modifier = Modifier, in StandardLayout()
193 modifier = Modifier.fillMaxWidth(), in StandardLayout()
197 modifier = Modifier, in StandardLayout()
202 modifier = Modifier.padding(top = if (isHeightExpanded) 96.dp else 64.dp), in StandardLayout()
209 modifier = Modifier.fillMaxWidth(), in StandardLayout()
212 modifier = Modifier.weight(1f), in StandardLayout()
218 modifier = Modifier.align(Alignment.BottomCenter), in StandardLayout()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/
DShortcutHelper.kt68 import androidx.compose.ui.Modifier in <lambda>()
91 modifier: Modifier = Modifier, in <lambda>()
109 modifier: Modifier = Modifier, in shouldUseSinglePane()
121 Spacer(modifier = Modifier.height(6.dp)) in shouldUseSinglePane()
123 Spacer(modifier = Modifier.height(16.dp)) in shouldUseSinglePane()
125 Spacer(modifier = Modifier.weight(1f)) in shouldUseSinglePane()
178 modifier = Modifier.fillMaxWidth().heightIn(min = 88.dp).padding(horizontal = 16.dp) in CategoryItemSinglePane()
181 Spacer(modifier = Modifier.width(16.dp)) in CategoryItemSinglePane()
183 Spacer(modifier = Modifier.weight(1f)) in CategoryItemSinglePane()
205 Modifier.background( in RotatingExpandCollapseIcon()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DWeatherClockSection.kt30 import androidx.compose.ui.Modifier
59 Modifier.padding( in Time()
75 modifier: Modifier = Modifier, in SceneScope()
88 modifier: Modifier = Modifier, in Weather()
101 modifier: Modifier = Modifier, in SceneScope()
114 modifier: Modifier = Modifier, in Temperature()
129 modifier: Modifier = Modifier, in WeatherElement()
160 Modifier.height(IntrinsicSize.Max) in SceneScope()
166 Date(clock = clock, modifier = Modifier.wrapContentSize()) in SceneScope()
169 Modifier.fillMaxSize() in SceneScope()
[all …]
DSmartSpaceSection.kt31 import androidx.compose.ui.Modifier in <lambda>()
64 modifier: Modifier = Modifier, in <lambda>()
93 Modifier.fillMaxWidth() in <lambda>()
102 Modifier.burnInAware( in <lambda>()
107 Spacer(modifier = Modifier.width(4.dp)) in <lambda>()
110 Modifier.burnInAware( in <lambda>()
120 Modifier.fillMaxWidth() in <lambda>()
136 modifier: Modifier = Modifier, in <lambda>()
161 modifier: Modifier = Modifier, in <lambda>()
188 modifier: Modifier = Modifier, in <lambda>()
DBottomAreaSection.kt27 import androidx.compose.ui.Modifier in <lambda>()
69 modifier: Modifier = Modifier, in <lambda>()
85 Modifier.shortcutPadding() in <lambda>()
87 Modifier in <lambda>()
96 modifier: Modifier = Modifier, in <lambda>()
127 modifier: Modifier = Modifier, in <lambda>()
184 modifier: Modifier = Modifier, in <lambda>()
206 private fun Modifier.shortcutPadding(): Modifier { in <lambda>() method
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayout.kt27 import androidx.compose.ui.Modifier
56 modifier: Modifier = Modifier, in SceneTransitionLayout()
98 modifier: Modifier = Modifier, in SceneTransitionLayout()
195 fun Modifier.element(key: ElementKey): Modifier in Modifier() method
216 modifier: Modifier, in Modifier()
242 modifier: Modifier, in Modifier()
257 fun Modifier.horizontalNestedScrollToScene( in Modifier() method
261 ): Modifier
270 fun Modifier.verticalNestedScrollToScene( in verticalNestedScrollToScene() method
274 ): Modifier
[all …]
DScene.kt27 import androidx.compose.ui.Modifier in <lambda>()
71 fun Content(modifier: Modifier = Modifier) { in <lambda>()
100 override fun Modifier.element(key: ElementKey): Modifier { in <lambda>()
107 modifier: Modifier, in <lambda>()
116 modifier: Modifier, in <lambda>()
140 override fun Modifier.horizontalNestedScrollToScene( in <lambda>()
144 ): Modifier = in <lambda>()
153 override fun Modifier.verticalNestedScrollToScene( in <lambda>()
157 ): Modifier = in <lambda>()
166 override fun Modifier.noResizeDuringTransitions(): Modifier { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
DFooterActions.kt52 import androidx.compose.ui.Modifier in <lambda>()
97 modifier: Modifier = Modifier, in <lambda>()
119 modifier = Modifier.element(QuickSettings.Elements.FooterActions), in <lambda>()
130 modifier: Modifier = Modifier, in FooterActions()
174 Modifier.background( in FooterActions()
218 Spacer(Modifier.weight(1f)) in FooterActions()
221 security?.let { SecurityButton(it, Modifier.weight(1f)) } in FooterActions()
223 userSwitcher?.let { IconButton(it, Modifier.sysuiResTag("multi_user_switch")) } in FooterActions()
224 IconButton(viewModel.settings, Modifier.sysuiResTag("settings_button_container")) in FooterActions()
225 viewModel.power?.let { IconButton(it, Modifier.sysuiResTag("pm_lite")) } in FooterActions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/view/
DTutorialSelectionScreen.kt34 import androidx.compose.ui.Modifier
50 Modifier.background( in TutorialSelectionScreen()
59 modifier = Modifier.padding(60.dp) in TutorialSelectionScreen()
63 modifier = Modifier.padding(horizontal = 60.dp) in TutorialSelectionScreen()
73 modifier: Modifier = Modifier in TutorialSelectionButtons()
84 modifier = Modifier.weight(1f) in TutorialSelectionButtons()
90 modifier = Modifier.weight(1f) in TutorialSelectionButtons()
96 modifier = Modifier.weight(1f) in TutorialSelectionButtons()
106 modifier: Modifier = Modifier in TutorialButton()
119 private fun DoneButton(onDoneButtonClicked: () -> Unit, modifier: Modifier = Modifier) { in DoneButton()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DOverlayShade.kt45 import androidx.compose.ui.Modifier
68 modifier: Modifier = Modifier, in SceneScope()
78 lockscreenContentOrNull?.apply { Content(Modifier.fillMaxSize()) } in SceneScope()
84 modifier = Modifier.fillMaxSize().panelPadding(), in SceneScope()
88 modifier = Modifier.element(OverlayShade.Elements.Panel).panelSize(), in SceneScope()
98 modifier: Modifier = Modifier, in Scrim()
112 modifier: Modifier = Modifier, in SceneScope()
118 Modifier.element(OverlayShade.Elements.PanelBackground) in SceneScope()
133 private fun Modifier.panelSize(): Modifier { in panelSize() method
138 WindowWidthSizeClass.Compact -> Modifier.fillMaxWidth() in panelSize()
[all …]
DShadeHeader.kt47 import androidx.compose.ui.Modifier in <lambda>()
128 modifier: Modifier = Modifier, in CollapsedShadeHeader()
163 Row(modifier = Modifier.padding(horizontal = horizontalPadding)) { in CollapsedShadeHeader()
167 modifier = Modifier.align(Alignment.CenterVertically), in CollapsedShadeHeader()
169 Spacer(modifier = Modifier.width(5.dp)) in CollapsedShadeHeader()
173 Modifier.element(ShadeHeader.Elements.CollapsedContentStart) in CollapsedShadeHeader()
182 Modifier.height(CollapsedHeight) in CollapsedShadeHeader()
188 modifier = Modifier.align(Alignment.CenterEnd), in CollapsedShadeHeader()
195 Modifier.element(ShadeHeader.Elements.CollapsedContentEnd) in CollapsedShadeHeader()
201 modifier = Modifier.align(Alignment.CenterVertically), in CollapsedShadeHeader()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/transformation/
DAnchoredSizeTest.kt25 import androidx.compose.ui.Modifier
52 fromSceneContent = { Box(Modifier.size(100.dp, 100.dp).element(TestElements.Foo)) }, in testAnchoredSizeEnter()
54 Box(Modifier.size(50.dp, 50.dp).element(TestElements.Foo)) in testAnchoredSizeEnter()
55 Box(Modifier.size(200.dp, 60.dp).element(TestElements.Bar)) in testAnchoredSizeEnter()
68 Box(Modifier.size(100.dp, 100.dp).element(TestElements.Foo)) in testAnchoredSizeExit()
69 Box(Modifier.size(100.dp, 100.dp).element(TestElements.Bar)) in testAnchoredSizeExit()
71 toSceneContent = { Box(Modifier.size(200.dp, 60.dp).element(TestElements.Foo)) }, in testAnchoredSizeExit()
83 fromSceneContent = { Box(Modifier.size(100.dp, 100.dp).element(TestElements.Foo)) }, in testAnchoredWidthOnly()
85 Box(Modifier.size(50.dp, 50.dp).element(TestElements.Foo)) in testAnchoredWidthOnly()
86 Box(Modifier.size(200.dp, 60.dp).element(TestElements.Bar)) in testAnchoredWidthOnly()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/
DVolumePanelRoot.kt28 import androidx.compose.ui.Modifier in <lambda>()
44 modifier: Modifier = Modifier, in <lambda>()
70 modifier: Modifier = Modifier in Components()
84 modifier = Modifier.weight(weight = 1f, fill = false), in Components()
89 modifier = Modifier.weight(weight = 1f, fill = false).heightIn(max = 212.dp), in Components()
94 modifier = Modifier, in Components()
103 modifier: Modifier = Modifier in VolumePanelComposeScope()
111 Content(Modifier) in VolumePanelComposeScope()
DHorizontalVolumePanelContent.kt29 import androidx.compose.ui.Modifier in <lambda>()
36 modifier: Modifier = Modifier, in <lambda>()
41 modifier = Modifier.weight(1f).verticalScroll(rememberScrollState()), in <lambda>()
46 with(component.component as ComposeVolumePanelUiComponent) { Content(Modifier) } in <lambda>()
52 modifier = Modifier.weight(1f).verticalScroll(rememberScrollState()), in <lambda>()
57 with(component.component as ComposeVolumePanelUiComponent) { Content(Modifier) } in <lambda>()
65 modifier = Modifier.fillMaxWidth(), in <lambda>()
71 Content(Modifier.weight(1f)) in <lambda>()
DVerticalVolumePanelContent.kt30 import androidx.compose.ui.Modifier in <lambda>()
38 modifier: Modifier = Modifier, in <lambda>()
46 with(component.component as ComposeVolumePanelUiComponent) { Content(Modifier) } in <lambda>()
51 with(component.component as ComposeVolumePanelUiComponent) { Content(Modifier) } in <lambda>()
60 modifier = Modifier.fillMaxWidth().wrapContentHeight(), in <lambda>()
68 Spacer(modifier = Modifier.weight(0.5f)) in <lambda>()
74 Content(Modifier.weight(1f)) in <lambda>()
80 Spacer(modifier = Modifier.weight(0.5f)) in <lambda>()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/components/
DTexts.kt23 import androidx.compose.ui.Modifier
32 fun WearTitleText(text: String, modifier: Modifier = Modifier) { in WearTitleText()
43 fun WearDisplayNameText(text: String, modifier: Modifier = Modifier) { in WearDisplayNameText()
59 modifier: Modifier = Modifier, in WearUsernameText()
80 modifier: Modifier = Modifier, in WearButtonText()
99 modifier: Modifier = Modifier, in WearSecondaryLabel()
/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java41 import javax.lang.model.element.Modifier;
88 Modifier.PRIVATE, Modifier.FINAL) in process()
93 .addModifiers(Modifier.PUBLIC) in process()
99 .addModifiers(Modifier.PUBLIC); in process()
101 .addModifiers(Modifier.PUBLIC); in process()
103 .addModifiers(Modifier.PUBLIC); in process()
105 .addModifiers(Modifier.PUBLIC); in process()
107 .addModifiers(Modifier.PUBLIC); in process()
109 .addModifiers(Modifier.PUBLIC); in process()
150 .addModifiers(Modifier.PUBLIC) in process()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSuwScaffold.kt39 import androidx.compose.ui.Modifier in <lambda>()
65 Modifier in <lambda>()
75 Modifier in <lambda>()
85 Column(Modifier.padding(horizontal = SettingsDimension.itemPaddingAround)) { in <lambda>()
86 Row((Modifier.weight(1f))) { in <lambda>()
87 Box(Modifier.weight(1f)) { in <lambda>()
91 Modifier in <lambda>()
111 Modifier.padding( in Header()
120 modifier = Modifier in Header()
127 modifier = Modifier.padding(vertical = SettingsDimension.itemPaddingVertical), in Header()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/dialog/ui/composable/
DAlertDialogContent.kt35 import androidx.compose.ui.Modifier in <lambda>()
55 modifier: Modifier = Modifier, in <lambda>()
69 Modifier.defaultMinSize(minWidth = defaultSize, minHeight = defaultSize), in <lambda>()
76 Spacer(Modifier.height(16.dp)) in <lambda>()
88 Spacer(Modifier.height(16.dp)) in <lambda>()
92 Box(Modifier.defaultMinSize(minHeight = 48.dp)) { in <lambda>()
101 Spacer(Modifier.height(32.dp)) in <lambda>()
119 modifier: Modifier = Modifier, in AlertDialogButtons()
123 positiveButton?.let { Box(Modifier.layoutId("positive")) { it() } } in AlertDialogButtons()
124 negativeButton?.let { Box(Modifier.layoutId("negative")) { it() } } in AlertDialogButtons()
[all …]
/frameworks/native/libs/bufferstreams/examples/app/java/com/android/graphics/bufferstreamsdemoapp/
DMainActivity.kt25 import androidx.compose.ui.Modifier
43 modifier = Modifier.fillMaxSize(), in onCreate()
85 modifier = Modifier.padding(10.dp)) { in BufferDemosApp()
92 DemoScreen1(modifier = Modifier.fillMaxHeight().padding(top = 100.dp)) in BufferDemosApp()
102 var modifier = Modifier.fillMaxSize().padding(16.dp) in DemoList()
106 modifier = Modifier.fillMaxWidth(), in DemoList()
109 Spacer(modifier = Modifier.height(100.dp)) in DemoList()
111 Spacer(modifier = Modifier.height(8.dp)) in DemoList()
113 Row(modifier = Modifier.weight(2f, false)) { in DemoList()
115 modifier = Modifier.fillMaxWidth(), in DemoList()
[all …]
DDemoScreen1.kt12 import androidx.compose.ui.Modifier
16 fun DemoScreen1(modifier: Modifier = Modifier) { in DemoScreen1()
19 Row(modifier = Modifier.weight(1f, false).padding(16.dp)) { in DemoScreen1()
22 modifier = Modifier.fillMaxWidth(), in DemoScreen1()
28 modifier = Modifier.fillMaxWidth(), in DemoScreen1()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/blueprint/
DDefaultBlueprint.kt27 import androidx.compose.ui.Modifier in <lambda>()
68 override fun SceneScope.Content(modifier: Modifier) { in <lambda>()
82 modifier = Modifier.fillMaxSize(), in <lambda>()
87 Modifier.fillMaxWidth() in <lambda>()
98 Modifier.graphicsLayer { in <lambda>()
108 Modifier.fillMaxWidth(0.5f) in <lambda>()
119 modifier = Modifier.weight(weight = 1f) in <lambda>()
125 AmbientIndication(modifier = Modifier.fillMaxWidth()) in <lambda>()
133 Column(modifier = Modifier.fillMaxWidth().sysuiResTag("keyguard_bottom_area")) { in <lambda>()
136 AmbientIndication(modifier = Modifier.fillMaxWidth()) in <lambda>()
[all …]
DShortcutsBesideUdfpsBlueprint.kt27 import androidx.compose.ui.Modifier in <lambda>()
70 override fun SceneScope.Content(modifier: Modifier) { in <lambda>()
84 modifier = Modifier.fillMaxSize(), in <lambda>()
89 Modifier.fillMaxWidth() in <lambda>()
100 Modifier.graphicsLayer { in <lambda>()
110 Modifier.fillMaxWidth(0.5f) in <lambda>()
121 modifier = Modifier.weight(weight = 1f) in <lambda>()
127 AmbientIndication(modifier = Modifier.fillMaxWidth()) in <lambda>()
138 Modifier.graphicsLayer { translationX = unfoldTranslations.start }, in <lambda>()
150 Modifier.graphicsLayer { translationX = unfoldTranslations.end }, in <lambda>()
[all …]

12345678910>>...13