Transition.java 4.81 KB
package android.support.transition;

import android.animation.Animator;
import android.animation.TimeInterpolator;
import android.os.Build.VERSION;
import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.ViewGroup;
import ay;
import az;
import ba;
import bb;
import bc;
import bd;
import java.util.List;

public abstract class Transition
  implements bb
{
  ba a;
  
  public Transition()
  {
    this(false);
  }
  
  Transition(boolean paramBoolean)
  {
    if (!paramBoolean)
    {
      if (Build.VERSION.SDK_INT < 23) {
        break label37;
      }
      this.a = new ay();
    }
    for (;;)
    {
      this.a.a(this, null);
      return;
      label37:
      if (Build.VERSION.SDK_INT >= 19) {
        this.a = new bd();
      } else {
        this.a = new az();
      }
    }
  }
  
  @NonNull
  public Transition addListener(@NonNull TransitionListener paramTransitionListener)
  {
    this.a.a(paramTransitionListener);
    return this;
  }
  
  @NonNull
  public Transition addTarget(@IdRes int paramInt)
  {
    this.a.b(paramInt);
    return this;
  }
  
  @NonNull
  public Transition addTarget(@NonNull View paramView)
  {
    this.a.a(paramView);
    return this;
  }
  
  public abstract void captureEndValues(@NonNull TransitionValues paramTransitionValues);
  
  public abstract void captureStartValues(@NonNull TransitionValues paramTransitionValues);
  
  @Nullable
  public Animator createAnimator(@NonNull ViewGroup paramViewGroup, @Nullable TransitionValues paramTransitionValues1, @Nullable TransitionValues paramTransitionValues2)
  {
    return null;
  }
  
  @NonNull
  public Transition excludeChildren(@IdRes int paramInt, boolean paramBoolean)
  {
    this.a.a(paramInt, paramBoolean);
    return this;
  }
  
  @NonNull
  public Transition excludeChildren(@NonNull View paramView, boolean paramBoolean)
  {
    this.a.a(paramView, paramBoolean);
    return this;
  }
  
  @NonNull
  public Transition excludeChildren(@NonNull Class paramClass, boolean paramBoolean)
  {
    this.a.a(paramClass, paramBoolean);
    return this;
  }
  
  @NonNull
  public Transition excludeTarget(@IdRes int paramInt, boolean paramBoolean)
  {
    this.a.b(paramInt, paramBoolean);
    return this;
  }
  
  @NonNull
  public Transition excludeTarget(@NonNull View paramView, boolean paramBoolean)
  {
    this.a.b(paramView, paramBoolean);
    return this;
  }
  
  @NonNull
  public Transition excludeTarget(@NonNull Class paramClass, boolean paramBoolean)
  {
    this.a.b(paramClass, paramBoolean);
    return this;
  }
  
  public long getDuration()
  {
    return this.a.a();
  }
  
  @Nullable
  public TimeInterpolator getInterpolator()
  {
    return this.a.b();
  }
  
  @NonNull
  public String getName()
  {
    return this.a.c();
  }
  
  public long getStartDelay()
  {
    return this.a.d();
  }
  
  @NonNull
  public List<Integer> getTargetIds()
  {
    return this.a.e();
  }
  
  @NonNull
  public List<View> getTargets()
  {
    return this.a.f();
  }
  
  @Nullable
  public String[] getTransitionProperties()
  {
    return this.a.g();
  }
  
  @NonNull
  public TransitionValues getTransitionValues(@NonNull View paramView, boolean paramBoolean)
  {
    return this.a.c(paramView, paramBoolean);
  }
  
  @NonNull
  public Transition removeListener(@NonNull TransitionListener paramTransitionListener)
  {
    this.a.b(paramTransitionListener);
    return this;
  }
  
  @NonNull
  public Transition removeTarget(@IdRes int paramInt)
  {
    this.a.a(paramInt);
    return this;
  }
  
  @NonNull
  public Transition removeTarget(@NonNull View paramView)
  {
    this.a.b(paramView);
    return this;
  }
  
  @NonNull
  public Transition setDuration(long paramLong)
  {
    this.a.a(paramLong);
    return this;
  }
  
  @NonNull
  public Transition setInterpolator(@Nullable TimeInterpolator paramTimeInterpolator)
  {
    this.a.a(paramTimeInterpolator);
    return this;
  }
  
  @NonNull
  public Transition setStartDelay(long paramLong)
  {
    this.a.b(paramLong);
    return this;
  }
  
  public String toString()
  {
    return this.a.toString();
  }
  
  public static abstract interface TransitionListener
    extends bc<Transition>
  {
    public abstract void onTransitionCancel(@NonNull Transition paramTransition);
    
    public abstract void onTransitionEnd(@NonNull Transition paramTransition);
    
    public abstract void onTransitionPause(@NonNull Transition paramTransition);
    
    public abstract void onTransitionResume(@NonNull Transition paramTransition);
    
    public abstract void onTransitionStart(@NonNull Transition paramTransition);
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/android/support/transition/Transition.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */