k.java
4.06 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
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.Paint;
import android.graphics.PorterDuff.Mode;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.support.annotation.Nullable;
import android.support.design.R.color;
import android.support.design.widget.VisibilityAwareImageButton;
import android.support.v4.content.ContextCompat;
import android.view.ViewTreeObserver.OnPreDrawListener;
import android.view.animation.Interpolator;
public abstract class k
{
static final Interpolator b = c.c;
static final int[] j = { 16842919, 16842910 };
static final int[] k = { 16842908, 16842910 };
static final int[] l = { 16842910 };
static final int[] m = new int[0];
private final Rect a = new Rect();
int c = 0;
Drawable d;
Drawable e;
d f;
public Drawable g;
public float h;
public float i;
public final VisibilityAwareImageButton n;
final o o;
final s.d p;
public ViewTreeObserver.OnPreDrawListener q;
k(VisibilityAwareImageButton paramVisibilityAwareImageButton, o paramo, s.d paramd)
{
this.n = paramVisibilityAwareImageButton;
this.o = paramo;
this.p = paramd;
}
public abstract float a();
final d a(int paramInt, ColorStateList paramColorStateList)
{
Context localContext = this.n.getContext();
d locald = g();
int i1 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_top_outer_color);
int i2 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_top_inner_color);
int i3 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_end_inner_color);
int i4 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_end_outer_color);
locald.e = i1;
locald.f = i2;
locald.g = i3;
locald.h = i4;
float f1 = paramInt;
if (locald.d != f1)
{
locald.d = f1;
locald.a.setStrokeWidth(f1 * 1.3333F);
locald.i = true;
locald.invalidateSelf();
}
locald.a(paramColorStateList);
return locald;
}
public final void a(float paramFloat)
{
if (this.h != paramFloat)
{
this.h = paramFloat;
a(paramFloat, this.i);
}
}
public abstract void a(float paramFloat1, float paramFloat2);
public abstract void a(int paramInt);
public abstract void a(ColorStateList paramColorStateList);
public abstract void a(ColorStateList paramColorStateList, PorterDuff.Mode paramMode, int paramInt1, int paramInt2);
public abstract void a(PorterDuff.Mode paramMode);
abstract void a(Rect paramRect);
public abstract void a(@Nullable k.a parama, boolean paramBoolean);
public abstract void a(int[] paramArrayOfInt);
public abstract void b();
void b(Rect paramRect) {}
public abstract void b(@Nullable k.a parama, boolean paramBoolean);
public abstract void c();
public boolean d()
{
return false;
}
void e() {}
public final void f()
{
Rect localRect = this.a;
a(localRect);
b(localRect);
this.o.a(localRect.left, localRect.top, localRect.right, localRect.bottom);
}
d g()
{
return new d();
}
final GradientDrawable h()
{
GradientDrawable localGradientDrawable = i();
localGradientDrawable.setShape(1);
localGradientDrawable.setColor(-1);
return localGradientDrawable;
}
GradientDrawable i()
{
return new GradientDrawable();
}
final boolean j()
{
if (this.n.getVisibility() != 0) {
if (this.c != 2) {}
}
while (this.c != 1)
{
return true;
return false;
}
return false;
}
final boolean k()
{
if (this.n.getVisibility() == 0) {
if (this.c != 1) {}
}
while (this.c != 2)
{
return true;
return false;
}
return false;
}
public static abstract interface a
{
public abstract void a();
public abstract void b();
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/k.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/