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

Commit 036a6659 authored by Alan Viverette's avatar Alan Viverette
Browse files

Add an extra pixel to the ripple radius used for bounds

BUG: 16850241
Change-Id: I0f3a046100c104a6321ca7eb24cd0295878e4f47
parent bcc48b6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ class Ripple {
    public void getBounds(Rect bounds) {
        final int outerX = (int) mOuterX;
        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);
    }

+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ class RippleBackground {
    public void getBounds(Rect bounds) {
        final int outerX = (int) mOuterX;
        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);
    }