summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Koch <akoch@google.com>2013-03-05 14:25:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-05 14:25:51 +0000
commit1a5bec0127ca4584008a1ab9e1ce49e671f8387c (patch)
treea21dbcc521049cec981a76094f2888352b86c319
parent67f2957331a63474879f68bf1a8d17b60b2188cd (diff)
parent758333d70a749fb50276057abc585cbc0decc8d4 (diff)
downloadframeworks_base-1a5bec0127ca4584008a1ab9e1ce49e671f8387c.zip
frameworks_base-1a5bec0127ca4584008a1ab9e1ce49e671f8387c.tar.gz
frameworks_base-1a5bec0127ca4584008a1ab9e1ce49e671f8387c.tar.bz2
Merge "Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev
-rw-r--r--graphics/java/android/graphics/BitmapFactory.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/java/android/graphics/BitmapFactory.java b/graphics/java/android/graphics/BitmapFactory.java
index 381e65b..c2cd34b 100644
--- a/graphics/java/android/graphics/BitmapFactory.java
+++ b/graphics/java/android/graphics/BitmapFactory.java
@@ -88,9 +88,8 @@ public class BitmapFactory {
* pixel in the decoded bitmap. For example, inSampleSize == 4 returns
* an image that is 1/4 the width/height of the original, and 1/16 the
* number of pixels. Any value <= 1 is treated the same as 1. Note: the
- * decoder will try to fulfill this request, but the resulting bitmap
- * may have different dimensions that precisely what has been requested.
- * Also, powers of 2 are often faster/easier for the decoder to honor.
+ * decoder uses a final value based on powers of 2, any other value will
+ * be rounded down to the nearest power of 2.
*/
public int inSampleSize;