diff options
author | Romain Guy <romainguy@google.com> | 2012-10-16 18:44:09 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-10-16 18:44:09 -0700 |
commit | 713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5 (patch) | |
tree | d2cb42c7e05fff03274f9acdbdee80d848a86da2 /api | |
parent | d43b22da291fd08017fac627561091a633c85807 (diff) | |
download | frameworks_base-713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5.zip frameworks_base-713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5.tar.gz frameworks_base-713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5.tar.bz2 |
Add API to enable mipmaps on Bitmap
Bug #7353771
This API can be used when scaling large images down to a small size
to get nicer looking results.
Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index ee9a973..c45706e 100644 --- a/api/current.txt +++ b/api/current.txt @@ -8263,6 +8263,7 @@ package android.graphics { method public int getScaledWidth(int); method public final int getWidth(); method public final boolean hasAlpha(); + method public final boolean hasMipMap(); method public final boolean isMutable(); method public final boolean isPremultiplied(); method public final boolean isRecycled(); @@ -8271,6 +8272,7 @@ package android.graphics { method public boolean sameAs(android.graphics.Bitmap); method public void setDensity(int); method public void setHasAlpha(boolean); + method public final void setHasMipMap(boolean); method public void setPixel(int, int, int); method public void setPixels(int[], int, int, int, int, int, int); method public void writeToParcel(android.os.Parcel, int); |