Home
last modified time | relevance | path

Searched refs:modifier (Results 1 – 25 of 219) sorted by relevance

123456789

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessLowLuxModifierTest.kt44 private lateinit var modifier: BrightnessLowLuxModifier variable in com.android.server.display.brightness.clamper.BrightnessLowLuxModifierTest
54 modifier = in setUp()
98 modifier.recalculateLowerBound() in testSettingOffDisablesModifier()
100 assertThat(modifier.brightnessLowerBound).isEqualTo(TRANSITION_POINT) in testSettingOffDisablesModifier()
101 assertThat(modifier.brightnessReason).isEqualTo(0) // no reason - ie off in testSettingOffDisablesModifier()
102 modifier.setAmbientLux(3000f) in testSettingOffDisablesModifier()
105 assertThat(modifier.isActive).isFalse() in testSettingOffDisablesModifier()
106 assertThat(modifier.brightnessLowerBound).isEqualTo(TRANSITION_POINT) in testSettingOffDisablesModifier()
107 assertThat(modifier.brightnessReason).isEqualTo(0) // no reason - ie off in testSettingOffDisablesModifier()
118 modifier.setAmbientLux(400f) in testLuxRestrictsBrightnessRange()
[all …]
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DTexts.kt37 fun HeadlineText(text: String, modifier: Modifier = Modifier) { in HeadlineText()
39 modifier = modifier.wrapContentSize(), in HeadlineText()
51 fun BodyMediumText(text: String, modifier: Modifier = Modifier) { in BodyMediumText()
53 modifier = modifier.wrapContentSize(), in BodyMediumText()
66 modifier: Modifier = Modifier, in BodySmallText()
71 modifier = modifier.wrapContentSize(),
85 fun LargeTitleText(text: String, modifier: Modifier = Modifier) { in LargeTitleText()
87 modifier = modifier.wrapContentSize(), in LargeTitleText()
100 modifier: Modifier = Modifier, in SmallTitleText()
105 modifier = modifier.wrapContentSize(),
[all …]
DEntry.kt61 modifier: Modifier = Modifier, in Entry()
89 modifier = modifier.fillMaxWidth().wrapContentHeight(),
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>()
174 modifier = Modifier.size(24.dp), in <lambda>()
185 Box(modifier = iconPadding) { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerContent.kt118 modifier: Modifier = Modifier, in <lambda>()
123 BouncerContent(layout, viewModel, dialogFactory, modifier) in <lambda>()
132 modifier: Modifier in BouncerContent()
141 modifier = modifier.imePadding().onKeyEvent(viewModel::onKeyEvent), in BouncerContent()
176 modifier: Modifier = Modifier, in StandardLayout()
182 modifier = in StandardLayout()
183 modifier.padding( 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()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DWeatherClockSection.kt38 import com.android.systemui.keyguard.ui.composable.modifier.burnInAware
58 modifier = in Time()
75 modifier: Modifier = Modifier, in SceneScope()
81 modifier = modifier, in SceneScope()
88 modifier: Modifier = Modifier, in Weather()
94 modifier = modifier.wrapContentSize(), in Weather()
101 modifier: Modifier = Modifier, in SceneScope()
107 modifier = modifier.wrapContentSize(), in SceneScope()
114 modifier: Modifier = Modifier, in Temperature()
120 modifier = modifier.wrapContentSize(), in Temperature()
[all …]
DSmartSpaceSection.kt41 import com.android.systemui.keyguard.ui.composable.modifier.burnInAware in <lambda>()
42 import com.android.systemui.keyguard.ui.composable.modifier.onTopPlacementChanged in <lambda>()
64 modifier: Modifier = Modifier, in <lambda>()
68 MovableElement(key = ClockElementKeys.smartspaceElementKey, modifier = modifier) { in <lambda>()
70 modifier = in <lambda>()
71 modifier in <lambda>()
92 modifier = in <lambda>()
101 modifier = in <lambda>()
107 Spacer(modifier = Modifier.width(4.dp)) in <lambda>()
109 modifier = in <lambda>()
[all …]
DBottomAreaSection.kt69 modifier: Modifier = Modifier, in <lambda>()
73 modifier = modifier, in <lambda>()
83 modifier = in <lambda>()
96 modifier: Modifier = Modifier, in <lambda>()
100 modifier = modifier.shortcutPadding(), in <lambda>()
127 modifier: Modifier = Modifier, in <lambda>()
172 modifier = in <lambda>()
173 modifier.size( in <lambda>()
184 modifier: Modifier = Modifier, in <lambda>()
201 modifier = modifier.fillMaxWidth(), in <lambda>()
DTopAreaSection.kt62 modifier: Modifier = Modifier, in DefaultClockLayout()
82 modifier = modifier, in DefaultClockLayout()
95 SmallClockWithSmartSpace(modifier = Modifier.fillMaxWidth(0.5f)) in DefaultClockLayout()
105 WeatherLargeClockWithSmartSpace(modifier = Modifier.fillMaxWidth(0.5f)) in DefaultClockLayout()
111 private fun SceneScope.SmallClockWithSmartSpace(modifier: Modifier = Modifier) { in SmallClockWithSmartSpace()
114 Column(modifier = modifier) { in SmallClockWithSmartSpace()
119 modifier = Modifier.wrapContentSize() in SmallClockWithSmartSpace()
153 modifier = in LargeClockWithSmartSpace()
170 private fun SceneScope.WeatherLargeClockWithSmartSpace(modifier: Modifier = Modifier) { in WeatherLargeClockWithSmartSpace()
181 Column(modifier = modifier) { in WeatherLargeClockWithSmartSpace()
[all …]
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/components/
DTexts.kt32 fun WearTitleText(text: String, modifier: Modifier = Modifier) { in WearTitleText()
34 modifier = modifier.wrapContentSize(), in WearTitleText()
43 fun WearDisplayNameText(text: String, modifier: Modifier = Modifier) { in WearDisplayNameText()
45 modifier = modifier.wrapContentSize(), in WearDisplayNameText()
59 modifier: Modifier = Modifier, in WearUsernameText()
63 modifier = modifier.padding(start = 8.dp, end = 8.dp).wrapContentSize(),
80 modifier: Modifier = Modifier, in WearButtonText()
85 modifier = modifier.wrapContentSize(),
99 modifier: Modifier = Modifier, in WearSecondaryLabel()
103 modifier = modifier.wrapContentSize(),
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java216 int modifier = 0; in handleToken() local
228 modifier); in handleToken() local
236 modifier); in handleToken() local
239 if (modifier == '-') { in handleToken()
245 modifier); in handleToken() local
252 modifier); in handleToken() local
261 modifier); in handleToken() local
264 outputYear(wallTime.getYear(), true, false, modifier); in handleToken() local
273 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken()
285 modifier = currentChar; in handleToken()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/view/
DTutorialSelectionScreen.kt49 modifier = 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()
78 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()
112 modifier = modifier.aspectRatio(0.66f) in TutorialButton()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeHeader.kt128 modifier: Modifier = Modifier, in CollapsedShadeHeader()
159 modifier = modifier.sysuiResTag(ShadeHeader.TestTags.Root), 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()
172 modifier = in CollapsedShadeHeader()
181 modifier = in CollapsedShadeHeader()
188 modifier = Modifier.align(Alignment.CenterEnd), in CollapsedShadeHeader()
194 modifier = in CollapsedShadeHeader()
201 modifier = Modifier.align(Alignment.CenterVertically), in CollapsedShadeHeader()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/
DShortcutHelper.kt91 modifier: Modifier = Modifier, in <lambda>()
96 ShortcutHelperSinglePane(modifier, categories, onKeyboardSettingsClicked)
98 ShortcutHelperTwoPane(modifier, categories, onKeyboardSettingsClicked)
109 modifier: Modifier = Modifier, in shouldUseSinglePane()
114 modifier = in shouldUseSinglePane()
115 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()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/
DVolumePanelRoot.kt44 modifier: Modifier = Modifier, in <lambda>()
54 modifier in <lambda>()
70 modifier: Modifier = Modifier in Components()
79 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()
107 modifier = modifier.fillMaxWidth(), in VolumePanelComposeScope()
/frameworks/native/libs/bufferstreams/examples/app/java/com/android/graphics/bufferstreamsdemoapp/
DMainActivity.kt43 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() variable
104 Column(modifier = modifier, verticalArrangement = Arrangement.SpaceBetween) { 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.kt16 fun DemoScreen1(modifier: Modifier = Modifier) { in DemoScreen1()
17 Column(modifier = modifier, verticalArrangement = Arrangement.SpaceBetween) { 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/core/src/com/android/compose/
DPlatformButtons.kt42 modifier: Modifier = Modifier, in PlatformButton()
49 modifier = modifier.padding(vertical = verticalPadding).height(36.dp), in PlatformButton()
62 modifier: Modifier = Modifier, in PlatformOutlinedButton()
70 modifier = modifier.padding(vertical = verticalPadding).height(36.dp), in PlatformOutlinedButton()
84 modifier: Modifier = Modifier, in PlatformTextButton()
91 modifier = modifier, in PlatformTextButton()
101 modifier: Modifier = Modifier, in PlatformIconButton()
108 modifier = modifier, in PlatformIconButton()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt159 modifier: Modifier = Modifier, in <lambda>()
194 modifier = in <lambda>()
195 modifier in <lambda>()
278 modifier = Modifier.fillMaxSize(), in <lambda>()
346 modifier = Modifier.fillMaxSize() in <lambda>()
479 modifier = gridModifier, in CommunalHubLazyGrid()
502 modifier = in CommunalHubLazyGrid()
516 modifier = cardModifier, in CommunalHubLazyGrid()
529 modifier = cardModifier.animateItemPlacement(), in CommunalHubLazyGrid()
553 modifier = Modifier.height(Dimensions.GridHeight).padding(contentPadding), in EmptyStateCta()
[all …]
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/material/
DIcon.kt42 modifier: Modifier = Modifier, in Icon()
49 modifier = modifier.scale( in Icon()
68 modifier: Modifier = Modifier, in Icon()
78 modifier = modifier.scale( in Icon()
91 modifier: Modifier = Modifier, in Icon()
98 val iconModifier = modifier.scale( in Icon()
106 modifier = iconModifier, in Icon()
116 modifier = iconModifier, in Icon()
DButton.kt48 modifier: Modifier = Modifier, in Button()
58 modifier = modifier, in Button()
77 modifier: Modifier = Modifier, in Button()
87 modifier = modifier, in Button()
101 modifier: Modifier = Modifier, in Button()
109 modifier = modifier.size(buttonSize.tapTargetSize), in Button()
120 modifier = iconModifier, in Button()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/
DBaseLayout.kt44 modifier: Modifier = Modifier,
54 modifier = modifier
66 modifier = alphaModifier in <lambda>()
77 modifier: Modifier, in BaseIcon()
82 modifier = modifier.size(SettingsDimension.itemIconContainerSize), in BaseIcon()
88 Spacer(modifier = Modifier.width(width = paddingStart)) in BaseIcon()
98 modifier: Modifier, in Titles()
100 Column(modifier) { in Titles()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/blueprint/
DDefaultBlueprint.kt68 override fun SceneScope.Content(modifier: Modifier) { in <lambda>()
76 modifier = modifier, in <lambda>()
82 modifier = Modifier.fillMaxSize(), in <lambda>()
86 modifier = in <lambda>()
97 modifier = in <lambda>()
107 modifier = 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.kt70 override fun SceneScope.Content(modifier: Modifier) { in <lambda>()
78 modifier = modifier, in <lambda>()
84 modifier = Modifier.fillMaxSize(), in <lambda>()
88 modifier = in <lambda>()
99 modifier = in <lambda>()
109 modifier = in <lambda>()
121 modifier = Modifier.weight(weight = 1f) in <lambda>()
127 AmbientIndication(modifier = Modifier.fillMaxWidth()) in <lambda>()
137 modifier = in <lambda>()
149 modifier = in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/
DTile.kt104 modifier: Modifier, in Tile()
119 modifier = modifier, in Tile()
123 TileIcon(icon = icon, color = colors.icon, modifier = Modifier.align(Alignment.Center)) in Tile()
146 modifier: Modifier = Modifier,
153 modifier = modifier,
164 modifier = in <lambda>()
169 modifier = in <lambda>()
211 modifier = Modifier.fillMaxHeight().aspectRatio(1f) in <lambda>()
214 modifier = in <lambda>()
226 modifier = Modifier.align(Alignment.Center) in <lambda>()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/illustration/
DIllustration.kt62 modifier = Modifier, in Illustration()
70 modifier: Modifier = Modifier in Illustration()
73 modifier = modifier in Illustration()
78 val illustrationModifier = modifier in Illustration()
90 modifier = illustrationModifier, in Illustration()
97 modifier = illustrationModifier, in Illustration()

123456789