BackStackState.java
4.68 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
package android.support.v4.app;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import android.text.TextUtils;
import android.util.Log;
import ch;
import ch.a;
import cn;
import java.util.ArrayList;
public final class BackStackState
implements Parcelable
{
public static final Parcelable.Creator<BackStackState> CREATOR = new Parcelable.Creator() {};
final int[] a;
final int b;
final int c;
final String d;
final int e;
final int f;
final CharSequence g;
final int h;
final CharSequence i;
final ArrayList<String> j;
final ArrayList<String> k;
final boolean l;
public BackStackState(Parcel paramParcel)
{
this.a = paramParcel.createIntArray();
this.b = paramParcel.readInt();
this.c = paramParcel.readInt();
this.d = paramParcel.readString();
this.e = paramParcel.readInt();
this.f = paramParcel.readInt();
this.g = ((CharSequence)TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(paramParcel));
this.h = paramParcel.readInt();
this.i = ((CharSequence)TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(paramParcel));
this.j = paramParcel.createStringArrayList();
this.k = paramParcel.createStringArrayList();
if (paramParcel.readInt() != 0) {}
for (boolean bool = true;; bool = false)
{
this.l = bool;
return;
}
}
public BackStackState(ch paramch)
{
int i1 = paramch.c.size();
this.a = new int[i1 * 6];
if (!paramch.j) {
throw new IllegalStateException("Not on back stack");
}
int m = 0;
int n = 0;
if (m < i1)
{
ch.a locala = (ch.a)paramch.c.get(m);
int[] arrayOfInt = this.a;
int i2 = n + 1;
arrayOfInt[n] = locala.a;
arrayOfInt = this.a;
int i3 = i2 + 1;
if (locala.b != null) {}
for (n = locala.b.mIndex;; n = -1)
{
arrayOfInt[i2] = n;
arrayOfInt = this.a;
n = i3 + 1;
arrayOfInt[i3] = locala.c;
arrayOfInt = this.a;
i2 = n + 1;
arrayOfInt[n] = locala.d;
arrayOfInt = this.a;
i3 = i2 + 1;
arrayOfInt[i2] = locala.e;
arrayOfInt = this.a;
n = i3 + 1;
arrayOfInt[i3] = locala.f;
m += 1;
break;
}
}
this.b = paramch.h;
this.c = paramch.i;
this.d = paramch.l;
this.e = paramch.n;
this.f = paramch.o;
this.g = paramch.p;
this.h = paramch.q;
this.i = paramch.r;
this.j = paramch.s;
this.k = paramch.t;
this.l = paramch.u;
}
public final ch a(cn paramcn)
{
int n = 0;
ch localch = new ch(paramcn);
int m = 0;
if (n < this.a.length)
{
ch.a locala = new ch.a();
int[] arrayOfInt = this.a;
int i1 = n + 1;
locala.a = arrayOfInt[n];
if (cn.a) {
Log.v("FragmentManager", "Instantiate " + localch + " op #" + m + " base fragment #" + this.a[i1]);
}
arrayOfInt = this.a;
n = i1 + 1;
i1 = arrayOfInt[i1];
if (i1 >= 0) {}
for (locala.b = ((Fragment)paramcn.e.get(i1));; locala.b = null)
{
arrayOfInt = this.a;
i1 = n + 1;
locala.c = arrayOfInt[n];
arrayOfInt = this.a;
n = i1 + 1;
locala.d = arrayOfInt[i1];
arrayOfInt = this.a;
i1 = n + 1;
locala.e = arrayOfInt[n];
locala.f = this.a[i1];
localch.d = locala.c;
localch.e = locala.d;
localch.f = locala.e;
localch.g = locala.f;
localch.a(locala);
m += 1;
n = i1 + 1;
break;
}
}
localch.h = this.b;
localch.i = this.c;
localch.l = this.d;
localch.n = this.e;
localch.j = true;
localch.o = this.f;
localch.p = this.g;
localch.q = this.h;
localch.r = this.i;
localch.s = this.j;
localch.t = this.k;
localch.u = this.l;
localch.a(1);
return localch;
}
public final int describeContents()
{
return 0;
}
public final void writeToParcel(Parcel paramParcel, int paramInt)
{
paramInt = 0;
paramParcel.writeIntArray(this.a);
paramParcel.writeInt(this.b);
paramParcel.writeInt(this.c);
paramParcel.writeString(this.d);
paramParcel.writeInt(this.e);
paramParcel.writeInt(this.f);
TextUtils.writeToParcel(this.g, paramParcel, 0);
paramParcel.writeInt(this.h);
TextUtils.writeToParcel(this.i, paramParcel, 0);
paramParcel.writeStringList(this.j);
paramParcel.writeStringList(this.k);
if (this.l) {
paramInt = 1;
}
paramParcel.writeInt(paramInt);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/app/BackStackState.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/