dd.java
3.19 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
import android.annotation.TargetApi;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.Outline;
import android.graphics.PorterDuff.Mode;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.DrawableContainer;
import android.graphics.drawable.GradientDrawable;
import android.graphics.drawable.InsetDrawable;
import android.os.Build.VERSION;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.support.v4.graphics.drawable.DrawableWrapperGingerbread.DrawableWrapperState;
@TargetApi(21)
@RequiresApi(21)
public final class dd
extends dc
{
public dd(Drawable paramDrawable)
{
super(paramDrawable);
}
dd(DrawableWrapperGingerbread.DrawableWrapperState paramDrawableWrapperState, Resources paramResources)
{
super(paramDrawableWrapperState, paramResources);
}
@NonNull
final DrawableWrapperGingerbread.DrawableWrapperState a()
{
return new dd.a(this.b);
}
protected final boolean b()
{
boolean bool2 = false;
boolean bool1 = bool2;
if (Build.VERSION.SDK_INT == 21)
{
Drawable localDrawable = this.c;
if ((!(localDrawable instanceof GradientDrawable)) && (!(localDrawable instanceof DrawableContainer)))
{
bool1 = bool2;
if (!(localDrawable instanceof InsetDrawable)) {}
}
else
{
bool1 = true;
}
}
return bool1;
}
public final Rect getDirtyBounds()
{
return this.c.getDirtyBounds();
}
public final void getOutline(Outline paramOutline)
{
this.c.getOutline(paramOutline);
}
public final void setHotspot(float paramFloat1, float paramFloat2)
{
this.c.setHotspot(paramFloat1, paramFloat2);
}
public final void setHotspotBounds(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
this.c.setHotspotBounds(paramInt1, paramInt2, paramInt3, paramInt4);
}
public final boolean setState(int[] paramArrayOfInt)
{
if (super.setState(paramArrayOfInt))
{
invalidateSelf();
return true;
}
return false;
}
public final void setTint(int paramInt)
{
if (b())
{
super.setTint(paramInt);
return;
}
this.c.setTint(paramInt);
}
public final void setTintList(ColorStateList paramColorStateList)
{
if (b())
{
super.setTintList(paramColorStateList);
return;
}
this.c.setTintList(paramColorStateList);
}
public final void setTintMode(PorterDuff.Mode paramMode)
{
if (b())
{
super.setTintMode(paramMode);
return;
}
this.c.setTintMode(paramMode);
}
static final class a
extends DrawableWrapperGingerbread.DrawableWrapperState
{
a(@Nullable DrawableWrapperGingerbread.DrawableWrapperState paramDrawableWrapperState)
{
super();
}
public final Drawable newDrawable(@Nullable Resources paramResources)
{
return new dd(this, paramResources);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/dd.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/