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

Commit 7f87e8ac authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Query outline on background size change"

parents 8845da77 0f632046
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14994,6 +14994,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        if (mBackgroundSizeChanged) {
            background.setBounds(0, 0,  mRight - mLeft, mBottom - mTop);
            mBackgroundSizeChanged = false;
            invalidateOutline();
        }
        // Attempt to use a display list if requested.
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ public:
            , mType(kOutlineType_None)
            , mRadius(0) {}

    void setRoundRect(int left, int top, int right, int bottom, int radius) {
    void setRoundRect(int left, int top, int right, int bottom, float radius) {
        mType = kOutlineType_RoundRect;
        mBounds.set(left, top, right, bottom);
        mRadius = radius;