ScrollerCompat.java
3.41 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.widget;
import android.content.Context;
import android.os.Build.VERSION;
import android.view.animation.Interpolator;
import android.widget.OverScroller;
public final class ScrollerCompat
{
OverScroller a;
private final boolean b;
private ScrollerCompat(boolean paramBoolean, Context paramContext, Interpolator paramInterpolator)
{
this.b = paramBoolean;
if (paramInterpolator != null) {}
for (paramContext = new OverScroller(paramContext, paramInterpolator);; paramContext = new OverScroller(paramContext))
{
this.a = paramContext;
return;
}
}
public static ScrollerCompat create(Context paramContext)
{
return create(paramContext, null);
}
public static ScrollerCompat create(Context paramContext, Interpolator paramInterpolator)
{
if (Build.VERSION.SDK_INT >= 14) {}
for (boolean bool = true;; bool = false) {
return new ScrollerCompat(bool, paramContext, paramInterpolator);
}
}
public final void abortAnimation()
{
this.a.abortAnimation();
}
public final boolean computeScrollOffset()
{
return this.a.computeScrollOffset();
}
public final void fling(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8)
{
this.a.fling(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7, paramInt8);
}
public final void fling(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10)
{
this.a.fling(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7, paramInt8, paramInt9, paramInt10);
}
public final float getCurrVelocity()
{
if (this.b) {
return ((OverScroller)this.a).getCurrVelocity();
}
return 0.0F;
}
public final int getCurrX()
{
return this.a.getCurrX();
}
public final int getCurrY()
{
return this.a.getCurrY();
}
public final int getFinalX()
{
return this.a.getFinalX();
}
public final int getFinalY()
{
return this.a.getFinalY();
}
public final boolean isFinished()
{
return this.a.isFinished();
}
public final boolean isOverScrolled()
{
return this.a.isOverScrolled();
}
public final void notifyHorizontalEdgeReached(int paramInt1, int paramInt2, int paramInt3)
{
this.a.notifyHorizontalEdgeReached(paramInt1, paramInt2, paramInt3);
}
public final void notifyVerticalEdgeReached(int paramInt1, int paramInt2, int paramInt3)
{
this.a.notifyVerticalEdgeReached(paramInt1, paramInt2, paramInt3);
}
public final boolean springBack(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6)
{
return this.a.springBack(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);
}
public final void startScroll(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
this.a.startScroll(paramInt1, paramInt2, paramInt3, paramInt4);
}
public final void startScroll(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5)
{
this.a.startScroll(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/widget/ScrollerCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/