Home
last modified time | relevance | path

Searched refs:colorScheme (Results 1 – 23 of 23) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorProvider.kt243 private fun getLightColorPreview(colorScheme: ColorScheme): IntArray { in getLightColorPreview()
245 setAlphaComponent(colorScheme.accent1.s600, ALPHA_MASK), in getLightColorPreview()
246 setAlphaComponent(colorScheme.accent1.s600, ALPHA_MASK), in getLightColorPreview()
247 ColorStateList.valueOf(colorScheme.accent2.s500).withLStar(85f).colors[0], in getLightColorPreview()
248 setAlphaComponent(colorScheme.accent3.s300, ALPHA_MASK), in getLightColorPreview()
260 private fun getDarkColorPreview(colorScheme: ColorScheme): IntArray { in getDarkColorPreview()
262 setAlphaComponent(colorScheme.accent1.s200, ALPHA_MASK), in getDarkColorPreview()
263 setAlphaComponent(colorScheme.accent1.s200, ALPHA_MASK), in getDarkColorPreview()
264 ColorStateList.valueOf(colorScheme.accent2.s500).withLStar(35f).colors[0], in getDarkColorPreview()
265 setAlphaComponent(colorScheme.accent3.s300, ALPHA_MASK), in getDarkColorPreview()
[all …]
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/bottombar/
DBottomActionBar.kt45 color = MaterialTheme.colorScheme.outlineVariant, in BottomActionBar()
58 containerColor = MaterialTheme.colorScheme.surfaceContainer, in BottomActionBar()
59 contentColor = MaterialTheme.colorScheme.primary, in BottomActionBar()
60 disabledContainerColor = MaterialTheme.colorScheme.surfaceContainer, in BottomActionBar()
61 disabledContentColor = MaterialTheme.colorScheme.primary.copy(.12f) in BottomActionBar()
71 containerColor = MaterialTheme.colorScheme.primary, in BottomActionBar()
72 contentColor = MaterialTheme.colorScheme.surfaceContainer, in BottomActionBar()
73 disabledContainerColor = MaterialTheme.colorScheme.primary.copy(.12f), in BottomActionBar()
74 disabledContentColor = MaterialTheme.colorScheme.onPrimary in BottomActionBar()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/theme/
DTheme.kt42 val colorScheme = when { in AvatarPickerTheme() constant
55 window.statusBarColor = colorScheme.background.copy(alpha = 0f).toArgb() in AvatarPickerTheme()
56 window.navigationBarColor = colorScheme.background.copy(alpha = 0f).toArgb() in AvatarPickerTheme()
65 colorScheme = colorScheme, typography = getTypography(), content = content in AvatarPickerTheme()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/composable/
DShareouselComposable.kt80 .background(MaterialTheme.colorScheme.surfaceContainer) in <lambda>()
89 Modifier.background(MaterialTheme.colorScheme.surfaceContainer) in Shareousel()
147 val borderColor = MaterialTheme.colorScheme.primary in ShareouselCard()
204 .background(color = MaterialTheme.colorScheme.surfaceContainerHigh) in PlaceholderBox()
256 containerColor = MaterialTheme.colorScheme.surfaceContainerHigh, in ShareouselAction()
257 labelColor = MaterialTheme.colorScheme.onSurface, in ShareouselAction()
258 leadingIconContentColor = MaterialTheme.colorScheme.onSurface in ShareouselAction()
DShareouselCardComposable.kt80 val bgColor = MaterialTheme.colorScheme.primary in SelectionIcon()
83 tint = MaterialTheme.colorScheme.onPrimary, in SelectionIcon()
107 color = MaterialTheme.colorScheme.onPrimary, in SelectionIcon()
112 .background(color = MaterialTheme.colorScheme.onPrimary.copy(alpha = 0.5f)) in SelectionIcon()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/
DAdaptivePane.kt49 containerColor = MaterialTheme.colorScheme.surfaceContainer, in <lambda>()
52 BottomAppBar(containerColor = MaterialTheme.colorScheme.surfaceContainer) { in <lambda>()
57 BottomAppBar(containerColor = MaterialTheme.colorScheme.surfaceContainer) { in <lambda>()
104 Divider(color = MaterialTheme.colorScheme.primary, thickness = 1.dp) in <lambda>()
DAvatarPickerActivity.kt64 contentColor = MaterialTheme.colorScheme.surfaceContainer, in <lambda>()
93 .background(MaterialTheme.colorScheme.onSurface.copy(.5f)), in <lambda>()
98 color = MaterialTheme.colorScheme.secondary, in <lambda>()
99 trackColor = MaterialTheme.colorScheme.surfaceVariant, in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/theme/
DPhotopickerTheme.kt50 val colorScheme = in PhotopickerTheme() constant
75 } ?: MaterialTheme.colorScheme in PhotopickerTheme()
80 MaterialTheme(colorScheme) { in PhotopickerTheme()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/
DSelectorWrapper.kt48 .background(MaterialTheme.colorScheme.scrim.copy(.32f), CircleShape), in SelectorWrapper()
55 MaterialTheme.colorScheme.primaryContainer, CircleShape in SelectorWrapper()
57 tint = MaterialTheme.colorScheme.primary in SelectorWrapper()
DModifiers.kt30 Modifier.background(MaterialTheme.colorScheme.surfaceBright, CircleShape).aspectRatio(1f)
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/components/mediagrid/
DMediaGrid.kt313 color = MaterialTheme.colorScheme.surfaceContainerHighest in defaultBuildMediaItem()
397 MaterialTheme.colorScheme.onPrimary, in defaultBuildMediaItem()
405 MaterialTheme.colorScheme.surfaceVariant, in defaultBuildMediaItem()
414 /* fallback */ MaterialTheme.colorScheme.primary in defaultBuildMediaItem()
457 Surface(color = MaterialTheme.colorScheme.surfaceContainer) { in defaultBuildAlbumItem()
535 modifier = modifier.background(MaterialTheme.colorScheme.surface), in DefaultAlbumIcon()
545 color = MaterialTheme.colorScheme.surfaceContainer, // Background color in DefaultAlbumIcon()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/selectionbar/
DSelectionBar.kt79 color = MaterialTheme.colorScheme.surfaceVariant, in SelectionBar()
103 /* fallback */ MaterialTheme.colorScheme.primary in SelectionBar()
108 /* fallback */ MaterialTheme.colorScheme.onPrimary in SelectionBar()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/animation/view/
DLoadingAnimation.kt274 fun updateColor(colorScheme: ColorScheme) { in <lambda>()
276 setColor(colorScheme.accent1.s600) in <lambda>()
277 setBackgroundColor(colorScheme.accent1.s900) in <lambda>()
280 sparkleShader.setColor(colorScheme.accent1.s600) in <lambda>()
281 loadingShader.setScreenColor(colorScheme.accent1.s900) in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt284 MaterialTheme.colorScheme.primary in Preview()
299 /* fallback */ MaterialTheme.colorScheme.primary in Preview()
304 /* fallback */ MaterialTheme.colorScheme.onPrimary in Preview()
354 /* fallback */ MaterialTheme.colorScheme.primary in PreviewSelectionButton()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/navigationbar/
DNavigationBar.kt108 /* fallback */ MaterialTheme.colorScheme.primary in NavigationBarButton()
112 /* fallback */ MaterialTheme.colorScheme.onPrimary in NavigationBarButton()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/
DPhotopickerApp.kt89 containerColor = MaterialTheme.colorScheme.surfaceContainer, in PhotopickerAppWithBottomSheet()
90 contentColor = MaterialTheme.colorScheme.onSurfaceVariant, in PhotopickerAppWithBottomSheet()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileSelector.kt110 MaterialTheme.colorScheme.primaryContainer in ProfileSelector()
111 else MaterialTheme.colorScheme.surface in ProfileSelector()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/
DAlbumMediaGrid.kt131 Surface(color = MaterialTheme.colorScheme.surfaceContainer, modifier = Modifier.fillMaxSize()) { in AlbumMediaGridView()
146 tint = MaterialTheme.colorScheme.onSurface, in AlbumMediaGridView()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/media/
DMediaIcon.kt33 colorFilter = ColorFilter.tint(color = MaterialTheme.colorScheme.primary), in MediaIcon()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/info/
DInfoCard.kt36 colorFilter = ColorFilter.tint(MaterialTheme.colorScheme.primary), in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DShareouselContentPreviewUi.kt61 colorScheme = in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditPageProvider.kt155 color = MaterialTheme.colorScheme.primary in ApnPage()
/packages/apps/Settings/src/com/android/settings/network/
DSimOnboardingActivity.kt555 tint = MaterialTheme.colorScheme.primary, in <lambda>()