content: package android.support.v4.view;
  
  import android.content.Context;
  import android.os.Build;
  import android.util.Log;
  import android.util.TypedValue;
  import android.view.ViewConfiguration;
  import java.lang.reflect.Method;
  
  public final class ViewConfigurationCompat {
    private static final String TAG = "ViewConfigCompat";
    
    private static Method sGetScaledScrollFactorMethod;
    
    static {
      if (Build.VERSION.SDK_INT == 25)
        try {
          sGetScaledScrollFactorMethod = ViewConfiguration.class.getDeclaredMethod("getScaledScrollFactor", new Class[0]);
        } catch (Exception exception) {
          Log.i("ViewConfigCompat", "Could not find method getScaledScrollFactor() on ViewConfiguration");
        }  
    }
    
    private static float getLegacyScrollFactor(ViewConfiguration paramViewConfiguration, Context paramContext) {
      if (Build.VERSION.SDK_INT >= 25) {
        Method method = sGetScaledScrollFactorMethod;
        if (method != null)
          try {
            int i = ((Integer)method.invoke(paramViewConfiguration, new Object[0])).intValue();
            return i;
          } catch (Exception exception) {
            Log.i("ViewConfigCompat", "Could not find method getScaledScrollFactor() on ViewConfiguration");
          }  
      } 
      TypedValue typedValue = new TypedValue();
      return paramContext.getTheme().resolveAttribute(16842829, typedValue, true) ? typedValue.getDimension(paramContext.getResources().getDisplayMetrics()) : 0.0F;
    }
    
    public static float getScaledHorizontalScrollFactor(ViewConfiguration paramViewConfiguration, Context paramContext) {
      return (Build.VERSION.SDK_INT >= 26) ? paramViewConfiguration.getScaledHorizontalScrollFactor() : getLegacyScrollFactor(paramViewConfiguration, paramContext);
    }
    
    @Deprecated
    public static int getScaledPagingTouchSlop(ViewConfiguration paramViewConfiguration) {
      return paramViewConfiguration.getScaledPagingTouchSlop();
    }
    
    public static float getScaledVerticalScrollFactor(ViewConfiguration paramViewConfiguration, Context paramContext) {
      return (Build.VERSION.SDK_INT >= 26) ? paramViewConfiguration.getScaledVerticalScrollFactor() : getLegacyScrollFactor(paramViewConfiguration, paramContext);
    }
    
    @Deprecated
    public static boolean hasPermanentMenuKey(ViewConfiguration paramViewConfiguration) {
      return paramViewConfiguration.hasPermanentMenuKey();
    }
  }
  
  
  /* Location:              F:\何章易\项目文件夹\项目24\va\classes_merge.jar!\android\support\v4\view\ViewConfigurationCompat.class
   * Java compiler version: 6 (50.0)
   * JD-Core Version:       1.1.3
   */