/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/ |
D | MediaColorSchemes.kt | 19 import com.android.systemui.monet.ColorScheme 22 internal fun surfaceFromScheme(scheme: ColorScheme) = scheme.accent2.s800 // A2-800 25 internal fun accentPrimaryFromScheme(scheme: ColorScheme) = scheme.accent1.s100 // A1-100 28 internal fun accentSecondaryFromScheme(scheme: ColorScheme) = scheme.accent1.s200 // A1-200 31 internal fun textPrimaryFromScheme(scheme: ColorScheme) = scheme.neutral1.s50 // N1-50 34 internal fun textPrimaryInverseFromScheme(scheme: ColorScheme) = scheme.neutral1.s900 // N1-900 37 internal fun textSecondaryFromScheme(scheme: ColorScheme) = scheme.neutral2.s200 // N2-200 40 internal fun textTertiaryFromScheme(scheme: ColorScheme) = scheme.neutral2.s400 // N2-400 43 internal fun backgroundStartFromScheme(scheme: ColorScheme) = scheme.accent2.s700 // A2-700 46 internal fun backgroundEndFromScheme(scheme: ColorScheme) = scheme.accent1.s700 // A1-700
|
D | ColorSchemeTransition.kt | 31 import com.android.systemui.monet.ColorScheme in <lambda>() 41 fun updateColorScheme(scheme: ColorScheme?): Boolean in <lambda>() 53 private val extractColor: (ColorScheme) -> Int, 69 override fun updateColorScheme(scheme: ColorScheme?): Boolean { in updateColorScheme() 95 (Int, (ColorScheme) -> Int, (Int) -> Unit) -> AnimatingColorTransition 161 { colorScheme: ColorScheme -> in colorScheme() 235 fun updateColorScheme(colorScheme: ColorScheme?): Boolean { in updateColorScheme()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/ |
D | MaterialColors.kt | 20 import androidx.compose.material3.ColorScheme 31 internal fun materialColorScheme(isDarkTheme: Boolean): ColorScheme { in materialColorScheme() 45 val ColorScheme.divider: Color constant 48 val ColorScheme.surfaceTone: Color constant 52 val ColorScheme.settingsBackground: Color constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/ |
D | MediaArtworkHelper.kt | 30 import com.android.systemui.monet.ColorScheme in <lambda>() 88 colorScheme: ColorScheme, in <lambda>() 106 ): ColorScheme? { in <lambda>() 110 ColorScheme(WallpaperColors.fromDrawable(icon), true, style) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaPlayerViewModel.kt | 21 import com.android.systemui.monet.ColorScheme 34 val colorScheme: ColorScheme,
|
D | MediaRecommendationsViewModel.kt | 48 import com.android.systemui.monet.ColorScheme in <lambda>() 220 scheme: ColorScheme in <lambda>() 258 ColorScheme(wallpaperColors, true, Style.CONTENT), in <lambda>() 268 mutableColorScheme: ColorScheme, in <lambda>()
|
D | MediaControlViewModel.kt | 41 import com.android.systemui.monet.ColorScheme in <lambda>() 96 wallpaperColors?.let { ColorScheme(it, true, Style.CONTENT) } in <lambda>() 253 private fun toGutsViewModel(model: MediaControlModel, scheme: ColorScheme): GutsViewModel { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | GutsViewHolder.kt | 28 import com.android.systemui.monet.ColorScheme 47 var colorScheme: ColorScheme? = null 68 fun setColors(scheme: ColorScheme) { in setColors()
|
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/ |
D | ColorScheme.java | 47 public class ColorScheme { class 65 public ColorScheme(@ColorInt int seed, boolean isDark, Style style, double contrastLevel) { in ColorScheme() method in ColorScheme 101 public ColorScheme(@ColorInt int seed, boolean darkTheme) { in ColorScheme() method in ColorScheme 105 public ColorScheme(@ColorInt int seed, boolean darkTheme, Style style) { in ColorScheme() method in ColorScheme 109 public ColorScheme(WallpaperColors wallpaperColors, boolean darkTheme, Style style) { in ColorScheme() method in ColorScheme 113 public ColorScheme(WallpaperColors wallpaperColors, boolean darkTheme) { in ColorScheme() method in ColorScheme 348 .map(ColorScheme::stringForColor) in humanReadable()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | DynamicRenderResources.java | 27 import com.android.systemui.monet.ColorScheme; 167 int seed = ColorScheme.getSeedColor(wallpaperColors); in createDynamicColorMap() 168 ColorScheme scheme = new ColorScheme(seed, isNightMode); in createDynamicColorMap()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/ |
D | ThemeUtils.kt | 25 import androidx.compose.material3.ColorScheme 90 fun getColorScheme(task: RunningTaskInfo): ColorScheme = when (getAppTheme(task)) { in isLight()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/ |
D | ColorSchemeTransitionTest.kt | 27 import com.android.systemui.monet.ColorScheme in <lambda>() 51 private interface ExtractCB : (ColorScheme) -> Int in <lambda>() 58 @Mock private lateinit var colorScheme: ColorScheme in <lambda>()
|
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/ |
D | ColorSchemeTest.kt | 22 import com.android.systemui.monet.ColorScheme.GOOGLE_BLUE in <lambda>() 110 val colorScheme = ColorScheme(sourceColor.toInt(), false, styleValue) in generateThemeStyles() 142 val colorScheme = ColorScheme(GOOGLE_BLUE, false) in generateDefaultValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 79 import com.android.systemui.monet.ColorScheme; 140 protected ColorScheme mColorScheme; 166 private ColorScheme mDarkColorScheme; 167 private ColorScheme mLightColorScheme; 262 List<Integer> seedColors = ColorScheme.getSeedColors(newWallpaperColors); in isSeedColorSet() 573 return ColorScheme.getSeedColor(wallpaperColors); in getNeutralColor() 577 return ColorScheme.getSeedColor(wallpaperColors); in getAccentColor() 598 mDarkColorScheme = new ColorScheme(color, true /* isDark */, mThemeStyle, mContrast); in createOverlays() 599 mLightColorScheme = new ColorScheme(color, false /* isDark */, mThemeStyle, mContrast); in createOverlays()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/chart/ |
D | BarChart.kt | 29 import androidx.compose.material3.ColorScheme in <lambda>() 202 colorScheme: ColorScheme in updateBarChartWithData()
|
D | LineChart.kt | 29 import androidx.compose.material3.ColorScheme in <lambda>() 192 colorScheme: ColorScheme, in updateLineChartWithData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanel.java | 114 import com.android.systemui.monet.ColorScheme; 899 ColorScheme mutableColorScheme = null; in bindArtworkAndColors() 905 mutableColorScheme = new ColorScheme(wallpaperColors, true, Style.CONTENT); in bindArtworkAndColors() 916 mutableColorScheme = new ColorScheme(WallpaperColors.fromDrawable(icon), true, in bindArtworkAndColors() 923 final ColorScheme colorScheme = mutableColorScheme; in bindArtworkAndColors() 1005 ColorScheme mutableColorScheme = null; in bindRecommendationArtwork() 1010 mutableColorScheme = new ColorScheme(wallpaperColors, true, Style.CONTENT); in bindRecommendationArtwork() 1071 ColorScheme mutableColorScheme, int width, int height) { in addGradientToPlayerAlbum() 1081 ColorScheme mutableColorScheme, int width, int height) { in addGradientToRecommendationAlbum() 1095 ColorScheme mutableColorScheme, float startAlpha, float endAlpha) { in setupGradientColorOnDrawable() [all …]
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/ |
D | ShadeHeader.kt | 39 import androidx.compose.material3.ColorScheme in <lambda>() 111 val ColorScheme.shadeHeaderText: Color in <lambda>() constant 113 val ColorScheme.onScrimDim: Color in <lambda>() constant
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | MaximizeMenu.kt | 55 import androidx.compose.material3.ColorScheme in <lambda>() 497 colorScheme: ColorScheme in createMaximizeDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/ |
D | MediaControlViewBinder.kt | 58 import com.android.systemui.monet.ColorScheme in <lambda>() 516 mutableColorScheme: ColorScheme, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
D | KeyguardPreviewRenderer.kt | 79 import com.android.systemui.monet.ColorScheme in <lambda>() 640 val wallpaperColorScheme = ColorScheme(colors, false, style) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputController.java | 89 import com.android.systemui.monet.ColorScheme; 560 ColorScheme mCurrentColorScheme = new ColorScheme(wallpaperColors, in setCurrentColorScheme()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanelTest.kt | 88 import com.android.systemui.monet.ColorScheme in <lambda>() 710 val redColorScheme = ColorScheme(redWallpaperColor, true, Style.CONTENT) in <lambda>() 715 val greenColorScheme = ColorScheme(greenWallpaperColor, true, Style.CONTENT) in <lambda>() 2373 val redColorScheme = ColorScheme(redWallpaperColor, true, Style.CONTENT) in <lambda>() 2378 val greenColorScheme = ColorScheme(greenWallpaperColor, true, Style.CONTENT) in <lambda>()
|