List of usage examples for android.graphics PorterDuff.Mode hashCode
@HotSpotIntrinsicCandidate public native int hashCode();
From source file:Main.java
private static int generateCacheKey(int color, PorterDuff.Mode mode) { int hashCode = 1; hashCode = 31 * hashCode + color;/*from www .ja va2 s. co m*/ hashCode = 31 * hashCode + mode.hashCode(); return hashCode; }