content: package androidx.core.view.accessibility;
  
  import android.graphics.Rect;
  import android.graphics.Region;
  import android.os.Build;
  import android.os.Bundle;
  import android.text.SpannableString;
  import android.text.Spanned;
  import android.text.TextUtils;
  import android.text.style.ClickableSpan;
  import android.util.Log;
  import android.util.SparseArray;
  import android.view.View;
  import android.view.accessibility.AccessibilityNodeInfo;
  import androidx.core.R;
  import androidx.core.os.BuildCompat;
  import androidx.core.view.accessibility.AccessibilityViewCommand;
  import java.lang.ref.WeakReference;
  import java.util.ArrayList;
  import java.util.Collections;
  import java.util.List;
  import java.util.Map;
  import mt.Log1F380D;
  
  /* compiled from: 0064 */
  public class AccessibilityNodeInfoCompat {
      public static final int ACTION_ACCESSIBILITY_FOCUS = 64;
      public static final String ACTION_ARGUMENT_COLUMN_INT = "android.view.accessibility.action.ARGUMENT_COLUMN_INT";
      public static final String ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN = "ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN";
      public static final String ACTION_ARGUMENT_HTML_ELEMENT_STRING = "ACTION_ARGUMENT_HTML_ELEMENT_STRING";
      public static final String ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT";
      public static final String ACTION_ARGUMENT_MOVE_WINDOW_X = "ACTION_ARGUMENT_MOVE_WINDOW_X";
      public static final String ACTION_ARGUMENT_MOVE_WINDOW_Y = "ACTION_ARGUMENT_MOVE_WINDOW_Y";
      public static final String ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT = "android.view.accessibility.action.ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT";
      public static final String ACTION_ARGUMENT_PROGRESS_VALUE = "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE";
      public static final String ACTION_ARGUMENT_ROW_INT = "android.view.accessibility.action.ARGUMENT_ROW_INT";
      public static final String ACTION_ARGUMENT_SELECTION_END_INT = "ACTION_ARGUMENT_SELECTION_END_INT";
      public static final String ACTION_ARGUMENT_SELECTION_START_INT = "ACTION_ARGUMENT_SELECTION_START_INT";
      public static final String ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE = "ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE";
      public static final int ACTION_CLEAR_ACCESSIBILITY_FOCUS = 128;
      public static final int ACTION_CLEAR_FOCUS = 2;
      public static final int ACTION_CLEAR_SELECTION = 8;
      public static final int ACTION_CLICK = 16;
      public static final int ACTION_COLLAPSE = 524288;
      public static final int ACTION_COPY = 16384;
      public static final int ACTION_CUT = 65536;
      public static final int ACTION_DISMISS = 1048576;
      public static final int ACTION_EXPAND = 262144;
      public static final int ACTION_FOCUS = 1;
      public static final int ACTION_LONG_CLICK = 32;
      public static final int ACTION_NEXT_AT_MOVEMENT_GRANULARITY = 256;
      public static final int ACTION_NEXT_HTML_ELEMENT = 1024;
      public static final int ACTION_PASTE = 32768;
      public static final int ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY = 512;
      public static final int ACTION_PREVIOUS_HTML_ELEMENT = 2048;
      public static final int ACTION_SCROLL_BACKWARD = 8192;
      public static final int ACTION_SCROLL_FORWARD = 4096;
      public static final int ACTION_SELECT = 4;
      public static final int ACTION_SET_SELECTION = 131072;
      public static final int ACTION_SET_TEXT = 2097152;
      private static final int BOOLEAN_PROPERTY_IS_HEADING = 2;
      private static final int BOOLEAN_PROPERTY_IS_SHOWING_HINT = 4;
      private static final int BOOLEAN_PROPERTY_IS_TEXT_ENTRY_KEY = 8;
      private static final String BOOLEAN_PROPERTY_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.BOOLEAN_PROPERTY_KEY";
      private static final int BOOLEAN_PROPERTY_SCREEN_READER_FOCUSABLE = 1;
      public static final int FOCUS_ACCESSIBILITY = 2;
      public static final int FOCUS_INPUT = 1;
      private static final String HINT_TEXT_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.HINT_TEXT_KEY";
      public static final int MOVEMENT_GRANULARITY_CHARACTER = 1;
      public static final int MOVEMENT_GRANULARITY_LINE = 4;
      public static final int MOVEMENT_GRANULARITY_PAGE = 16;
      public static final int MOVEMENT_GRANULARITY_PARAGRAPH = 8;
      public static final int MOVEMENT_GRANULARITY_WORD = 2;
      private static final String PANE_TITLE_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.PANE_TITLE_KEY";
      private static final String ROLE_DESCRIPTION_KEY = "AccessibilityNodeInfo.roleDescription";
      private static final String SPANS_ACTION_ID_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_ACTION_ID_KEY";
      private static final String SPANS_END_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_END_KEY";
      private static final String SPANS_FLAGS_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_FLAGS_KEY";
      private static final String SPANS_ID_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_ID_KEY";
      private static final String SPANS_START_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_START_KEY";
      private static final String STATE_DESCRIPTION_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.STATE_DESCRIPTION_KEY";
      private static final String TOOLTIP_TEXT_KEY = "androidx.view.accessibility.AccessibilityNodeInfoCompat.TOOLTIP_TEXT_KEY";
      private static int sClickableSpanId = 0;
      private final AccessibilityNodeInfo mInfo;
      public int mParentVirtualDescendantId = -1;
      private int mVirtualDescendantId = -1;
  
      public static class AccessibilityActionCompat {
          public static final AccessibilityActionCompat ACTION_ACCESSIBILITY_FOCUS = new AccessibilityActionCompat(64, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_CLEAR_ACCESSIBILITY_FOCUS = new AccessibilityActionCompat(128, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_CLEAR_FOCUS = new AccessibilityActionCompat(2, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_CLEAR_SELECTION = new AccessibilityActionCompat(8, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_CLICK = new AccessibilityActionCompat(16, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_COLLAPSE = new AccessibilityActionCompat(524288, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_CONTEXT_CLICK = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_CONTEXT_CLICK : null, 16908348, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_COPY = new AccessibilityActionCompat(16384, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_CUT = new AccessibilityActionCompat(65536, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_DISMISS = new AccessibilityActionCompat(1048576, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_EXPAND = new AccessibilityActionCompat(262144, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_FOCUS = new AccessibilityActionCompat(1, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_HIDE_TOOLTIP = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 28 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_HIDE_TOOLTIP : null, 16908357, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_IME_ENTER;
          public static final AccessibilityActionCompat ACTION_LONG_CLICK = new AccessibilityActionCompat(32, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_MOVE_WINDOW = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 26 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_MOVE_WINDOW : null, 16908354, (CharSequence) null, (AccessibilityViewCommand) null, AccessibilityViewCommand.MoveWindowArguments.class);
          public static final AccessibilityActionCompat ACTION_NEXT_AT_MOVEMENT_GRANULARITY = new AccessibilityActionCompat(256, (CharSequence) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) AccessibilityViewCommand.MoveAtGranularityArguments.class);
          public static final AccessibilityActionCompat ACTION_NEXT_HTML_ELEMENT = new AccessibilityActionCompat(1024, (CharSequence) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) AccessibilityViewCommand.MoveHtmlArguments.class);
          public static final AccessibilityActionCompat ACTION_PAGE_DOWN = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 29 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_DOWN : null, 16908359, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_PAGE_LEFT = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 29 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_LEFT : null, 16908360, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_PAGE_RIGHT = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 29 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_RIGHT : null, 16908361, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_PAGE_UP = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 29 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_PAGE_UP : null, 16908358, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_PASTE = new AccessibilityActionCompat(32768, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_PRESS_AND_HOLD = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 30 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_PRESS_AND_HOLD : null, 16908362, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY = new AccessibilityActionCompat(512, (CharSequence) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) AccessibilityViewCommand.MoveAtGranularityArguments.class);
          public static final AccessibilityActionCompat ACTION_PREVIOUS_HTML_ELEMENT = new AccessibilityActionCompat(2048, (CharSequence) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) AccessibilityViewCommand.MoveHtmlArguments.class);
          public static final AccessibilityActionCompat ACTION_SCROLL_BACKWARD = new AccessibilityActionCompat(8192, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_SCROLL_DOWN = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_DOWN : null, 16908346, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_SCROLL_FORWARD = new AccessibilityActionCompat(4096, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_SCROLL_LEFT = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_LEFT : null, 16908345, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_SCROLL_RIGHT = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_RIGHT : null, 16908347, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_SCROLL_TO_POSITION = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_TO_POSITION : null, 16908343, (CharSequence) null, (AccessibilityViewCommand) null, AccessibilityViewCommand.ScrollToPositionArguments.class);
          public static final AccessibilityActionCompat ACTION_SCROLL_UP = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_UP : null, 16908344, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_SELECT = new AccessibilityActionCompat(4, (CharSequence) null);
          public static final AccessibilityActionCompat ACTION_SET_PROGRESS = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 24 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_PROGRESS : null, 16908349, (CharSequence) null, (AccessibilityViewCommand) null, AccessibilityViewCommand.SetProgressArguments.class);
          public static final AccessibilityActionCompat ACTION_SET_SELECTION = new AccessibilityActionCompat(131072, (CharSequence) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) AccessibilityViewCommand.SetSelectionArguments.class);
          public static final AccessibilityActionCompat ACTION_SET_TEXT = new AccessibilityActionCompat(2097152, (CharSequence) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) AccessibilityViewCommand.SetTextArguments.class);
          public static final AccessibilityActionCompat ACTION_SHOW_ON_SCREEN = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SHOW_ON_SCREEN : null, 16908342, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          public static final AccessibilityActionCompat ACTION_SHOW_TOOLTIP = new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 28 ? AccessibilityNodeInfo.AccessibilityAction.ACTION_SHOW_TOOLTIP : null, 16908356, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          private static final String TAG = "A11yActionCompat";
          final Object mAction;
          protected final AccessibilityViewCommand mCommand;
          private final int mId;
          private final Class<? extends AccessibilityViewCommand.CommandArguments> mViewCommandArgumentClass;
  
          static {
              AccessibilityNodeInfo.AccessibilityAction accessibilityAction = null;
              if (Build.VERSION.SDK_INT >= 30) {
                  accessibilityAction = AccessibilityNodeInfo.AccessibilityAction.ACTION_IME_ENTER;
              }
              ACTION_IME_ENTER = new AccessibilityActionCompat(accessibilityAction, 16908372, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          }
  
          public AccessibilityActionCompat(int actionId, CharSequence label) {
              this((Object) null, actionId, label, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          }
  
          public AccessibilityActionCompat(int actionId, CharSequence label, AccessibilityViewCommand command) {
              this((Object) null, actionId, label, command, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          }
  
          private AccessibilityActionCompat(int actionId, CharSequence label, Class<? extends AccessibilityViewCommand.CommandArguments> cls) {
              this((Object) null, actionId, label, (AccessibilityViewCommand) null, cls);
          }
  
          AccessibilityActionCompat(Object action) {
              this(action, 0, (CharSequence) null, (AccessibilityViewCommand) null, (Class<? extends AccessibilityViewCommand.CommandArguments>) null);
          }
  
          AccessibilityActionCompat(Object action, int id, CharSequence label, AccessibilityViewCommand command, Class<? extends AccessibilityViewCommand.CommandArguments> cls) {
              this.mId = id;
              this.mCommand = command;
              if (Build.VERSION.SDK_INT < 21 || action != null) {
                  this.mAction = action;
              } else {
                  this.mAction = new AccessibilityNodeInfo.AccessibilityAction(id, label);
              }
              this.mViewCommandArgumentClass = cls;
          }
  
          public AccessibilityActionCompat createReplacementAction(CharSequence label, AccessibilityViewCommand command) {
              return new AccessibilityActionCompat((Object) null, this.mId, label, command, this.mViewCommandArgumentClass);
          }
  
          public boolean equals(Object obj) {
              if (obj == null || !(obj instanceof AccessibilityActionCompat)) {
                  return false;
              }
              AccessibilityActionCompat accessibilityActionCompat = (AccessibilityActionCompat) obj;
              Object obj2 = this.mAction;
              return obj2 == null ? accessibilityActionCompat.mAction == null : obj2.equals(accessibilityActionCompat.mAction);
          }
  
          public int getId() {
              if (Build.VERSION.SDK_INT >= 21) {
                  return ((AccessibilityNodeInfo.AccessibilityAction) this.mAction).getId();
              }
              return 0;
          }
  
          public CharSequence getLabel() {
              if (Build.VERSION.SDK_INT >= 21) {
                  return ((AccessibilityNodeInfo.AccessibilityAction) this.mAction).getLabel();
              }
              return null;
          }
  
          public int hashCode() {
              Object obj = this.mAction;
              if (obj != null) {
                  return obj.hashCode();
              }
              return 0;
          }
  
          public boolean perform(View view, Bundle arguments) {
              if (this.mCommand == null) {
                  return false;
              }
              AccessibilityViewCommand.CommandArguments commandArguments = null;
              Class<? extends AccessibilityViewCommand.CommandArguments> cls = this.mViewCommandArgumentClass;
              if (cls != null) {
                  try {
                      commandArguments = (AccessibilityViewCommand.CommandArguments) cls.getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
                      commandArguments.setBundle(arguments);
                  } catch (Exception e) {
                      Class<? extends AccessibilityViewCommand.CommandArguments> cls2 = this.mViewCommandArgumentClass;
                      Log.e(TAG, "Failed to execute command with argument class ViewCommandArgument: " + (cls2 == null ? "null" : cls2.getName()), e);
                  }
              }
              return this.mCommand.perform(view, commandArguments);
          }
      }
  
      public static class CollectionInfoCompat {
          public static final int SELECTION_MODE_MULTIPLE = 2;
          public static final int SELECTION_MODE_NONE = 0;
          public static final int SELECTION_MODE_SINGLE = 1;
          final Object mInfo;
  
          CollectionInfoCompat(Object info) {
              this.mInfo = info;
          }
  
          public static CollectionInfoCompat obtain(int rowCount, int columnCount, boolean hierarchical) {
              return Build.VERSION.SDK_INT >= 19 ? new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical)) : new CollectionInfoCompat((Object) null);
          }
  
          public static CollectionInfoCompat obtain(int rowCount, int columnCount, boolean hierarchical, int selectionMode) {
              return Build.VERSION.SDK_INT >= 21 ? new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical, selectionMode)) : Build.VERSION.SDK_INT >= 19 ? new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical)) : new CollectionInfoCompat((Object) null);
          }
  
          public int getColumnCount() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionInfo) this.mInfo).getColumnCount();
              }
              return -1;
          }
  
          public int getRowCount() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionInfo) this.mInfo).getRowCount();
              }
              return -1;
          }
  
          public int getSelectionMode() {
              if (Build.VERSION.SDK_INT >= 21) {
                  return ((AccessibilityNodeInfo.CollectionInfo) this.mInfo).getSelectionMode();
              }
              return 0;
          }
  
          public boolean isHierarchical() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionInfo) this.mInfo).isHierarchical();
              }
              return false;
          }
      }
  
      public static class CollectionItemInfoCompat {
          final Object mInfo;
  
          CollectionItemInfoCompat(Object info) {
              this.mInfo = info;
          }
  
          public static CollectionItemInfoCompat obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading) {
              return Build.VERSION.SDK_INT >= 19 ? new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, columnSpan, heading)) : new CollectionItemInfoCompat((Object) null);
          }
  
          public static CollectionItemInfoCompat obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading, boolean selected) {
              return Build.VERSION.SDK_INT >= 21 ? new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, columnSpan, heading, selected)) : Build.VERSION.SDK_INT >= 19 ? new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, columnSpan, heading)) : new CollectionItemInfoCompat((Object) null);
          }
  
          public int getColumnIndex() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionItemInfo) this.mInfo).getColumnIndex();
              }
              return 0;
          }
  
          public int getColumnSpan() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionItemInfo) this.mInfo).getColumnSpan();
              }
              return 0;
          }
  
          public int getRowIndex() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionItemInfo) this.mInfo).getRowIndex();
              }
              return 0;
          }
  
          public int getRowSpan() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionItemInfo) this.mInfo).getRowSpan();
              }
              return 0;
          }
  
          @Deprecated
          public boolean isHeading() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.CollectionItemInfo) this.mInfo).isHeading();
              }
              return false;
          }
  
          public boolean isSelected() {
              if (Build.VERSION.SDK_INT >= 21) {
                  return ((AccessibilityNodeInfo.CollectionItemInfo) this.mInfo).isSelected();
              }
              return false;
          }
      }
  
      public static class RangeInfoCompat {
          public static final int RANGE_TYPE_FLOAT = 1;
          public static final int RANGE_TYPE_INT = 0;
          public static final int RANGE_TYPE_PERCENT = 2;
          final Object mInfo;
  
          RangeInfoCompat(Object info) {
              this.mInfo = info;
          }
  
          public static RangeInfoCompat obtain(int type, float min, float max, float current) {
              return Build.VERSION.SDK_INT >= 19 ? new RangeInfoCompat(AccessibilityNodeInfo.RangeInfo.obtain(type, min, max, current)) : new RangeInfoCompat((Object) null);
          }
  
          public float getCurrent() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.RangeInfo) this.mInfo).getCurrent();
              }
              return 0.0f;
          }
  
          public float getMax() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.RangeInfo) this.mInfo).getMax();
              }
              return 0.0f;
          }
  
          public float getMin() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.RangeInfo) this.mInfo).getMin();
              }
              return 0.0f;
          }
  
          public int getType() {
              if (Build.VERSION.SDK_INT >= 19) {
                  return ((AccessibilityNodeInfo.RangeInfo) this.mInfo).getType();
              }
              return 0;
          }
      }
  
      public static final class TouchDelegateInfoCompat {
          final AccessibilityNodeInfo.TouchDelegateInfo mInfo;
  
          TouchDelegateInfoCompat(AccessibilityNodeInfo.TouchDelegateInfo info) {
              this.mInfo = info;
          }
  
          public TouchDelegateInfoCompat(Map<Region, View> map) {
              if (Build.VERSION.SDK_INT >= 29) {
                  this.mInfo = new AccessibilityNodeInfo.TouchDelegateInfo(map);
              } else {
                  this.mInfo = null;
              }
          }
  
          public Region getRegionAt(int index) {
              if (Build.VERSION.SDK_INT >= 29) {
                  return this.mInfo.getRegionAt(index);
              }
              return null;
          }
  
          public int getRegionCount() {
              if (Build.VERSION.SDK_INT >= 29) {
                  return this.mInfo.getRegionCount();
              }
              return 0;
          }
  
          public AccessibilityNodeInfoCompat getTargetForRegion(Region region) {
              AccessibilityNodeInfo targetForRegion;
              if (Build.VERSION.SDK_INT < 29 || (targetForRegion = this.mInfo.getTargetForRegion(region)) == null) {
                  return null;
              }
              return AccessibilityNodeInfoCompat.wrap(targetForRegion);
          }
      }
  
      private AccessibilityNodeInfoCompat(AccessibilityNodeInfo info) {
          this.mInfo = info;
      }
  
      @Deprecated
      public AccessibilityNodeInfoCompat(Object info) {
          this.mInfo = (AccessibilityNodeInfo) info;
      }
  
      private void addSpanLocationToExtras(ClickableSpan span, Spanned spanned, int id) {
          extrasIntList(SPANS_START_KEY).add(Integer.valueOf(spanned.getSpanStart(span)));
          extrasIntList(SPANS_END_KEY).add(Integer.valueOf(spanned.getSpanEnd(span)));
          extrasIntList(SPANS_FLAGS_KEY).add(Integer.valueOf(spanned.getSpanFlags(span)));
          extrasIntList(SPANS_ID_KEY).add(Integer.valueOf(id));
      }
  
      private void clearExtrasSpans() {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.getExtras().remove(SPANS_START_KEY);
              this.mInfo.getExtras().remove(SPANS_END_KEY);
              this.mInfo.getExtras().remove(SPANS_FLAGS_KEY);
              this.mInfo.getExtras().remove(SPANS_ID_KEY);
          }
      }
  
      private List<Integer> extrasIntList(String key) {
          if (Build.VERSION.SDK_INT < 19) {
              return new ArrayList();
          }
          ArrayList<Integer> integerArrayList = this.mInfo.getExtras().getIntegerArrayList(key);
          if (integerArrayList != null) {
              return integerArrayList;
          }
          ArrayList arrayList = new ArrayList();
          this.mInfo.getExtras().putIntegerArrayList(key, arrayList);
          return arrayList;
      }
  
      private static String getActionSymbolicName(int action) {
          switch (action) {
              case 1:
                  return "ACTION_FOCUS";
              case 2:
                  return "ACTION_CLEAR_FOCUS";
              case 4:
                  return "ACTION_SELECT";
              case 8:
                  return "ACTION_CLEAR_SELECTION";
              case 16:
                  return "ACTION_CLICK";
              case 32:
                  return "ACTION_LONG_CLICK";
              case 64:
                  return "ACTION_ACCESSIBILITY_FOCUS";
              case 128:
                  return "ACTION_CLEAR_ACCESSIBILITY_FOCUS";
              case 256:
                  return "ACTION_NEXT_AT_MOVEMENT_GRANULARITY";
              case 512:
                  return "ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY";
              case 1024:
                  return "ACTION_NEXT_HTML_ELEMENT";
              case 2048:
                  return "ACTION_PREVIOUS_HTML_ELEMENT";
              case 4096:
                  return "ACTION_SCROLL_FORWARD";
              case 8192:
                  return "ACTION_SCROLL_BACKWARD";
              case 16384:
                  return "ACTION_COPY";
              case 32768:
                  return "ACTION_PASTE";
              case 65536:
                  return "ACTION_CUT";
              case 131072:
                  return "ACTION_SET_SELECTION";
              case 262144:
                  return "ACTION_EXPAND";
              case 524288:
                  return "ACTION_COLLAPSE";
              case 2097152:
                  return "ACTION_SET_TEXT";
              case 16908342:
                  return "ACTION_SHOW_ON_SCREEN";
              case 16908343:
                  return "ACTION_SCROLL_TO_POSITION";
              case 16908344:
                  return "ACTION_SCROLL_UP";
              case 16908345:
                  return "ACTION_SCROLL_LEFT";
              case 16908346:
                  return "ACTION_SCROLL_DOWN";
              case 16908347:
                  return "ACTION_SCROLL_RIGHT";
              case 16908348:
                  return "ACTION_CONTEXT_CLICK";
              case 16908349:
                  return "ACTION_SET_PROGRESS";
              case 16908354:
                  return "ACTION_MOVE_WINDOW";
              case 16908356:
                  return "ACTION_SHOW_TOOLTIP";
              case 16908357:
                  return "ACTION_HIDE_TOOLTIP";
              case 16908358:
                  return "ACTION_PAGE_UP";
              case 16908359:
                  return "ACTION_PAGE_DOWN";
              case 16908360:
                  return "ACTION_PAGE_LEFT";
              case 16908361:
                  return "ACTION_PAGE_RIGHT";
              case 16908362:
                  return "ACTION_PRESS_AND_HOLD";
              case 16908372:
                  return "ACTION_IME_ENTER";
              default:
                  return "ACTION_UNKNOWN";
          }
      }
  
      private boolean getBooleanProperty(int property) {
          Bundle extras = getExtras();
          return extras != null && (extras.getInt(BOOLEAN_PROPERTY_KEY, 0) & property) == property;
      }
  
      public static ClickableSpan[] getClickableSpans(CharSequence text) {
          if (text instanceof Spanned) {
              return (ClickableSpan[]) ((Spanned) text).getSpans(0, text.length(), ClickableSpan.class);
          }
          return null;
      }
  
      private SparseArray<WeakReference<ClickableSpan>> getOrCreateSpansFromViewTags(View host) {
          SparseArray<WeakReference<ClickableSpan>> spansFromViewTags = getSpansFromViewTags(host);
          if (spansFromViewTags != null) {
              return spansFromViewTags;
          }
          SparseArray<WeakReference<ClickableSpan>> sparseArray = new SparseArray<>();
          host.setTag(R.id.tag_accessibility_clickable_spans, sparseArray);
          return sparseArray;
      }
  
      private SparseArray<WeakReference<ClickableSpan>> getSpansFromViewTags(View host) {
          return (SparseArray) host.getTag(R.id.tag_accessibility_clickable_spans);
      }
  
      private boolean hasSpans() {
          return !extrasIntList(SPANS_START_KEY).isEmpty();
      }
  
      private int idForClickableSpan(ClickableSpan span, SparseArray<WeakReference<ClickableSpan>> sparseArray) {
          if (sparseArray != null) {
              for (int i = 0; i < sparseArray.size(); i++) {
                  if (span.equals((ClickableSpan) sparseArray.valueAt(i).get())) {
                      return sparseArray.keyAt(i);
                  }
              }
          }
          int i2 = sClickableSpanId;
          sClickableSpanId = i2 + 1;
          return i2;
      }
  
      public static AccessibilityNodeInfoCompat obtain() {
          return wrap(AccessibilityNodeInfo.obtain());
      }
  
      public static AccessibilityNodeInfoCompat obtain(View source) {
          return wrap(AccessibilityNodeInfo.obtain(source));
      }
  
      public static AccessibilityNodeInfoCompat obtain(View root, int virtualDescendantId) {
          if (Build.VERSION.SDK_INT >= 16) {
              return wrapNonNullInstance(AccessibilityNodeInfo.obtain(root, virtualDescendantId));
          }
          return null;
      }
  
      public static AccessibilityNodeInfoCompat obtain(AccessibilityNodeInfoCompat info) {
          return wrap(AccessibilityNodeInfo.obtain(info.mInfo));
      }
  
      private void removeCollectedSpans(View view) {
          SparseArray<WeakReference<ClickableSpan>> spansFromViewTags = getSpansFromViewTags(view);
          if (spansFromViewTags != null) {
              ArrayList arrayList = new ArrayList();
              for (int i = 0; i < spansFromViewTags.size(); i++) {
                  if (spansFromViewTags.valueAt(i).get() == null) {
                      arrayList.add(Integer.valueOf(i));
                  }
              }
              for (int i2 = 0; i2 < arrayList.size(); i2++) {
                  spansFromViewTags.remove(((Integer) arrayList.get(i2)).intValue());
              }
          }
      }
  
      private void setBooleanProperty(int property, boolean value) {
          Bundle extras = getExtras();
          if (extras != null) {
              int i = 0;
              int i2 = extras.getInt(BOOLEAN_PROPERTY_KEY, 0) & (~property);
              if (value) {
                  i = property;
              }
              extras.putInt(BOOLEAN_PROPERTY_KEY, i | i2);
          }
      }
  
      public static AccessibilityNodeInfoCompat wrap(AccessibilityNodeInfo info) {
          return new AccessibilityNodeInfoCompat(info);
      }
  
      static AccessibilityNodeInfoCompat wrapNonNullInstance(Object object) {
          if (object != null) {
              return new AccessibilityNodeInfoCompat(object);
          }
          return null;
      }
  
      public void addAction(int action) {
          this.mInfo.addAction(action);
      }
  
      public void addAction(AccessibilityActionCompat action) {
          if (Build.VERSION.SDK_INT >= 21) {
              this.mInfo.addAction((AccessibilityNodeInfo.AccessibilityAction) action.mAction);
          }
      }
  
      public void addChild(View child) {
          this.mInfo.addChild(child);
      }
  
      public void addChild(View root, int virtualDescendantId) {
          if (Build.VERSION.SDK_INT >= 16) {
              this.mInfo.addChild(root, virtualDescendantId);
          }
      }
  
      public void addSpansToExtras(CharSequence text, View view) {
          if (Build.VERSION.SDK_INT >= 19 && Build.VERSION.SDK_INT < 26) {
              clearExtrasSpans();
              removeCollectedSpans(view);
              ClickableSpan[] clickableSpans = getClickableSpans(text);
              if (clickableSpans != null && clickableSpans.length > 0) {
                  getExtras().putInt(SPANS_ACTION_ID_KEY, R.id.accessibility_action_clickable_span);
                  SparseArray<WeakReference<ClickableSpan>> orCreateSpansFromViewTags = getOrCreateSpansFromViewTags(view);
                  int i = 0;
                  while (clickableSpans != null && i < clickableSpans.length) {
                      int idForClickableSpan = idForClickableSpan(clickableSpans[i], orCreateSpansFromViewTags);
                      orCreateSpansFromViewTags.put(idForClickableSpan, new WeakReference(clickableSpans[i]));
                      addSpanLocationToExtras(clickableSpans[i], (Spanned) text, idForClickableSpan);
                      i++;
                  }
              }
          }
      }
  
      public boolean canOpenPopup() {
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.canOpenPopup();
          }
          return false;
      }
  
      public boolean equals(Object obj) {
          if (this == obj) {
              return true;
          }
          if (obj == null || !(obj instanceof AccessibilityNodeInfoCompat)) {
              return false;
          }
          AccessibilityNodeInfoCompat accessibilityNodeInfoCompat = (AccessibilityNodeInfoCompat) obj;
          AccessibilityNodeInfo accessibilityNodeInfo = this.mInfo;
          if (accessibilityNodeInfo == null) {
              if (accessibilityNodeInfoCompat.mInfo != null) {
                  return false;
              }
          } else if (!accessibilityNodeInfo.equals(accessibilityNodeInfoCompat.mInfo)) {
              return false;
          }
          return this.mVirtualDescendantId == accessibilityNodeInfoCompat.mVirtualDescendantId && this.mParentVirtualDescendantId == accessibilityNodeInfoCompat.mParentVirtualDescendantId;
      }
  
      public List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(String text) {
          ArrayList arrayList = new ArrayList();
          List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText = this.mInfo.findAccessibilityNodeInfosByText(text);
          int size = findAccessibilityNodeInfosByText.size();
          for (int i = 0; i < size; i++) {
              arrayList.add(wrap(findAccessibilityNodeInfosByText.get(i)));
          }
          return arrayList;
      }
  
      public List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByViewId(String viewId) {
          if (Build.VERSION.SDK_INT < 18) {
              return Collections.emptyList();
          }
          List<AccessibilityNodeInfo> findAccessibilityNodeInfosByViewId = this.mInfo.findAccessibilityNodeInfosByViewId(viewId);
          ArrayList arrayList = new ArrayList();
          for (AccessibilityNodeInfo wrap : findAccessibilityNodeInfosByViewId) {
              arrayList.add(wrap(wrap));
          }
          return arrayList;
      }
  
      public AccessibilityNodeInfoCompat findFocus(int focus) {
          if (Build.VERSION.SDK_INT >= 16) {
              return wrapNonNullInstance(this.mInfo.findFocus(focus));
          }
          return null;
      }
  
      public AccessibilityNodeInfoCompat focusSearch(int direction) {
          if (Build.VERSION.SDK_INT >= 16) {
              return wrapNonNullInstance(this.mInfo.focusSearch(direction));
          }
          return null;
      }
  
      public List<AccessibilityActionCompat> getActionList() {
          List<AccessibilityNodeInfo.AccessibilityAction> list = null;
          if (Build.VERSION.SDK_INT >= 21) {
              list = this.mInfo.getActionList();
          }
          if (list == null) {
              return Collections.emptyList();
          }
          ArrayList arrayList = new ArrayList();
          int size = list.size();
          for (int i = 0; i < size; i++) {
              arrayList.add(new AccessibilityActionCompat(list.get(i)));
          }
          return arrayList;
      }
  
      public int getActions() {
          return this.mInfo.getActions();
      }
  
      public List<String> getAvailableExtraData() {
          return Build.VERSION.SDK_INT >= 26 ? this.mInfo.getAvailableExtraData() : Collections.emptyList();
      }
  
      @Deprecated
      public void getBoundsInParent(Rect outBounds) {
          this.mInfo.getBoundsInParent(outBounds);
      }
  
      public void getBoundsInScreen(Rect outBounds) {
          this.mInfo.getBoundsInScreen(outBounds);
      }
  
      public AccessibilityNodeInfoCompat getChild(int index) {
          return wrapNonNullInstance(this.mInfo.getChild(index));
      }
  
      public int getChildCount() {
          return this.mInfo.getChildCount();
      }
  
      public CharSequence getClassName() {
          return this.mInfo.getClassName();
      }
  
      public CollectionInfoCompat getCollectionInfo() {
          AccessibilityNodeInfo.CollectionInfo collectionInfo;
          if (Build.VERSION.SDK_INT < 19 || (collectionInfo = this.mInfo.getCollectionInfo()) == null) {
              return null;
          }
          return new CollectionInfoCompat(collectionInfo);
      }
  
      public CollectionItemInfoCompat getCollectionItemInfo() {
          AccessibilityNodeInfo.CollectionItemInfo collectionItemInfo;
          if (Build.VERSION.SDK_INT < 19 || (collectionItemInfo = this.mInfo.getCollectionItemInfo()) == null) {
              return null;
          }
          return new CollectionItemInfoCompat(collectionItemInfo);
      }
  
      public CharSequence getContentDescription() {
          return this.mInfo.getContentDescription();
      }
  
      public int getDrawingOrder() {
          if (Build.VERSION.SDK_INT >= 24) {
              return this.mInfo.getDrawingOrder();
          }
          return 0;
      }
  
      public CharSequence getError() {
          if (Build.VERSION.SDK_INT >= 21) {
              return this.mInfo.getError();
          }
          return null;
      }
  
      public Bundle getExtras() {
          return Build.VERSION.SDK_INT >= 19 ? this.mInfo.getExtras() : new Bundle();
      }
  
      public CharSequence getHintText() {
          if (Build.VERSION.SDK_INT >= 26) {
              return this.mInfo.getHintText();
          }
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.getExtras().getCharSequence(HINT_TEXT_KEY);
          }
          return null;
      }
  
      @Deprecated
      public Object getInfo() {
          return this.mInfo;
      }
  
      public int getInputType() {
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.getInputType();
          }
          return 0;
      }
  
      public AccessibilityNodeInfoCompat getLabelFor() {
          if (Build.VERSION.SDK_INT >= 17) {
              return wrapNonNullInstance(this.mInfo.getLabelFor());
          }
          return null;
      }
  
      public AccessibilityNodeInfoCompat getLabeledBy() {
          if (Build.VERSION.SDK_INT >= 17) {
              return wrapNonNullInstance(this.mInfo.getLabeledBy());
          }
          return null;
      }
  
      public int getLiveRegion() {
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.getLiveRegion();
          }
          return 0;
      }
  
      public int getMaxTextLength() {
          if (Build.VERSION.SDK_INT >= 21) {
              return this.mInfo.getMaxTextLength();
          }
          return -1;
      }
  
      public int getMovementGranularities() {
          if (Build.VERSION.SDK_INT >= 16) {
              return this.mInfo.getMovementGranularities();
          }
          return 0;
      }
  
      public CharSequence getPackageName() {
          return this.mInfo.getPackageName();
      }
  
      public CharSequence getPaneTitle() {
          if (Build.VERSION.SDK_INT >= 28) {
              return this.mInfo.getPaneTitle();
          }
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.getExtras().getCharSequence(PANE_TITLE_KEY);
          }
          return null;
      }
  
      public AccessibilityNodeInfoCompat getParent() {
          return wrapNonNullInstance(this.mInfo.getParent());
      }
  
      public RangeInfoCompat getRangeInfo() {
          AccessibilityNodeInfo.RangeInfo rangeInfo;
          if (Build.VERSION.SDK_INT < 19 || (rangeInfo = this.mInfo.getRangeInfo()) == null) {
              return null;
          }
          return new RangeInfoCompat(rangeInfo);
      }
  
      public CharSequence getRoleDescription() {
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.getExtras().getCharSequence(ROLE_DESCRIPTION_KEY);
          }
          return null;
      }
  
      public CharSequence getStateDescription() {
          if (BuildCompat.isAtLeastR()) {
              return this.mInfo.getStateDescription();
          }
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.getExtras().getCharSequence(STATE_DESCRIPTION_KEY);
          }
          return null;
      }
  
      public CharSequence getText() {
          if (!hasSpans()) {
              return this.mInfo.getText();
          }
          List<Integer> extrasIntList = extrasIntList(SPANS_START_KEY);
          List<Integer> extrasIntList2 = extrasIntList(SPANS_END_KEY);
          List<Integer> extrasIntList3 = extrasIntList(SPANS_FLAGS_KEY);
          List<Integer> extrasIntList4 = extrasIntList(SPANS_ID_KEY);
          String substring = TextUtils.substring(this.mInfo.getText(), 0, this.mInfo.getText().length());
          Log1F380D.a((Object) substring);
          SpannableString spannableString = new SpannableString(substring);
          for (int i = 0; i < extrasIntList.size(); i++) {
              spannableString.setSpan(new AccessibilityClickableSpanCompat(extrasIntList4.get(i).intValue(), this, getExtras().getInt(SPANS_ACTION_ID_KEY)), extrasIntList.get(i).intValue(), extrasIntList2.get(i).intValue(), extrasIntList3.get(i).intValue());
          }
          return spannableString;
      }
  
      public int getTextSelectionEnd() {
          if (Build.VERSION.SDK_INT >= 18) {
              return this.mInfo.getTextSelectionEnd();
          }
          return -1;
      }
  
      public int getTextSelectionStart() {
          if (Build.VERSION.SDK_INT >= 18) {
              return this.mInfo.getTextSelectionStart();
          }
          return -1;
      }
  
      public CharSequence getTooltipText() {
          if (Build.VERSION.SDK_INT >= 28) {
              return this.mInfo.getTooltipText();
          }
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.getExtras().getCharSequence(TOOLTIP_TEXT_KEY);
          }
          return null;
      }
  
      public TouchDelegateInfoCompat getTouchDelegateInfo() {
          AccessibilityNodeInfo.TouchDelegateInfo touchDelegateInfo;
          if (Build.VERSION.SDK_INT < 29 || (touchDelegateInfo = this.mInfo.getTouchDelegateInfo()) == null) {
              return null;
          }
          return new TouchDelegateInfoCompat(touchDelegateInfo);
      }
  
      public AccessibilityNodeInfoCompat getTraversalAfter() {
          if (Build.VERSION.SDK_INT >= 22) {
              return wrapNonNullInstance(this.mInfo.getTraversalAfter());
          }
          return null;
      }
  
      public AccessibilityNodeInfoCompat getTraversalBefore() {
          if (Build.VERSION.SDK_INT >= 22) {
              return wrapNonNullInstance(this.mInfo.getTraversalBefore());
          }
          return null;
      }
  
      public String getViewIdResourceName() {
          if (Build.VERSION.SDK_INT >= 18) {
              return this.mInfo.getViewIdResourceName();
          }
          return null;
      }
  
      public AccessibilityWindowInfoCompat getWindow() {
          if (Build.VERSION.SDK_INT >= 21) {
              return AccessibilityWindowInfoCompat.wrapNonNullInstance(this.mInfo.getWindow());
          }
          return null;
      }
  
      public int getWindowId() {
          return this.mInfo.getWindowId();
      }
  
      public int hashCode() {
          AccessibilityNodeInfo accessibilityNodeInfo = this.mInfo;
          if (accessibilityNodeInfo == null) {
              return 0;
          }
          return accessibilityNodeInfo.hashCode();
      }
  
      public boolean isAccessibilityFocused() {
          if (Build.VERSION.SDK_INT >= 16) {
              return this.mInfo.isAccessibilityFocused();
          }
          return false;
      }
  
      public boolean isCheckable() {
          return this.mInfo.isCheckable();
      }
  
      public boolean isChecked() {
          return this.mInfo.isChecked();
      }
  
      public boolean isClickable() {
          return this.mInfo.isClickable();
      }
  
      public boolean isContentInvalid() {
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.isContentInvalid();
          }
          return false;
      }
  
      public boolean isContextClickable() {
          if (Build.VERSION.SDK_INT >= 23) {
              return this.mInfo.isContextClickable();
          }
          return false;
      }
  
      public boolean isDismissable() {
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.isDismissable();
          }
          return false;
      }
  
      public boolean isEditable() {
          if (Build.VERSION.SDK_INT >= 18) {
              return this.mInfo.isEditable();
          }
          return false;
      }
  
      public boolean isEnabled() {
          return this.mInfo.isEnabled();
      }
  
      public boolean isFocusable() {
          return this.mInfo.isFocusable();
      }
  
      public boolean isFocused() {
          return this.mInfo.isFocused();
      }
  
      public boolean isHeading() {
          if (Build.VERSION.SDK_INT >= 28) {
              return this.mInfo.isHeading();
          }
          if (getBooleanProperty(2)) {
              return true;
          }
          CollectionItemInfoCompat collectionItemInfo = getCollectionItemInfo();
          return collectionItemInfo != null && collectionItemInfo.isHeading();
      }
  
      public boolean isImportantForAccessibility() {
          if (Build.VERSION.SDK_INT >= 24) {
              return this.mInfo.isImportantForAccessibility();
          }
          return true;
      }
  
      public boolean isLongClickable() {
          return this.mInfo.isLongClickable();
      }
  
      public boolean isMultiLine() {
          if (Build.VERSION.SDK_INT >= 19) {
              return this.mInfo.isMultiLine();
          }
          return false;
      }
  
      public boolean isPassword() {
          return this.mInfo.isPassword();
      }
  
      public boolean isScreenReaderFocusable() {
          return Build.VERSION.SDK_INT >= 28 ? this.mInfo.isScreenReaderFocusable() : getBooleanProperty(1);
      }
  
      public boolean isScrollable() {
          return this.mInfo.isScrollable();
      }
  
      public boolean isSelected() {
          return this.mInfo.isSelected();
      }
  
      public boolean isShowingHintText() {
          return Build.VERSION.SDK_INT >= 26 ? this.mInfo.isShowingHintText() : getBooleanProperty(4);
      }
  
      public boolean isTextEntryKey() {
          return Build.VERSION.SDK_INT >= 29 ? this.mInfo.isTextEntryKey() : getBooleanProperty(8);
      }
  
      public boolean isVisibleToUser() {
          if (Build.VERSION.SDK_INT >= 16) {
              return this.mInfo.isVisibleToUser();
          }
          return false;
      }
  
      public boolean performAction(int action) {
          return this.mInfo.performAction(action);
      }
  
      public boolean performAction(int action, Bundle arguments) {
          if (Build.VERSION.SDK_INT >= 16) {
              return this.mInfo.performAction(action, arguments);
          }
          return false;
      }
  
      public void recycle() {
          this.mInfo.recycle();
      }
  
      public boolean refresh() {
          if (Build.VERSION.SDK_INT >= 18) {
              return this.mInfo.refresh();
          }
          return false;
      }
  
      public boolean removeAction(AccessibilityActionCompat action) {
          if (Build.VERSION.SDK_INT >= 21) {
              return this.mInfo.removeAction((AccessibilityNodeInfo.AccessibilityAction) action.mAction);
          }
          return false;
      }
  
      public boolean removeChild(View child) {
          if (Build.VERSION.SDK_INT >= 21) {
              return this.mInfo.removeChild(child);
          }
          return false;
      }
  
      public boolean removeChild(View root, int virtualDescendantId) {
          if (Build.VERSION.SDK_INT >= 21) {
              return this.mInfo.removeChild(root, virtualDescendantId);
          }
          return false;
      }
  
      public void setAccessibilityFocused(boolean focused) {
          if (Build.VERSION.SDK_INT >= 16) {
              this.mInfo.setAccessibilityFocused(focused);
          }
      }
  
      public void setAvailableExtraData(List<String> list) {
          if (Build.VERSION.SDK_INT >= 26) {
              this.mInfo.setAvailableExtraData(list);
          }
      }
  
      @Deprecated
      public void setBoundsInParent(Rect bounds) {
          this.mInfo.setBoundsInParent(bounds);
      }
  
      public void setBoundsInScreen(Rect bounds) {
          this.mInfo.setBoundsInScreen(bounds);
      }
  
      public void setCanOpenPopup(boolean opensPopup) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setCanOpenPopup(opensPopup);
          }
      }
  
      public void setCheckable(boolean checkable) {
          this.mInfo.setCheckable(checkable);
      }
  
      public void setChecked(boolean checked) {
          this.mInfo.setChecked(checked);
      }
  
      public void setClassName(CharSequence className) {
          this.mInfo.setClassName(className);
      }
  
      public void setClickable(boolean clickable) {
          this.mInfo.setClickable(clickable);
      }
  
      public void setCollectionInfo(Object collectionInfo) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setCollectionInfo(collectionInfo == null ? null : (AccessibilityNodeInfo.CollectionInfo) ((CollectionInfoCompat) collectionInfo).mInfo);
          }
      }
  
      public void setCollectionItemInfo(Object collectionItemInfo) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setCollectionItemInfo(collectionItemInfo == null ? null : (AccessibilityNodeInfo.CollectionItemInfo) ((CollectionItemInfoCompat) collectionItemInfo).mInfo);
          }
      }
  
      public void setContentDescription(CharSequence contentDescription) {
          this.mInfo.setContentDescription(contentDescription);
      }
  
      public void setContentInvalid(boolean contentInvalid) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setContentInvalid(contentInvalid);
          }
      }
  
      public void setContextClickable(boolean contextClickable) {
          if (Build.VERSION.SDK_INT >= 23) {
              this.mInfo.setContextClickable(contextClickable);
          }
      }
  
      public void setDismissable(boolean dismissable) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setDismissable(dismissable);
          }
      }
  
      public void setDrawingOrder(int drawingOrderInParent) {
          if (Build.VERSION.SDK_INT >= 24) {
              this.mInfo.setDrawingOrder(drawingOrderInParent);
          }
      }
  
      public void setEditable(boolean editable) {
          if (Build.VERSION.SDK_INT >= 18) {
              this.mInfo.setEditable(editable);
          }
      }
  
      public void setEnabled(boolean enabled) {
          this.mInfo.setEnabled(enabled);
      }
  
      public void setError(CharSequence error) {
          if (Build.VERSION.SDK_INT >= 21) {
              this.mInfo.setError(error);
          }
      }
  
      public void setFocusable(boolean focusable) {
          this.mInfo.setFocusable(focusable);
      }
  
      public void setFocused(boolean focused) {
          this.mInfo.setFocused(focused);
      }
  
      public void setHeading(boolean isHeading) {
          if (Build.VERSION.SDK_INT >= 28) {
              this.mInfo.setHeading(isHeading);
          } else {
              setBooleanProperty(2, isHeading);
          }
      }
  
      public void setHintText(CharSequence hintText) {
          if (Build.VERSION.SDK_INT >= 26) {
              this.mInfo.setHintText(hintText);
          } else if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.getExtras().putCharSequence(HINT_TEXT_KEY, hintText);
          }
      }
  
      public void setImportantForAccessibility(boolean important) {
          if (Build.VERSION.SDK_INT >= 24) {
              this.mInfo.setImportantForAccessibility(important);
          }
      }
  
      public void setInputType(int inputType) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setInputType(inputType);
          }
      }
  
      public void setLabelFor(View labeled) {
          if (Build.VERSION.SDK_INT >= 17) {
              this.mInfo.setLabelFor(labeled);
          }
      }
  
      public void setLabelFor(View root, int virtualDescendantId) {
          if (Build.VERSION.SDK_INT >= 17) {
              this.mInfo.setLabelFor(root, virtualDescendantId);
          }
      }
  
      public void setLabeledBy(View label) {
          if (Build.VERSION.SDK_INT >= 17) {
              this.mInfo.setLabeledBy(label);
          }
      }
  
      public void setLabeledBy(View root, int virtualDescendantId) {
          if (Build.VERSION.SDK_INT >= 17) {
              this.mInfo.setLabeledBy(root, virtualDescendantId);
          }
      }
  
      public void setLiveRegion(int mode) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setLiveRegion(mode);
          }
      }
  
      public void setLongClickable(boolean longClickable) {
          this.mInfo.setLongClickable(longClickable);
      }
  
      public void setMaxTextLength(int max) {
          if (Build.VERSION.SDK_INT >= 21) {
              this.mInfo.setMaxTextLength(max);
          }
      }
  
      public void setMovementGranularities(int granularities) {
          if (Build.VERSION.SDK_INT >= 16) {
              this.mInfo.setMovementGranularities(granularities);
          }
      }
  
      public void setMultiLine(boolean multiLine) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setMultiLine(multiLine);
          }
      }
  
      public void setPackageName(CharSequence packageName) {
          this.mInfo.setPackageName(packageName);
      }
  
      public void setPaneTitle(CharSequence paneTitle) {
          if (Build.VERSION.SDK_INT >= 28) {
              this.mInfo.setPaneTitle(paneTitle);
          } else if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.getExtras().putCharSequence(PANE_TITLE_KEY, paneTitle);
          }
      }
  
      public void setParent(View parent) {
          this.mParentVirtualDescendantId = -1;
          this.mInfo.setParent(parent);
      }
  
      public void setParent(View root, int virtualDescendantId) {
          this.mParentVirtualDescendantId = virtualDescendantId;
          if (Build.VERSION.SDK_INT >= 16) {
              this.mInfo.setParent(root, virtualDescendantId);
          }
      }
  
      public void setPassword(boolean password) {
          this.mInfo.setPassword(password);
      }
  
      public void setRangeInfo(RangeInfoCompat rangeInfo) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.setRangeInfo((AccessibilityNodeInfo.RangeInfo) rangeInfo.mInfo);
          }
      }
  
      public void setRoleDescription(CharSequence roleDescription) {
          if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.getExtras().putCharSequence(ROLE_DESCRIPTION_KEY, roleDescription);
          }
      }
  
      public void setScreenReaderFocusable(boolean screenReaderFocusable) {
          if (Build.VERSION.SDK_INT >= 28) {
              this.mInfo.setScreenReaderFocusable(screenReaderFocusable);
          } else {
              setBooleanProperty(1, screenReaderFocusable);
          }
      }
  
      public void setScrollable(boolean scrollable) {
          this.mInfo.setScrollable(scrollable);
      }
  
      public void setSelected(boolean selected) {
          this.mInfo.setSelected(selected);
      }
  
      public void setShowingHintText(boolean showingHintText) {
          if (Build.VERSION.SDK_INT >= 26) {
              this.mInfo.setShowingHintText(showingHintText);
          } else {
              setBooleanProperty(4, showingHintText);
          }
      }
  
      public void setSource(View source) {
          this.mVirtualDescendantId = -1;
          this.mInfo.setSource(source);
      }
  
      public void setSource(View root, int virtualDescendantId) {
          this.mVirtualDescendantId = virtualDescendantId;
          if (Build.VERSION.SDK_INT >= 16) {
              this.mInfo.setSource(root, virtualDescendantId);
          }
      }
  
      public void setStateDescription(CharSequence stateDescription) {
          if (BuildCompat.isAtLeastR()) {
              this.mInfo.setStateDescription(stateDescription);
          } else if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.getExtras().putCharSequence(STATE_DESCRIPTION_KEY, stateDescription);
          }
      }
  
      public void setText(CharSequence text) {
          this.mInfo.setText(text);
      }
  
      public void setTextEntryKey(boolean isTextEntryKey) {
          if (Build.VERSION.SDK_INT >= 29) {
              this.mInfo.setTextEntryKey(isTextEntryKey);
          } else {
              setBooleanProperty(8, isTextEntryKey);
          }
      }
  
      public void setTextSelection(int start, int end) {
          if (Build.VERSION.SDK_INT >= 18) {
              this.mInfo.setTextSelection(start, end);
          }
      }
  
      public void setTooltipText(CharSequence tooltipText) {
          if (Build.VERSION.SDK_INT >= 28) {
              this.mInfo.setTooltipText(tooltipText);
          } else if (Build.VERSION.SDK_INT >= 19) {
              this.mInfo.getExtras().putCharSequence(TOOLTIP_TEXT_KEY, tooltipText);
          }
      }
  
      public void setTouchDelegateInfo(TouchDelegateInfoCompat delegatedInfo) {
          if (Build.VERSION.SDK_INT >= 29) {
              this.mInfo.setTouchDelegateInfo(delegatedInfo.mInfo);
          }
      }
  
      public void setTraversalAfter(View view) {
          if (Build.VERSION.SDK_INT >= 22) {
              this.mInfo.setTraversalAfter(view);
          }
      }
  
      public void setTraversalAfter(View root, int virtualDescendantId) {
          if (Build.VERSION.SDK_INT >= 22) {
              this.mInfo.setTraversalAfter(root, virtualDescendantId);
          }
      }
  
      public void setTraversalBefore(View view) {
          if (Build.VERSION.SDK_INT >= 22) {
              this.mInfo.setTraversalBefore(view);
          }
      }
  
      public void setTraversalBefore(View root, int virtualDescendantId) {
          if (Build.VERSION.SDK_INT >= 22) {
              this.mInfo.setTraversalBefore(root, virtualDescendantId);
          }
      }
  
      public void setViewIdResourceName(String viewId) {
          if (Build.VERSION.SDK_INT >= 18) {
              this.mInfo.setViewIdResourceName(viewId);
          }
      }
  
      public void setVisibleToUser(boolean visibleToUser) {
          if (Build.VERSION.SDK_INT >= 16) {
              this.mInfo.setVisibleToUser(visibleToUser);
          }
      }
  
      public AccessibilityNodeInfo unwrap() {
          return this.mInfo;
      }
  
      public String toString() {
          StringBuilder sb = new StringBuilder();
          sb.append(super.toString());
          Rect rect = new Rect();
          getBoundsInParent(rect);
          sb.append("; boundsInParent: " + rect);
          getBoundsInScreen(rect);
          sb.append("; boundsInScreen: " + rect);
          sb.append("; packageName: ").append(getPackageName());
          sb.append("; className: ").append(getClassName());
          sb.append("; text: ").append(getText());
          sb.append("; contentDescription: ").append(getContentDescription());
          sb.append("; viewId: ").append(getViewIdResourceName());
          sb.append("; checkable: ").append(isCheckable());
          sb.append("; checked: ").append(isChecked());
          sb.append("; focusable: ").append(isFocusable());
          sb.append("; focused: ").append(isFocused());
          sb.append("; selected: ").append(isSelected());
          sb.append("; clickable: ").append(isClickable());
          sb.append("; longClickable: ").append(isLongClickable());
          sb.append("; enabled: ").append(isEnabled());
          sb.append("; password: ").append(isPassword());
          sb.append("; scrollable: " + isScrollable());
          sb.append("; [");
          if (Build.VERSION.SDK_INT >= 21) {
              List<AccessibilityActionCompat> actionList = getActionList();
              for (int i = 0; i < actionList.size(); i++) {
                  AccessibilityActionCompat accessibilityActionCompat = actionList.get(i);
                  String actionSymbolicName = getActionSymbolicName(accessibilityActionCompat.getId());
                  Log1F380D.a((Object) actionSymbolicName);
                  if (actionSymbolicName.equals("ACTION_UNKNOWN") && accessibilityActionCompat.getLabel() != null) {
                      actionSymbolicName = accessibilityActionCompat.getLabel().toString();
                  }
                  sb.append(actionSymbolicName);
                  if (i != actionList.size() - 1) {
                      sb.append(", ");
                  }
              }
          } else {
              int actions = getActions();
              while (actions != 0) {
                  int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(actions);
                  actions &= ~numberOfTrailingZeros;
                  String actionSymbolicName2 = getActionSymbolicName(numberOfTrailingZeros);
                  Log1F380D.a((Object) actionSymbolicName2);
                  sb.append(actionSymbolicName2);
                  if (actions != 0) {
                      sb.append(", ");
                  }
              }
          }
          sb.append("]");
          return sb.toString();
      }
  }
  