what-the-bank/sources/androidx/core/view/accessibility/AccessibilityNodeProviderCo...

109 lines
3.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package androidx.core.view.accessibility;
import android.os.Bundle;
import android.view.accessibility.AccessibilityNodeInfo;
import android.view.accessibility.AccessibilityNodeProvider;
import java.util.ArrayList;
import java.util.List;
/* loaded from: classes.dex */
public class AccessibilityNodeProviderCompat {
private final Object b;
public AccessibilityNodeInfoCompat b(int i) {
return null;
}
public AccessibilityNodeInfoCompat d(int i) {
return null;
}
public List<AccessibilityNodeInfoCompat> e(String str, int i) {
return null;
}
public void ud_(int i, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat, String str, Bundle bundle) {
}
public boolean xd_(int i, int i2, Bundle bundle) {
return false;
}
/* loaded from: classes.dex */
static class RVV extends AccessibilityNodeProvider {
final AccessibilityNodeProviderCompat e;
RVV(AccessibilityNodeProviderCompat accessibilityNodeProviderCompat) {
this.e = accessibilityNodeProviderCompat;
}
@Override // android.view.accessibility.AccessibilityNodeProvider
public AccessibilityNodeInfo createAccessibilityNodeInfo(int i) {
AccessibilityNodeInfoCompat b = this.e.b(i);
if (b == null) {
return null;
}
return b.ub_();
}
@Override // android.view.accessibility.AccessibilityNodeProvider
public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String str, int i) {
List<AccessibilityNodeInfoCompat> e = this.e.e(str, i);
if (e == null) {
return null;
}
ArrayList arrayList = new ArrayList();
int size = e.size();
for (int i2 = 0; i2 < size; i2++) {
arrayList.add(e.get(i2).ub_());
}
return arrayList;
}
@Override // android.view.accessibility.AccessibilityNodeProvider
public boolean performAction(int i, int i2, Bundle bundle) {
return this.e.xd_(i, i2, bundle);
}
}
/* loaded from: classes.dex */
static class Sts extends RVV {
Sts(AccessibilityNodeProviderCompat accessibilityNodeProviderCompat) {
super(accessibilityNodeProviderCompat);
}
@Override // android.view.accessibility.AccessibilityNodeProvider
public AccessibilityNodeInfo findFocus(int i) {
AccessibilityNodeInfoCompat d = this.e.d(i);
if (d == null) {
return null;
}
return d.ub_();
}
}
/* loaded from: classes.dex */
static class HBt extends Sts {
HBt(AccessibilityNodeProviderCompat accessibilityNodeProviderCompat) {
super(accessibilityNodeProviderCompat);
}
@Override // android.view.accessibility.AccessibilityNodeProvider
public void addExtraDataToAccessibilityNodeInfo(int i, AccessibilityNodeInfo accessibilityNodeInfo, String str, Bundle bundle) {
this.e.ud_(i, AccessibilityNodeInfoCompat.tU_(accessibilityNodeInfo), str, bundle);
}
}
public AccessibilityNodeProviderCompat() {
this.b = new HBt(this);
}
public AccessibilityNodeProviderCompat(Object obj) {
this.b = obj;
}
public Object a() {
return this.b;
}
}