265 lines
4.8 KiB
Smali
265 lines
4.8 KiB
Smali
.class public Lf/d/a/y/l;
|
|
.super Ljava/lang/Object;
|
|
.source "GradientFillParser.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Lf/d/a/y/h0/c$a;
|
|
|
|
.field public static final b:Lf/d/a/y/h0/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 8
|
|
|
|
const-string v0, "nm"
|
|
|
|
const-string v1, "g"
|
|
|
|
const-string v2, "o"
|
|
|
|
const-string v3, "t"
|
|
|
|
const-string v4, "s"
|
|
|
|
const-string v5, "e"
|
|
|
|
const-string v6, "r"
|
|
|
|
const-string v7, "hd"
|
|
|
|
filled-new-array/range {v0 .. v7}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lf/d/a/y/h0/c$a;->a([Ljava/lang/String;)Lf/d/a/y/h0/c$a;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/d/a/y/l;->a:Lf/d/a/y/h0/c$a;
|
|
|
|
const-string v0, "p"
|
|
|
|
const-string v1, "k"
|
|
|
|
filled-new-array {v0, v1}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lf/d/a/y/h0/c$a;->a([Ljava/lang/String;)Lf/d/a/y/h0/c$a;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/d/a/y/l;->b:Lf/d/a/y/h0/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lf/d/a/y/h0/c;Lf/d/a/d;)Lf/d/a/w/k/d;
|
|
.locals 14
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Landroid/graphics/Path$FillType;->WINDING:Landroid/graphics/Path$FillType;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move-object v6, v0
|
|
|
|
move-object v4, v1
|
|
|
|
move-object v5, v4
|
|
|
|
move-object v7, v5
|
|
|
|
move-object v8, v7
|
|
|
|
move-object v9, v8
|
|
|
|
move-object v10, v9
|
|
|
|
const/4 v13, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->e()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
sget-object v0, Lf/d/a/y/l;->a:Lf/d/a/y/h0/c$a;
|
|
|
|
invoke-virtual {p0, v0}, Lf/d/a/y/h0/c;->t(Lf/d/a/y/h0/c$a;)I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->v()V
|
|
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->x()V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_0
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->f()Z
|
|
|
|
move-result v13
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->h()I
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
sget-object v0, Landroid/graphics/Path$FillType;->WINDING:Landroid/graphics/Path$FillType;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
sget-object v0, Landroid/graphics/Path$FillType;->EVEN_ODD:Landroid/graphics/Path$FillType;
|
|
|
|
:goto_1
|
|
move-object v6, v0
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
invoke-static {p0, p1}, Lw/a/b/b/a;->U(Lf/d/a/y/h0/c;Lf/d/a/d;)Lf/d/a/w/j/f;
|
|
|
|
move-result-object v10
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_3
|
|
invoke-static {p0, p1}, Lw/a/b/b/a;->U(Lf/d/a/y/h0/c;Lf/d/a/d;)Lf/d/a/w/j/f;
|
|
|
|
move-result-object v9
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->h()I
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
sget-object v0, Lf/d/a/w/k/f;->d:Lf/d/a/w/k/f;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
sget-object v0, Lf/d/a/w/k/f;->e:Lf/d/a/w/k/f;
|
|
|
|
:goto_2
|
|
move-object v5, v0
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
invoke-static {p0, p1}, Lw/a/b/b/a;->T(Lf/d/a/y/h0/c;Lf/d/a/d;)Lf/d/a/w/j/d;
|
|
|
|
move-result-object v8
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
const/4 v0, -0x1
|
|
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->b()V
|
|
|
|
:goto_3
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->e()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
sget-object v2, Lf/d/a/y/l;->b:Lf/d/a/y/h0/c$a;
|
|
|
|
invoke-virtual {p0, v2}, Lf/d/a/y/h0/c;->t(Lf/d/a/y/h0/c$a;)I
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
if-eq v2, v1, :cond_2
|
|
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->v()V
|
|
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->x()V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
new-instance v7, Lf/d/a/w/j/c;
|
|
|
|
new-instance v2, Lf/d/a/y/k;
|
|
|
|
invoke-direct {v2, v0}, Lf/d/a/y/k;-><init>(I)V
|
|
|
|
invoke-static {p0, p1, v2}, Lw/a/b/b/a;->P(Lf/d/a/y/h0/c;Lf/d/a/d;Lf/d/a/y/g0;)Ljava/util/List;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v7, v2}, Lf/d/a/w/j/c;-><init>(Ljava/util/List;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->h()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->d()V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_7
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->l()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
new-instance p0, Lf/d/a/w/k/d;
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/4 v12, 0x0
|
|
|
|
move-object v3, p0
|
|
|
|
invoke-direct/range {v3 .. v13}, Lf/d/a/w/k/d;-><init>(Ljava/lang/String;Lf/d/a/w/k/f;Landroid/graphics/Path$FillType;Lf/d/a/w/j/c;Lf/d/a/w/j/d;Lf/d/a/w/j/f;Lf/d/a/w/j/f;Lf/d/a/w/j/b;Lf/d/a/w/j/b;Z)V
|
|
|
|
return-object p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|