Home
last modified time | relevance | path

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

12345

/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/composable/
DShareouselCardComposable.kt28 import androidx.compose.ui.Modifier
43 modifier: Modifier = Modifier, in ShareouselCard()
48 Box(modifier = Modifier.padding(topButtonPadding).matchParentSize()) { in ShareouselCard()
49 SelectionIcon(selected, modifier = Modifier.align(Alignment.TopStart)) in ShareouselCard()
54 modifier = Modifier.align(Alignment.TopEnd) in ShareouselCard()
59 modifier = Modifier.align(Alignment.TopEnd) in ShareouselCard()
68 private fun TypeIcon(drawableResource: Int, modifier: Modifier = Modifier) { in TypeIcon()
73 modifier = Modifier.size(20.dp).then(modifier) in TypeIcon()
78 private fun SelectionIcon(selected: Boolean, modifier: Modifier = Modifier) { in SelectionIcon()
86 Modifier.shadow( in SelectionIcon()
[all …]
DShareouselComposable.kt51 import androidx.compose.ui.Modifier in <lambda>()
79 Modifier.height(dimensionResource(R.dimen.chooser_preview_image_height_tall) + 64.dp) in <lambda>()
89 Modifier.background(MaterialTheme.colorScheme.surfaceContainer) in Shareousel()
116 Modifier.fillMaxWidth() in PreviewCarousel()
158 Modifier.semantics { this.contentDescription = contentDescription } in ShareouselCard()
176 modifier = Modifier.aspectRatio(aspectRatio), in ShareouselCard()
183 Modifier.thenIf(selected) { in ShareouselCard()
184 Modifier.border( in ShareouselCard()
202 Modifier.fillMaxHeight() in PlaceholderBox()
212 Spacer(Modifier.height(16.dp)) in ActionCarousel()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/
DMediaPreloader.kt41 import androidx.compose.ui.Modifier in <lambda>()
72 @Suppress("UNUSED_PARAMETER") modifier: Modifier, in <lambda>()
137 modifier = Modifier.wrapContentWidth().wrapContentHeight(), in MediaPreloaderLoadingDialog()
141 Column(modifier = Modifier.padding(MEASUREMENT_DIALOG_PADDING)) { in MediaPreloaderLoadingDialog()
146 Spacer(modifier = Modifier.height(MEASUREMENT_DIALOG_SPACER_SIZE)) in MediaPreloaderLoadingDialog()
149 Spacer(modifier = Modifier.width(MEASUREMENT_DIALOG_SPACER_SIZE)) in MediaPreloaderLoadingDialog()
159 Spacer(modifier = Modifier.height(MEASUREMENT_DIALOG_SPACER_SIZE)) in MediaPreloaderLoadingDialog()
160 Row(Modifier.align(Alignment.End)) { in MediaPreloaderLoadingDialog()
190 modifier = Modifier.wrapContentWidth().wrapContentHeight(), in MediaPreloaderErrorDialog()
194 Column(modifier = Modifier.padding(MEASUREMENT_DIALOG_PADDING)) { in MediaPreloaderErrorDialog()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt50 import androidx.compose.ui.Modifier in <lambda>()
94 Surface(modifier = Modifier.fillMaxSize(), color = Color.Black) { in <lambda>()
99 Modifier.windowInsetsPadding( in <lambda>()
132 Surface(modifier = Modifier.fillMaxSize(), color = Color.Black) { in PreviewMedia()
134 modifier = Modifier.padding(vertical = 50.dp), in PreviewMedia()
150 Modifier.fillMaxWidth() in PreviewMedia()
175 modifier = Modifier.widthIn(min = MEASUREMENT_SELECTION_BUTTON_MIN_WIDTH), in PreviewMedia()
221 Box(modifier = Modifier.fillMaxSize()) { in Preview()
224 modifier = Modifier.fillMaxSize(), in Preview()
241 Modifier.align(Alignment.BottomCenter) in Preview()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DResponsiveDialog.kt38 import androidx.compose.ui.Modifier
62 modifier: Modifier = Modifier, in ResponsiveDialogContent()
97 Modifier.fillMaxWidth().padding(bottom = 4.dp), // 8.dp below icon in ResponsiveDialogContent()
110 Modifier.fillMaxWidth(titleMaxWidthFraction) in ResponsiveDialogContent()
120 item { Spacer(Modifier.height(20.dp)) } in ResponsiveDialogContent()
125 Modifier.fillMaxWidth(messageMaxWidthFraction), in ResponsiveDialogContent()
145 Modifier.fillMaxWidth() in ResponsiveDialogContent()
187 Box(Modifier.fillMaxWidth()) { in ResponsiveButton()
192 Modifier.size(ButtonDefaults.DefaultIconSize).align(Alignment.Center), in ResponsiveButton()
199 modifier = Modifier.width(buttonWidth), in ResponsiveButton()
DButton.kt23 import androidx.compose.ui.Modifier
46 modifier: Modifier = Modifier, in Button()
74 modifier: Modifier = Modifier, in Button()
97 modifier: Modifier = Modifier, in Button()
109 val iconModifier = Modifier.size(buttonSize.iconSize).align(Alignment.Center) in Button()
DIcon.kt22 import androidx.compose.ui.Modifier
41 modifier: Modifier = Modifier, in Icon()
63 modifier: Modifier = Modifier, in Icon()
87 modifier: Modifier = Modifier, in Icon()
DScrollableScreen.kt37 import androidx.compose.ui.Modifier in <lambda>()
187 Modifier.rotaryWithScroll( in Scaffold()
195 Modifier.scrollAway(listState, initialCenterIndex, scrollAwayOffset) in Scaffold()
203 Box(modifier = Modifier.fillMaxSize()) { in Scaffold()
205 CircularProgressIndicator(modifier = Modifier.align(Alignment.Center)) in Scaffold()
208 modifier = Modifier.fillMaxWidth(), in Scaffold()
222 val imageModifier = Modifier.size(24.dp) in Scaffold()
247 var modifier: Modifier = Modifier in Scaffold()
251 ListHeader(modifier = Modifier.padding(titlePaddingValues)) { in Scaffold()
262 var modifier: Modifier = in Scaffold()
[all …]
DListFooter.kt27 import androidx.compose.ui.Modifier
39 val modifier = Modifier.fillMaxWidth() in ListFooter()
49 Spacer(modifier = Modifier.width(LeadingIconStartSpacing)) in ListFooter()
54 Modifier.size(LeadingIconSize, LeadingIconSize) in ListFooter()
57 Spacer(modifier = Modifier.width(LeadingIconEndSpacing)) in ListFooter()
61 modifier = Modifier.fillMaxWidth(), in ListFooter()
DListHeader.kt34 import androidx.compose.ui.Modifier
59 modifier: Modifier = Modifier, in ListHeader()
95 modifier: Modifier = Modifier, in ListSubheader()
118 modifier = Modifier.wrapContentSize(align = Alignment.CenterStart), in ListSubheader()
121 Spacer(modifier = Modifier.width(6.dp)) in ListSubheader()
DChip.kt30 import androidx.compose.ui.Modifier
60 modifier: Modifier = Modifier, in Chip()
82 val iconModifier = Modifier.size(iconSize).clip(CircleShape) in Chip()
137 modifier: Modifier = Modifier, in Chip()
174 modifier: Modifier = Modifier, in Chip()
191 modifier = Modifier.fillMaxWidth(), in Chip()
DAlertDialog.kt22 import androidx.compose.ui.Modifier
59 modifier: Modifier = Modifier, in AlertDialog()
95 modifier: Modifier = Modifier, in SingleButtonAlertDialog()
142 modifier = Modifier.fillMaxWidth(), in AlertContent()
180 modifier = Modifier.fillMaxWidth(), in AlertContent()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/
DPhotopickerApp.kt40 import androidx.compose.ui.Modifier
81 Modifier.windowInsetsPadding( in PhotopickerAppWithBottomSheet()
94 modifier = Modifier.fillMaxHeight(), in PhotopickerAppWithBottomSheet()
103 Modifier.offset { in PhotopickerAppWithBottomSheet()
171 Box(modifier = Modifier.fillMaxSize()) { in PhotopickerMain()
176 Modifier.fillMaxWidth() in PhotopickerMain()
185 modifier = Modifier.weight(1f), in PhotopickerMain()
190 modifier = Modifier, in PhotopickerMain()
195 modifier = Modifier.weight(1f), in PhotopickerMain()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DDebugUtils.java20 import java.lang.reflect.Modifier;
40 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in valueToString()
66 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in flagsToString()
109 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in constantToString()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/components/mediagrid/
DMediaGrid.kt66 import androidx.compose.ui.Modifier in <lambda>()
173 modifier: Modifier = Modifier,
277 val baseModifier = Modifier.fillMaxSize().padding(padding) in defaultBuildMediaItem()
287 Modifier.semantics(mergeDescendants = true) { in defaultBuildMediaItem()
312 modifier = Modifier.fillMaxSize(), in defaultBuildMediaItem()
332 Modifier.align(Alignment.TopEnd) in defaultBuildMediaItem()
344 Spacer(Modifier.size(MEASUREMENT_DURATION_TEXT_SPACER_SIZE)) in defaultBuildMediaItem()
369 Modifier.fillMaxSize() in defaultBuildMediaItem()
381 Modifier.offset( in defaultBuildMediaItem()
393 Modifier in defaultBuildMediaItem()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/selectionbar/
DSelectionBar.kt36 import androidx.compose.ui.Modifier
61 fun SelectionBar(modifier: Modifier = Modifier, params: LocationParams) { in SelectionBar()
77 modifier = Modifier.fillMaxWidth(), in SelectionBar()
84 modifier = Modifier.padding(MEASUREMENT_BAR_PADDING), in SelectionBar()
89 modifier = Modifier in SelectionBar()
91 Spacer(modifier = Modifier.padding(MEASUREMENT_SPACER_SIZE)) in SelectionBar()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/
DAdaptivePane.kt37 import androidx.compose.ui.Modifier in <lambda>()
56 Column(modifier = Modifier.padding(start = 24.dp, end = 24.dp)) { in <lambda>()
64 modifier = Modifier.statusBarsPadding().padding(innerPadding) in <lambda>()
68 modifier = Modifier.padding(start = 24.dp, end = 24.dp, top = 8.dp), in <lambda>()
83 modifier = Modifier.statusBarsPadding() in <lambda>()
87 Column(modifier = Modifier.weight(1f) in <lambda>()
92 modifier = Modifier.weight(1f) in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DRetriableErrorDialog.kt36 import androidx.compose.ui.Modifier
66 modifier = Modifier.wrapContentWidth().wrapContentHeight(), in RetriableErrorDialog()
70 Column(modifier = Modifier.padding(MEASUREMENT_ERROR_DIALOG_PADDING)) { in RetriableErrorDialog()
75 Spacer(modifier = Modifier.height(MEASUREMENT_ERROR_DIALOG_SPACER_SIZE)) in RetriableErrorDialog()
80 Spacer(modifier = Modifier.height(MEASUREMENT_ERROR_DIALOG_SPACER_SIZE)) in RetriableErrorDialog()
82 modifier = Modifier.align(Alignment.End), in RetriableErrorDialog()
DVideoUi.kt63 import androidx.compose.ui.Modifier in <lambda>()
265 Box(Modifier.fillMaxSize().clickable { onTogglePlayerControls() }) { in VideoPlayer()
267 if (aspectRatio != null) Modifier.aspectRatio(aspectRatio).align(Alignment.Center) in VideoPlayer()
268 else Modifier.align(Alignment.Center) in VideoPlayer()
294 Box(Modifier.fillMaxSize()) { in VideoPlayer()
299 CircularProgressIndicator(Modifier.align(Alignment.Center)) in VideoPlayer()
326 modifier: Modifier = Modifier, in VideoSurfaceView()
420 modifier = Modifier.fillMaxSize(), in VideoPlayerControls()
426 Modifier.padding( in VideoPlayerControls()
433 modifier = Modifier.align(Alignment.Center).size(MEASUREMENT_PLAY_PAUSE_ICON_SIZE), in VideoPlayerControls()
[all …]
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/
DSelectorWrapper.kt33 import androidx.compose.ui.Modifier
38 Box(Modifier.fillMaxSize()) { in SelectorWrapper()
42 Modifier.matchParentSize(), in SelectorWrapper()
47 modifier = Modifier.matchParentSize() in SelectorWrapper()
54 modifier = Modifier.background( in SelectorWrapper()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/overflowmenu/
DOverflowMenu.kt34 import androidx.compose.ui.Modifier
58 fun OverflowMenu(modifier: Modifier = Modifier) { in OverflowMenu()
67 modifier = Modifier.align(Alignment.CenterEnd), in OverflowMenu()
85 modifier = Modifier, in OverflowMenu()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticConstantsTest.java28 import java.lang.reflect.Modifier;
86 final boolean isPublic = (modifiers & Modifier.PUBLIC) == Modifier.PUBLIC; in isPublicStaticFinalInt()
87 final boolean isStatic = (modifiers & Modifier.STATIC) == Modifier.STATIC; in isPublicStaticFinalInt()
88 final boolean isFinal = (modifiers & Modifier.FINAL) == Modifier.FINAL; in isPublicStaticFinalInt()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/domain/
DFlagUtils.kt20 import androidx.compose.ui.Modifier
28 fun Modifier.applyReadBackOrder() = in applyReadBackOrder() method
31 fun Modifier.applySelectable(isSelected: Boolean, select:() ->Unit): Modifier { in applySelectable() method
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileUnavailableDialog.kt37 import androidx.compose.ui.Modifier
141 modifier = Modifier.wrapContentWidth().wrapContentHeight(), in ProfileUnavailableDialog()
145 Column(modifier = Modifier.padding(MEASUREMENT_DIALOG_PADDING)) { in ProfileUnavailableDialog()
147 Spacer(modifier = Modifier.height(MEASUREMENT_DIALOG_SPACER_SIZE)) in ProfileUnavailableDialog()
149 Spacer(modifier = Modifier.height(MEASUREMENT_DIALOG_SPACER_SIZE)) in ProfileUnavailableDialog()
150 Row(Modifier.align(Alignment.End)) { in ProfileUnavailableDialog()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/iso7816/
DStatusWordTest.java25 import java.lang.reflect.Modifier;
94 assertThat(Modifier.isStatic(modifiers)).isTrue(); in testCheckClassInvariant()
106 && Modifier.isPublic(mod) in testCheckClassInvariant()
107 && Modifier.isStatic(mod) in testCheckClassInvariant()
108 && Modifier.isFinal(mod)) { in testCheckClassInvariant()

12345