LayoutInflaterCompat.java
3.09 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
package android.support.v4.view;
import android.os.Build.VERSION;
import android.view.LayoutInflater;
import android.view.LayoutInflater.Factory;
import android.view.LayoutInflater.Factory2;
import ee.a;
import ef;
import ef.a;
public final class LayoutInflaterCompat
{
static final a a = new b();
static
{
int i = Build.VERSION.SDK_INT;
if (i >= 21)
{
a = new d();
return;
}
if (i >= 11)
{
a = new c();
return;
}
}
public static LayoutInflaterFactory getFactory(LayoutInflater paramLayoutInflater)
{
return a.a(paramLayoutInflater);
}
public static void setFactory(LayoutInflater paramLayoutInflater, LayoutInflaterFactory paramLayoutInflaterFactory)
{
a.a(paramLayoutInflater, paramLayoutInflaterFactory);
}
static abstract interface a
{
public abstract LayoutInflaterFactory a(LayoutInflater paramLayoutInflater);
public abstract void a(LayoutInflater paramLayoutInflater, LayoutInflaterFactory paramLayoutInflaterFactory);
}
static class b
implements LayoutInflaterCompat.a
{
public final LayoutInflaterFactory a(LayoutInflater paramLayoutInflater)
{
paramLayoutInflater = paramLayoutInflater.getFactory();
if ((paramLayoutInflater instanceof ee.a)) {
return ((ee.a)paramLayoutInflater).a;
}
return null;
}
public void a(LayoutInflater paramLayoutInflater, LayoutInflaterFactory paramLayoutInflaterFactory)
{
if (paramLayoutInflaterFactory != null) {}
for (paramLayoutInflaterFactory = new ee.a(paramLayoutInflaterFactory);; paramLayoutInflaterFactory = null)
{
paramLayoutInflater.setFactory(paramLayoutInflaterFactory);
return;
}
}
}
static class c
extends LayoutInflaterCompat.b
{
public void a(LayoutInflater paramLayoutInflater, LayoutInflaterFactory paramLayoutInflaterFactory)
{
if (paramLayoutInflaterFactory != null) {}
for (paramLayoutInflaterFactory = new ef.a(paramLayoutInflaterFactory);; paramLayoutInflaterFactory = null)
{
paramLayoutInflater.setFactory2(paramLayoutInflaterFactory);
LayoutInflater.Factory localFactory = paramLayoutInflater.getFactory();
if (!(localFactory instanceof LayoutInflater.Factory2)) {
break;
}
ef.a(paramLayoutInflater, (LayoutInflater.Factory2)localFactory);
return;
}
ef.a(paramLayoutInflater, paramLayoutInflaterFactory);
}
}
static final class d
extends LayoutInflaterCompat.c
{
public final void a(LayoutInflater paramLayoutInflater, LayoutInflaterFactory paramLayoutInflaterFactory)
{
if (paramLayoutInflaterFactory != null) {}
for (paramLayoutInflaterFactory = new ef.a(paramLayoutInflaterFactory);; paramLayoutInflaterFactory = null)
{
paramLayoutInflater.setFactory2(paramLayoutInflaterFactory);
return;
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/view/LayoutInflaterCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/