ScaleGestureDetectorCompat.java 1.46 KB
package android.support.v4.view;

import android.os.Build.VERSION;
import android.view.ScaleGestureDetector;

public final class ScaleGestureDetectorCompat
{
  static final c a = new a();
  
  static
  {
    if (Build.VERSION.SDK_INT >= 19)
    {
      a = new b();
      return;
    }
  }
  
  public static boolean isQuickScaleEnabled(Object paramObject)
  {
    return a.a(paramObject);
  }
  
  public static void setQuickScaleEnabled(Object paramObject, boolean paramBoolean)
  {
    a.a(paramObject, paramBoolean);
  }
  
  static final class a
    implements ScaleGestureDetectorCompat.c
  {
    public final void a(Object paramObject, boolean paramBoolean) {}
    
    public final boolean a(Object paramObject)
    {
      return false;
    }
  }
  
  static final class b
    implements ScaleGestureDetectorCompat.c
  {
    public final void a(Object paramObject, boolean paramBoolean)
    {
      ((ScaleGestureDetector)paramObject).setQuickScaleEnabled(paramBoolean);
    }
    
    public final boolean a(Object paramObject)
    {
      return ((ScaleGestureDetector)paramObject).isQuickScaleEnabled();
    }
  }
  
  static abstract interface c
  {
    public abstract void a(Object paramObject, boolean paramBoolean);
    
    public abstract boolean a(Object paramObject);
  }
}


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