Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 944a8725 authored by Chet Haase's avatar Chet Haase Committed by Android Git Automerger
Browse files

am bee0495f: Merge "Dirty rect must expand, not contract." into jb-mr2-dev

* commit 'bee0495f':
  Dirty rect must expand, not contract.
parents 38272ad2 bee0495f
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -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));
        }
        }
    }
    }