package androidx.palette.graphics { public final class Palette { method public static androidx.palette.graphics.Palette.Builder from(android.graphics.Bitmap); method public static androidx.palette.graphics.Palette from(java.util.List<androidx.palette.graphics.Palette.Swatch>); method public static deprecated androidx.palette.graphics.Palette generate(android.graphics.Bitmap); method public static deprecated androidx.palette.graphics.Palette generate(android.graphics.Bitmap, int); method public static deprecated android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, androidx.palette.graphics.Palette> generateAsync(android.graphics.Bitmap, androidx.palette.graphics.Palette.PaletteAsyncListener); method public static deprecated android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, androidx.palette.graphics.Palette> generateAsync(android.graphics.Bitmap, int, androidx.palette.graphics.Palette.PaletteAsyncListener); method public int getColorForTarget(androidx.palette.graphics.Target, int); method public int getDarkMutedColor(int); method public androidx.palette.graphics.Palette.Swatch getDarkMutedSwatch(); method public int getDarkVibrantColor(int); method public androidx.palette.graphics.Palette.Swatch getDarkVibrantSwatch(); method public int getDominantColor(int); method public androidx.palette.graphics.Palette.Swatch getDominantSwatch(); method public int getLightMutedColor(int); method public androidx.palette.graphics.Palette.Swatch getLightMutedSwatch(); method public int getLightVibrantColor(int); method public androidx.palette.graphics.Palette.Swatch getLightVibrantSwatch(); method public int getMutedColor(int); method public androidx.palette.graphics.Palette.Swatch getMutedSwatch(); method public androidx.palette.graphics.Palette.Swatch getSwatchForTarget(androidx.palette.graphics.Target); method public java.util.List<androidx.palette.graphics.Palette.Swatch> getSwatches(); method public java.util.List<androidx.palette.graphics.Target> getTargets(); method public int getVibrantColor(int); method public androidx.palette.graphics.Palette.Swatch getVibrantSwatch(); } public static final class Palette.Builder { ctor public Palette.Builder(android.graphics.Bitmap); ctor public Palette.Builder(java.util.List<androidx.palette.graphics.Palette.Swatch>); method public androidx.palette.graphics.Palette.Builder addFilter(androidx.palette.graphics.Palette.Filter); method public androidx.palette.graphics.Palette.Builder addTarget(androidx.palette.graphics.Target); method public androidx.palette.graphics.Palette.Builder clearFilters(); method public androidx.palette.graphics.Palette.Builder clearRegion(); method public androidx.palette.graphics.Palette.Builder clearTargets(); method public androidx.palette.graphics.Palette generate(); method public android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, androidx.palette.graphics.Palette> generate(androidx.palette.graphics.Palette.PaletteAsyncListener); method public androidx.palette.graphics.Palette.Builder maximumColorCount(int); method public androidx.palette.graphics.Palette.Builder resizeBitmapArea(int); method public deprecated androidx.palette.graphics.Palette.Builder resizeBitmapSize(int); method public androidx.palette.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(androidx.palette.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(); } public final class Target { method public float getLightnessWeight(); method public float getMaximumLightness(); method public float getMaximumSaturation(); method public float getMinimumLightness(); method public float getMinimumSaturation(); method public float getPopulationWeight(); method public float getSaturationWeight(); method public float getTargetLightness(); method public float getTargetSaturation(); method public boolean isExclusive(); field public static final androidx.palette.graphics.Target DARK_MUTED; field public static final androidx.palette.graphics.Target DARK_VIBRANT; field public static final androidx.palette.graphics.Target LIGHT_MUTED; field public static final androidx.palette.graphics.Target LIGHT_VIBRANT; field public static final androidx.palette.graphics.Target MUTED; field public static final androidx.palette.graphics.Target VIBRANT; } public static final class Target.Builder { ctor public Target.Builder(); ctor public Target.Builder(androidx.palette.graphics.Target); method public androidx.palette.graphics.Target build(); method public androidx.palette.graphics.Target.Builder setExclusive(boolean); method public androidx.palette.graphics.Target.Builder setLightnessWeight(float); method public androidx.palette.graphics.Target.Builder setMaximumLightness(float); method public androidx.palette.graphics.Target.Builder setMaximumSaturation(float); method public androidx.palette.graphics.Target.Builder setMinimumLightness(float); method public androidx.palette.graphics.Target.Builder setMinimumSaturation(float); method public androidx.palette.graphics.Target.Builder setPopulationWeight(float); method public androidx.palette.graphics.Target.Builder setSaturationWeight(float); method public androidx.palette.graphics.Target.Builder setTargetLightness(float); method public androidx.palette.graphics.Target.Builder setTargetSaturation(float); } }