da.java
1.49 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
import android.annotation.TargetApi;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.DrawableContainer;
import android.graphics.drawable.DrawableContainer.DrawableContainerState;
import android.graphics.drawable.InsetDrawable;
import android.support.annotation.RequiresApi;
import android.support.v4.graphics.drawable.DrawableWrapper;
@TargetApi(21)
@RequiresApi(21)
public final class da
{
public static void a(Drawable paramDrawable)
{
for (;;)
{
paramDrawable.clearColorFilter();
if ((paramDrawable instanceof InsetDrawable))
{
paramDrawable = ((InsetDrawable)paramDrawable).getDrawable();
}
else
{
if (!(paramDrawable instanceof DrawableWrapper)) {
break;
}
paramDrawable = ((DrawableWrapper)paramDrawable).getWrappedDrawable();
}
}
if ((paramDrawable instanceof DrawableContainer))
{
paramDrawable = (DrawableContainer.DrawableContainerState)((DrawableContainer)paramDrawable).getConstantState();
if (paramDrawable != null)
{
int i = 0;
int j = paramDrawable.getChildCount();
while (i < j)
{
Drawable localDrawable = paramDrawable.getChild(i);
if (localDrawable != null) {
a(localDrawable);
}
i += 1;
}
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/da.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/