}
return dominant;
}
+
+ @Override
+ public String toString() {
+ return "BitmapColors[vibrant=" + Integer.toHexString(mVibrantColor)
+ + ", vibrantDark=" + Integer.toHexString(mVibrantDarkColor)
+ + ", vibrantLight=" + Integer.toHexString(mVibrantLightColor)
+ + ", dominant=" + Integer.toHexString(mDominantColor) + "]";
+ }
}
private static final int CACHE_SIZE_MAX = 20;
sCachedColors.put(mBitmapKey, mColors);
}
}
+
+ @Override
+ public String toString() {
+ return "BitmapWithColors[key=" + mBitmapKey + ", colors=" + mColors + "]";
+ }
}