From 10dddd8a24a80d1d539997d8eaa9763c62bd02ad Mon Sep 17 00:00:00 2001 From: Mark Wei Date: Mon, 4 Nov 2013 21:24:34 -0800 Subject: Add some documentation. Change-Id: Ie32f29997946714d10318b111fabf4ed04e042e3 --- src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java') 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 *

* 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; -- cgit v1.2.3