ActivityCompatApi23.java 3.32 KB
package android.support.v4.app;

import android.annotation.TargetApi;
import android.app.SharedElementCallback;
import android.app.SharedElementCallback.OnSharedElementsReadyListener;
import android.content.Context;
import android.graphics.Matrix;
import android.graphics.RectF;
import android.os.Parcelable;
import android.support.annotation.RequiresApi;
import android.view.View;
import java.util.List;
import java.util.Map;

@TargetApi(23)
@RequiresApi(23)
final class ActivityCompatApi23
{
  static SharedElementCallback a(SharedElementCallback23 paramSharedElementCallback23)
  {
    a locala = null;
    if (paramSharedElementCallback23 != null) {
      locala = new a(paramSharedElementCallback23);
    }
    return locala;
  }
  
  public static abstract interface OnSharedElementsReadyListenerBridge
  {
    public abstract void onSharedElementsReady();
  }
  
  public static abstract interface RequestPermissionsRequestCodeValidator
  {
    public abstract void validateRequestPermissionsRequestCode(int paramInt);
  }
  
  public static abstract class SharedElementCallback23
    extends ActivityCompatApi21.SharedElementCallback21
  {
    public abstract void onSharedElementsArrived(List<String> paramList, List<View> paramList1, ActivityCompatApi23.OnSharedElementsReadyListenerBridge paramOnSharedElementsReadyListenerBridge);
  }
  
  static final class a
    extends SharedElementCallback
  {
    private ActivityCompatApi23.SharedElementCallback23 a;
    
    public a(ActivityCompatApi23.SharedElementCallback23 paramSharedElementCallback23)
    {
      this.a = paramSharedElementCallback23;
    }
    
    public final Parcelable onCaptureSharedElementSnapshot(View paramView, Matrix paramMatrix, RectF paramRectF)
    {
      return this.a.onCaptureSharedElementSnapshot(paramView, paramMatrix, paramRectF);
    }
    
    public final View onCreateSnapshotView(Context paramContext, Parcelable paramParcelable)
    {
      return this.a.onCreateSnapshotView(paramContext, paramParcelable);
    }
    
    public final void onMapSharedElements(List<String> paramList, Map<String, View> paramMap)
    {
      this.a.onMapSharedElements(paramList, paramMap);
    }
    
    public final void onRejectSharedElements(List<View> paramList)
    {
      this.a.onRejectSharedElements(paramList);
    }
    
    public final void onSharedElementEnd(List<String> paramList, List<View> paramList1, List<View> paramList2)
    {
      this.a.onSharedElementEnd(paramList, paramList1, paramList2);
    }
    
    public final void onSharedElementStart(List<String> paramList, List<View> paramList1, List<View> paramList2)
    {
      this.a.onSharedElementStart(paramList, paramList1, paramList2);
    }
    
    public final void onSharedElementsArrived(List<String> paramList, List<View> paramList1, final SharedElementCallback.OnSharedElementsReadyListener paramOnSharedElementsReadyListener)
    {
      this.a.onSharedElementsArrived(paramList, paramList1, new ActivityCompatApi23.OnSharedElementsReadyListenerBridge()
      {
        public final void onSharedElementsReady()
        {
          paramOnSharedElementsReadyListener.onSharedElementsReady();
        }
      });
    }
  }
}


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