Home
last modified time | relevance | path

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

1234

/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/composable/
DShareouselCardComposable.kt43 modifier: Modifier = Modifier, in ShareouselCard()
45 Box(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()
85 modifier = in SelectionIcon()
[all …]
DComposeIconComposable.kt35 fun Image(icon: ComposeIcon, modifier: Modifier = Modifier, colorFilter: ColorFilter? = null) { in Image()
37 is AdaptiveIcon -> Image(icon.wrapped, modifier, colorFilter = colorFilter) in Image()
42 modifier = modifier, in Image()
55 modifier = modifier, in Image()
DShareouselComposable.kt88 modifier = in Shareousel()
115 modifier = in PreviewCarousel()
157 modifier = in ShareouselCard()
176 modifier = Modifier.aspectRatio(aspectRatio), in ShareouselCard()
182 modifier = in ShareouselCard()
201 modifier = in PlaceholderBox()
215 modifier = Modifier.height(32.dp), in ActionCarousel()
228 modifier = Modifier.size(16.dp), in ActionCarousel()
245 modifier: Modifier = Modifier, in ShareouselAction()
260 modifier = modifier, in ShareouselAction()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DTraversal.kt52 abstract fun modify(entity: S, modifier: (A) -> B): T in every()
58 abstract fun modifyWithAction(entity: S, modifier: (value: A) -> Action<out B>): Action<out T> in every()
61 fun lift(modifier: (A) -> B): (S) -> T = { modify(it, modifier) } in every()
84 override fun modify(entity: S, modifier: (NewA) -> NewB): T = in compose()
87 other.modify(it as AIn, modifier) in compose()
98 modifier: (value: NewA) -> Action<out NewB> in compose()
102 other.modifyWithAction(it as AIn, modifier) in compose()
148 override fun modify(entity: List<A>, modifier: (A) -> A): List<A> = entity.map(modifier) in list()
152 modifier: (value: A) -> Action<out A> in list()
156 when (val res = modifier(it)) { in list()
[all …]
DLens.kt75 override fun modify(entity: S, modifier: (A) -> B): T = this@Lens.modify(entity, modifier) in <lambda>()
79 modifier: (value: A) -> Action<out B> in <lambda>()
80 ): Action<out T> = this@Lens.modifyWithAction(entity, modifier) in <lambda>()
130 inline fun modify(entity: S, crossinline modifier: (A) -> B): T = lift(modifier)(entity) in modify()
133 fun modifyWithAction(entity: S, modifier: (value: A) -> Action<out B>): Action<out T> { in modify()
135 return when (val res = modifier(original)) { in modify()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DIcon.kt41 modifier: Modifier = Modifier, in Icon()
48 modifier = modifier.scale(scaleX = if (shouldMirror) -1f else 1f, scaleY = 1f), in Icon()
63 modifier: Modifier = Modifier, in Icon()
73 modifier = modifier.scale(scaleX = if (shouldMirror) -1f else 1f, scaleY = 1f), in Icon()
87 modifier: Modifier = Modifier, in Icon()
94 val iconModifier = modifier.scale(scaleX = if (shouldMirror) -1f else 1f, scaleY = 1f) in Icon()
99 modifier = iconModifier, in Icon()
108 modifier = iconModifier, in Icon()
116 modifier = iconModifier, in Icon()
DScrollableScreen.kt186 modifier = in Scaffold()
194 modifier = in Scaffold()
203 Box(modifier = Modifier.fillMaxSize()) { in Scaffold()
205 CircularProgressIndicator(modifier = Modifier.align(Alignment.Center)) in Scaffold()
208 modifier = Modifier.fillMaxWidth(), in Scaffold()
230 modifier = imageModifier in Scaffold()
239 modifier = imageModifier in Scaffold()
247 var modifier: Modifier = Modifier in Scaffold() variable
249 modifier = modifier.testTag(titleTestTag) in Scaffold()
251 ListHeader(modifier = Modifier.padding(titlePaddingValues)) { in Scaffold()
[all …]
DButton.kt46 modifier: Modifier = Modifier, in Button()
56 modifier = modifier, in Button()
74 modifier: Modifier = Modifier, in Button()
84 modifier = modifier, in Button()
97 modifier: Modifier = Modifier, in Button()
105 modifier = modifier.size(buttonSize.tapTargetSize), in Button()
114 modifier = iconModifier, in Button()
DListFooter.kt39 val modifier = Modifier.fillMaxWidth() in ListFooter() constant
41 modifier = in ListFooter()
43 modifier in ListFooter()
45 modifier.clickable(onClick = onClick) in ListFooter()
49 Spacer(modifier = Modifier.width(LeadingIconStartSpacing)) in ListFooter()
53 modifier = in ListFooter()
57 Spacer(modifier = Modifier.width(LeadingIconEndSpacing)) in ListFooter()
61 modifier = Modifier.fillMaxWidth(), in ListFooter()
DChip.kt60 modifier: Modifier = Modifier, in Chip()
89 modifier = iconModifier in Chip()
96 modifier = iconModifier in Chip()
103 modifier = iconModifier in Chip()
115 modifier = modifier, in Chip()
137 modifier: Modifier = Modifier, in Chip()
151 modifier = modifier, in Chip()
174 modifier: Modifier = Modifier, in Chip()
191 modifier = Modifier.fillMaxWidth(), in Chip()
228 modifier = modifier.fillMaxWidth(), in Chip()
DListHeader.kt59 modifier: Modifier = Modifier, in ListHeader()
66 modifier = in ListHeader()
67 modifier.wrapContentSize().background(backgroundColor).semantics( in ListHeader()
95 modifier: Modifier = Modifier, in ListSubheader()
104 modifier = in ListSubheader()
105 modifier in ListSubheader()
118 modifier = Modifier.wrapContentSize(align = Alignment.CenterStart), in ListSubheader()
121 Spacer(modifier = Modifier.width(6.dp)) in ListSubheader()
DAlertDialog.kt59 modifier: Modifier = Modifier, in AlertDialog()
68 modifier = modifier in AlertDialog()
95 modifier: Modifier = Modifier, in SingleButtonAlertDialog()
103 modifier = modifier in SingleButtonAlertDialog()
142 modifier = Modifier.fillMaxWidth(), in AlertContent()
180 modifier = Modifier.fillMaxWidth(), in AlertContent()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt94 Surface(modifier = Modifier.fillMaxSize(), color = Color.Black) { in <lambda>()
96 modifier = in <lambda>()
132 Surface(modifier = Modifier.fillMaxSize(), color = Color.Black) { in PreviewMedia()
134 modifier = Modifier.padding(vertical = 50.dp), in PreviewMedia()
149 modifier = 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()
240 modifier = in Preview()
247 modifier = in Preview()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/
DMediaPreloader.kt72 @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()
190 modifier = Modifier.wrapContentWidth().wrapContentHeight(), in MediaPreloaderErrorDialog()
194 Column(modifier = Modifier.padding(MEASUREMENT_DIALOG_PADDING)) { in MediaPreloaderErrorDialog()
199 Spacer(modifier = Modifier.height(MEASUREMENT_DIALOG_SPACER_SIZE)) in MediaPreloaderErrorDialog()
204 Spacer(modifier = Modifier.height(MEASUREMENT_DIALOG_SPACER_SIZE)) in MediaPreloaderErrorDialog()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/components/mediagrid/
DMediaGrid.kt173 modifier: Modifier = Modifier,
203 modifier = modifier,
312 modifier = Modifier.fillMaxSize(), in defaultBuildMediaItem()
322 modifier = if (isSelected) selectedModifier else baseModifier, in defaultBuildMediaItem()
368 modifier = in defaultBuildMediaItem()
376 modifier = in defaultBuildMediaItem()
392 modifier = in defaultBuildMediaItem()
464 val modifier = in defaultBuildAlbumItem() constant
476 modifier in defaultBuildAlbumItem()
483 modifier in defaultBuildAlbumItem()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/navigationbar/
DNavigationBar.kt55 fun NavigationBar(modifier: Modifier) { in NavigationBar()
63 modifier = modifier, in NavigationBar()
71 modifier = Modifier.padding(MEASUREMENT_SPACER_SIZE) in NavigationBar()
92 modifier: Modifier, in NavigationBarButton()
102 modifier = modifier, in NavigationBarButton()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/overflowmenu/
DOverflowMenu.kt58 fun OverflowMenu(modifier: Modifier = Modifier) { in OverflowMenu()
65 Box(modifier = modifier) { in OverflowMenu()
67 modifier = Modifier.align(Alignment.CenterEnd), in OverflowMenu()
85 modifier = Modifier, in OverflowMenu()
95 Spacer(modifier) in OverflowMenu()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/selectionbar/
DSelectionBar.kt61 fun SelectionBar(modifier: Modifier = Modifier, params: LocationParams) { in SelectionBar()
71 modifier = modifier, 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/providers/MediaProvider/photopicker/src/com/android/photopicker/core/
DPhotopickerApp.kt78 modifier = in PhotopickerAppWithBottomSheet()
94 modifier = Modifier.fillMaxHeight(), in PhotopickerAppWithBottomSheet()
99 modifier = in PhotopickerAppWithBottomSheet()
171 Box(modifier = Modifier.fillMaxSize()) { in PhotopickerMain()
175 modifier = in PhotopickerMain()
185 modifier = Modifier.weight(1f), in PhotopickerMain()
190 modifier = Modifier, in PhotopickerMain()
195 modifier = Modifier.weight(1f), in PhotopickerMain()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/
DAdaptivePane.kt56 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/profileselector/
DProfileSelector.kt54 modifier: Modifier = Modifier, in ProfileSelector()
76 Box(modifier = modifier) { in ProfileSelector()
78 modifier = Modifier.align(Alignment.CenterStart), in ProfileSelector()
107 modifier = Modifier.widthIn(min = 200.dp), in ProfileSelector()
114 modifier = Modifier.fillMaxWidth(), in ProfileSelector()
171 Spacer(modifier) in ProfileSelector()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DRetriableErrorDialog.kt66 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.kt266 val modifier = in VideoPlayer() constant
270 modifier = modifier, in VideoPlayer()
326 modifier: Modifier = Modifier, in VideoSurfaceView()
342 modifier = modifier, in VideoSurfaceView()
420 modifier = Modifier.fillMaxSize(), in VideoPlayerControls()
433 modifier = Modifier.align(Alignment.Center).size(MEASUREMENT_PLAY_PAUSE_ICON_SIZE), in VideoPlayerControls()
442 modifier = Modifier.size(MEASUREMENT_PLAY_PAUSE_ICON_SIZE) in VideoPlayerControls()
449 modifier = Modifier.size(MEASUREMENT_PLAY_PAUSE_ICON_SIZE) in VideoPlayerControls()
456 modifier = Modifier.align(Alignment.BottomEnd), in VideoPlayerControls()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentTable.java146 DatabaseModifier modifier = createDatabaseModifier(mDbHelper.getWritableDatabase()); in insert() local
147 Uri uri = insertRow(modifier, uriData, values); in insert()
153 DatabaseModifier modifier = createDatabaseModifier(mDbHelper.getWritableDatabase()); in bulkInsert() local
154 modifier.startBulkOperation(); in bulkInsert()
157 Uri uri = insertRow(modifier, uriData, value); in bulkInsert()
162 modifier.yieldBulkOperation(); in bulkInsert()
165 modifier.finishBulkOperation(); in bulkInsert()
169 private Uri insertRow(DatabaseModifier modifier, UriData uriData, ContentValues values) { in insertRow() argument
192 long rowId = modifier.insert(mTableName, null, copiedValues); in insertRow()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilitiesKt.kt114 for (modifier in modifiers) { in modifyAttributesOnViewTree() method
115 modifier.saveAndChangeAttribute(v) in modifyAttributesOnViewTree()
148 for (modifier in modifiers) { in restoreAttributesOnViewTree() method
149 modifier.restoreAttribute(v) in restoreAttributesOnViewTree()

1234