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

/frameworks/support/palette/src/main/java/androidx/palette/graphics/
H A DPalette.java56 * generated Palette. See that class' documentation for more information.
64 * Palette p = Palette.from(bitmap).generate();
67 * Palette.from(bitmap).generate(new PaletteAsyncListener() {
68 * public void onGenerated(Palette p) {
74 public final class Palette { class
83 * Called when the {@link Palette} has been generated. {@code null} will be passed when an
86 void onGenerated(@Nullable Palette palette);
95 static final String LOG_TAG = "Palette";
99 * Start generating a {@link Palette} wit
158 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 9 milliseconds