Lines Matching full:scheme
19 package com.google.ux.material.libmonet.scheme;
26 * Represents a Material color scheme, a mapping of color roles to colors.
34 public class Scheme { class
65 public Scheme() {} in Scheme() method in Scheme
67 public Scheme( in Scheme() method in Scheme
129 /** Creates a light theme Scheme from a source color in ARGB, i.e. a hex code. */
130 public static Scheme light(int argb) { in light()
134 /** Creates a dark theme Scheme from a source color in ARGB, i.e. a hex code. */
135 public static Scheme dark(int argb) { in dark()
139 /** Creates a light theme content-based Scheme from a source color in ARGB, i.e. a hex code. */
140 public static Scheme lightContent(int argb) { in lightContent()
144 /** Creates a dark theme content-based Scheme from a source color in ARGB, i.e. a hex code. */
145 public static Scheme darkContent(int argb) { in darkContent()
149 private static Scheme lightFromCorePalette(CorePalette core) { in lightFromCorePalette()
150 return new Scheme() in lightFromCorePalette()
182 private static Scheme darkFromCorePalette(CorePalette core) { in darkFromCorePalette()
183 return new Scheme() in darkFromCorePalette()
224 public Scheme withPrimary(int primary) { in withPrimary()
238 public Scheme withOnPrimary(int onPrimary) { in withOnPrimary()
252 public Scheme withPrimaryContainer(int primaryContainer) { in withPrimaryContainer()
266 public Scheme withOnPrimaryContainer(int onPrimaryContainer) { in withOnPrimaryContainer()
280 public Scheme withSecondary(int secondary) { in withSecondary()
294 public Scheme withOnSecondary(int onSecondary) { in withOnSecondary()
308 public Scheme withSecondaryContainer(int secondaryContainer) { in withSecondaryContainer()
322 public Scheme withOnSecondaryContainer(int onSecondaryContainer) { in withOnSecondaryContainer()
336 public Scheme withTertiary(int tertiary) { in withTertiary()
350 public Scheme withOnTertiary(int onTertiary) { in withOnTertiary()
364 public Scheme withTertiaryContainer(int tertiaryContainer) { in withTertiaryContainer()
378 public Scheme withOnTertiaryContainer(int onTertiaryContainer) { in withOnTertiaryContainer()
392 public Scheme withError(int error) { in withError()
406 public Scheme withOnError(int onError) { in withOnError()
420 public Scheme withErrorContainer(int errorContainer) { in withErrorContainer()
434 public Scheme withOnErrorContainer(int onErrorContainer) { in withOnErrorContainer()
448 public Scheme withBackground(int background) { in withBackground()
462 public Scheme withOnBackground(int onBackground) { in withOnBackground()
476 public Scheme withSurface(int surface) { in withSurface()
490 public Scheme withOnSurface(int onSurface) { in withOnSurface()
504 public Scheme withSurfaceVariant(int surfaceVariant) { in withSurfaceVariant()
518 public Scheme withOnSurfaceVariant(int onSurfaceVariant) { in withOnSurfaceVariant()
532 public Scheme withOutline(int outline) { in withOutline()
546 public Scheme withOutlineVariant(int outlineVariant) { in withOutlineVariant()
560 public Scheme withShadow(int shadow) { in withShadow()
574 public Scheme withScrim(int scrim) { in withScrim()
588 public Scheme withInverseSurface(int inverseSurface) { in withInverseSurface()
602 public Scheme withInverseOnSurface(int inverseOnSurface) { in withInverseOnSurface()
616 public Scheme withInversePrimary(int inversePrimary) { in withInversePrimary()
623 return "Scheme{" in toString()
690 if (!(object instanceof Scheme)) { in equals()
694 Scheme scheme = (Scheme) object; in equals() local
696 if (primary != scheme.primary) { in equals()
699 if (onPrimary != scheme.onPrimary) { in equals()
702 if (primaryContainer != scheme.primaryContainer) { in equals()
705 if (onPrimaryContainer != scheme.onPrimaryContainer) { in equals()
708 if (secondary != scheme.secondary) { in equals()
711 if (onSecondary != scheme.onSecondary) { in equals()
714 if (secondaryContainer != scheme.secondaryContainer) { in equals()
717 if (onSecondaryContainer != scheme.onSecondaryContainer) { in equals()
720 if (tertiary != scheme.tertiary) { in equals()
723 if (onTertiary != scheme.onTertiary) { in equals()
726 if (tertiaryContainer != scheme.tertiaryContainer) { in equals()
729 if (onTertiaryContainer != scheme.onTertiaryContainer) { in equals()
732 if (error != scheme.error) { in equals()
735 if (onError != scheme.onError) { in equals()
738 if (errorContainer != scheme.errorContainer) { in equals()
741 if (onErrorContainer != scheme.onErrorContainer) { in equals()
744 if (background != scheme.background) { in equals()
747 if (onBackground != scheme.onBackground) { in equals()
750 if (surface != scheme.surface) { in equals()
753 if (onSurface != scheme.onSurface) { in equals()
756 if (surfaceVariant != scheme.surfaceVariant) { in equals()
759 if (onSurfaceVariant != scheme.onSurfaceVariant) { in equals()
762 if (outline != scheme.outline) { in equals()
765 if (outlineVariant != scheme.outlineVariant) { in equals()
768 if (shadow != scheme.shadow) { in equals()
771 if (scrim != scheme.scrim) { in equals()
774 if (inverseSurface != scheme.inverseSurface) { in equals()
777 if (inverseOnSurface != scheme.inverseOnSurface) { in equals()
780 if (inversePrimary != scheme.inversePrimary) { in equals()