package android.support.v7.graphics {
public final class Palette {
method public static android.support.v7.graphics.Palette.Builder from(android.graphics.Bitmap);
method public static android.support.v7.graphics.Palette from(java.util.List<android.support.v7.graphics.Palette.Swatch>);
method public static deprecated android.support.v7.graphics.Palette generate(android.graphics.Bitmap);
method public static deprecated android.support.v7.graphics.Palette generate(android.graphics.Bitmap, int);
method public static deprecated android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, android.support.v7.graphics.Palette> generateAsync(android.graphics.Bitmap, android.support.v7.graphics.Palette.PaletteAsyncListener);
method public static deprecated android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, android.support.v7.graphics.Palette> generateAsync(android.graphics.Bitmap, int, android.support.v7.graphics.Palette.PaletteAsyncListener);
method public int getDarkMutedColor(int);
method public android.support.v7.graphics.Palette.Swatch getDarkMutedSwatch();
method public int getDarkVibrantColor(int);
method public android.support.v7.graphics.Palette.Swatch getDarkVibrantSwatch();
method public int getLightMutedColor(int);
method public android.support.v7.graphics.Palette.Swatch getLightMutedSwatch();
method public int getLightVibrantColor(int);
method public android.support.v7.graphics.Palette.Swatch getLightVibrantSwatch();
method public int getMutedColor(int);
method public android.support.v7.graphics.Palette.Swatch getMutedSwatch();
method public java.util.List<android.support.v7.graphics.Palette.Swatch> getSwatches();
method public int getVibrantColor(int);
method public android.support.v7.graphics.Palette.Swatch getVibrantSwatch();
}
public static final class Palette.Builder {
ctor public Palette.Builder(android.graphics.Bitmap);
ctor public Palette.Builder(java.util.List<android.support.v7.graphics.Palette.Swatch>);
method public android.support.v7.graphics.Palette.Builder addFilter(android.support.v7.graphics.Palette.Filter);
method public android.support.v7.graphics.Palette.Builder clearFilters();
method public android.support.v7.graphics.Palette.Builder clearRegion();
method public android.support.v7.graphics.Palette generate();
method public android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, android.support.v7.graphics.Palette> generate(android.support.v7.graphics.Palette.PaletteAsyncListener);
method public android.support.v7.graphics.Palette.Builder maximumColorCount(int);
method public android.support.v7.graphics.Palette.Builder resizeBitmapSize(int);
method public android.support.v7.graphics.Palette.Builder setRegion(int, int, int, int);
}
public static abstract interface Palette.Filter {
method public abstract boolean isAllowed(int, float[]);
}
public static abstract interface Palette.PaletteAsyncListener {
method public abstract void onGenerated(android.support.v7.graphics.Palette);
}
public static final class Palette.Swatch {
ctor public Palette.Swatch(int, int);
method public int getBodyTextColor();
method public float[] getHsl();
method public int getPopulation();
method public int getRgb();
method public int getTitleTextColor();
}
}