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

Commit d598f60d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix All-apps search box background pixelation" into ub-launcher3-master

parents faf1086f dbcb8674
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -33,7 +33,9 @@ public class NinePatchDrawHelper {

    private final Rect mSrc = new Rect();
    private final RectF mDst = new RectF();
    public final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG);
    // Enable filtering to always get a nice edge. This avoids jagged line, when bitmap is
    // translated by half pixel.
    public final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.FILTER_BITMAP_FLAG);

    /**
     * Draws the bitmap split into three parts horizontally, with the middle part having width