Loading core/java/android/content/res/Resources.java +4 −4 Original line number Diff line number Diff line Loading @@ -1761,7 +1761,7 @@ public class Resources { } else { synchronized (mTmpValue) { //Log.i(TAG, "Saving cached drawable @ #" + // Integer.toHexString(key.intValue()) // Long.toHexString(key) // + " in " + this + ": " + cs); mDrawableCache.put(key, new WeakReference<Drawable.ConstantState>(cs)); } Loading @@ -1779,7 +1779,7 @@ public class Resources { Drawable.ConstantState entry = wr.get(); if (entry != null) { //Log.i(TAG, "Returning cached drawable @ #" + // Integer.toHexString(((Integer)key).intValue()) // Long.toHexString(key) // + " in " + this + ": " + entry); return entry.newDrawable(this); } Loading Loading @@ -1863,7 +1863,7 @@ public class Resources { } else { synchronized (mTmpValue) { //Log.i(TAG, "Saving cached color state list @ #" + // Integer.toHexString(key.intValue()) // Long.toHexString(key) // + " in " + this + ": " + csl); mColorStateListCache.put( key, new WeakReference<ColorStateList>(csl)); Loading @@ -1881,7 +1881,7 @@ public class Resources { ColorStateList entry = wr.get(); if (entry != null) { //Log.i(TAG, "Returning cached color state list @ #" + // Integer.toHexString(((Integer)key).intValue()) // Long.toHexString(key) // + " in " + this + ": " + entry); return entry; } Loading Loading
core/java/android/content/res/Resources.java +4 −4 Original line number Diff line number Diff line Loading @@ -1761,7 +1761,7 @@ public class Resources { } else { synchronized (mTmpValue) { //Log.i(TAG, "Saving cached drawable @ #" + // Integer.toHexString(key.intValue()) // Long.toHexString(key) // + " in " + this + ": " + cs); mDrawableCache.put(key, new WeakReference<Drawable.ConstantState>(cs)); } Loading @@ -1779,7 +1779,7 @@ public class Resources { Drawable.ConstantState entry = wr.get(); if (entry != null) { //Log.i(TAG, "Returning cached drawable @ #" + // Integer.toHexString(((Integer)key).intValue()) // Long.toHexString(key) // + " in " + this + ": " + entry); return entry.newDrawable(this); } Loading Loading @@ -1863,7 +1863,7 @@ public class Resources { } else { synchronized (mTmpValue) { //Log.i(TAG, "Saving cached color state list @ #" + // Integer.toHexString(key.intValue()) // Long.toHexString(key) // + " in " + this + ": " + csl); mColorStateListCache.put( key, new WeakReference<ColorStateList>(csl)); Loading @@ -1881,7 +1881,7 @@ public class Resources { ColorStateList entry = wr.get(); if (entry != null) { //Log.i(TAG, "Returning cached color state list @ #" + // Integer.toHexString(((Integer)key).intValue()) // Long.toHexString(key) // + " in " + this + ": " + entry); return entry; } Loading