1 package com.android.mail.bitmap; 2 3 import android.graphics.drawable.Drawable; 4 5 /** 6 * {@link Drawable}s that support a parallax effect when drawing should 7 * implement this interface to receive the current parallax fraction to use when 8 * drawing. 9 */ 10 public interface Parallaxable { 11 /** 12 * @param fraction the vertical center point for the viewport, in the range [0,1] 13 */ 14 void setParallaxFraction(float fraction); 15 }