Loading core/java/android/view/View.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -10578,10 +10578,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, RectF boundingRect = mAttachInfo.mTmpTransformRect; RectF boundingRect = mAttachInfo.mTmpTransformRect; boundingRect.set(rect); boundingRect.set(rect); getMatrix().mapRect(boundingRect); getMatrix().mapRect(boundingRect); rect.set((int) (boundingRect.left - 0.5f), rect.set((int) Math.floor(boundingRect.left), (int) (boundingRect.top - 0.5f), (int) Math.floor(boundingRect.top), (int) (boundingRect.right + 0.5f), (int) Math.ceil(boundingRect.right), (int) (boundingRect.bottom + 0.5f)); (int) Math.ceil(boundingRect.bottom)); } } } } Loading Loading
core/java/android/view/View.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -10578,10 +10578,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, RectF boundingRect = mAttachInfo.mTmpTransformRect; RectF boundingRect = mAttachInfo.mTmpTransformRect; boundingRect.set(rect); boundingRect.set(rect); getMatrix().mapRect(boundingRect); getMatrix().mapRect(boundingRect); rect.set((int) (boundingRect.left - 0.5f), rect.set((int) Math.floor(boundingRect.left), (int) (boundingRect.top - 0.5f), (int) Math.floor(boundingRect.top), (int) (boundingRect.right + 0.5f), (int) Math.ceil(boundingRect.right), (int) (boundingRect.bottom + 0.5f)); (int) Math.ceil(boundingRect.bottom)); } } } } Loading