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

Commit 5e9f64ce authored by Brad Fitzpatrick's avatar Brad Fitzpatrick Committed by Android Git Automerger
Browse files

am b12bfbd4: am eb6e22f2: Merge "Document Bitmap.createScaledBitmap" into gingerbread

Merge commit 'b12bfbd4'

* commit 'b12bfbd4':
  Document Bitmap.createScaledBitmap
parents a143e83e b12bfbd4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -346,6 +346,15 @@ public final class Bitmap implements Parcelable {
        return b;
    }

    /**
     * Creates a new bitmap, scaled from an existing bitmap.
     *
     * @param src       The source bitmap.
     * @param dstWidth  The new bitmap's desired width.
     * @param dstHeight The new bitmap's desired height.
     * @param filter    true if the source should be filtered.
     * @return the new scaled bitmap.
     */
    public static Bitmap createScaledBitmap(Bitmap src, int dstWidth,
            int dstHeight, boolean filter) {
        Matrix m;