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

Commit 85f5303d authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 2dac0ad7: Merge "Add an extra pixel to the ripple radius used for bounds" into lmp-dev

* commit '2dac0ad754b8ccb910e76ed7136e40814006c1c3':
  Add an extra pixel to the ripple radius used for bounds
parents 5609c1cf 11e84ce0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -276,7 +276,7 @@ class Ripple {
    public void getBounds(Rect bounds) {
    public void getBounds(Rect bounds) {
        final int outerX = (int) mOuterX;
        final int outerX = (int) mOuterX;
        final int outerY = (int) mOuterY;
        final int outerY = (int) mOuterY;
        final int r = (int) mOuterRadius;
        final int r = (int) mOuterRadius + 1;
        bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
        bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
    }
    }


+1 −1
Original line number Original line Diff line number Diff line
@@ -264,7 +264,7 @@ class RippleBackground {
    public void getBounds(Rect bounds) {
    public void getBounds(Rect bounds) {
        final int outerX = (int) mOuterX;
        final int outerX = (int) mOuterX;
        final int outerY = (int) mOuterY;
        final int outerY = (int) mOuterY;
        final int r = (int) mOuterRadius;
        final int r = (int) mOuterRadius + 1;
        bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
        bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
    }
    }