GravityCompat.java
3.53 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
package android.support.v4.view;
import android.graphics.Rect;
import android.os.Build.VERSION;
import android.view.Gravity;
public final class GravityCompat
{
public static final int END = 8388613;
public static final int RELATIVE_HORIZONTAL_GRAVITY_MASK = 8388615;
public static final int RELATIVE_LAYOUT_DIRECTION = 8388608;
public static final int START = 8388611;
static final a a = new b();
static
{
if (Build.VERSION.SDK_INT >= 17)
{
a = new c();
return;
}
}
public static void apply(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, int paramInt4, int paramInt5, Rect paramRect2, int paramInt6)
{
a.a(paramInt1, paramInt2, paramInt3, paramRect1, paramInt4, paramInt5, paramRect2, paramInt6);
}
public static void apply(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, Rect paramRect2, int paramInt4)
{
a.a(paramInt1, paramInt2, paramInt3, paramRect1, paramRect2, paramInt4);
}
public static void applyDisplay(int paramInt1, Rect paramRect1, Rect paramRect2, int paramInt2)
{
a.a(paramInt1, paramRect1, paramRect2, paramInt2);
}
public static int getAbsoluteGravity(int paramInt1, int paramInt2)
{
return a.a(paramInt1, paramInt2);
}
static abstract interface a
{
public abstract int a(int paramInt1, int paramInt2);
public abstract void a(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, int paramInt4, int paramInt5, Rect paramRect2, int paramInt6);
public abstract void a(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, Rect paramRect2, int paramInt4);
public abstract void a(int paramInt1, Rect paramRect1, Rect paramRect2, int paramInt2);
}
static final class b
implements GravityCompat.a
{
public final int a(int paramInt1, int paramInt2)
{
return 0xFF7FFFFF & paramInt1;
}
public final void a(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, int paramInt4, int paramInt5, Rect paramRect2, int paramInt6)
{
Gravity.apply(paramInt1, paramInt2, paramInt3, paramRect1, paramInt4, paramInt5, paramRect2);
}
public final void a(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, Rect paramRect2, int paramInt4)
{
Gravity.apply(paramInt1, paramInt2, paramInt3, paramRect1, paramRect2);
}
public final void a(int paramInt1, Rect paramRect1, Rect paramRect2, int paramInt2)
{
Gravity.applyDisplay(paramInt1, paramRect1, paramRect2);
}
}
static final class c
implements GravityCompat.a
{
public final int a(int paramInt1, int paramInt2)
{
return Gravity.getAbsoluteGravity(paramInt1, paramInt2);
}
public final void a(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, int paramInt4, int paramInt5, Rect paramRect2, int paramInt6)
{
Gravity.apply(paramInt1, paramInt2, paramInt3, paramRect1, paramInt4, paramInt5, paramRect2, paramInt6);
}
public final void a(int paramInt1, int paramInt2, int paramInt3, Rect paramRect1, Rect paramRect2, int paramInt4)
{
Gravity.apply(paramInt1, paramInt2, paramInt3, paramRect1, paramRect2, paramInt4);
}
public final void a(int paramInt1, Rect paramRect1, Rect paramRect2, int paramInt2)
{
Gravity.applyDisplay(paramInt1, paramRect1, paramRect2, paramInt2);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/view/GravityCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/