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

Merge commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802' into gingerbread-plus-aosp

* commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802':
  Document Bitmap.createScaledBitmap
This commit is contained in:
Brad Fitzpatrick
2010-10-04 12:23:58 -07:00
committed by Android Git Automerger

View File

@@ -319,6 +319,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;