469 lines
9.6 KiB
Smali
469 lines
9.6 KiB
Smali
.class public Le/d/a/w/p;
|
|
.super Ljava/lang/Object;
|
|
.source "KeyframeParser.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Landroid/view/animation/Interpolator;
|
|
|
|
.field public static b:Landroidx/collection/SparseArrayCompat;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/SparseArrayCompat<",
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/view/animation/Interpolator;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static c:Le/d/a/w/h0/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 9
|
|
|
|
new-instance v0, Landroid/view/animation/LinearInterpolator;
|
|
|
|
invoke-direct {v0}, Landroid/view/animation/LinearInterpolator;-><init>()V
|
|
|
|
sput-object v0, Le/d/a/w/p;->a:Landroid/view/animation/Interpolator;
|
|
|
|
const-string v1, "t"
|
|
|
|
const-string v2, "s"
|
|
|
|
const-string v3, "e"
|
|
|
|
const-string v4, "o"
|
|
|
|
const-string v5, "i"
|
|
|
|
const-string v6, "h"
|
|
|
|
const-string v7, "to"
|
|
|
|
const-string v8, "ti"
|
|
|
|
filled-new-array/range {v1 .. v8}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Le/d/a/w/h0/c$a;->a([Ljava/lang/String;)Le/d/a/w/h0/c$a;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Le/d/a/w/p;->c:Le/d/a/w/h0/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Le/d/a/w/h0/c;Le/d/a/d;FLe/d/a/w/g0;Z)Le/d/a/y/a;
|
|
.locals 16
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Le/d/a/w/h0/c;",
|
|
"Le/d/a/d;",
|
|
"F",
|
|
"Le/d/a/w/g0<",
|
|
"TT;>;Z)",
|
|
"Le/d/a/y/a<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move/from16 v1, p2
|
|
|
|
move-object/from16 v2, p3
|
|
|
|
if-eqz p4, :cond_7
|
|
|
|
invoke-virtual/range {p0 .. p0}, Le/d/a/w/h0/c;->b()V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v7, v3
|
|
|
|
move-object v8, v7
|
|
|
|
move-object v9, v8
|
|
|
|
move-object v10, v9
|
|
|
|
move-object v14, v10
|
|
|
|
move-object v15, v14
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v13, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual/range {p0 .. p0}, Le/d/a/w/h0/c;->e()Z
|
|
|
|
move-result v11
|
|
|
|
if-eqz v11, :cond_1
|
|
|
|
sget-object v11, Le/d/a/w/p;->c:Le/d/a/w/h0/c$a;
|
|
|
|
invoke-virtual {v0, v11}, Le/d/a/w/h0/c;->a(Le/d/a/w/h0/c$a;)I
|
|
|
|
move-result v11
|
|
|
|
packed-switch v11, :pswitch_data_0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Le/d/a/w/h0/c;->m()V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_0
|
|
invoke-static {v0, v1}, Le/d/a/w/o;->a(Le/d/a/w/h0/c;F)Landroid/graphics/PointF;
|
|
|
|
move-result-object v14
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
invoke-static {v0, v1}, Le/d/a/w/o;->a(Le/d/a/w/h0/c;F)Landroid/graphics/PointF;
|
|
|
|
move-result-object v15
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
invoke-virtual/range {p0 .. p0}, Le/d/a/w/h0/c;->h()I
|
|
|
|
move-result v4
|
|
|
|
if-ne v4, v5, :cond_0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_3
|
|
invoke-static {v0, v1}, Le/d/a/w/o;->a(Le/d/a/w/h0/c;F)Landroid/graphics/PointF;
|
|
|
|
move-result-object v8
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
invoke-static {v0, v1}, Le/d/a/w/o;->a(Le/d/a/w/h0/c;F)Landroid/graphics/PointF;
|
|
|
|
move-result-object v7
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
invoke-interface {v2, v0, v1}, Le/d/a/w/g0;->a(Le/d/a/w/h0/c;F)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
invoke-interface {v2, v0, v1}, Le/d/a/w/g0;->a(Le/d/a/w/h0/c;F)Ljava/lang/Object;
|
|
|
|
move-result-object v10
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_7
|
|
invoke-virtual/range {p0 .. p0}, Le/d/a/w/h0/c;->g()D
|
|
|
|
move-result-wide v11
|
|
|
|
double-to-float v13, v11
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-virtual/range {p0 .. p0}, Le/d/a/w/h0/c;->d()V
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
sget-object v0, Le/d/a/w/p;->a:Landroid/view/animation/Interpolator;
|
|
|
|
move-object v12, v0
|
|
|
|
move-object v11, v10
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
if-eqz v7, :cond_5
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
iget v0, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
neg-float v2, v1
|
|
|
|
invoke-static {v0, v2, v1}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result v0
|
|
|
|
iput v0, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
iget v0, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
const/high16 v4, 0x42c80000 # 100.0f
|
|
|
|
const/high16 v5, -0x3d380000 # -100.0f
|
|
|
|
invoke-static {v0, v5, v4}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result v0
|
|
|
|
iput v0, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
iget v0, v8, Landroid/graphics/PointF;->x:F
|
|
|
|
invoke-static {v0, v2, v1}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result v0
|
|
|
|
iput v0, v8, Landroid/graphics/PointF;->x:F
|
|
|
|
iget v0, v8, Landroid/graphics/PointF;->y:F
|
|
|
|
invoke-static {v0, v5, v4}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result v0
|
|
|
|
iput v0, v8, Landroid/graphics/PointF;->y:F
|
|
|
|
iget v0, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
iget v2, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
iget v4, v8, Landroid/graphics/PointF;->x:F
|
|
|
|
iget v5, v8, Landroid/graphics/PointF;->y:F
|
|
|
|
invoke-static {v0, v2, v4, v5}, Le/d/a/x/g;->a(FFFF)I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Le/d/a/w/p;->a(I)Ljava/lang/ref/WeakReference;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/view/animation/Interpolator;
|
|
|
|
:cond_3
|
|
if-eqz v2, :cond_4
|
|
|
|
if-nez v3, :cond_6
|
|
|
|
:cond_4
|
|
iget v2, v7, Landroid/graphics/PointF;->x:F
|
|
|
|
div-float/2addr v2, v1
|
|
|
|
iget v3, v7, Landroid/graphics/PointF;->y:F
|
|
|
|
div-float/2addr v3, v1
|
|
|
|
iget v4, v8, Landroid/graphics/PointF;->x:F
|
|
|
|
div-float/2addr v4, v1
|
|
|
|
iget v5, v8, Landroid/graphics/PointF;->y:F
|
|
|
|
div-float/2addr v5, v1
|
|
|
|
invoke-static {v2, v3, v4, v5}, Landroidx/core/view/animation/PathInterpolatorCompat;->create(FFFF)Landroid/view/animation/Interpolator;
|
|
|
|
move-result-object v3
|
|
|
|
:try_start_0
|
|
new-instance v1, Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-direct {v1, v3}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
invoke-static {v0, v1}, Le/d/a/w/p;->a(ILjava/lang/ref/WeakReference;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
sget-object v3, Le/d/a/w/p;->a:Landroid/view/animation/Interpolator;
|
|
|
|
:catch_0
|
|
:cond_6
|
|
:goto_1
|
|
move-object v12, v3
|
|
|
|
move-object v11, v9
|
|
|
|
:goto_2
|
|
new-instance v0, Le/d/a/y/a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move-object v8, v0
|
|
|
|
move-object/from16 v9, p1
|
|
|
|
move-object v3, v14
|
|
|
|
move-object v14, v1
|
|
|
|
invoke-direct/range {v8 .. v14}, Le/d/a/y/a;-><init>(Le/d/a/d;Ljava/lang/Object;Ljava/lang/Object;Landroid/view/animation/Interpolator;FLjava/lang/Float;)V
|
|
|
|
iput-object v15, v0, Le/d/a/y/a;->m:Landroid/graphics/PointF;
|
|
|
|
iput-object v3, v0, Le/d/a/y/a;->n:Landroid/graphics/PointF;
|
|
|
|
return-object v0
|
|
|
|
:cond_7
|
|
invoke-interface {v2, v0, v1}, Le/d/a/w/g0;->a(Le/d/a/w/h0/c;F)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Le/d/a/y/a;
|
|
|
|
invoke-direct {v1, v0}, Le/d/a/y/a;-><init>(Ljava/lang/Object;)V
|
|
|
|
return-object v1
|
|
|
|
: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
|
|
|
|
.method public static a(I)Ljava/lang/ref/WeakReference;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I)",
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/view/animation/Interpolator;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const-class v0, Le/d/a/w/p;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
sget-object v1, Le/d/a/w/p;->b:Landroidx/collection/SparseArrayCompat;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
new-instance v1, Landroidx/collection/SparseArrayCompat;
|
|
|
|
invoke-direct {v1}, Landroidx/collection/SparseArrayCompat;-><init>()V
|
|
|
|
sput-object v1, Le/d/a/w/p;->b:Landroidx/collection/SparseArrayCompat;
|
|
|
|
:cond_0
|
|
sget-object v1, Le/d/a/w/p;->b:Landroidx/collection/SparseArrayCompat;
|
|
|
|
invoke-virtual {v1, p0}, Landroidx/collection/SparseArrayCompat;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/ref/WeakReference;
|
|
|
|
monitor-exit v0
|
|
|
|
return-object p0
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static a(ILjava/lang/ref/WeakReference;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/view/animation/Interpolator;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-class v0, Le/d/a/w/p;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
sget-object v1, Le/d/a/w/p;->b:Landroidx/collection/SparseArrayCompat;
|
|
|
|
invoke-virtual {v1, p0, p1}, Landroidx/collection/SparseArrayCompat;->put(ILjava/lang/Object;)V
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p0
|
|
.end method
|