package android.support.v4.view.accessibility;

import android.graphics.Rect;
import android.os.Build.VERSION;

public class AccessibilityWindowInfoCompat
{
  private static final AccessibilityWindowInfoImpl IMPL = new AccessibilityWindowInfoStubImpl(null);
  public static final int TYPE_ACCESSIBILITY_OVERLAY = 4;
  public static final int TYPE_APPLICATION = 1;
  public static final int TYPE_INPUT_METHOD = 2;
  public static final int TYPE_SYSTEM = 3;
  private static final int UNDEFINED = -1;
  private Object mInfo;
  
  static
  {
    if (Build.VERSION.SDK_INT >= 21)
    {
      IMPL = new AccessibilityWindowInfoApi21Impl(null);
      return;
    }
  }
  
  private AccessibilityWindowInfoCompat(Object paramObject)
  {
    this.mInfo = paramObject;
  }
  
  public static AccessibilityWindowInfoCompat obtain()
  {
    return wrapNonNullInstance(IMPL.obtain());
  }
  
  public static AccessibilityWindowInfoCompat obtain(AccessibilityWindowInfoCompat paramAccessibilityWindowInfoCompat)
  {
    return wrapNonNullInstance(IMPL.obtain(paramAccessibilityWindowInfoCompat.mInfo));
  }
  
  private static String typeToString(int paramInt)
  {
    switch (paramInt)
    {
    default: 
      return "<UNKNOWN>";
    case 1: 
      return "TYPE_APPLICATION";
    case 2: 
      return "TYPE_INPUT_METHOD";
    case 3: 
      return "TYPE_SYSTEM";
    }
    return "TYPE_ACCESSIBILITY_OVERLAY";
  }
  
  static AccessibilityWindowInfoCompat wrapNonNullInstance(Object paramObject)
  {
    if (paramObject != null) {
      return new AccessibilityWindowInfoCompat(paramObject);
    }
    return null;
  }
  
  public boolean equals(Object paramObject)
  {
    if (this == paramObject) {}
    do
    {
      do
      {
        return true;
        if (paramObject == null) {
          return false;
        }
        if (getClass() != paramObject.getClass()) {
          return false;
        }
        paramObject = (AccessibilityWindowInfoCompat)paramObject;
        if (this.mInfo != null) {
          break;
        }
      } while (((AccessibilityWindowInfoCompat)paramObject).mInfo == null);
      return false;
    } while (this.mInfo.equals(((AccessibilityWindowInfoCompat)paramObject).mInfo));
    return false;
  }
  
  public void getBoundsInScreen(Rect paramRect)
  {
    IMPL.getBoundsInScreen(this.mInfo, paramRect);
  }
  
  public AccessibilityWindowInfoCompat getChild(int paramInt)
  {
    return wrapNonNullInstance(IMPL.getChild(this.mInfo, paramInt));
  }
  
  public int getChildCount()
  {
    return IMPL.getChildCount(this.mInfo);
  }
  
  public int getId()
  {
    return IMPL.getId(this.mInfo);
  }
  
  public int getLayer()
  {
    return IMPL.getLayer(this.mInfo);
  }
  
  public AccessibilityWindowInfoCompat getParent()
  {
    return wrapNonNullInstance(IMPL.getParent(this.mInfo));
  }
  
  public AccessibilityNodeInfoCompat getRoot()
  {
    return AccessibilityNodeInfoCompat.wrapNonNullInstance(IMPL.getRoot(this.mInfo));
  }
  
  public int getType()
  {
    return IMPL.getType(this.mInfo);
  }
  
  public int hashCode()
  {
    if (this.mInfo == null) {
      return 0;
    }
    return this.mInfo.hashCode();
  }
  
  public boolean isAccessibilityFocused()
  {
    return IMPL.isAccessibilityFocused(this.mInfo);
  }
  
  public boolean isActive()
  {
    return IMPL.isActive(this.mInfo);
  }
  
  public boolean isFocused()
  {
    return IMPL.isFocused(this.mInfo);
  }
  
  public void recycle()
  {
    IMPL.recycle(this.mInfo);
  }
  
