as.java 1.6 KB
import android.annotation.TargetApi;
import android.content.Context;
import android.support.annotation.RequiresApi;
import android.support.transition.R.id;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

@TargetApi(14)
@RequiresApi(14)
final class as
{
  Runnable a;
  Runnable b;
  int c = -1;
  ViewGroup d;
  private Context e;
  private View f;
  
  public as(ViewGroup paramViewGroup)
  {
    this.d = paramViewGroup;
  }
  
  as(ViewGroup paramViewGroup, int paramInt, Context paramContext)
  {
    this.e = paramContext;
    this.d = paramViewGroup;
    this.c = paramInt;
  }
  
  public as(ViewGroup paramViewGroup, View paramView)
  {
    this.d = paramViewGroup;
    this.f = paramView;
  }
  
  static as a(View paramView)
  {
    return (as)paramView.getTag(R.id.transition_current_scene);
  }
  
  static void a(View paramView, as paramas)
  {
    paramView.setTag(R.id.transition_current_scene, paramas);
  }
  
  public final void a()
  {
    if ((a(this.d) == this) && (this.b != null)) {
      this.b.run();
    }
  }
  
  public final void b()
  {
    if ((this.c > 0) || (this.f != null))
    {
      this.d.removeAllViews();
      if (this.c <= 0) {
        break label72;
      }
      LayoutInflater.from(this.e).inflate(this.c, this.d);
    }
    for (;;)
    {
      if (this.a != null) {
        this.a.run();
      }
      a(this.d, this);
      return;
      label72:
      this.d.addView(this.f);
    }
  }
}


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