j.java
4.39 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
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
import android.os.Build.VERSION;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.support.design.widget.VisibilityAwareImageButton;
import android.support.v4.view.ViewCompat;
import android.view.ViewPropertyAnimator;
@TargetApi(14)
@RequiresApi(14)
public class j
extends i
{
private float r = this.n.getRotation();
public j(VisibilityAwareImageButton paramVisibilityAwareImageButton, o paramo, s.d paramd)
{
super(paramVisibilityAwareImageButton, paramo, paramd);
}
private boolean l()
{
return (ViewCompat.isLaidOut(this.n)) && (!this.n.isInEditMode());
}
final void a(@Nullable final k.a parama, final boolean paramBoolean)
{
if (k()) {
return;
}
this.n.animate().cancel();
if (l())
{
this.c = 1;
this.n.animate().scaleX(0.0F).scaleY(0.0F).alpha(0.0F).setDuration(200L).setInterpolator(c.c).setListener(new AnimatorListenerAdapter()
{
private boolean d;
public final void onAnimationCancel(Animator paramAnonymousAnimator)
{
this.d = true;
}
public final void onAnimationEnd(Animator paramAnonymousAnimator)
{
j.this.c = 0;
if (!this.d)
{
paramAnonymousAnimator = j.this.n;
if (!paramBoolean) {
break label59;
}
}
label59:
for (int i = 8;; i = 4)
{
paramAnonymousAnimator.a(i, paramBoolean);
if (parama != null) {
parama.b();
}
return;
}
}
public final void onAnimationStart(Animator paramAnonymousAnimator)
{
j.this.n.a(0, paramBoolean);
this.d = false;
}
});
return;
}
VisibilityAwareImageButton localVisibilityAwareImageButton = this.n;
if (paramBoolean) {}
for (int i = 8;; i = 4)
{
localVisibilityAwareImageButton.a(i, paramBoolean);
if (parama == null) {
break;
}
parama.b();
return;
}
}
final void b(@Nullable final k.a parama, final boolean paramBoolean)
{
if (j()) {}
do
{
return;
this.n.animate().cancel();
if (l())
{
this.c = 2;
if (this.n.getVisibility() != 0)
{
this.n.setAlpha(0.0F);
this.n.setScaleY(0.0F);
this.n.setScaleX(0.0F);
}
this.n.animate().scaleX(1.0F).scaleY(1.0F).alpha(1.0F).setDuration(200L).setInterpolator(c.d).setListener(new AnimatorListenerAdapter()
{
public final void onAnimationEnd(Animator paramAnonymousAnimator)
{
j.this.c = 0;
if (parama != null) {
parama.a();
}
}
public final void onAnimationStart(Animator paramAnonymousAnimator)
{
j.this.n.a(0, paramBoolean);
}
});
return;
}
this.n.a(0, paramBoolean);
this.n.setAlpha(1.0F);
this.n.setScaleY(1.0F);
this.n.setScaleX(1.0F);
} while (parama == null);
parama.a();
}
boolean d()
{
return true;
}
final void e()
{
float f = this.n.getRotation();
if (this.r != f)
{
this.r = f;
if (Build.VERSION.SDK_INT == 19)
{
if (this.r % 90.0F == 0.0F) {
break label135;
}
if (this.n.getLayerType() != 1) {
this.n.setLayerType(1, null);
}
}
}
for (;;)
{
Object localObject;
if (this.a != null)
{
localObject = this.a;
f = -this.r;
if (((n)localObject).l != f)
{
((n)localObject).l = f;
((n)localObject).invalidateSelf();
}
}
if (this.f != null)
{
localObject = this.f;
f = -this.r;
if (f != ((d)localObject).j)
{
((d)localObject).j = f;
((d)localObject).invalidateSelf();
}
}
return;
label135:
if (this.n.getLayerType() != 0) {
this.n.setLayerType(0, null);
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/j.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/