gl$1.java
1.67 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
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
final class gl$1
implements gv.a
{
gl$1(gl paramgl) {}
public final void a(Canvas paramCanvas, RectF paramRectF, float paramFloat, Paint paramPaint)
{
float f1 = 2.0F * paramFloat;
float f2 = paramRectF.width() - f1 - 1.0F;
float f3 = paramRectF.height();
if (paramFloat >= 1.0F)
{
float f4 = paramFloat + 0.5F;
this.a.a.set(-f4, -f4, f4, f4);
int i = paramCanvas.save();
paramCanvas.translate(paramRectF.left + f4, paramRectF.top + f4);
paramCanvas.drawArc(this.a.a, 180.0F, 90.0F, true, paramPaint);
paramCanvas.translate(f2, 0.0F);
paramCanvas.rotate(90.0F);
paramCanvas.drawArc(this.a.a, 180.0F, 90.0F, true, paramPaint);
paramCanvas.translate(f3 - f1 - 1.0F, 0.0F);
paramCanvas.rotate(90.0F);
paramCanvas.drawArc(this.a.a, 180.0F, 90.0F, true, paramPaint);
paramCanvas.translate(f2, 0.0F);
paramCanvas.rotate(90.0F);
paramCanvas.drawArc(this.a.a, 180.0F, 90.0F, true, paramPaint);
paramCanvas.restoreToCount(i);
paramCanvas.drawRect(paramRectF.left + f4 - 1.0F, paramRectF.top, 1.0F + (paramRectF.right - f4), paramRectF.top + f4, paramPaint);
paramCanvas.drawRect(paramRectF.left + f4 - 1.0F, paramRectF.bottom - f4, 1.0F + (paramRectF.right - f4), paramRectF.bottom, paramPaint);
}
paramCanvas.drawRect(paramRectF.left, paramRectF.top + paramFloat, paramRectF.right, paramRectF.bottom - paramFloat, paramPaint);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/gl$1.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/