Searched defs:Palette (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java54 * generated Palette. See that class' documentation for more information.
62 * Palette p = Palette.from(bitmap).generate();
65 * Palette.from(bitmap).generate(new PaletteAsyncListener() {
66 * public void onGenerated(Palette p) {
72 public final class Palette { class
81 * Called when the {@link Palette} has been generated.
83 void onGenerated(Palette palette);
92 static final String LOG_TAG = "Palette";
96 * Start generating a {@link Palette} wit
153 Palette(List<Swatch> swatches, List<Target> targets) { method in class:Palette
[all...]
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DPalette.java42 * graphics/Palette.java
58 * Instances are created with a {@link Palette.Builder} which supports several options to tweak the
59 * generated Palette. See that class' documentation for more information.
62 * which you load your image on. {@link Palette.Builder} supports both synchronous and asynchronous
67 * Palette p = Palette.from(bitmap).generate();
70 * Palette.from(bitmap).generate(new PaletteAsyncListener() {
71 * public void onGenerated(Palette p) {
77 public final class Palette { class
80 * Listener to be used with {@link #generateAsync(Bitmap, Palette
158 Palette(List<Palette.Swatch> swatches, List<Target> targets) { method in class:Palette
[all...]

Completed in 136 milliseconds