+ private static final class BitmapColors {
+ public int mVibrantColor;
+ public int mVibrantDarkColor;
+
+ public BitmapColors(int vibrantColor, int vibrantDarkColor) {
+ mVibrantColor = vibrantColor;
+ mVibrantDarkColor = vibrantDarkColor;
+ }
+ }
+
+ private static final int CACHE_SIZE_MAX = 20;
+ private static final LruCache<Integer, BitmapColors> sCachedColors =
+ new LruCache<Integer, BitmapColors>(CACHE_SIZE_MAX);
+