1package android.support.v7.graphics { 2 3 public final class Palette { 4 method public static android.support.v7.graphics.Palette from(java.util.List<android.support.v7.graphics.Palette.Swatch>); 5 method public static android.support.v7.graphics.Palette generate(android.graphics.Bitmap); 6 method public static android.support.v7.graphics.Palette generate(android.graphics.Bitmap, int); 7 method public static android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, android.support.v7.graphics.Palette> generateAsync(android.graphics.Bitmap, android.support.v7.graphics.Palette.PaletteAsyncListener); 8 method public static 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); 9 method public int getDarkMutedColor(int); 10 method public android.support.v7.graphics.Palette.Swatch getDarkMutedSwatch(); 11 method public int getDarkVibrantColor(int); 12 method public android.support.v7.graphics.Palette.Swatch getDarkVibrantSwatch(); 13 method public int getLightMutedColor(int); 14 method public android.support.v7.graphics.Palette.Swatch getLightMutedSwatch(); 15 method public int getLightVibrantColor(int); 16 method public android.support.v7.graphics.Palette.Swatch getLightVibrantSwatch(); 17 method public int getMutedColor(int); 18 method public android.support.v7.graphics.Palette.Swatch getMutedSwatch(); 19 method public java.util.List<android.support.v7.graphics.Palette.Swatch> getSwatches(); 20 method public int getVibrantColor(int); 21 method public android.support.v7.graphics.Palette.Swatch getVibrantSwatch(); 22 } 23 24 public static abstract interface Palette.PaletteAsyncListener { 25 method public abstract void onGenerated(android.support.v7.graphics.Palette); 26 } 27 28 public static final class Palette.Swatch { 29 ctor public Palette.Swatch(int, int); 30 method public int getBodyTextColor(); 31 method public float[] getHsl(); 32 method public int getPopulation(); 33 method public int getRgb(); 34 method public int getTitleTextColor(); 35 } 36 37} 38 39