go.java
6.67 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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
import android.support.v7.widget.RecyclerView.ViewHolder;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import java.util.ArrayList;
import java.util.List;
public final class go
{
public final go.b a;
public final go.a b;
public final List<View> c;
public go(go.b paramb)
{
this.a = paramb;
this.b = new go.a();
this.c = new ArrayList();
}
private int e(int paramInt)
{
if (paramInt < 0)
{
paramInt = -1;
return paramInt;
}
int j = this.a.a();
int i = paramInt;
for (;;)
{
if (i >= j) {
break label72;
}
int k = paramInt - (i - this.b.e(i));
if (k == 0) {
for (;;)
{
paramInt = i;
if (!this.b.c(i)) {
break;
}
i += 1;
}
}
i += k;
}
label72:
return -1;
}
public final int a()
{
return this.a.a() - this.c.size();
}
public final void a(int paramInt)
{
paramInt = e(paramInt);
View localView = this.a.b(paramInt);
if (localView == null) {
return;
}
if (this.b.d(paramInt)) {
b(localView);
}
this.a.a(paramInt);
}
public final void a(View paramView)
{
this.c.add(paramView);
this.a.c(paramView);
}
public final void a(View paramView, int paramInt, ViewGroup.LayoutParams paramLayoutParams, boolean paramBoolean)
{
if (paramInt < 0) {}
for (paramInt = this.a.a();; paramInt = e(paramInt))
{
this.b.a(paramInt, paramBoolean);
if (paramBoolean) {
a(paramView);
}
this.a.a(paramView, paramInt, paramLayoutParams);
return;
}
}
public final void a(View paramView, int paramInt, boolean paramBoolean)
{
if (paramInt < 0) {}
for (paramInt = this.a.a();; paramInt = e(paramInt))
{
this.b.a(paramInt, paramBoolean);
if (paramBoolean) {
a(paramView);
}
this.a.a(paramView, paramInt);
return;
}
}
public final int b()
{
return this.a.a();
}
public final View b(int paramInt)
{
paramInt = e(paramInt);
return this.a.b(paramInt);
}
public final boolean b(View paramView)
{
if (this.c.remove(paramView))
{
this.a.d(paramView);
return true;
}
return false;
}
public final int c(View paramView)
{
int i = this.a.a(paramView);
if (i == -1) {}
while (this.b.c(i)) {
return -1;
}
return i - this.b.e(i);
}
public final View c(int paramInt)
{
return this.a.b(paramInt);
}
public final void d(int paramInt)
{
paramInt = e(paramInt);
this.b.d(paramInt);
this.a.c(paramInt);
}
public final boolean d(View paramView)
{
return this.c.contains(paramView);
}
public final String toString()
{
return this.b.toString() + ", hidden list:" + this.c.size();
}
public static final class a
{
public long a = 0L;
public a b;
private void a()
{
if (this.b == null) {
this.b = new a();
}
}
public final void a(int paramInt)
{
a locala = this;
while (paramInt >= 64)
{
locala.a();
locala = locala.b;
paramInt -= 64;
}
locala.a |= 1L << paramInt;
}
final void a(int paramInt, boolean paramBoolean)
{
boolean bool = paramBoolean;
a locala = this;
while (paramInt >= 64)
{
locala.a();
locala = locala.b;
paramInt -= 64;
}
if ((locala.a & 0x8000000000000000) != 0L)
{
paramBoolean = true;
label47:
long l1 = (1L << paramInt) - 1L;
long l2 = locala.a;
locala.a = (((l1 ^ 0xFFFFFFFFFFFFFFFF) & locala.a) << 1 | l2 & l1);
if (!bool) {
break label132;
}
locala.a(paramInt);
}
for (;;)
{
if ((!paramBoolean) && (locala.b == null)) {
return;
}
locala.a();
locala = locala.b;
paramInt = 0;
bool = paramBoolean;
break;
paramBoolean = false;
break label47;
label132:
locala.b(paramInt);
}
}
public final void b(int paramInt)
{
a locala = this;
while (paramInt >= 64)
{
if (locala.b == null) {
return;
}
locala = locala.b;
paramInt -= 64;
}
locala.a &= (1L << paramInt ^ 0xFFFFFFFFFFFFFFFF);
}
public final boolean c(int paramInt)
{
a locala = this;
while (paramInt >= 64)
{
locala.a();
locala = locala.b;
paramInt -= 64;
}
return (locala.a & 1L << paramInt) != 0L;
}
public final boolean d(int paramInt)
{
a locala = this;
while (paramInt >= 64)
{
locala.a();
locala = locala.b;
paramInt -= 64;
}
long l1 = 1L << paramInt;
if ((locala.a & l1) != 0L) {}
for (boolean bool = true;; bool = false)
{
locala.a &= (l1 ^ 0xFFFFFFFFFFFFFFFF);
l1 -= 1L;
long l2 = locala.a;
locala.a = (Long.rotateRight((l1 ^ 0xFFFFFFFFFFFFFFFF) & locala.a, 1) | l2 & l1);
if (locala.b != null)
{
if (locala.b.c(0)) {
locala.a(63);
}
locala.b.d(0);
}
return bool;
}
}
final int e(int paramInt)
{
if (this.b == null)
{
if (paramInt >= 64) {
return Long.bitCount(this.a);
}
return Long.bitCount(this.a & (1L << paramInt) - 1L);
}
if (paramInt < 64) {
return Long.bitCount(this.a & (1L << paramInt) - 1L);
}
return this.b.e(paramInt - 64) + Long.bitCount(this.a);
}
public final String toString()
{
if (this.b == null) {
return Long.toBinaryString(this.a);
}
return this.b.toString() + "xx" + Long.toBinaryString(this.a);
}
}
public static abstract interface b
{
public abstract int a();
public abstract int a(View paramView);
public abstract void a(int paramInt);
public abstract void a(View paramView, int paramInt);
public abstract void a(View paramView, int paramInt, ViewGroup.LayoutParams paramLayoutParams);
public abstract RecyclerView.ViewHolder b(View paramView);
public abstract View b(int paramInt);
public abstract void b();
public abstract void c(int paramInt);
public abstract void c(View paramView);
public abstract void d(View paramView);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/go.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/