hd$c.java
1.82 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
import android.graphics.Canvas;
import android.support.v4.view.ViewCompat;
import android.support.v7.recyclerview.R.id;
import android.support.v7.widget.RecyclerView;
import android.view.View;
public final class hd$c
extends hd.b
{
public final void clearView(View paramView)
{
Object localObject = paramView.getTag(R.id.item_touch_helper_previous_elevation);
if ((localObject != null) && ((localObject instanceof Float))) {
ViewCompat.setElevation(paramView, ((Float)localObject).floatValue());
}
paramView.setTag(R.id.item_touch_helper_previous_elevation, null);
super.clearView(paramView);
}
public final void onDraw(Canvas paramCanvas, RecyclerView paramRecyclerView, View paramView, float paramFloat1, float paramFloat2, int paramInt, boolean paramBoolean)
{
float f3;
float f1;
int i;
if ((paramBoolean) && (paramView.getTag(R.id.item_touch_helper_previous_elevation) == null))
{
f3 = ViewCompat.getElevation(paramView);
int j = paramRecyclerView.getChildCount();
f1 = 0.0F;
i = 0;
if (i < j)
{
View localView = paramRecyclerView.getChildAt(i);
if (localView == paramView) {
break label118;
}
float f2 = ViewCompat.getElevation(localView);
if (f2 <= f1) {
break label118;
}
f1 = f2;
}
}
label118:
for (;;)
{
i += 1;
break;
ViewCompat.setElevation(paramView, 1.0F + f1);
paramView.setTag(R.id.item_touch_helper_previous_elevation, Float.valueOf(f3));
super.onDraw(paramCanvas, paramRecyclerView, paramView, paramFloat1, paramFloat2, paramInt, paramBoolean);
return;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/hd$c.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/