diff options
author | Newton Allen <newt@google.com> | 2013-08-13 11:22:32 -0700 |
---|---|---|
committer | Newton Allen <newt@google.com> | 2013-11-01 02:38:01 +0000 |
commit | ff236f5fc1a088b1210d37a67b0e88b06c0fbdb2 (patch) | |
tree | 4092fe0319950266e4fd5742dd62e5d32927760e /graphics/java/android | |
parent | 6934add2692ffbad8f299aaef80ee8d3f1f991d6 (diff) | |
download | frameworks_base-ff236f5fc1a088b1210d37a67b0e88b06c0fbdb2.zip frameworks_base-ff236f5fc1a088b1210d37a67b0e88b06c0fbdb2.tar.gz frameworks_base-ff236f5fc1a088b1210d37a67b0e88b06c0fbdb2.tar.bz2 |
Fix some documentation typos.
Change-Id: I0360d468d54d970c87f313e24e50965245206f28
(cherry picked from commit c502744f2ddcc80a34f5197b5d2c0d701c7d6e71)
Diffstat (limited to 'graphics/java/android')
-rw-r--r-- | graphics/java/android/graphics/Bitmap.java | 2 | ||||
-rw-r--r-- | graphics/java/android/graphics/BitmapFactory.java | 4 | ||||
-rw-r--r-- | graphics/java/android/graphics/drawable/Drawable.java | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/graphics/java/android/graphics/Bitmap.java b/graphics/java/android/graphics/Bitmap.java index 4c7395c..6d60dd2 100644 --- a/graphics/java/android/graphics/Bitmap.java +++ b/graphics/java/android/graphics/Bitmap.java @@ -995,7 +995,7 @@ public final class Bitmap implements Parcelable { } /** - * Returns true if the bitmap is marked as mutable (i.e. can be drawn into) + * Returns true if the bitmap is marked as mutable (i.e. can be drawn into) */ public final boolean isMutable() { return mIsMutable; diff --git a/graphics/java/android/graphics/BitmapFactory.java b/graphics/java/android/graphics/BitmapFactory.java index a7c5b20..6fd1763 100644 --- a/graphics/java/android/graphics/BitmapFactory.java +++ b/graphics/java/android/graphics/BitmapFactory.java @@ -457,7 +457,7 @@ public class BitmapFactory { * * @param res The resources object containing the image data * @param id The resource id of the image data - * @return The decoded bitmap, or null if the image could not be decode. + * @return The decoded bitmap, or null if the image could not be decoded. */ public static Bitmap decodeResource(Resources res, int id) { return decodeResource(res, id, null); @@ -505,7 +505,7 @@ public class BitmapFactory { * @param offset offset into imageData for where the decoder should begin * parsing. * @param length the number of bytes, beginning at offset, to parse - * @return The decoded bitmap, or null if the image could not be decode. + * @return The decoded bitmap, or null if the image could not be decoded. */ public static Bitmap decodeByteArray(byte[] data, int offset, int length) { return decodeByteArray(data, offset, length, null); diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java index 8a3d940..93738b0 100644 --- a/graphics/java/android/graphics/drawable/Drawable.java +++ b/graphics/java/android/graphics/drawable/Drawable.java @@ -693,8 +693,8 @@ public abstract class Drawable { */ protected boolean onLevelChange(int level) { return false; } /** - * Override this in your subclass to change appearance if you recognize the - * specified state. + * Override this in your subclass to change appearance if you vary based on + * the bounds. */ protected void onBoundsChange(Rect bounds) {} |