PointerIconCompat.java
3.58 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
package android.support.v4.view;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.support.annotation.RestrictTo;
import android.support.v4.os.BuildCompat;
import android.view.PointerIcon;
public final class PointerIconCompat
{
public static final int TYPE_ALIAS = 1010;
public static final int TYPE_ALL_SCROLL = 1013;
public static final int TYPE_ARROW = 1000;
public static final int TYPE_CELL = 1006;
public static final int TYPE_CONTEXT_MENU = 1001;
public static final int TYPE_COPY = 1011;
public static final int TYPE_CROSSHAIR = 1007;
public static final int TYPE_DEFAULT = 1000;
public static final int TYPE_GRAB = 1020;
public static final int TYPE_GRABBING = 1021;
public static final int TYPE_HAND = 1002;
public static final int TYPE_HELP = 1003;
public static final int TYPE_HORIZONTAL_DOUBLE_ARROW = 1014;
public static final int TYPE_NO_DROP = 1012;
public static final int TYPE_NULL = 0;
public static final int TYPE_TEXT = 1008;
public static final int TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW = 1017;
public static final int TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW = 1016;
public static final int TYPE_VERTICAL_DOUBLE_ARROW = 1015;
public static final int TYPE_VERTICAL_TEXT = 1009;
public static final int TYPE_WAIT = 1004;
public static final int TYPE_ZOOM_IN = 1018;
public static final int TYPE_ZOOM_OUT = 1019;
static final c a = new b();
private Object b;
static
{
if (BuildCompat.isAtLeastN())
{
a = new a();
return;
}
}
private PointerIconCompat(Object paramObject)
{
this.b = paramObject;
}
public static PointerIconCompat create(Bitmap paramBitmap, float paramFloat1, float paramFloat2)
{
return new PointerIconCompat(a.a(paramBitmap, paramFloat1, paramFloat2));
}
public static PointerIconCompat getSystemIcon(Context paramContext, int paramInt)
{
return new PointerIconCompat(a.a(paramContext, paramInt));
}
public static PointerIconCompat load(Resources paramResources, int paramInt)
{
return new PointerIconCompat(a.a(paramResources, paramInt));
}
@RestrictTo({android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP})
public final Object getPointerIcon()
{
return this.b;
}
static final class a
extends PointerIconCompat.b
{
public final Object a(Context paramContext, int paramInt)
{
return PointerIcon.getSystemIcon(paramContext, paramInt);
}
public final Object a(Resources paramResources, int paramInt)
{
return PointerIcon.load(paramResources, paramInt);
}
public final Object a(Bitmap paramBitmap, float paramFloat1, float paramFloat2)
{
return PointerIcon.create(paramBitmap, paramFloat1, paramFloat2);
}
}
static class b
implements PointerIconCompat.c
{
public Object a(Context paramContext, int paramInt)
{
return null;
}
public Object a(Resources paramResources, int paramInt)
{
return null;
}
public Object a(Bitmap paramBitmap, float paramFloat1, float paramFloat2)
{
return null;
}
}
static abstract interface c
{
public abstract Object a(Context paramContext, int paramInt);
public abstract Object a(Resources paramResources, int paramInt);
public abstract Object a(Bitmap paramBitmap, float paramFloat1, float paramFloat2);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/view/PointerIconCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/