diff options
author | Mark Wei <markwei@google.com> | 2013-11-04 21:24:34 -0800 |
---|---|---|
committer | Mark Wei <markwei@google.com> | 2013-11-04 21:24:34 -0800 |
commit | 10dddd8a24a80d1d539997d8eaa9763c62bd02ad (patch) | |
tree | 7a5b365c4d7cfc5ece62e0f9df5125ae26855b50 /src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java | |
parent | aab539ecd75ae365912200eb7f3318a53e9834f4 (diff) | |
download | bitmap-10dddd8a24a80d1d539997d8eaa9763c62bd02ad.tar.gz |
Add some documentation.
Change-Id: Ie32f29997946714d10318b111fabf4ed04e042e3
Diffstat (limited to 'src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java')
-rw-r--r-- | src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java b/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java index 068fca2..fa3d071 100644 --- a/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java +++ b/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java @@ -536,9 +536,9 @@ public class ExtendedBitmapDrawable extends BasicBitmapDrawable implements * <p/> * Requirements: * Set {@link #parallaxSpeedMultiplier} to the ratio between the decoded height and the - * visual bound height. Call {@link ExtendedBitmapDrawable#setParallaxFraction(float)} when - * the user scrolls, usually accomplished in your view's - * {@link android.view.View#onDraw(android.graphics.Canvas)} method. + * visual bound height. Call {@link ExtendedBitmapDrawable#setDecodeDimensions(int, int)} + * with the height multiplied by {@link #parallaxSpeedMultiplier}. + * Call {@link ExtendedBitmapDrawable#setParallaxFraction(float)} when the user scrolls. */ public static final int FEATURE_PARALLAX = 1 << 1; |