/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/ |
D | ColorSchemeTransitionTest.kt | 58 @Mock private lateinit var colorScheme: ColorScheme in <lambda>() variable in com.android.systemui.media.controls.ui.animation.ColorSchemeTransitionTest 74 whenever(extractColor.invoke(colorScheme)).thenReturn(TARGET_COLOR) in <lambda>() 106 colorTransition.updateColorScheme(colorScheme) in <lambda>() 115 whenever(extractColor.invoke(colorScheme)).thenReturn(DEFAULT_COLOR) in <lambda>() 116 colorTransition.updateColorScheme(colorScheme) in <lambda>() 126 colorTransition.updateColorScheme(colorScheme) in <lambda>() 138 colorTransition.updateColorScheme(colorScheme) in <lambda>() 150 colorTransition.updateColorScheme(colorScheme) in <lambda>() 159 colorSchemeTransition.updateColorScheme(colorScheme) in <lambda>() 160 verify(mockAnimatingTransition, times(8)).updateColorScheme(colorScheme) in <lambda>() [all …]
|
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/ |
D | ColorSchemeTest.kt | 110 val colorScheme = ColorScheme(sourceColor.toInt(), false, styleValue) in generateThemeStyles() constant 115 colorScheme.accent1, in generateThemeStyles() 116 colorScheme.accent2, in generateThemeStyles() 117 colorScheme.accent3, in generateThemeStyles() 118 colorScheme.neutral1, in generateThemeStyles() 119 colorScheme.neutral2 in generateThemeStyles() 142 val colorScheme = ColorScheme(GOOGLE_BLUE, false) in generateDefaultValues() constant 144 Triple("accent1", "Primary", colorScheme.accent1), in generateDefaultValues() 145 Triple("accent2", "Secondary", colorScheme.accent2), in generateDefaultValues() 146 Triple("accent3", "Tertiary", colorScheme.accent3), in generateDefaultValues() [all …]
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/chart/ |
D | BarChart.kt | 122 val colorScheme = MaterialTheme.colorScheme in BarChart() constant 123 val labelTextColor = colorScheme.onSurfaceVariant.toArgb() in BarChart() 171 gridColor = colorScheme.divider.toArgb() in BarChart() 189 colorScheme = colorScheme, in BarChart() 202 colorScheme: ColorScheme in updateBarChartWithData() 212 highLightColor = colorScheme.primary.toArgb() in updateBarChartWithData()
|
D | LineChart.kt | 134 val colorScheme = MaterialTheme.colorScheme in LineChart() constant 135 val labelTextColor = colorScheme.onSurfaceVariant.toArgb() in LineChart() 162 this.axisRight.gridColor = colorScheme.divider.toArgb() in LineChart() 182 updateLineChartWithData(it, lineChartData, colorScheme, showSmoothLine) in LineChart() 192 colorScheme: ColorScheme, in updateLineChartWithData() 202 ds.colors = arrayListOf(colorScheme.primary.toArgb()) in updateLineChartWithData() 210 ds.fillColor = colorScheme.primary.toArgb() in updateLineChartWithData()
|
D | PieChart.kt | 101 val colorScheme = MaterialTheme.colorScheme in PieChart() constant 102 val labelTextColor = colorScheme.onSurfaceVariant.toArgb() in PieChart() 124 this.setCenterTextColor(colorScheme.onSurface.toArgb()) in PieChart()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/ |
D | ColorSchemeTransition.kt | 161 { colorScheme: ColorScheme -> in colorScheme() method 167 colorScheme.accent1.s100 in colorScheme() 168 else colorScheme.accent1.s200 in colorScheme() 235 fun updateColorScheme(colorScheme: ColorScheme?): Boolean { in updateColorScheme() 238 val isChanged = it.updateColorScheme(colorScheme) in updateColorScheme() 245 colorScheme?.let { mediaViewHolder.gutsViewHolder.colorScheme = colorScheme } in updateColorScheme()
|
/frameworks/native/libs/bufferstreams/examples/app/java/com/android/graphics/bufferstreamsdemoapp/ui/ |
D | Theme.kt | 37 val colorScheme = when { in JetpackTheme() constant 50 window.statusBarColor = colorScheme.primary.toArgb() in JetpackTheme() 56 colorScheme = colorScheme, in JetpackTheme()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
D | SettingsTab.kt | 54 start = MaterialTheme.colorScheme.primaryContainer, in SettingsTab() 55 stop = MaterialTheme.colorScheme.surface, in SettingsTab() 64 start = MaterialTheme.colorScheme.onPrimaryContainer, in SettingsTab() 65 stop = MaterialTheme.colorScheme.onSurface, in SettingsTab()
|
D | HomeScaffold.kt | 38 .background(color = MaterialTheme.colorScheme.settingsBackground) in HomeScaffold() 45 color = MaterialTheme.colorScheme.onSurface, in HomeScaffold()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/ |
D | Text.kt | 58 color = MaterialTheme.colorScheme.onSurface, in SettingsTitleSmall() 68 color = MaterialTheme.colorScheme.onSurface, in SettingsDialogItem() 81 color = MaterialTheme.colorScheme.onSurface, in SettingsListItem() 97 color = MaterialTheme.colorScheme.onSurfaceVariant, in SettingsBody() 115 color = MaterialTheme.colorScheme.onSurface, in PlaceholderTitle()
|
D | Spinner.kt | 78 containerColor = MaterialTheme.colorScheme.primaryContainer, in Spinner() 79 contentColor = MaterialTheme.colorScheme.onPrimaryContainer, in Spinner() 89 modifier = Modifier.background(MaterialTheme.colorScheme.secondaryContainer), in Spinner() 97 color = MaterialTheme.colorScheme.onSecondaryContainer, in Spinner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/ |
D | Tile.kt | 504 background = MaterialTheme.colorScheme.surfaceVariant, in activeTileColors() 505 iconBackground = MaterialTheme.colorScheme.primary, in activeTileColors() 506 label = MaterialTheme.colorScheme.onSurfaceVariant, in activeTileColors() 507 secondaryLabel = MaterialTheme.colorScheme.onSurfaceVariant, in activeTileColors() 508 icon = MaterialTheme.colorScheme.onPrimary, in activeTileColors() 514 background = MaterialTheme.colorScheme.surfaceVariant, in activeTileColors() 515 iconBackground = MaterialTheme.colorScheme.surfaceVariant, in activeTileColors() 516 label = MaterialTheme.colorScheme.onSurfaceVariant, in activeTileColors() 517 secondaryLabel = MaterialTheme.colorScheme.onSurfaceVariant, in activeTileColors() 518 icon = MaterialTheme.colorScheme.onSurfaceVariant, in activeTileColors() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | MaximizeMenu.kt | 422 val colorScheme = decorThemeUtil.getColorScheme(taskInfo) in calculateMenuStyle() constant 423 val menuBackgroundColor = colorScheme.surfaceContainerLow.toArgb() in calculateMenuStyle() 426 textColor = colorScheme.onSurface.toArgb(), in calculateMenuStyle() 428 drawable = createMaximizeDrawable(menuBackgroundColor, colorScheme) in calculateMenuStyle() 431 inactiveSnapSideColor = colorScheme.outlineVariant.toArgb(), in calculateMenuStyle() 432 semiActiveSnapSideColor = colorScheme.primary.toArgb().withAlpha(OPACITY_40), in calculateMenuStyle() 433 activeSnapSideColor = colorScheme.primary.toArgb(), in calculateMenuStyle() 434 inactiveStrokeColor = colorScheme.outlineVariant.toArgb(), in calculateMenuStyle() 435 activeStrokeColor = colorScheme.primary.toArgb(), in calculateMenuStyle() 437 activeBackgroundColor = colorScheme.primary.toArgb().withAlpha(OPACITY_12) in calculateMenuStyle() [all …]
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyboard/stickykeys/ui/view/ |
D | StickyKeysIndicator.kt | 49 val defaultContentColor = MaterialTheme.colorScheme.onSurfaceVariant in <lambda>() 67 color = MaterialTheme.colorScheme.inverseSurface, in StickyKeysIndicator() 89 MaterialTheme.colorScheme.inverseOnSurface in StickyKeyText() 91 MaterialTheme.colorScheme.outlineVariant in StickyKeyText()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/ |
D | HeadlineIcon.kt | 44 tint = tint ?: MaterialTheme.colorScheme.primary, in HeadlineIcon() 60 tint = MaterialTheme.colorScheme.primary, in HeadlineIcon() 76 tint = MaterialTheme.colorScheme.primary, in HeadlineIcon()
|
D | ConfirmButton.kt | 35 containerColor = MaterialTheme.colorScheme.primary, in ConfirmButton() 36 contentColor = MaterialTheme.colorScheme.onPrimary, in ConfirmButton()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/view/ |
D | TutorialSelectionScreen.kt | 51 color = MaterialTheme.colorScheme.surfaceContainer, in TutorialSelectionScreen() 83 color = MaterialTheme.colorScheme.primary, in TutorialSelectionButtons() 89 color = MaterialTheme.colorScheme.secondary, in TutorialSelectionButtons() 95 color = MaterialTheme.colorScheme.tertiary, in TutorialSelectionButtons()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
D | PinBouncer.kt | 161 backgroundColor = MaterialTheme.colorScheme.surfaceVariant, in DigitButton() 162 foregroundColor = MaterialTheme.colorScheme.onSurfaceVariant, in DigitButton() 195 ActionButtonAppearance.Shown -> MaterialTheme.colorScheme.onSecondaryContainer in ActionButton() 196 else -> MaterialTheme.colorScheme.onSurface in ActionButton() 200 ActionButtonAppearance.Shown -> MaterialTheme.colorScheme.secondaryContainer in ActionButton() 201 else -> MaterialTheme.colorScheme.surface in ActionButton() 268 isAnimationEnabled && isPressed -> MaterialTheme.colorScheme.primary in PinPadButton() 277 isAnimationEnabled && isPressed -> MaterialTheme.colorScheme.onPrimary in PinPadButton()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/ |
D | SettingsTheme.kt | 33 colorScheme = materialColorScheme(isDarkTheme), in SettingsTheme() 37 LocalContentColor provides MaterialTheme.colorScheme.onSurface, in SettingsTheme()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/button/ui/composable/ |
D | ButtonComponent.kt | 87 MaterialTheme.colorScheme.tertiaryContainer in Content() 89 MaterialTheme.colorScheme.surface in Content() 94 MaterialTheme.colorScheme.onTertiaryContainer in Content() 96 MaterialTheme.colorScheme.onSurface in Content()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/button/ |
D | ActionButtons.kt | 91 containerColor = MaterialTheme.colorScheme.surface, in ActionButton() 92 contentColor = MaterialTheme.colorScheme.primary, in ActionButton() 93 disabledContainerColor = MaterialTheme.colorScheme.surface, in ActionButton() 124 .background(color = MaterialTheme.colorScheme.divider) in ButtonDivider()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/ |
D | PlatformSlider.kt | 460 trackColor = MaterialTheme.colorScheme.secondaryContainer, in defaultPlatformSliderColors() 461 indicatorColor = MaterialTheme.colorScheme.primary, in defaultPlatformSliderColors() 462 iconColor = MaterialTheme.colorScheme.onPrimary, in defaultPlatformSliderColors() 463 labelColorOnIndicator = MaterialTheme.colorScheme.onPrimary, in defaultPlatformSliderColors() 464 labelColorOnTrack = MaterialTheme.colorScheme.onSecondaryContainer, in defaultPlatformSliderColors() 465 disabledTrackColor = MaterialTheme.colorScheme.surfaceContainerHighest, in defaultPlatformSliderColors() 466 disabledIndicatorColor = MaterialTheme.colorScheme.surfaceContainerHighest, in defaultPlatformSliderColors() 467 disabledIconColor = MaterialTheme.colorScheme.outline, in defaultPlatformSliderColors() 468 disabledLabelColor = MaterialTheme.colorScheme.onSurfaceVariant, in defaultPlatformSliderColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | GutsViewHolder.kt | 47 var colorScheme: ColorScheme? = null variable 64 colorScheme?.let { setColors(it) } in setDismissible() 69 colorScheme = scheme in setColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/ |
D | ShortcutHelper.kt | 171 color = MaterialTheme.colorScheme.surfaceBright, in CategoryItemSinglePane() 206 color = MaterialTheme.colorScheme.surfaceContainerHigh, in RotatingExpandCollapseIcon() 217 tint = MaterialTheme.colorScheme.onSurface in RotatingExpandCollapseIcon() 290 color = MaterialTheme.colorScheme.surfaceBright in SubCategoryContainerDualPane() 310 color = MaterialTheme.colorScheme.primary, in SubCategoryTitle() 367 color = MaterialTheme.colorScheme.surfaceContainer, in ShortcutKeyContainer() 414 color = MaterialTheme.colorScheme.onSurface, in ShortcutDescriptionText() 497 color = MaterialTheme.colorScheme.onSurface, in TitleBar() 510 colors = SearchBarDefaults.colors(containerColor = MaterialTheme.colorScheme.surfaceBright), in ShortcutsSearchBar() 536 color = MaterialTheme.colorScheme.onSurfaceVariant, in KeyboardSettings() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/ |
D | MediaArtworkHelper.kt | 88 colorScheme: ColorScheme, in <lambda>() 94 getColorWithAlpha(backgroundStartFromScheme(colorScheme), startAlpha), in <lambda>() 95 getColorWithAlpha(backgroundEndFromScheme(colorScheme), endAlpha) in <lambda>()
|