ei.java
1.55 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
import android.annotation.TargetApi;
import android.support.annotation.RequiresApi;
import android.view.View;
import java.lang.reflect.Field;
@TargetApi(9)
@RequiresApi(9)
public final class ei
{
private static Field a;
private static boolean b;
private static Field c;
private static boolean d;
public static int a(View paramView)
{
if (!b) {}
try
{
Field localField = View.class.getDeclaredField("mMinWidth");
a = localField;
localField.setAccessible(true);
b = true;
if (a != null) {
try
{
int i = ((Integer)a.get(paramView)).intValue();
return i;
}
catch (Exception paramView) {}
}
return 0;
}
catch (NoSuchFieldException localNoSuchFieldException)
{
for (;;) {}
}
}
public static int b(View paramView)
{
if (!d) {}
try
{
Field localField = View.class.getDeclaredField("mMinHeight");
c = localField;
localField.setAccessible(true);
d = true;
if (c != null) {
try
{
int i = ((Integer)c.get(paramView)).intValue();
return i;
}
catch (Exception paramView) {}
}
return 0;
}
catch (NoSuchFieldException localNoSuchFieldException)
{
for (;;) {}
}
}
public static boolean c(View paramView)
{
return paramView.getWindowToken() != null;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/ei.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/