Package 

Interface DrawableToColorMapper


  • 
    public interface DrawableToColorMapper
    
                        

    A utility interface to convert a Drawable to a meaningful color. This interface is meant for internal usage, please use it carefully.

    • Method Summary

      Modifier and Type Method Description
      abstract Integer mapDrawableToColor(Drawable drawable, InternalLogger internalLogger) Maps the drawable to its meaningful color, or null if the drawable is mostly invisible.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mapDrawableToColor

         abstract Integer mapDrawableToColor(Drawable drawable, InternalLogger internalLogger)

        Maps the drawable to its meaningful color, or null if the drawable is mostly invisible.

        Parameters:
        drawable - the drawable to convert
        internalLogger - the internalLogger to report warnings