611 lines
13 KiB
Smali
611 lines
13 KiB
Smali
.class public Le/d/a/s/b/o;
|
|
.super Ljava/lang/Object;
|
|
.source "RectangleContent.java"
|
|
|
|
# interfaces
|
|
.implements Le/d/a/s/c/a$a;
|
|
.implements Le/d/a/s/b/k;
|
|
.implements Le/d/a/s/b/m;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/graphics/Path;
|
|
|
|
.field public final b:Landroid/graphics/RectF;
|
|
|
|
.field public final c:Ljava/lang/String;
|
|
|
|
.field public final d:Z
|
|
|
|
.field public final e:Le/d/a/f;
|
|
|
|
.field public final f:Le/d/a/s/c/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Le/d/a/s/c/a<",
|
|
"*",
|
|
"Landroid/graphics/PointF;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final g:Le/d/a/s/c/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Le/d/a/s/c/a<",
|
|
"*",
|
|
"Landroid/graphics/PointF;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final h:Le/d/a/s/c/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Le/d/a/s/c/a<",
|
|
"*",
|
|
"Ljava/lang/Float;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public i:Le/d/a/s/b/b;
|
|
|
|
.field public j:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Le/d/a/f;Le/d/a/u/l/b;Le/d/a/u/k/j;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Landroid/graphics/Path;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Path;-><init>()V
|
|
|
|
iput-object v0, p0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object v0, p0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
new-instance v0, Le/d/a/s/b/b;
|
|
|
|
invoke-direct {v0}, Le/d/a/s/b/b;-><init>()V
|
|
|
|
iput-object v0, p0, Le/d/a/s/b/o;->i:Le/d/a/s/b/b;
|
|
|
|
iget-object v0, p3, Le/d/a/u/k/j;->a:Ljava/lang/String;
|
|
|
|
iput-object v0, p0, Le/d/a/s/b/o;->c:Ljava/lang/String;
|
|
|
|
iget-boolean v0, p3, Le/d/a/u/k/j;->e:Z
|
|
|
|
iput-boolean v0, p0, Le/d/a/s/b/o;->d:Z
|
|
|
|
iput-object p1, p0, Le/d/a/s/b/o;->e:Le/d/a/f;
|
|
|
|
iget-object p1, p3, Le/d/a/u/k/j;->b:Le/d/a/u/j/m;
|
|
|
|
invoke-interface {p1}, Le/d/a/u/j/m;->a()Le/d/a/s/c/a;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Le/d/a/s/b/o;->f:Le/d/a/s/c/a;
|
|
|
|
iget-object p1, p3, Le/d/a/u/k/j;->c:Le/d/a/u/j/f;
|
|
|
|
invoke-virtual {p1}, Le/d/a/u/j/f;->a()Le/d/a/s/c/a;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Le/d/a/s/b/o;->g:Le/d/a/s/c/a;
|
|
|
|
iget-object p1, p3, Le/d/a/u/k/j;->d:Le/d/a/u/j/b;
|
|
|
|
invoke-virtual {p1}, Le/d/a/u/j/b;->a()Le/d/a/s/c/a;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Le/d/a/s/b/o;->h:Le/d/a/s/c/a;
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->f:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {p2, p1}, Le/d/a/u/l/b;->a(Le/d/a/s/c/a;)V
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->g:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {p2, p1}, Le/d/a/u/l/b;->a(Le/d/a/s/c/a;)V
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->h:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {p2, p1}, Le/d/a/u/l/b;->a(Le/d/a/s/c/a;)V
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->f:Le/d/a/s/c/a;
|
|
|
|
iget-object p1, p1, Le/d/a/s/c/a;->a:Ljava/util/List;
|
|
|
|
invoke-interface {p1, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->g:Le/d/a/s/c/a;
|
|
|
|
iget-object p1, p1, Le/d/a/s/c/a;->a:Ljava/util/List;
|
|
|
|
invoke-interface {p1, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->h:Le/d/a/s/c/a;
|
|
|
|
iget-object p1, p1, Le/d/a/s/c/a;->a:Ljava/util/List;
|
|
|
|
invoke-interface {p1, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Le/d/a/s/b/o;->j:Z
|
|
|
|
iget-object v0, p0, Le/d/a/s/b/o;->e:Le/d/a/f;
|
|
|
|
invoke-virtual {v0}, Le/d/a/f;->invalidateSelf()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Le/d/a/u/e;ILjava/util/List;Le/d/a/u/e;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Le/d/a/u/e;",
|
|
"I",
|
|
"Ljava/util/List<",
|
|
"Le/d/a/u/e;",
|
|
">;",
|
|
"Le/d/a/u/e;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {p1, p2, p3, p4, p0}, Le/d/a/x/f;->a(Le/d/a/u/e;ILjava/util/List;Le/d/a/u/e;Le/d/a/s/b/k;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/Object;Le/d/a/y/c;)V
|
|
.locals 1
|
|
.param p2 # Le/d/a/y/c;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;",
|
|
"Le/d/a/y/c<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Le/d/a/k;->h:Landroid/graphics/PointF;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->g:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {p1, p2}, Le/d/a/s/c/a;->a(Le/d/a/y/c;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Le/d/a/k;->j:Landroid/graphics/PointF;
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->f:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {p1, p2}, Le/d/a/s/c/a;->a(Le/d/a/y/c;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget-object v0, Le/d/a/k;->i:Ljava/lang/Float;
|
|
|
|
if-ne p1, v0, :cond_2
|
|
|
|
iget-object p1, p0, Le/d/a/s/b/o;->h:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {p1, p2}, Le/d/a/s/c/a;->a(Le/d/a/y/c;)V
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/util/List;Ljava/util/List;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Le/d/a/s/b/c;",
|
|
">;",
|
|
"Ljava/util/List<",
|
|
"Le/d/a/s/b/c;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-ge p2, v0, :cond_1
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Le/d/a/s/b/c;
|
|
|
|
instance-of v1, v0, Le/d/a/s/b/s;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
check-cast v0, Le/d/a/s/b/s;
|
|
|
|
iget-object v1, v0, Le/d/a/s/b/s;->c:Le/d/a/u/k/q$a;
|
|
|
|
sget-object v2, Le/d/a/u/k/q$a;->d:Le/d/a/u/k/q$a;
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
iget-object v1, p0, Le/d/a/s/b/o;->i:Le/d/a/s/b/b;
|
|
|
|
iget-object v1, v1, Le/d/a/s/b/b;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object v0, v0, Le/d/a/s/b/s;->b:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public getName()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Le/d/a/s/b/o;->c:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPath()Landroid/graphics/Path;
|
|
.locals 17
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
iget-boolean v1, v0, Le/d/a/s/b/o;->j:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
iget-object v1, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
invoke-virtual {v1}, Landroid/graphics/Path;->reset()V
|
|
|
|
iget-boolean v1, v0, Le/d/a/s/b/o;->d:Z
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iput-boolean v2, v0, Le/d/a/s/b/o;->j:Z
|
|
|
|
iget-object v1, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
return-object v1
|
|
|
|
:cond_1
|
|
iget-object v1, v0, Le/d/a/s/b/o;->g:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {v1}, Le/d/a/s/c/a;->f()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/graphics/PointF;
|
|
|
|
iget v3, v1, Landroid/graphics/PointF;->x:F
|
|
|
|
const/high16 v4, 0x40000000 # 2.0f
|
|
|
|
div-float/2addr v3, v4
|
|
|
|
iget v1, v1, Landroid/graphics/PointF;->y:F
|
|
|
|
div-float/2addr v1, v4
|
|
|
|
iget-object v5, v0, Le/d/a/s/b/o;->h:Le/d/a/s/c/a;
|
|
|
|
const/4 v6, 0x0
|
|
|
|
if-nez v5, :cond_2
|
|
|
|
const/4 v5, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
check-cast v5, Le/d/a/s/c/c;
|
|
|
|
invoke-virtual {v5}, Le/d/a/s/c/c;->h()F
|
|
|
|
move-result v5
|
|
|
|
:goto_0
|
|
invoke-static {v3, v1}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result v7
|
|
|
|
cmpl-float v8, v5, v7
|
|
|
|
if-lez v8, :cond_3
|
|
|
|
move v5, v7
|
|
|
|
:cond_3
|
|
iget-object v7, v0, Le/d/a/s/b/o;->f:Le/d/a/s/c/a;
|
|
|
|
invoke-virtual {v7}, Le/d/a/s/c/a;->f()Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Landroid/graphics/PointF;
|
|
|
|
iget-object v8, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget v9, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
add-float/2addr v9, v3
|
|
|
|
iget v10, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
sub-float/2addr v10, v1
|
|
|
|
add-float/2addr v10, v5
|
|
|
|
invoke-virtual {v8, v9, v10}, Landroid/graphics/Path;->moveTo(FF)V
|
|
|
|
iget-object v8, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget v9, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
add-float/2addr v9, v3
|
|
|
|
iget v10, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
add-float/2addr v10, v1
|
|
|
|
sub-float/2addr v10, v5
|
|
|
|
invoke-virtual {v8, v9, v10}, Landroid/graphics/Path;->lineTo(FF)V
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/high16 v9, 0x42b40000 # 90.0f
|
|
|
|
cmpl-float v10, v5, v6
|
|
|
|
if-lez v10, :cond_4
|
|
|
|
iget-object v11, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
iget v12, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
add-float v13, v12, v3
|
|
|
|
mul-float v14, v5, v4
|
|
|
|
sub-float/2addr v13, v14
|
|
|
|
iget v15, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
add-float v16, v15, v1
|
|
|
|
sub-float v14, v16, v14
|
|
|
|
add-float/2addr v12, v3
|
|
|
|
add-float/2addr v15, v1
|
|
|
|
invoke-virtual {v11, v13, v14, v12, v15}, Landroid/graphics/RectF;->set(FFFF)V
|
|
|
|
iget-object v11, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget-object v12, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
invoke-virtual {v11, v12, v6, v9, v8}, Landroid/graphics/Path;->arcTo(Landroid/graphics/RectF;FFZ)V
|
|
|
|
:cond_4
|
|
iget-object v6, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget v11, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
sub-float/2addr v11, v3
|
|
|
|
add-float/2addr v11, v5
|
|
|
|
iget v12, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
add-float/2addr v12, v1
|
|
|
|
invoke-virtual {v6, v11, v12}, Landroid/graphics/Path;->lineTo(FF)V
|
|
|
|
if-lez v10, :cond_5
|
|
|
|
iget-object v6, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
iget v11, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
sub-float v12, v11, v3
|
|
|
|
iget v13, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
add-float v14, v13, v1
|
|
|
|
mul-float v15, v5, v4
|
|
|
|
sub-float/2addr v14, v15
|
|
|
|
sub-float/2addr v11, v3
|
|
|
|
add-float/2addr v11, v15
|
|
|
|
add-float/2addr v13, v1
|
|
|
|
invoke-virtual {v6, v12, v14, v11, v13}, Landroid/graphics/RectF;->set(FFFF)V
|
|
|
|
iget-object v6, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget-object v11, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
invoke-virtual {v6, v11, v9, v9, v8}, Landroid/graphics/Path;->arcTo(Landroid/graphics/RectF;FFZ)V
|
|
|
|
:cond_5
|
|
iget-object v6, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget v11, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
sub-float/2addr v11, v3
|
|
|
|
iget v12, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
sub-float/2addr v12, v1
|
|
|
|
add-float/2addr v12, v5
|
|
|
|
invoke-virtual {v6, v11, v12}, Landroid/graphics/Path;->lineTo(FF)V
|
|
|
|
if-lez v10, :cond_6
|
|
|
|
iget-object v6, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
iget v11, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
sub-float v12, v11, v3
|
|
|
|
iget v13, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
sub-float v14, v13, v1
|
|
|
|
sub-float/2addr v11, v3
|
|
|
|
mul-float v15, v5, v4
|
|
|
|
add-float/2addr v11, v15
|
|
|
|
sub-float/2addr v13, v1
|
|
|
|
add-float/2addr v13, v15
|
|
|
|
invoke-virtual {v6, v12, v14, v11, v13}, Landroid/graphics/RectF;->set(FFFF)V
|
|
|
|
iget-object v6, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget-object v11, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
const/high16 v12, 0x43340000 # 180.0f
|
|
|
|
invoke-virtual {v6, v11, v12, v9, v8}, Landroid/graphics/Path;->arcTo(Landroid/graphics/RectF;FFZ)V
|
|
|
|
:cond_6
|
|
iget-object v6, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget v11, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
add-float/2addr v11, v3
|
|
|
|
sub-float/2addr v11, v5
|
|
|
|
iget v12, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
sub-float/2addr v12, v1
|
|
|
|
invoke-virtual {v6, v11, v12}, Landroid/graphics/Path;->lineTo(FF)V
|
|
|
|
if-lez v10, :cond_7
|
|
|
|
iget-object v6, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
iget v10, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
add-float v11, v10, v3
|
|
|
|
mul-float v5, v5, v4
|
|
|
|
sub-float/2addr v11, v5
|
|
|
|
iget v4, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
sub-float v7, v4, v1
|
|
|
|
add-float/2addr v10, v3
|
|
|
|
sub-float/2addr v4, v1
|
|
|
|
add-float/2addr v4, v5
|
|
|
|
invoke-virtual {v6, v11, v7, v10, v4}, Landroid/graphics/RectF;->set(FFFF)V
|
|
|
|
iget-object v1, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
iget-object v3, v0, Le/d/a/s/b/o;->b:Landroid/graphics/RectF;
|
|
|
|
const/high16 v4, 0x43870000 # 270.0f
|
|
|
|
invoke-virtual {v1, v3, v4, v9, v8}, Landroid/graphics/Path;->arcTo(Landroid/graphics/RectF;FFZ)V
|
|
|
|
:cond_7
|
|
iget-object v1, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
invoke-virtual {v1}, Landroid/graphics/Path;->close()V
|
|
|
|
iget-object v1, v0, Le/d/a/s/b/o;->i:Le/d/a/s/b/b;
|
|
|
|
iget-object v3, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
invoke-virtual {v1, v3}, Le/d/a/s/b/b;->a(Landroid/graphics/Path;)V
|
|
|
|
iput-boolean v2, v0, Le/d/a/s/b/o;->j:Z
|
|
|
|
iget-object v1, v0, Le/d/a/s/b/o;->a:Landroid/graphics/Path;
|
|
|
|
return-object v1
|
|
.end method
|