bd.java 9.61 KB
import android.animation.Animator;
import android.animation.TimeInterpolator;
import android.annotation.TargetApi;
import android.support.annotation.RequiresApi;
import android.transition.Transition;
import android.transition.Transition.TransitionListener;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

@TargetApi(19)
@RequiresApi(19)
public class bd
  extends ba
{
  Transition a;
  bb b;
  private bd.a c;
  
  static android.support.transition.TransitionValues a(android.transition.TransitionValues paramTransitionValues)
  {
    if (paramTransitionValues == null) {
      return null;
    }
    android.support.transition.TransitionValues localTransitionValues = new android.support.transition.TransitionValues();
    a(paramTransitionValues, localTransitionValues);
    return localTransitionValues;
  }
  
  private static void a(android.support.transition.TransitionValues paramTransitionValues, android.transition.TransitionValues paramTransitionValues1)
  {
    if (paramTransitionValues == null) {}
    do
    {
      return;
      paramTransitionValues1.view = paramTransitionValues.view;
    } while (paramTransitionValues.values.size() <= 0);
    paramTransitionValues1.values.putAll(paramTransitionValues.values);
  }
  
  static void a(android.transition.TransitionValues paramTransitionValues, android.support.transition.TransitionValues paramTransitionValues1)
  {
    if (paramTransitionValues == null) {}
    do
    {
      return;
      paramTransitionValues1.view = paramTransitionValues.view;
    } while (paramTransitionValues.values.size() <= 0);
    paramTransitionValues1.values.putAll(paramTransitionValues.values);
  }
  
  static void a(bb parambb, android.transition.TransitionValues paramTransitionValues)
  {
    android.support.transition.TransitionValues localTransitionValues = new android.support.transition.TransitionValues();
    a(paramTransitionValues, localTransitionValues);
    parambb.captureStartValues(localTransitionValues);
    a(localTransitionValues, paramTransitionValues);
  }
  
  static void b(bb parambb, android.transition.TransitionValues paramTransitionValues)
  {
    android.support.transition.TransitionValues localTransitionValues = new android.support.transition.TransitionValues();
    a(paramTransitionValues, localTransitionValues);
    parambb.captureEndValues(localTransitionValues);
    a(localTransitionValues, paramTransitionValues);
  }
  
  static android.transition.TransitionValues d(android.support.transition.TransitionValues paramTransitionValues)
  {
    if (paramTransitionValues == null) {
      return null;
    }
    android.transition.TransitionValues localTransitionValues = new android.transition.TransitionValues();
    a(paramTransitionValues, localTransitionValues);
    return localTransitionValues;
  }
  
  public final long a()
  {
    return this.a.getDuration();
  }
  
  public final Animator a(ViewGroup paramViewGroup, android.support.transition.TransitionValues paramTransitionValues1, android.support.transition.TransitionValues paramTransitionValues2)
  {
    android.transition.TransitionValues localTransitionValues1 = null;
    android.transition.TransitionValues localTransitionValues2;
    if (paramTransitionValues1 != null)
    {
      localTransitionValues2 = new android.transition.TransitionValues();
      a(paramTransitionValues1, localTransitionValues2);
    }
    for (paramTransitionValues1 = localTransitionValues2;; paramTransitionValues1 = null)
    {
      if (paramTransitionValues2 != null)
      {
        localTransitionValues1 = new android.transition.TransitionValues();
        a(paramTransitionValues2, localTransitionValues1);
      }
      return this.a.createAnimator(paramViewGroup, paramTransitionValues1, localTransitionValues1);
    }
  }
  
  public ba a(int paramInt)
  {
    if (paramInt > 0) {
      this.a.getTargetIds().remove(Integer.valueOf(paramInt));
    }
    return this;
  }
  
  public final ba a(int paramInt, boolean paramBoolean)
  {
    this.a.excludeChildren(paramInt, paramBoolean);
    return this;
  }
  
  public final ba a(long paramLong)
  {
    this.a.setDuration(paramLong);
    return this;
  }
  
  public final ba a(TimeInterpolator paramTimeInterpolator)
  {
    this.a.setInterpolator(paramTimeInterpolator);
    return this;
  }
  
  public final ba a(View paramView)
  {
    this.a.addTarget(paramView);
    return this;
  }
  
  public final ba a(View paramView, boolean paramBoolean)
  {
    this.a.excludeChildren(paramView, paramBoolean);
    return this;
  }
  
  public final ba a(bc parambc)
  {
    if (this.c == null)
    {
      this.c = new bd.a();
      this.a.addListener(this.c);
    }
    this.c.a.add(parambc);
    return this;
  }
  
  public final ba a(Class paramClass, boolean paramBoolean)
  {
    this.a.excludeChildren(paramClass, paramBoolean);
    return this;
  }
  
  public void a(bb parambb, Object paramObject)
  {
    this.b = parambb;
    if (paramObject == null)
    {
      this.a = new bd.b(parambb);
      return;
    }
    this.a = ((Transition)paramObject);
  }
  
  public final TimeInterpolator b()
  {
    return this.a.getInterpolator();
  }
  
  public final ba b(int paramInt)
  {
    this.a.addTarget(paramInt);
    return this;
  }
  
  public final ba b(int paramInt, boolean paramBoolean)
  {
    this.a.excludeTarget(paramInt, paramBoolean);
    return this;
  }
  
  public final ba b(long paramLong)
  {
    this.a.setStartDelay(paramLong);
    return this;
  }
  
  public final ba b(View paramView)
  {
    this.a.removeTarget(paramView);
    return this;
  }
  
  public final ba b(View paramView, boolean paramBoolean)
  {
    this.a.excludeTarget(paramView, paramBoolean);
    return this;
  }
  
  public final ba b(bc parambc)
  {
    if (this.c == null) {}
    do
    {
      return this;
      this.c.a.remove(parambc);
    } while (!this.c.a.isEmpty());
    this.a.removeListener(this.c);
    this.c = null;
    return this;
  }
  
  public final ba b(Class paramClass, boolean paramBoolean)
  {
    this.a.excludeTarget(paramClass, paramBoolean);
    return this;
  }
  
  public final void b(android.support.transition.TransitionValues paramTransitionValues)
  {
    android.transition.TransitionValues localTransitionValues = new android.transition.TransitionValues();
    a(paramTransitionValues, localTransitionValues);
    this.a.captureEndValues(localTransitionValues);
    a(localTransitionValues, paramTransitionValues);
  }
  
  public final android.support.transition.TransitionValues c(View paramView, boolean paramBoolean)
  {
    android.support.transition.TransitionValues localTransitionValues = new android.support.transition.TransitionValues();
    a(this.a.getTransitionValues(paramView, paramBoolean), localTransitionValues);
    return localTransitionValues;
  }
  
  public final String c()
  {
    return this.a.getName();
  }
  
  public final void c(android.support.transition.TransitionValues paramTransitionValues)
  {
    android.transition.TransitionValues localTransitionValues = new android.transition.TransitionValues();
    a(paramTransitionValues, localTransitionValues);
    this.a.captureStartValues(localTransitionValues);
    a(localTransitionValues, paramTransitionValues);
  }
  
  public final long d()
  {
    return this.a.getStartDelay();
  }
  
  public final List<Integer> e()
  {
    return this.a.getTargetIds();
  }
  
  public final List<View> f()
  {
    return this.a.getTargets();
  }
  
  public final String[] g()
  {
    return this.a.getTransitionProperties();
  }
  
  public String toString()
  {
    return this.a.toString();
  }
  
  final class a
    implements Transition.TransitionListener
  {
    final ArrayList<bc> a = new ArrayList();
    
    a() {}
    
    public final void onTransitionCancel(Transition paramTransition)
    {
      paramTransition = this.a.iterator();
      while (paramTransition.hasNext()) {
        paramTransition.next();
      }
    }
    
    public final void onTransitionEnd(Transition paramTransition)
    {
      paramTransition = this.a.iterator();
      while (paramTransition.hasNext()) {
        paramTransition.next();
      }
    }
    
    public final void onTransitionPause(Transition paramTransition)
    {
      paramTransition = this.a.iterator();
      while (paramTransition.hasNext()) {
        paramTransition.next();
      }
    }
    
    public final void onTransitionResume(Transition paramTransition)
    {
      paramTransition = this.a.iterator();
      while (paramTransition.hasNext()) {
        paramTransition.next();
      }
    }
    
    public final void onTransitionStart(Transition paramTransition)
    {
      paramTransition = this.a.iterator();
      while (paramTransition.hasNext()) {
        paramTransition.next();
      }
    }
  }
  
  static final class b
    extends Transition
  {
    private bb a;
    
    public b(bb parambb)
    {
      this.a = parambb;
    }
    
    public final void captureEndValues(android.transition.TransitionValues paramTransitionValues)
    {
      bd.b(this.a, paramTransitionValues);
    }
    
    public final void captureStartValues(android.transition.TransitionValues paramTransitionValues)
    {
      bd.a(this.a, paramTransitionValues);
    }
    
    public final Animator createAnimator(ViewGroup paramViewGroup, android.transition.TransitionValues paramTransitionValues1, android.transition.TransitionValues paramTransitionValues2)
    {
      return this.a.createAnimator(paramViewGroup, bd.a(paramTransitionValues1), bd.a(paramTransitionValues2));
    }
  }
}


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