AccessibilityEventCompat.java
6.9 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
package android.support.v4.view.accessibility;
import android.os.Build.VERSION;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityRecord;
public final class AccessibilityEventCompat
{
public static final int CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION = 4;
public static final int CONTENT_CHANGE_TYPE_SUBTREE = 1;
public static final int CONTENT_CHANGE_TYPE_TEXT = 2;
public static final int CONTENT_CHANGE_TYPE_UNDEFINED = 0;
public static final int TYPES_ALL_MASK = -1;
public static final int TYPE_ANNOUNCEMENT = 16384;
public static final int TYPE_ASSIST_READING_CONTEXT = 16777216;
public static final int TYPE_GESTURE_DETECTION_END = 524288;
public static final int TYPE_GESTURE_DETECTION_START = 262144;
public static final int TYPE_TOUCH_EXPLORATION_GESTURE_END = 1024;
public static final int TYPE_TOUCH_EXPLORATION_GESTURE_START = 512;
public static final int TYPE_TOUCH_INTERACTION_END = 2097152;
public static final int TYPE_TOUCH_INTERACTION_START = 1048576;
public static final int TYPE_VIEW_ACCESSIBILITY_FOCUSED = 32768;
public static final int TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED = 65536;
public static final int TYPE_VIEW_CONTEXT_CLICKED = 8388608;
public static final int TYPE_VIEW_HOVER_ENTER = 128;
public static final int TYPE_VIEW_HOVER_EXIT = 256;
public static final int TYPE_VIEW_SCROLLED = 4096;
public static final int TYPE_VIEW_TEXT_SELECTION_CHANGED = 8192;
public static final int TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY = 131072;
public static final int TYPE_WINDOWS_CHANGED = 4194304;
public static final int TYPE_WINDOW_CONTENT_CHANGED = 2048;
private static final e a = new d();
static
{
if (Build.VERSION.SDK_INT >= 19)
{
a = new c();
return;
}
if (Build.VERSION.SDK_INT >= 16)
{
a = new b();
return;
}
if (Build.VERSION.SDK_INT >= 14)
{
a = new a();
return;
}
}
public static void appendRecord(AccessibilityEvent paramAccessibilityEvent, AccessibilityRecordCompat paramAccessibilityRecordCompat)
{
a.a(paramAccessibilityEvent, paramAccessibilityRecordCompat.getImpl());
}
public static AccessibilityRecordCompat asRecord(AccessibilityEvent paramAccessibilityEvent)
{
return new AccessibilityRecordCompat(paramAccessibilityEvent);
}
public static int getContentChangeTypes(AccessibilityEvent paramAccessibilityEvent)
{
return a.d(paramAccessibilityEvent);
}
public static AccessibilityRecordCompat getRecord(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
return new AccessibilityRecordCompat(a.a(paramAccessibilityEvent, paramInt));
}
public static int getRecordCount(AccessibilityEvent paramAccessibilityEvent)
{
return a.a(paramAccessibilityEvent);
}
public static void setContentChangeTypes(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
a.d(paramAccessibilityEvent, paramInt);
}
public final int getAction(AccessibilityEvent paramAccessibilityEvent)
{
return a.c(paramAccessibilityEvent);
}
public final int getMovementGranularity(AccessibilityEvent paramAccessibilityEvent)
{
return a.b(paramAccessibilityEvent);
}
public final void setAction(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
a.c(paramAccessibilityEvent, paramInt);
}
public final void setMovementGranularity(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
a.b(paramAccessibilityEvent, paramInt);
}
static class a
extends AccessibilityEventCompat.d
{
public final int a(AccessibilityEvent paramAccessibilityEvent)
{
return paramAccessibilityEvent.getRecordCount();
}
public final Object a(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
return paramAccessibilityEvent.getRecord(paramInt);
}
public final void a(AccessibilityEvent paramAccessibilityEvent, Object paramObject)
{
paramAccessibilityEvent.appendRecord((AccessibilityRecord)paramObject);
}
}
static class b
extends AccessibilityEventCompat.a
{
public final int b(AccessibilityEvent paramAccessibilityEvent)
{
return paramAccessibilityEvent.getMovementGranularity();
}
public final void b(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
paramAccessibilityEvent.setMovementGranularity(paramInt);
}
public final int c(AccessibilityEvent paramAccessibilityEvent)
{
return paramAccessibilityEvent.getAction();
}
public final void c(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
paramAccessibilityEvent.setAction(paramInt);
}
}
static final class c
extends AccessibilityEventCompat.b
{
public final int d(AccessibilityEvent paramAccessibilityEvent)
{
return paramAccessibilityEvent.getContentChangeTypes();
}
public final void d(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
paramAccessibilityEvent.setContentChangeTypes(paramInt);
}
}
static class d
implements AccessibilityEventCompat.e
{
public int a(AccessibilityEvent paramAccessibilityEvent)
{
return 0;
}
public Object a(AccessibilityEvent paramAccessibilityEvent, int paramInt)
{
return null;
}
public void a(AccessibilityEvent paramAccessibilityEvent, Object paramObject) {}
public int b(AccessibilityEvent paramAccessibilityEvent)
{
return 0;
}
public void b(AccessibilityEvent paramAccessibilityEvent, int paramInt) {}
public int c(AccessibilityEvent paramAccessibilityEvent)
{
return 0;
}
public void c(AccessibilityEvent paramAccessibilityEvent, int paramInt) {}
public int d(AccessibilityEvent paramAccessibilityEvent)
{
return 0;
}
public void d(AccessibilityEvent paramAccessibilityEvent, int paramInt) {}
}
static abstract interface e
{
public abstract int a(AccessibilityEvent paramAccessibilityEvent);
public abstract Object a(AccessibilityEvent paramAccessibilityEvent, int paramInt);
public abstract void a(AccessibilityEvent paramAccessibilityEvent, Object paramObject);
public abstract int b(AccessibilityEvent paramAccessibilityEvent);
public abstract void b(AccessibilityEvent paramAccessibilityEvent, int paramInt);
public abstract int c(AccessibilityEvent paramAccessibilityEvent);
public abstract void c(AccessibilityEvent paramAccessibilityEvent, int paramInt);
public abstract int d(AccessibilityEvent paramAccessibilityEvent);
public abstract void d(AccessibilityEvent paramAccessibilityEvent, int paramInt);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/view/accessibility/AccessibilityEventCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/