Searched defs:Swatch (Results 1 - 2 of 2) sorted by relevance
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | Palette.java | 103 * Generate a {@link Palette} from the pre-generated list of {@link Palette.Swatch} swatches. 107 public static Palette from(List<Swatch> swatches) { 145 private final List<Swatch> mSwatches; 148 private final Map<Target, Swatch> mSelectedSwatches; 151 private final Swatch mDominantSwatch; 153 Palette(List<Swatch> swatches, List<Target> targets) { 167 public List<Swatch> getSwatches() { 185 public Swatch getVibrantSwatch() { 195 public Swatch getLightVibrantSwatch() { 205 public Swatch getDarkVibrantSwatc 441 public static final class Swatch { class in class:Palette 452 public Swatch(@ColorInt int color, int population) { method in class:Palette.Swatch 460 Swatch(int red, int green, int blue, int population) { method in class:Palette.Swatch 468 Swatch(float[] hsl, int population) { method in class:Palette.Swatch [all...] |
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Palette.java | 108 * Generate a {@link Palette} from the pre-generated list of {@link Palette.Swatch} swatches. 112 public static Palette from(List<Palette.Swatch> swatches) { 150 private final List<Palette.Swatch> mSwatches; 153 private final Map<Target, Palette.Swatch> mSelectedSwatches; 156 private final Palette.Swatch mDominantSwatch; 158 Palette(List<Palette.Swatch> swatches, List<Target> targets) { 172 public List<Palette.Swatch> getSwatches() { 190 public Palette.Swatch getVibrantSwatch() { 200 public Palette.Swatch getLightVibrantSwatch() { 210 public Palette.Swatch getDarkVibrantSwatc 446 public static final class Swatch { class in class:Palette 457 public Swatch(@ColorInt int color, int population) { method in class:Palette.Swatch 465 Swatch(int red, int green, int blue, int population) { method in class:Palette.Swatch 473 Swatch(float[] hsl, int population) { method in class:Palette.Swatch [all...] |
Completed in 89 milliseconds