ViewGroupCompat.java
4.29 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
173
174
175
176
177
178
179
180
package android.support.v4.view;
import android.os.Build.VERSION;
import android.view.View;
import android.view.ViewGroup;
import android.view.accessibility.AccessibilityEvent;
public final class ViewGroupCompat
{
public static final int LAYOUT_MODE_CLIP_BOUNDS = 0;
public static final int LAYOUT_MODE_OPTICAL_BOUNDS = 1;
static final c a = new f();
static
{
int i = Build.VERSION.SDK_INT;
if (i >= 21)
{
a = new e();
return;
}
if (i >= 18)
{
a = new d();
return;
}
if (i >= 14)
{
a = new b();
return;
}
if (i >= 11)
{
a = new a();
return;
}
}
public static int getLayoutMode(ViewGroup paramViewGroup)
{
return a.a(paramViewGroup);
}
public static int getNestedScrollAxes(ViewGroup paramViewGroup)
{
return a.c(paramViewGroup);
}
public static boolean isTransitionGroup(ViewGroup paramViewGroup)
{
return a.b(paramViewGroup);
}
public static boolean onRequestSendAccessibilityEvent(ViewGroup paramViewGroup, View paramView, AccessibilityEvent paramAccessibilityEvent)
{
return a.a(paramViewGroup, paramView, paramAccessibilityEvent);
}
public static void setLayoutMode(ViewGroup paramViewGroup, int paramInt)
{
a.a(paramViewGroup, paramInt);
}
public static void setMotionEventSplittingEnabled(ViewGroup paramViewGroup, boolean paramBoolean)
{
a.a(paramViewGroup, paramBoolean);
}
public static void setTransitionGroup(ViewGroup paramViewGroup, boolean paramBoolean)
{
a.b(paramViewGroup, paramBoolean);
}
static class a
extends ViewGroupCompat.f
{
public final void a(ViewGroup paramViewGroup, boolean paramBoolean)
{
paramViewGroup.setMotionEventSplittingEnabled(paramBoolean);
}
}
static class b
extends ViewGroupCompat.a
{
public final boolean a(ViewGroup paramViewGroup, View paramView, AccessibilityEvent paramAccessibilityEvent)
{
return paramViewGroup.onRequestSendAccessibilityEvent(paramView, paramAccessibilityEvent);
}
}
static abstract interface c
{
public abstract int a(ViewGroup paramViewGroup);
public abstract void a(ViewGroup paramViewGroup, int paramInt);
public abstract void a(ViewGroup paramViewGroup, boolean paramBoolean);
public abstract boolean a(ViewGroup paramViewGroup, View paramView, AccessibilityEvent paramAccessibilityEvent);
public abstract void b(ViewGroup paramViewGroup, boolean paramBoolean);
public abstract boolean b(ViewGroup paramViewGroup);
public abstract int c(ViewGroup paramViewGroup);
}
static class d
extends ViewGroupCompat.b
{
public final int a(ViewGroup paramViewGroup)
{
return paramViewGroup.getLayoutMode();
}
public final void a(ViewGroup paramViewGroup, int paramInt)
{
paramViewGroup.setLayoutMode(paramInt);
}
}
static final class e
extends ViewGroupCompat.d
{
public final void b(ViewGroup paramViewGroup, boolean paramBoolean)
{
paramViewGroup.setTransitionGroup(paramBoolean);
}
public final boolean b(ViewGroup paramViewGroup)
{
return paramViewGroup.isTransitionGroup();
}
public final int c(ViewGroup paramViewGroup)
{
return paramViewGroup.getNestedScrollAxes();
}
}
static class f
implements ViewGroupCompat.c
{
public int a(ViewGroup paramViewGroup)
{
return 0;
}
public void a(ViewGroup paramViewGroup, int paramInt) {}
public void a(ViewGroup paramViewGroup, boolean paramBoolean) {}
public boolean a(ViewGroup paramViewGroup, View paramView, AccessibilityEvent paramAccessibilityEvent)
{
return true;
}
public void b(ViewGroup paramViewGroup, boolean paramBoolean) {}
public boolean b(ViewGroup paramViewGroup)
{
return false;
}
public int c(ViewGroup paramViewGroup)
{
if ((paramViewGroup instanceof NestedScrollingParent)) {
return ((NestedScrollingParent)paramViewGroup).getNestedScrollAxes();
}
return 0;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/view/ViewGroupCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/