Loading core/java/android/widget/ImageView.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -232,6 +232,8 @@ public class ImageView extends View { if (w != mDrawableWidth || h != mDrawableHeight) { if (w != mDrawableWidth || h != mDrawableHeight) { mDrawableWidth = w; mDrawableWidth = w; mDrawableHeight = h; mDrawableHeight = h; // updates the matrix, which is dependent on the bounds configureBounds(); } } } } /* we invalidate the whole view in this case because it's very /* we invalidate the whole view in this case because it's very Loading Loading
core/java/android/widget/ImageView.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -232,6 +232,8 @@ public class ImageView extends View { if (w != mDrawableWidth || h != mDrawableHeight) { if (w != mDrawableWidth || h != mDrawableHeight) { mDrawableWidth = w; mDrawableWidth = w; mDrawableHeight = h; mDrawableHeight = h; // updates the matrix, which is dependent on the bounds configureBounds(); } } } } /* we invalidate the whole view in this case because it's very /* we invalidate the whole view in this case because it's very Loading