AccessibilityNodeProviderCompat.java
5.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
package android.support.v4.view.accessibility;
import android.os.Build.VERSION;
import android.os.Bundle;
import android.support.annotation.Nullable;
import ep.1;
import ep.a;
import eq.1;
import eq.a;
import java.util.ArrayList;
import java.util.List;
public class AccessibilityNodeProviderCompat
{
public static final int HOST_VIEW_ID = -1;
private static final a a = new d();
private final Object b;
static
{
if (Build.VERSION.SDK_INT >= 19)
{
a = new c();
return;
}
if (Build.VERSION.SDK_INT >= 16)
{
a = new b();
return;
}
}
public AccessibilityNodeProviderCompat()
{
this.b = a.a(this);
}
public AccessibilityNodeProviderCompat(Object paramObject)
{
this.b = paramObject;
}
@Nullable
public AccessibilityNodeInfoCompat createAccessibilityNodeInfo(int paramInt)
{
return null;
}
@Nullable
public List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(String paramString, int paramInt)
{
return null;
}
@Nullable
public AccessibilityNodeInfoCompat findFocus(int paramInt)
{
return null;
}
public Object getProvider()
{
return this.b;
}
public boolean performAction(int paramInt1, int paramInt2, Bundle paramBundle)
{
return false;
}
static abstract interface a
{
public abstract Object a(AccessibilityNodeProviderCompat paramAccessibilityNodeProviderCompat);
}
static final class b
extends AccessibilityNodeProviderCompat.d
{
public final Object a(final AccessibilityNodeProviderCompat paramAccessibilityNodeProviderCompat)
{
new ep.1(new ep.a()
{
public final Object a(int paramAnonymousInt)
{
AccessibilityNodeInfoCompat localAccessibilityNodeInfoCompat = paramAccessibilityNodeProviderCompat.createAccessibilityNodeInfo(paramAnonymousInt);
if (localAccessibilityNodeInfoCompat == null) {
return null;
}
return localAccessibilityNodeInfoCompat.getInfo();
}
public final List<Object> a(String paramAnonymousString, int paramAnonymousInt)
{
paramAnonymousString = paramAccessibilityNodeProviderCompat.findAccessibilityNodeInfosByText(paramAnonymousString, paramAnonymousInt);
if (paramAnonymousString == null) {
return null;
}
ArrayList localArrayList = new ArrayList();
int i = paramAnonymousString.size();
paramAnonymousInt = 0;
while (paramAnonymousInt < i)
{
localArrayList.add(((AccessibilityNodeInfoCompat)paramAnonymousString.get(paramAnonymousInt)).getInfo());
paramAnonymousInt += 1;
}
return localArrayList;
}
public final boolean a(int paramAnonymousInt1, int paramAnonymousInt2, Bundle paramAnonymousBundle)
{
return paramAccessibilityNodeProviderCompat.performAction(paramAnonymousInt1, paramAnonymousInt2, paramAnonymousBundle);
}
});
}
}
static final class c
extends AccessibilityNodeProviderCompat.d
{
public final Object a(final AccessibilityNodeProviderCompat paramAccessibilityNodeProviderCompat)
{
new eq.1(new eq.a()
{
public final Object a(int paramAnonymousInt)
{
AccessibilityNodeInfoCompat localAccessibilityNodeInfoCompat = paramAccessibilityNodeProviderCompat.createAccessibilityNodeInfo(paramAnonymousInt);
if (localAccessibilityNodeInfoCompat == null) {
return null;
}
return localAccessibilityNodeInfoCompat.getInfo();
}
public final List<Object> a(String paramAnonymousString, int paramAnonymousInt)
{
paramAnonymousString = paramAccessibilityNodeProviderCompat.findAccessibilityNodeInfosByText(paramAnonymousString, paramAnonymousInt);
if (paramAnonymousString == null) {
return null;
}
ArrayList localArrayList = new ArrayList();
int i = paramAnonymousString.size();
paramAnonymousInt = 0;
while (paramAnonymousInt < i)
{
localArrayList.add(((AccessibilityNodeInfoCompat)paramAnonymousString.get(paramAnonymousInt)).getInfo());
paramAnonymousInt += 1;
}
return localArrayList;
}
public final boolean a(int paramAnonymousInt1, int paramAnonymousInt2, Bundle paramAnonymousBundle)
{
return paramAccessibilityNodeProviderCompat.performAction(paramAnonymousInt1, paramAnonymousInt2, paramAnonymousBundle);
}
public final Object b(int paramAnonymousInt)
{
AccessibilityNodeInfoCompat localAccessibilityNodeInfoCompat = paramAccessibilityNodeProviderCompat.findFocus(paramAnonymousInt);
if (localAccessibilityNodeInfoCompat == null) {
return null;
}
return localAccessibilityNodeInfoCompat.getInfo();
}
});
}
}
static class d
implements AccessibilityNodeProviderCompat.a
{
public Object a(AccessibilityNodeProviderCompat paramAccessibilityNodeProviderCompat)
{
return null;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/view/accessibility/AccessibilityNodeProviderCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/