Home | History | Annotate | Download | only in shadows
      1 package com.xtremelabs.robolectric.shadows;
      2 
      3 import android.view.animation.AlphaAnimation;
      4 import com.xtremelabs.robolectric.internal.Implements;
      5 
      6 @SuppressWarnings({"UnusedDeclaration"})
      7 @Implements(AlphaAnimation.class)
      8 public class ShadowAlphaAnimation extends ShadowAnimation {
      9     private float fromAlpha;
     10     private float toAlpha;
     11 
     12     public void __constructor__(float fromAlpha, float toAlpha) {
     13         this.fromAlpha = fromAlpha;
     14         this.toAlpha = toAlpha;
     15     }
     16 
     17     public float getFromAlpha() {
     18         return fromAlpha;
     19     }
     20 
     21     public float getToAlpha() {
     22         return toAlpha;
     23     }
     24 }
     25