  public String toString()
  {
    boolean bool2 = true;
    StringBuilder localStringBuilder = new StringBuilder();
    Object localObject = new Rect();
    getBoundsInScreen((Rect)localObject);
    localStringBuilder.append("AccessibilityWindowInfo[");
    localStringBuilder.append("id=").append(getId());
    localStringBuilder.append(", type=").append(typeToString(getType()));
    localStringBuilder.append(", layer=").append(getLayer());
    localStringBuilder.append(", bounds=").append(localObject);
    localStringBuilder.append(", focused=").append(isFocused());
    localStringBuilder.append(", active=").append(isActive());
    localObject = localStringBuilder.append(", hasParent=");
    if (getParent() != null)
    {
      bool1 = true;
      ((StringBuilder)localObject).append(bool1);
      localObject = localStringBuilder.append(", hasChildren=");
      if (getChildCount() <= 0) {
        break label182;
      }
    }
    label182:
    for (boolean bool1 = bool2;; bool1 = false)
    {
      ((StringBuilder)localObject).append(bool1);
      localStringBuilder.append(']');
      return localStringBuilder.toString();
      bool1 = false;
      break;
    }
  }
  
  private static class AccessibilityWindowInfoApi21Impl
    extends AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl
  {
    private AccessibilityWindowInfoApi21Impl()
    {
      super();
    }
    
    public void getBoundsInScreen(Object paramObject, Rect paramRect)
    {
      AccessibilityWindowInfoCompatApi21.getBoundsInScreen(paramObject, paramRect);
    }
    
    public Object getChild(Object paramObject, int paramInt)
    {
      return AccessibilityWindowInfoCompatApi21.getChild(paramObject, paramInt);
    }
    
    public int getChildCount(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.getChildCount(paramObject);
    }
    
    public int getId(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.getId(paramObject);
    }
    
    public int getLayer(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.getLayer(paramObject);
    }
    
    public Object getParent(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.getParent(paramObject);
    }
    
    public Object getRoot(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.getRoot(paramObject);
    }
    
    public int getType(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.getType(paramObject);
    }
    
    public boolean isAccessibilityFocused(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.isAccessibilityFocused(paramObject);
    }
    
    public boolean isActive(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.isActive(paramObject);
    }
    
    public boolean isFocused(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.isFocused(paramObject);
    }
    
    public Object obtain()
    {
      return AccessibilityWindowInfoCompatApi21.obtain();
    }
    
    public Object obtain(Object paramObject)
    {
      return AccessibilityWindowInfoCompatApi21.obtain(paramObject);
    }
    
    public void recycle(Object paramObject)
    {
      AccessibilityWindowInfoCompatApi21.recycle(paramObject);
    }
  }
  
  private static abstract interface AccessibilityWindowInfoImpl
  {
    public abstract void getBoundsInScreen(Object paramObject, Rect paramRect);
    
    public abstract Object getChild(Object paramObject, int paramInt);
    
    public abstract int getChildCount(Object paramObject);
    
    public abstract int getId(Object paramObject);
    
    public abstract int getLayer(Object paramObject);
    
    public abstract Object getParent(Object paramObject);
    
    public abstract Object getRoot(Object paramObject);
    
    public abstract int getType(Object paramObject);
    
    public abstract boolean isAccessibilityFocused(Object paramObject);
    
    public abstract boolean isActive(Object paramObject);
    
    public abstract boolean isFocused(Object paramObject);
    
    public abstract Object obtain();
    
    public abstract Object obtain(Object paramObject);
    
    public abstract void recycle(Object paramObject);
  }
  
  private static class AccessibilityWindowInfoStubImpl
    implements AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl
  {
    public void getBoundsInScreen(Object paramObject, Rect paramRect) {}
    
    public Object getChild(Object paramObject, int paramInt)
    {
      return null;
    }
    
    public int getChildCount(Object paramObject)
    {
      return 0;
    }
    
    public int getId(Object paramObject)
    {
      return -1;
    }
    
    public int getLayer(Object paramObject)
    {
      return -1;
    }
    
    public Object getParent(Object paramObject)
    {
      return null;
    }
    
    public Object getRoot(Object paramObject)
    {
      return null;
    }
    
    public int getType(Object paramObject)
    {
      return -1;
    }
    
    public boolean isAccessibilityFocused(Object paramObject)
    {
      return true;
    }
    
    public boolean isActive(Object paramObject)
    {
      return true;
    }
    
    public boolean isFocused(Object paramObject)
    {
      return true;
    }
    
    public Object obtain()
    {
      return null;
    }
    
    public Object obtain(Object paramObject)
    {
      return null;
    }
    
    public void recycle(Object paramObject) {}
  }
}


/* Location:              /home/enzo/Documents/hacking/malwares/viking-horde/classes.jar!/android/support/v4/view/accessibility/AccessibilityWindowInfoCompat.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */