cd.java 1.02 KB
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityOptions;
import android.support.annotation.RequiresApi;
import android.util.Pair;
import android.view.View;

@TargetApi(21)
@RequiresApi(21)
public final class cd
{
  public final ActivityOptions a;
  
  public cd(ActivityOptions paramActivityOptions)
  {
    this.a = paramActivityOptions;
  }
  
  public static cd a(Activity paramActivity, View[] paramArrayOfView, String[] paramArrayOfString)
  {
    Pair[] arrayOfPair = null;
    if (paramArrayOfView != null)
    {
      arrayOfPair = new Pair[paramArrayOfView.length];
      int i = 0;
      while (i < arrayOfPair.length)
      {
        arrayOfPair[i] = Pair.create(paramArrayOfView[i], paramArrayOfString[i]);
        i += 1;
      }
    }
    return new cd(ActivityOptions.makeSceneTransitionAnimation(paramActivity, arrayOfPair));
  }
}


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