Lines Matching full:scheme
19 package com.google.ux.material.libmonet.scheme;
25 /** Represents a Material color scheme, a mapping of color roles to colors. */
27 public class Scheme { class
58 public Scheme() {} in Scheme() method in Scheme
60 public Scheme( in Scheme() method in Scheme
122 /** Creates a light theme Scheme from a source color in ARGB, i.e. a hex code. */
123 public static Scheme light(int argb) { in light()
127 /** Creates a dark theme Scheme from a source color in ARGB, i.e. a hex code. */
128 public static Scheme dark(int argb) { in dark()
132 /** Creates a light theme content-based Scheme from a source color in ARGB, i.e. a hex code. */
133 public static Scheme lightContent(int argb) { in lightContent()
137 /** Creates a dark theme content-based Scheme from a source color in ARGB, i.e. a hex code. */
138 public static Scheme darkContent(int argb) { in darkContent()
142 private static Scheme lightFromCorePalette(CorePalette core) { in lightFromCorePalette()
143 return new Scheme() in lightFromCorePalette()
175 private static Scheme darkFromCorePalette(CorePalette core) { in darkFromCorePalette()
176 return new Scheme() in darkFromCorePalette()
217 public Scheme withPrimary(int primary) { in withPrimary()
231 public Scheme withOnPrimary(int onPrimary) { in withOnPrimary()
245 public Scheme withPrimaryContainer(int primaryContainer) { in withPrimaryContainer()
259 public Scheme withOnPrimaryContainer(int onPrimaryContainer) { in withOnPrimaryContainer()
273 public Scheme withSecondary(int secondary) { in withSecondary()
287 public Scheme withOnSecondary(int onSecondary) { in withOnSecondary()
301 public Scheme withSecondaryContainer(int secondaryContainer) { in withSecondaryContainer()
315 public Scheme withOnSecondaryContainer(int onSecondaryContainer) { in withOnSecondaryContainer()
329 public Scheme withTertiary(int tertiary) { in withTertiary()
343 public Scheme withOnTertiary(int onTertiary) { in withOnTertiary()
357 public Scheme withTertiaryContainer(int tertiaryContainer) { in withTertiaryContainer()
371 public Scheme withOnTertiaryContainer(int onTertiaryContainer) { in withOnTertiaryContainer()
385 public Scheme withError(int error) { in withError()
399 public Scheme withOnError(int onError) { in withOnError()
413 public Scheme withErrorContainer(int errorContainer) { in withErrorContainer()
427 public Scheme withOnErrorContainer(int onErrorContainer) { in withOnErrorContainer()
441 public Scheme withBackground(int background) { in withBackground()
455 public Scheme withOnBackground(int onBackground) { in withOnBackground()
469 public Scheme withSurface(int surface) { in withSurface()
483 public Scheme withOnSurface(int onSurface) { in withOnSurface()
497 public Scheme withSurfaceVariant(int surfaceVariant) { in withSurfaceVariant()
511 public Scheme withOnSurfaceVariant(int onSurfaceVariant) { in withOnSurfaceVariant()
525 public Scheme withOutline(int outline) { in withOutline()
539 public Scheme withOutlineVariant(int outlineVariant) { in withOutlineVariant()
553 public Scheme withShadow(int shadow) { in withShadow()
567 public Scheme withScrim(int scrim) { in withScrim()
581 public Scheme withInverseSurface(int inverseSurface) { in withInverseSurface()
595 public Scheme withInverseOnSurface(int inverseOnSurface) { in withInverseOnSurface()
609 public Scheme withInversePrimary(int inversePrimary) { in withInversePrimary()
616 return "Scheme{" in toString()
683 if (!(object instanceof Scheme)) { in equals()
690 Scheme scheme = (Scheme) object; in equals() local
692 if (primary != scheme.primary) { in equals()
695 if (onPrimary != scheme.onPrimary) { in equals()
698 if (primaryContainer != scheme.primaryContainer) { in equals()
701 if (onPrimaryContainer != scheme.onPrimaryContainer) { in equals()
704 if (secondary != scheme.secondary) { in equals()
707 if (onSecondary != scheme.onSecondary) { in equals()
710 if (secondaryContainer != scheme.secondaryContainer) { in equals()
713 if (onSecondaryContainer != scheme.onSecondaryContainer) { in equals()
716 if (tertiary != scheme.tertiary) { in equals()
719 if (onTertiary != scheme.onTertiary) { in equals()
722 if (tertiaryContainer != scheme.tertiaryContainer) { in equals()
725 if (onTertiaryContainer != scheme.onTertiaryContainer) { in equals()
728 if (error != scheme.error) { in equals()
731 if (onError != scheme.onError) { in equals()
734 if (errorContainer != scheme.errorContainer) { in equals()
737 if (onErrorContainer != scheme.onErrorContainer) { in equals()
740 if (background != scheme.background) { in equals()
743 if (onBackground != scheme.onBackground) { in equals()
746 if (surface != scheme.surface) { in equals()
749 if (onSurface != scheme.onSurface) { in equals()
752 if (surfaceVariant != scheme.surfaceVariant) { in equals()
755 if (onSurfaceVariant != scheme.onSurfaceVariant) { in equals()
758 if (outline != scheme.outline) { in equals()
761 if (outlineVariant != scheme.outlineVariant) { in equals()
764 if (shadow != scheme.shadow) { in equals()
767 if (scrim != scheme.scrim) { in equals()
770 if (inverseSurface != scheme.inverseSurface) { in equals()
773 if (inverseOnSurface != scheme.inverseOnSurface) { in equals()
776 if (inversePrimary != scheme.inversePrimary) { in equals()