summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/eleven/utils/BitmapWithColors.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/eleven/utils/BitmapWithColors.java')
-rw-r--r--src/com/cyanogenmod/eleven/utils/BitmapWithColors.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/eleven/utils/BitmapWithColors.java b/src/com/cyanogenmod/eleven/utils/BitmapWithColors.java
index aaa46f5..7c30354 100644
--- a/src/com/cyanogenmod/eleven/utils/BitmapWithColors.java
+++ b/src/com/cyanogenmod/eleven/utils/BitmapWithColors.java
@@ -56,6 +56,14 @@ public class BitmapWithColors {
}
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;
@@ -183,4 +191,9 @@ public class BitmapWithColors {
sCachedColors.put(mBitmapKey, mColors);
}
}
+
+ @Override
+ public String toString() {
+ return "BitmapWithColors[key=" + mBitmapKey + ", colors=" + mColors + "]";
+ }
}