8113 lines
211 KiB
Smali
8113 lines
211 KiB
Smali
.class public Landroidx/constraintlayout/motion/widget/MotionLayout;
|
|
.super Landroidx/constraintlayout/widget/ConstraintLayout;
|
|
.source "MotionLayout.java"
|
|
|
|
# interfaces
|
|
.implements Ls1/b0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$i;,
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$d;,
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$e;,
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$c;,
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$h;,
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$g;,
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$f;,
|
|
Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final S1:I = 0x0
|
|
|
|
.field public static final T1:I = 0x1
|
|
|
|
.field public static final U1:I = 0x2
|
|
|
|
.field public static final V1:I = 0x3
|
|
|
|
.field public static final W1:I = 0x4
|
|
|
|
.field public static final X1:I = 0x5
|
|
|
|
.field public static final Y1:Ljava/lang/String; = "MotionLayout"
|
|
|
|
.field public static final Z1:Z = false
|
|
|
|
.field public static a2:Z = false
|
|
|
|
.field public static final b2:I = 0x0
|
|
|
|
.field public static final c2:I = 0x1
|
|
|
|
.field public static final d2:I = 0x2
|
|
|
|
.field public static final e2:I = 0x32
|
|
|
|
.field public static final f2:I = 0x0
|
|
|
|
.field public static final g2:I = 0x1
|
|
|
|
.field public static final h2:I = 0x2
|
|
|
|
.field public static final i2:I = 0x3
|
|
|
|
.field public static final j2:F = 1.0E-5f
|
|
|
|
|
|
# instance fields
|
|
.field public A1:Z
|
|
|
|
.field public B1:Z
|
|
|
|
.field public C1:I
|
|
|
|
.field public D1:I
|
|
|
|
.field public E1:I
|
|
|
|
.field public F1:I
|
|
|
|
.field public G1:I
|
|
|
|
.field public H1:I
|
|
|
|
.field public I1:F
|
|
|
|
.field public J1:Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
.field public K0:F
|
|
|
|
.field public K1:Z
|
|
|
|
.field public L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.field public M1:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
.field public N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
.field public O1:Z
|
|
|
|
.field public P1:Landroid/graphics/RectF;
|
|
|
|
.field public Q1:Landroid/view/View;
|
|
|
|
.field public R1:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public V0:Z
|
|
|
|
.field public W0:Z
|
|
|
|
.field public X0:Z
|
|
|
|
.field public Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
.field public Z0:F
|
|
|
|
.field public a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
.field public a1:F
|
|
|
|
.field public b:Landroid/view/animation/Interpolator;
|
|
|
|
.field public b1:I
|
|
|
|
.field public c:F
|
|
|
|
.field public c1:Landroidx/constraintlayout/motion/widget/MotionLayout$d;
|
|
|
|
.field public d:I
|
|
|
|
.field public d1:Z
|
|
|
|
.field public e:I
|
|
|
|
.field public e1:Ls0/i;
|
|
|
|
.field public f:I
|
|
|
|
.field public f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
.field public g:I
|
|
|
|
.field public g1:Landroidx/constraintlayout/motion/widget/d;
|
|
|
|
.field public h:I
|
|
|
|
.field public h1:Z
|
|
|
|
.field public i:Z
|
|
|
|
.field public i1:I
|
|
|
|
.field public j:Ljava/util/HashMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/HashMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/constraintlayout/motion/widget/p;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public j1:I
|
|
|
|
.field public k:J
|
|
|
|
.field public k0:J
|
|
|
|
.field public k1:I
|
|
|
|
.field public l:F
|
|
|
|
.field public l1:I
|
|
|
|
.field public m1:Z
|
|
|
|
.field public n1:F
|
|
|
|
.field public o1:F
|
|
|
|
.field public p:F
|
|
|
|
.field public p1:J
|
|
|
|
.field public q1:F
|
|
|
|
.field public r1:Z
|
|
|
|
.field public s1:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/constraintlayout/motion/widget/MotionHelper;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public t1:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/constraintlayout/motion/widget/MotionHelper;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public u:F
|
|
|
|
.field public u1:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/constraintlayout/motion/widget/MotionLayout$i;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public v1:I
|
|
|
|
.field public w1:J
|
|
|
|
.field public x1:F
|
|
|
|
.field public y1:I
|
|
|
|
.field public z1:F
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 4
|
|
.param p1 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 2
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 3
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 4
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 5
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 6
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g:I
|
|
|
|
.line 7
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i:Z
|
|
|
|
.line 9
|
|
new-instance v2, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v2}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 10
|
|
iput-wide v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
.line 11
|
|
iput v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
.line 12
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 13
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 14
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 15
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 16
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->X0:Z
|
|
|
|
.line 17
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
.line 18
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
.line 19
|
|
new-instance v2, Ls0/i;
|
|
|
|
invoke-direct {v2}, Ls0/i;-><init>()V
|
|
|
|
iput-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e1:Ls0/i;
|
|
|
|
.line 20
|
|
new-instance v2, Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
invoke-direct {v2, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$c;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
.line 21
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h1:Z
|
|
|
|
.line 22
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->m1:Z
|
|
|
|
.line 23
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 24
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
.line 25
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
.line 26
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
.line 27
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->v1:I
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
.line 28
|
|
iput-wide v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->w1:J
|
|
|
|
.line 29
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->x1:F
|
|
|
|
.line 30
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->y1:I
|
|
|
|
.line 31
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->z1:F
|
|
|
|
.line 32
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->A1:Z
|
|
|
|
.line 33
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->B1:Z
|
|
|
|
.line 34
|
|
new-instance p1, Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
invoke-direct {p1}, Landroidx/constraintlayout/motion/widget/g;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->J1:Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
.line 35
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
.line 36
|
|
sget-object p1, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->UNDEFINED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->M1:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
.line 37
|
|
new-instance p1, Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
.line 38
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->O1:Z
|
|
|
|
.line 39
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->P1:Landroid/graphics/RectF;
|
|
|
|
.line 40
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
.line 41
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
.line 42
|
|
invoke-virtual {p0, v1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->R(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 4
|
|
.param p1 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/util/AttributeSet;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 43
|
|
invoke-direct {p0, p1, p2}, Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 44
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 45
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 46
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 47
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 48
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g:I
|
|
|
|
.line 49
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 50
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i:Z
|
|
|
|
.line 51
|
|
new-instance v2, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v2}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 52
|
|
iput-wide v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
.line 53
|
|
iput v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
.line 54
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 55
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 56
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 57
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 58
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->X0:Z
|
|
|
|
.line 59
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
.line 60
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
.line 61
|
|
new-instance v2, Ls0/i;
|
|
|
|
invoke-direct {v2}, Ls0/i;-><init>()V
|
|
|
|
iput-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e1:Ls0/i;
|
|
|
|
.line 62
|
|
new-instance v2, Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
invoke-direct {v2, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$c;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
.line 63
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h1:Z
|
|
|
|
.line 64
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->m1:Z
|
|
|
|
.line 65
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 66
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
.line 67
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
.line 68
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
.line 69
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->v1:I
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
.line 70
|
|
iput-wide v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->w1:J
|
|
|
|
.line 71
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->x1:F
|
|
|
|
.line 72
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->y1:I
|
|
|
|
.line 73
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->z1:F
|
|
|
|
.line 74
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->A1:Z
|
|
|
|
.line 75
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->B1:Z
|
|
|
|
.line 76
|
|
new-instance p1, Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
invoke-direct {p1}, Landroidx/constraintlayout/motion/widget/g;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->J1:Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
.line 77
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
.line 78
|
|
sget-object p1, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->UNDEFINED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->M1:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
.line 79
|
|
new-instance p1, Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
.line 80
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->O1:Z
|
|
|
|
.line 81
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->P1:Landroid/graphics/RectF;
|
|
|
|
.line 82
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
.line 83
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
.line 84
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/MotionLayout;->R(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 3
|
|
.param p1 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/util/AttributeSet;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 85
|
|
invoke-direct {p0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 86
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
const/4 p3, -0x1
|
|
|
|
.line 87
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 88
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 89
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
const/4 p3, 0x0
|
|
|
|
.line 90
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g:I
|
|
|
|
.line 91
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 92
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i:Z
|
|
|
|
.line 93
|
|
new-instance v1, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v1}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
.line 94
|
|
iput-wide v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
const/high16 v1, 0x3f800000 # 1.0f
|
|
|
|
.line 95
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
.line 96
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 97
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 98
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 99
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 100
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->X0:Z
|
|
|
|
.line 101
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
.line 102
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
.line 103
|
|
new-instance v1, Ls0/i;
|
|
|
|
invoke-direct {v1}, Ls0/i;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e1:Ls0/i;
|
|
|
|
.line 104
|
|
new-instance v1, Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
invoke-direct {v1, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$c;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
.line 105
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h1:Z
|
|
|
|
.line 106
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->m1:Z
|
|
|
|
.line 107
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 108
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
.line 109
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
.line 110
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
.line 111
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->v1:I
|
|
|
|
const-wide/16 v1, -0x1
|
|
|
|
.line 112
|
|
iput-wide v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->w1:J
|
|
|
|
.line 113
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->x1:F
|
|
|
|
.line 114
|
|
iput p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->y1:I
|
|
|
|
.line 115
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->z1:F
|
|
|
|
.line 116
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->A1:Z
|
|
|
|
.line 117
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->B1:Z
|
|
|
|
.line 118
|
|
new-instance p1, Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
invoke-direct {p1}, Landroidx/constraintlayout/motion/widget/g;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->J1:Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
.line 119
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
.line 120
|
|
sget-object p1, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->UNDEFINED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->M1:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
.line 121
|
|
new-instance p1, Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
.line 122
|
|
iput-boolean p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->O1:Z
|
|
|
|
.line 123
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->P1:Landroid/graphics/RectF;
|
|
|
|
.line 124
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
.line 125
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
.line 126
|
|
invoke-virtual {p0, p2}, Landroidx/constraintlayout/motion/widget/MotionLayout;->R(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Landroidx/constraintlayout/motion/widget/MotionLayout;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic b(Landroidx/constraintlayout/motion/widget/MotionLayout;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic c(Landroidx/constraintlayout/motion/widget/MotionLayout;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic d(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->c0()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic e(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic f(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic g(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic h(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic i(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic j(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic k(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static k0(FFF)Z
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
cmpl-float v1, p0, v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/high16 v4, 0x40000000 # 2.0f
|
|
|
|
if-lez v1, :cond_1
|
|
|
|
div-float v0, p0, p2
|
|
|
|
mul-float/2addr p0, v0
|
|
|
|
mul-float/2addr p2, v0
|
|
|
|
mul-float/2addr p2, v0
|
|
|
|
div-float/2addr p2, v4
|
|
|
|
sub-float/2addr p0, p2
|
|
|
|
add-float/2addr p0, p1
|
|
|
|
const/high16 p1, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float p0, p0, p1
|
|
|
|
if-lez p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v2, v3
|
|
|
|
:goto_0
|
|
return v2
|
|
|
|
:cond_1
|
|
neg-float v1, p0
|
|
|
|
div-float/2addr v1, p2
|
|
|
|
mul-float/2addr p0, v1
|
|
|
|
mul-float/2addr p2, v1
|
|
|
|
mul-float/2addr p2, v1
|
|
|
|
div-float/2addr p2, v4
|
|
|
|
add-float/2addr p2, p0
|
|
|
|
add-float/2addr p2, p1
|
|
|
|
cmpg-float p0, p2, v0
|
|
|
|
if-gez p0, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move v2, v3
|
|
|
|
:goto_1
|
|
return v2
|
|
.end method
|
|
|
|
.method public static synthetic l(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveSystem(Landroidx/constraintlayout/solver/widgets/d;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic m(Landroidx/constraintlayout/motion/widget/MotionLayout;)Landroidx/constraintlayout/solver/widgets/d;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic n(Landroidx/constraintlayout/motion/widget/MotionLayout;IIIIZZ)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual/range {p0 .. p6}, Landroidx/constraintlayout/widget/ConstraintLayout;->resolveMeasuredDimension(IIIIZZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic o(Landroidx/constraintlayout/motion/widget/MotionLayout;)Landroidx/constraintlayout/solver/widgets/d;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic p(Landroidx/constraintlayout/motion/widget/MotionLayout;)Landroidx/constraintlayout/solver/widgets/d;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic q(Landroidx/constraintlayout/motion/widget/MotionLayout;)Landroidx/constraintlayout/solver/widgets/d;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic r(Landroidx/constraintlayout/motion/widget/MotionLayout;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isRtl()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic s(Landroidx/constraintlayout/motion/widget/MotionLayout;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isRtl()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic t(Landroidx/constraintlayout/motion/widget/MotionLayout;ZLandroid/view/View;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;Landroid/util/SparseArray;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual/range {p0 .. p5}, Landroidx/constraintlayout/widget/ConstraintLayout;->applyConstraintsFromLayoutParams(ZLandroid/view/View;Landroidx/constraintlayout/solver/widgets/ConstraintWidget;Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;Landroid/util/SparseArray;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic u(Landroidx/constraintlayout/motion/widget/MotionLayout;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget p0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final A()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 2
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
.line 3
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v3, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-virtual {v3, v2}, Landroidx/constraintlayout/motion/widget/p;->F(Landroid/view/View;)V
|
|
|
|
:goto_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final B()V
|
|
.locals 6
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, " "
|
|
|
|
.line 3
|
|
invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {}, Landroidx/constraintlayout/motion/widget/c;->g()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static {p0}, Landroidx/constraintlayout/motion/widget/c;->k(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v4
|
|
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
invoke-static {v4, v5}, Landroidx/constraintlayout/motion/widget/c;->i(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static {v1}, Landroidx/constraintlayout/motion/widget/c;->k(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 5
|
|
invoke-virtual {v1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 6
|
|
invoke-virtual {v1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "MotionLayout"
|
|
|
|
.line 7
|
|
invoke-static {v2, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public C(Z)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/s;->i(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public D(IZ)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->O(I)Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 2
|
|
invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/s$b;->K(Z)V
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget-object v0, p2, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
if-ne p1, v0, :cond_2
|
|
|
|
.line 4
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
invoke-virtual {p2, v0}, Landroidx/constraintlayout/motion/widget/s;->G(I)Ljava/util/List;
|
|
|
|
move-result-object p2
|
|
|
|
.line 5
|
|
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p2
|
|
|
|
:cond_1
|
|
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
.line 6
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s$b;->H()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 7
|
|
iget-object p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iput-object v0, p2, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
:cond_2
|
|
const/4 p2, 0x0
|
|
|
|
.line 8
|
|
invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/s$b;->K(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public E(Z)V
|
|
.locals 22
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
.line 1
|
|
iget-wide v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
cmp-long v1, v1, v3
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
const/4 v2, 0x0
|
|
|
|
cmpl-float v3, v1, v2
|
|
|
|
const/4 v4, -0x1
|
|
|
|
const/high16 v5, 0x3f800000 # 1.0f
|
|
|
|
if-lez v3, :cond_1
|
|
|
|
cmpg-float v3, v1, v5
|
|
|
|
if-gez v3, :cond_1
|
|
|
|
.line 4
|
|
iput v4, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 5
|
|
:cond_1
|
|
iget-boolean v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
const/4 v6, 0x1
|
|
|
|
const/4 v7, 0x0
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
iget-boolean v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
if-eqz v3, :cond_24
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpl-float v3, v3, v1
|
|
|
|
if-eqz v3, :cond_24
|
|
|
|
.line 6
|
|
:cond_2
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
sub-float/2addr v3, v1
|
|
|
|
invoke-static {v3}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result v1
|
|
|
|
.line 7
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v8
|
|
|
|
.line 8
|
|
iget-object v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
instance-of v10, v3, Landroidx/constraintlayout/motion/widget/q;
|
|
|
|
const v11, 0x3089705f # 1.0E-9f
|
|
|
|
if-nez v10, :cond_3
|
|
|
|
.line 9
|
|
iget-wide v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
sub-long v12, v8, v12
|
|
|
|
long-to-float v10, v12
|
|
|
|
mul-float/2addr v10, v1
|
|
|
|
mul-float/2addr v10, v11
|
|
|
|
iget v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
div-float/2addr v10, v12
|
|
|
|
.line 10
|
|
iput v10, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
move v10, v2
|
|
|
|
.line 11
|
|
:goto_0
|
|
iget v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
add-float/2addr v12, v10
|
|
|
|
.line 12
|
|
iget-boolean v13, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->V0:Z
|
|
|
|
if-eqz v13, :cond_4
|
|
|
|
.line 13
|
|
iget v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
:cond_4
|
|
cmpl-float v13, v1, v2
|
|
|
|
if-lez v13, :cond_5
|
|
|
|
.line 14
|
|
iget v14, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpl-float v14, v12, v14
|
|
|
|
if-gez v14, :cond_6
|
|
|
|
:cond_5
|
|
cmpg-float v14, v1, v2
|
|
|
|
if-gtz v14, :cond_7
|
|
|
|
iget v14, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpg-float v14, v12, v14
|
|
|
|
if-gtz v14, :cond_7
|
|
|
|
.line 15
|
|
:cond_6
|
|
iget v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 16
|
|
iput-boolean v7, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
move v14, v6
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
move v14, v7
|
|
|
|
.line 17
|
|
:goto_1
|
|
iput v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 18
|
|
iput v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 19
|
|
iput-wide v8, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
const v15, 0x3727c5ac # 1.0E-5f
|
|
|
|
if-eqz v3, :cond_d
|
|
|
|
if-nez v14, :cond_d
|
|
|
|
.line 20
|
|
iget-boolean v14, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
if-eqz v14, :cond_a
|
|
|
|
.line 21
|
|
iget-wide v4, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
sub-long v4, v8, v4
|
|
|
|
long-to-float v4, v4
|
|
|
|
mul-float/2addr v4, v11
|
|
|
|
.line 22
|
|
invoke-interface {v3, v4}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result v3
|
|
|
|
.line 23
|
|
iput v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 24
|
|
iput-wide v8, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
.line 25
|
|
iget-object v4, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
instance-of v5, v4, Landroidx/constraintlayout/motion/widget/q;
|
|
|
|
if-eqz v5, :cond_c
|
|
|
|
.line 26
|
|
check-cast v4, Landroidx/constraintlayout/motion/widget/q;
|
|
|
|
invoke-virtual {v4}, Landroidx/constraintlayout/motion/widget/q;->a()F
|
|
|
|
move-result v4
|
|
|
|
.line 27
|
|
iput v4, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
.line 28
|
|
invoke-static {v4}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result v5
|
|
|
|
iget v8, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
mul-float/2addr v5, v8
|
|
|
|
cmpg-float v5, v5, v15
|
|
|
|
if-gtz v5, :cond_8
|
|
|
|
.line 29
|
|
iput-boolean v7, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
:cond_8
|
|
cmpl-float v5, v4, v2
|
|
|
|
if-lez v5, :cond_9
|
|
|
|
const/high16 v5, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v8, v3, v5
|
|
|
|
if-ltz v8, :cond_9
|
|
|
|
.line 30
|
|
iput v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 31
|
|
iput-boolean v7, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
const/high16 v3, 0x3f800000 # 1.0f
|
|
|
|
:cond_9
|
|
cmpg-float v4, v4, v2
|
|
|
|
if-gez v4, :cond_c
|
|
|
|
cmpg-float v4, v3, v2
|
|
|
|
if-gtz v4, :cond_c
|
|
|
|
.line 32
|
|
iput v2, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 33
|
|
iput-boolean v7, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
move v12, v2
|
|
|
|
goto :goto_3
|
|
|
|
.line 34
|
|
:cond_a
|
|
invoke-interface {v3, v12}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result v3
|
|
|
|
.line 35
|
|
iget-object v4, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
instance-of v5, v4, Landroidx/constraintlayout/motion/widget/q;
|
|
|
|
if-eqz v5, :cond_b
|
|
|
|
.line 36
|
|
check-cast v4, Landroidx/constraintlayout/motion/widget/q;
|
|
|
|
invoke-virtual {v4}, Landroidx/constraintlayout/motion/widget/q;->a()F
|
|
|
|
move-result v4
|
|
|
|
iput v4, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
goto :goto_2
|
|
|
|
:cond_b
|
|
add-float/2addr v12, v10
|
|
|
|
.line 37
|
|
invoke-interface {v4, v12}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result v4
|
|
|
|
sub-float/2addr v4, v3
|
|
|
|
mul-float/2addr v4, v1
|
|
|
|
div-float/2addr v4, v10
|
|
|
|
.line 38
|
|
iput v4, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
:cond_c
|
|
:goto_2
|
|
move v12, v3
|
|
|
|
.line 39
|
|
:cond_d
|
|
:goto_3
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
invoke-static {v3}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result v3
|
|
|
|
cmpl-float v3, v3, v15
|
|
|
|
if-lez v3, :cond_e
|
|
|
|
.line 40
|
|
sget-object v3, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->MOVING:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
:cond_e
|
|
if-lez v13, :cond_f
|
|
|
|
.line 41
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpl-float v3, v12, v3
|
|
|
|
if-gez v3, :cond_10
|
|
|
|
:cond_f
|
|
cmpg-float v3, v1, v2
|
|
|
|
if-gtz v3, :cond_11
|
|
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpg-float v3, v12, v3
|
|
|
|
if-gtz v3, :cond_11
|
|
|
|
.line 42
|
|
:cond_10
|
|
iget v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 43
|
|
iput-boolean v7, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
:cond_11
|
|
const/high16 v3, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v4, v12, v3
|
|
|
|
if-gez v4, :cond_12
|
|
|
|
cmpg-float v3, v12, v2
|
|
|
|
if-gtz v3, :cond_13
|
|
|
|
.line 44
|
|
:cond_12
|
|
iput-boolean v7, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 45
|
|
sget-object v3, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
.line 46
|
|
:cond_13
|
|
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v3
|
|
|
|
.line 47
|
|
iput-boolean v7, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
.line 48
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v8
|
|
|
|
.line 49
|
|
iput v12, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->I1:F
|
|
|
|
move v5, v7
|
|
|
|
:goto_4
|
|
if-ge v5, v3, :cond_15
|
|
|
|
.line 50
|
|
invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v10
|
|
|
|
.line 51
|
|
iget-object v11, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v11, v10}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v11
|
|
|
|
move-object/from16 v16, v11
|
|
|
|
check-cast v16, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
if-eqz v16, :cond_14
|
|
|
|
.line 52
|
|
iget-boolean v11, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
iget-object v15, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->J1:Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
move-object/from16 v17, v10
|
|
|
|
move/from16 v18, v12
|
|
|
|
move-wide/from16 v19, v8
|
|
|
|
move-object/from16 v21, v15
|
|
|
|
invoke-virtual/range {v16 .. v21}, Landroidx/constraintlayout/motion/widget/p;->y(Landroid/view/View;FJLandroidx/constraintlayout/motion/widget/g;)Z
|
|
|
|
move-result v10
|
|
|
|
or-int/2addr v10, v11
|
|
|
|
iput-boolean v10, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
:cond_14
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_15
|
|
if-lez v13, :cond_16
|
|
|
|
.line 53
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpl-float v3, v12, v3
|
|
|
|
if-gez v3, :cond_17
|
|
|
|
:cond_16
|
|
cmpg-float v3, v1, v2
|
|
|
|
if-gtz v3, :cond_18
|
|
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpg-float v3, v12, v3
|
|
|
|
if-gtz v3, :cond_18
|
|
|
|
:cond_17
|
|
move v3, v6
|
|
|
|
goto :goto_5
|
|
|
|
:cond_18
|
|
move v3, v7
|
|
|
|
.line 54
|
|
:goto_5
|
|
iget-boolean v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
if-nez v5, :cond_19
|
|
|
|
iget-boolean v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
if-nez v5, :cond_19
|
|
|
|
if-eqz v3, :cond_19
|
|
|
|
.line 55
|
|
sget-object v5, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {v0, v5}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
.line 56
|
|
:cond_19
|
|
iget-boolean v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->B1:Z
|
|
|
|
if-eqz v5, :cond_1a
|
|
|
|
.line 57
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->requestLayout()V
|
|
|
|
.line 58
|
|
:cond_1a
|
|
iget-boolean v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
xor-int/2addr v3, v6
|
|
|
|
or-int/2addr v3, v5
|
|
|
|
iput-boolean v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
cmpg-float v3, v12, v2
|
|
|
|
if-gtz v3, :cond_1b
|
|
|
|
.line 59
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
const/4 v5, -0x1
|
|
|
|
if-eq v3, v5, :cond_1b
|
|
|
|
.line 60
|
|
iget v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
if-eq v5, v3, :cond_1b
|
|
|
|
.line 61
|
|
iput v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 62
|
|
iget-object v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v5, v3}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v3
|
|
|
|
.line 63
|
|
invoke-virtual {v3, v0}, Landroidx/constraintlayout/widget/c;->k(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
|
|
.line 64
|
|
sget-object v3, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
move v7, v6
|
|
|
|
:cond_1b
|
|
float-to-double v8, v12
|
|
|
|
const-wide/high16 v10, 0x3ff0000000000000L # 1.0
|
|
|
|
cmpl-double v3, v8, v10
|
|
|
|
if-ltz v3, :cond_1c
|
|
|
|
.line 65
|
|
iget v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
iget v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
if-eq v3, v5, :cond_1c
|
|
|
|
.line 66
|
|
iput v5, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 67
|
|
iget-object v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v3, v5}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v3
|
|
|
|
.line 68
|
|
invoke-virtual {v3, v0}, Landroidx/constraintlayout/widget/c;->k(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
|
|
.line 69
|
|
sget-object v3, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
move v7, v6
|
|
|
|
.line 70
|
|
:cond_1c
|
|
iget-boolean v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
if-nez v3, :cond_20
|
|
|
|
iget-boolean v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
if-eqz v3, :cond_1d
|
|
|
|
goto :goto_6
|
|
|
|
:cond_1d
|
|
if-lez v13, :cond_1e
|
|
|
|
if-eqz v4, :cond_1f
|
|
|
|
:cond_1e
|
|
cmpg-float v3, v1, v2
|
|
|
|
if-gez v3, :cond_21
|
|
|
|
cmpl-float v3, v12, v2
|
|
|
|
if-nez v3, :cond_21
|
|
|
|
.line 71
|
|
:cond_1f
|
|
sget-object v3, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
goto :goto_7
|
|
|
|
.line 72
|
|
:cond_20
|
|
:goto_6
|
|
invoke-virtual/range {p0 .. p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
.line 73
|
|
:cond_21
|
|
:goto_7
|
|
iget-boolean v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->r1:Z
|
|
|
|
if-nez v3, :cond_22
|
|
|
|
iget-boolean v3, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
if-eqz v3, :cond_22
|
|
|
|
if-lez v13, :cond_22
|
|
|
|
if-eqz v4, :cond_23
|
|
|
|
:cond_22
|
|
cmpg-float v1, v1, v2
|
|
|
|
if-gez v1, :cond_24
|
|
|
|
cmpl-float v1, v12, v2
|
|
|
|
if-nez v1, :cond_24
|
|
|
|
.line 74
|
|
:cond_23
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->V()V
|
|
|
|
.line 75
|
|
:cond_24
|
|
iget v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
const/high16 v3, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v3, v1, v3
|
|
|
|
if-ltz v3, :cond_26
|
|
|
|
.line 76
|
|
iget v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
iget v2, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
if-eq v1, v2, :cond_25
|
|
|
|
goto :goto_8
|
|
|
|
:cond_25
|
|
move v6, v7
|
|
|
|
.line 77
|
|
:goto_8
|
|
iput v2, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
:goto_9
|
|
move v7, v6
|
|
|
|
goto :goto_b
|
|
|
|
:cond_26
|
|
cmpg-float v1, v1, v2
|
|
|
|
if-gtz v1, :cond_28
|
|
|
|
.line 78
|
|
iget v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
iget v2, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
if-eq v1, v2, :cond_27
|
|
|
|
goto :goto_a
|
|
|
|
:cond_27
|
|
move v6, v7
|
|
|
|
.line 79
|
|
:goto_a
|
|
iput v2, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
goto :goto_9
|
|
|
|
.line 80
|
|
:cond_28
|
|
:goto_b
|
|
iget-boolean v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->O1:Z
|
|
|
|
or-int/2addr v1, v7
|
|
|
|
iput-boolean v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->O1:Z
|
|
|
|
if-eqz v7, :cond_29
|
|
|
|
.line 81
|
|
iget-boolean v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
if-nez v1, :cond_29
|
|
|
|
.line 82
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->requestLayout()V
|
|
|
|
.line 83
|
|
:cond_29
|
|
iget v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
iput v1, v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final F()V
|
|
.locals 11
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
invoke-static {v0}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result v0
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v1
|
|
|
|
.line 3
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
instance-of v4, v3, Ls0/i;
|
|
|
|
const v5, 0x3089705f # 1.0E-9f
|
|
|
|
const/4 v6, 0x0
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
.line 4
|
|
iget-wide v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
sub-long v7, v1, v7
|
|
|
|
long-to-float v4, v7
|
|
|
|
mul-float/2addr v4, v0
|
|
|
|
mul-float/2addr v4, v5
|
|
|
|
iget v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
div-float/2addr v4, v7
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v4, v6
|
|
|
|
.line 5
|
|
:goto_0
|
|
iget v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
add-float/2addr v7, v4
|
|
|
|
.line 6
|
|
iget-boolean v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->V0:Z
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 7
|
|
iget v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
:cond_1
|
|
cmpl-float v4, v0, v6
|
|
|
|
const/4 v8, 0x0
|
|
|
|
if-lez v4, :cond_2
|
|
|
|
.line 8
|
|
iget v9, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpl-float v9, v7, v9
|
|
|
|
if-gez v9, :cond_3
|
|
|
|
:cond_2
|
|
cmpg-float v9, v0, v6
|
|
|
|
if-gtz v9, :cond_4
|
|
|
|
iget v9, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpg-float v9, v7, v9
|
|
|
|
if-gtz v9, :cond_4
|
|
|
|
.line 9
|
|
:cond_3
|
|
iget v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
const/4 v9, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
move v9, v8
|
|
|
|
:goto_1
|
|
if-eqz v3, :cond_6
|
|
|
|
if-nez v9, :cond_6
|
|
|
|
.line 10
|
|
iget-boolean v9, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
if-eqz v9, :cond_5
|
|
|
|
.line 11
|
|
iget-wide v9, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
sub-long/2addr v1, v9
|
|
|
|
long-to-float v1, v1
|
|
|
|
mul-float/2addr v1, v5
|
|
|
|
.line 12
|
|
invoke-interface {v3, v1}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result v7
|
|
|
|
goto :goto_2
|
|
|
|
.line 13
|
|
:cond_5
|
|
invoke-interface {v3, v7}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result v7
|
|
|
|
:cond_6
|
|
:goto_2
|
|
if-lez v4, :cond_7
|
|
|
|
.line 14
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpl-float v1, v7, v1
|
|
|
|
if-gez v1, :cond_8
|
|
|
|
:cond_7
|
|
cmpg-float v0, v0, v6
|
|
|
|
if-gtz v0, :cond_9
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
cmpg-float v0, v7, v0
|
|
|
|
if-gtz v0, :cond_9
|
|
|
|
.line 15
|
|
:cond_8
|
|
iget v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 16
|
|
:cond_9
|
|
iput v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->I1:F
|
|
|
|
.line 17
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v6
|
|
|
|
.line 18
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v9
|
|
|
|
:goto_3
|
|
if-ge v8, v6, :cond_b
|
|
|
|
.line 19
|
|
invoke-virtual {p0, v8}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
.line 20
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 21
|
|
iget-object v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->J1:Landroidx/constraintlayout/motion/widget/g;
|
|
|
|
move v2, v7
|
|
|
|
move-wide v3, v9
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/constraintlayout/motion/widget/p;->y(Landroid/view/View;FJLandroidx/constraintlayout/motion/widget/g;)Z
|
|
|
|
:cond_a
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
.line 22
|
|
:cond_b
|
|
iget-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->B1:Z
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
.line 23
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->requestLayout()V
|
|
|
|
:cond_c
|
|
return-void
|
|
.end method
|
|
|
|
.method public final G()V
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->z1:F
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
cmpl-float v0, v0, v1
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 3
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->y1:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq v0, v2, :cond_3
|
|
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 5
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-interface {v0, p0, v3, v4}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->c(Landroidx/constraintlayout/motion/widget/MotionLayout;II)V
|
|
|
|
.line 6
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 7
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
.line 8
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-interface {v3, p0, v4, v5}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->c(Landroidx/constraintlayout/motion/widget/MotionLayout;II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 9
|
|
:cond_2
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->A1:Z
|
|
|
|
.line 10
|
|
:cond_3
|
|
iput v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->y1:I
|
|
|
|
.line 11
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->z1:F
|
|
|
|
.line 12
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 13
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-interface {v2, p0, v3, v4, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->a(Landroidx/constraintlayout/motion/widget/MotionLayout;IIF)V
|
|
|
|
.line 14
|
|
:cond_4
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 15
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_1
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
.line 16
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
invoke-interface {v2, p0, v3, v4, v5}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->a(Landroidx/constraintlayout/motion/widget/MotionLayout;IIF)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 17
|
|
:cond_5
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->A1:Z
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method public H()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->y1:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
.line 3
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->y1:I
|
|
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 5
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v2
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
.line 6
|
|
:goto_0
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
if-eq v0, v2, :cond_2
|
|
|
|
if-eq v2, v1, :cond_2
|
|
|
|
.line 7
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 8
|
|
:cond_2
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->W()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final I(Landroidx/constraintlayout/motion/widget/MotionLayout;II)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {v0, p0, p2, p3}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->c(Landroidx/constraintlayout/motion/widget/MotionLayout;II)V
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
.line 5
|
|
invoke-interface {v1, p1, p2, p3}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->c(Landroidx/constraintlayout/motion/widget/MotionLayout;II)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public J(IZF)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {v0, p0, p1, p2, p3}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->d(Landroidx/constraintlayout/motion/widget/MotionLayout;IZF)V
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
.line 5
|
|
invoke-interface {v1, p0, p1, p2, p3}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->d(Landroidx/constraintlayout/motion/widget/MotionLayout;IZF)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public K(IFFF[F)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->getViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p2, p3, p4, p5}, Landroidx/constraintlayout/motion/widget/p;->k(FFF[F)V
|
|
|
|
.line 3
|
|
invoke-virtual {v1}, Landroid/view/View;->getY()F
|
|
|
|
move-result p1
|
|
|
|
.line 4
|
|
iput p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Z0:F
|
|
|
|
.line 5
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a1:F
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
if-nez v1, :cond_1
|
|
|
|
const-string p2, ""
|
|
|
|
.line 6
|
|
invoke-static {p2, p1}, Landroid/support/v4/media/b;->a(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 7
|
|
:cond_1
|
|
invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, p1}, Landroid/content/res/Resources;->getResourceName(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
const-string p2, "WARNING could not find view id "
|
|
|
|
const-string p3, "MotionLayout"
|
|
|
|
.line 8
|
|
invoke-static {p2, p1, p3}, Landroidx/appcompat/widget/c0;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public L(I)Landroidx/constraintlayout/widget/c;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public M(I)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/s;->M(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public N(Z)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x1
|
|
|
|
.line 1
|
|
:goto_0
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public O(I)Landroidx/constraintlayout/motion/widget/s$b;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/s;->E(I)Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public P(Landroid/view/View;FF[FI)V
|
|
.locals 8
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
.line 2
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 3
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
const v0, 0x3727c5ac # 1.0E-5f
|
|
|
|
.line 4
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
sub-float/2addr v2, v1
|
|
|
|
invoke-static {v2}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result v1
|
|
|
|
.line 5
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
add-float/2addr v3, v0
|
|
|
|
invoke-interface {v2, v3}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result v2
|
|
|
|
.line 6
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
invoke-interface {v3, v4}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result v3
|
|
|
|
sub-float/2addr v2, v3
|
|
|
|
div-float/2addr v2, v0
|
|
|
|
mul-float/2addr v2, v1
|
|
|
|
.line 7
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
div-float v0, v2, v0
|
|
|
|
move v2, v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v2, v1
|
|
|
|
.line 8
|
|
:goto_0
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
instance-of v3, v1, Landroidx/constraintlayout/motion/widget/q;
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 9
|
|
check-cast v1, Landroidx/constraintlayout/motion/widget/q;
|
|
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/q;->a()F
|
|
|
|
move-result v0
|
|
|
|
.line 10
|
|
:cond_1
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
and-int/lit8 v3, p5, 0x1
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
.line 11
|
|
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v4
|
|
|
|
move v5, p2
|
|
|
|
move v6, p3
|
|
|
|
move-object v7, p4
|
|
|
|
.line 12
|
|
invoke-virtual/range {v1 .. v7}, Landroidx/constraintlayout/motion/widget/p;->s(FIIFF[F)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 13
|
|
:cond_2
|
|
invoke-virtual {v1, v2, p2, p3, p4}, Landroidx/constraintlayout/motion/widget/p;->k(FFF[F)V
|
|
|
|
:goto_1
|
|
const/4 p1, 0x2
|
|
|
|
if-ge p5, p1, :cond_3
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 14
|
|
aget p2, p4, p1
|
|
|
|
mul-float/2addr p2, v0
|
|
|
|
aput p2, p4, p1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 15
|
|
aget p2, p4, p1
|
|
|
|
mul-float/2addr p2, v0
|
|
|
|
aput p2, p4, p1
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public final Q(FFLandroid/view/View;Landroid/view/MotionEvent;)Z
|
|
.locals 8
|
|
|
|
.line 1
|
|
instance-of v0, p3, Landroid/view/ViewGroup;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2
|
|
move-object v0, p3
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v3
|
|
|
|
move v4, v1
|
|
|
|
:goto_0
|
|
if-ge v4, v3, :cond_1
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v5
|
|
|
|
.line 5
|
|
invoke-virtual {p3}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v6
|
|
|
|
int-to-float v6, v6
|
|
|
|
add-float/2addr v6, p1
|
|
|
|
invoke-virtual {p3}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v7
|
|
|
|
int-to-float v7, v7
|
|
|
|
add-float/2addr v7, p2
|
|
|
|
invoke-virtual {p0, v6, v7, v5, p4}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q(FFLandroid/view/View;Landroid/view/MotionEvent;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->P1:Landroid/graphics/RectF;
|
|
|
|
invoke-virtual {p3}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
add-float/2addr v3, p1
|
|
|
|
invoke-virtual {p3}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
add-float/2addr v4, p2
|
|
|
|
invoke-virtual {p3}, Landroid/view/View;->getRight()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
add-float/2addr p1, v5
|
|
|
|
invoke-virtual {p3}, Landroid/view/View;->getBottom()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
add-float/2addr p2, v5
|
|
|
|
invoke-virtual {v0, v3, v4, p1, p2}, Landroid/graphics/RectF;->set(FFFF)V
|
|
|
|
.line 7
|
|
invoke-virtual {p4}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
.line 8
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->P1:Landroid/graphics/RectF;
|
|
|
|
invoke-virtual {p4}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p4}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/graphics/RectF;->contains(FF)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 9
|
|
invoke-virtual {p3, p4}, Landroid/view/View;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
return v2
|
|
|
|
.line 10
|
|
:cond_2
|
|
invoke-virtual {p3, p4}, Landroid/view/View;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
return v2
|
|
|
|
:cond_3
|
|
return v1
|
|
.end method
|
|
|
|
.method public final R(Landroid/util/AttributeSet;)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->isInEditMode()Z
|
|
|
|
move-result v0
|
|
|
|
sput-boolean v0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a2:Z
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-eqz p1, :cond_9
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v2, Landroidx/constraintlayout/widget/R$styleable;->MotionLayout:[I
|
|
|
|
.line 3
|
|
invoke-virtual {v1, p1, v2}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
.line 4
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
move v5, v2
|
|
|
|
move v4, v3
|
|
|
|
:goto_0
|
|
if-ge v4, v1, :cond_7
|
|
|
|
.line 5
|
|
invoke-virtual {p1, v4}, Landroid/content/res/TypedArray;->getIndex(I)I
|
|
|
|
move-result v6
|
|
|
|
.line 6
|
|
sget v7, Landroidx/constraintlayout/widget/R$styleable;->MotionLayout_layoutDescription:I
|
|
|
|
if-ne v6, v7, :cond_0
|
|
|
|
.line 7
|
|
invoke-virtual {p1, v6, v0}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v6
|
|
|
|
.line 8
|
|
new-instance v7, Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-direct {v7, v8, p0, v6}, Landroidx/constraintlayout/motion/widget/s;-><init>(Landroid/content/Context;Landroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
iput-object v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
goto :goto_2
|
|
|
|
.line 9
|
|
:cond_0
|
|
sget v7, Landroidx/constraintlayout/widget/R$styleable;->MotionLayout_currentState:I
|
|
|
|
if-ne v6, v7, :cond_1
|
|
|
|
.line 10
|
|
invoke-virtual {p1, v6, v0}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v6
|
|
|
|
iput v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
goto :goto_2
|
|
|
|
.line 11
|
|
:cond_1
|
|
sget v7, Landroidx/constraintlayout/widget/R$styleable;->MotionLayout_motionProgress:I
|
|
|
|
if-ne v6, v7, :cond_2
|
|
|
|
const/4 v7, 0x0
|
|
|
|
.line 12
|
|
invoke-virtual {p1, v6, v7}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result v6
|
|
|
|
iput v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 13
|
|
iput-boolean v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
goto :goto_2
|
|
|
|
.line 14
|
|
:cond_2
|
|
sget v7, Landroidx/constraintlayout/widget/R$styleable;->MotionLayout_applyMotionScene:I
|
|
|
|
if-ne v6, v7, :cond_3
|
|
|
|
.line 15
|
|
invoke-virtual {p1, v6, v5}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v5
|
|
|
|
goto :goto_2
|
|
|
|
.line 16
|
|
:cond_3
|
|
sget v7, Landroidx/constraintlayout/widget/R$styleable;->MotionLayout_showPaths:I
|
|
|
|
if-ne v6, v7, :cond_5
|
|
|
|
.line 17
|
|
iget v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
if-nez v7, :cond_6
|
|
|
|
.line 18
|
|
invoke-virtual {p1, v6, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
const/4 v6, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
move v6, v3
|
|
|
|
:goto_1
|
|
iput v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
goto :goto_2
|
|
|
|
.line 19
|
|
:cond_5
|
|
sget v7, Landroidx/constraintlayout/widget/R$styleable;->MotionLayout_motionDebug:I
|
|
|
|
if-ne v6, v7, :cond_6
|
|
|
|
.line 20
|
|
invoke-virtual {p1, v6, v3}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v6
|
|
|
|
iput v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
:cond_6
|
|
:goto_2
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 21
|
|
:cond_7
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 22
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez p1, :cond_8
|
|
|
|
const-string p1, "MotionLayout"
|
|
|
|
const-string v1, "WARNING NO app:layoutDescription tag"
|
|
|
|
.line 23
|
|
invoke-static {p1, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_8
|
|
if-nez v5, :cond_9
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 24
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
.line 25
|
|
:cond_9
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
if-eqz p1, :cond_a
|
|
|
|
.line 26
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->x()V
|
|
|
|
.line 27
|
|
:cond_a
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
if-ne p1, v0, :cond_b
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
.line 28
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->D()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 29
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->D()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 30
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->q()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
:cond_b
|
|
return-void
|
|
.end method
|
|
|
|
.method public S()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public T(Ljava/lang/String;)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/s;->L(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public U()Landroidx/constraintlayout/motion/widget/MotionLayout$f;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {}, Landroidx/constraintlayout/motion/widget/MotionLayout$g;->i()Landroidx/constraintlayout/motion/widget/MotionLayout$g;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final V()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroidx/constraintlayout/motion/widget/s;->g(Landroidx/constraintlayout/motion/widget/MotionLayout;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->requestLayout()V
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 5
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v1, p0, v0}, Landroidx/constraintlayout/motion/widget/s;->e(Landroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
.line 6
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->e0()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 7
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->c0()V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public final W()V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->A1:Z
|
|
|
|
.line 3
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_2
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Integer;
|
|
|
|
.line 4
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 5
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v3
|
|
|
|
invoke-interface {v2, p0, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->b(Landroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
.line 6
|
|
:cond_3
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 7
|
|
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v2
|
|
|
|
:goto_0
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
.line 8
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v4
|
|
|
|
invoke-interface {v3, p0, v4}, Landroidx/constraintlayout/motion/widget/MotionLayout$i;->b(Landroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 9
|
|
:cond_4
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->R1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public X()V
|
|
.locals 2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const-string v0, "MotionLayout"
|
|
|
|
const-string v1, "This method is deprecated. Please call rebuildScene() instead."
|
|
|
|
.line 1
|
|
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public Y()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->j()V
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public Z(Landroidx/constraintlayout/motion/widget/MotionLayout$i;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a0(FF)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->isAttachedToWindow()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->e(F)V
|
|
|
|
.line 5
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->h(F)V
|
|
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_1
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
|
|
|
.line 7
|
|
sget-object p1, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->MOVING:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
.line 8
|
|
iput p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
const/high16 p1, 0x3f800000 # 1.0f
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->w(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b0(II)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->isAttachedToWindow()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->f(I)V
|
|
|
|
.line 5
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->d(I)V
|
|
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 7
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 8
|
|
iput p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
.line 9
|
|
invoke-virtual {v0, p1, p2}, Landroidx/constraintlayout/motion/widget/s;->a0(II)V
|
|
|
|
.line 10
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2, p1}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2, p2}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {v0, v1, p1, p2}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->g(Landroidx/constraintlayout/solver/widgets/d;Landroidx/constraintlayout/widget/c;Landroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 11
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 12
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 13
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->f0()V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c0()V
|
|
.locals 12
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
.line 2
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->a()V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 3
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
|
|
|
|
move-result v8
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
|
|
|
|
move-result v9
|
|
|
|
.line 6
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2}, Landroidx/constraintlayout/motion/widget/s;->j()I
|
|
|
|
move-result v2
|
|
|
|
const/4 v10, 0x0
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-eq v2, v3, :cond_1
|
|
|
|
move v3, v10
|
|
|
|
:goto_0
|
|
if-ge v3, v0, :cond_1
|
|
|
|
.line 7
|
|
iget-object v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v4, v5}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 8
|
|
invoke-virtual {v4, v2}, Landroidx/constraintlayout/motion/widget/p;->E(I)V
|
|
|
|
:cond_0
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v11, v10
|
|
|
|
:goto_1
|
|
if-ge v11, v0, :cond_3
|
|
|
|
.line 9
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v11}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 10
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v3, v2}, Landroidx/constraintlayout/motion/widget/s;->v(Landroidx/constraintlayout/motion/widget/p;)V
|
|
|
|
.line 11
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v6
|
|
|
|
move v3, v8
|
|
|
|
move v4, v9
|
|
|
|
invoke-virtual/range {v2 .. v7}, Landroidx/constraintlayout/motion/widget/p;->I(IIFJ)V
|
|
|
|
:cond_2
|
|
add-int/lit8 v11, v11, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 12
|
|
:cond_3
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2}, Landroidx/constraintlayout/motion/widget/s;->C()F
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
cmpl-float v3, v2, v3
|
|
|
|
if-eqz v3, :cond_e
|
|
|
|
float-to-double v3, v2
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
cmpg-double v3, v3, v5
|
|
|
|
if-gez v3, :cond_4
|
|
|
|
move v3, v1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
move v3, v10
|
|
|
|
.line 13
|
|
:goto_2
|
|
invoke-static {v2}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result v2
|
|
|
|
const v4, -0x800001
|
|
|
|
const v5, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
move v8, v4
|
|
|
|
move v7, v5
|
|
|
|
move v6, v10
|
|
|
|
:goto_3
|
|
if-ge v6, v0, :cond_7
|
|
|
|
.line 14
|
|
iget-object v9, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v6}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-virtual {v9, v11}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
check-cast v9, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
.line 15
|
|
iget v11, v9, Landroidx/constraintlayout/motion/widget/p;->k:F
|
|
|
|
invoke-static {v11}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v11
|
|
|
|
if-nez v11, :cond_5
|
|
|
|
goto :goto_5
|
|
|
|
.line 16
|
|
:cond_5
|
|
invoke-virtual {v9}, Landroidx/constraintlayout/motion/widget/p;->m()F
|
|
|
|
move-result v11
|
|
|
|
.line 17
|
|
invoke-virtual {v9}, Landroidx/constraintlayout/motion/widget/p;->n()F
|
|
|
|
move-result v9
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
sub-float/2addr v9, v11
|
|
|
|
goto :goto_4
|
|
|
|
:cond_6
|
|
add-float/2addr v9, v11
|
|
|
|
.line 18
|
|
:goto_4
|
|
invoke-static {v7, v9}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result v7
|
|
|
|
.line 19
|
|
invoke-static {v8, v9}, Ljava/lang/Math;->max(FF)F
|
|
|
|
move-result v8
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
move v1, v10
|
|
|
|
:goto_5
|
|
const/high16 v6, 0x3f800000 # 1.0f
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
move v1, v10
|
|
|
|
:goto_6
|
|
if-ge v1, v0, :cond_9
|
|
|
|
.line 20
|
|
iget-object v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v7, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
.line 21
|
|
iget v8, v7, Landroidx/constraintlayout/motion/widget/p;->k:F
|
|
|
|
invoke-static {v8}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v8
|
|
|
|
if-nez v8, :cond_8
|
|
|
|
.line 22
|
|
iget v8, v7, Landroidx/constraintlayout/motion/widget/p;->k:F
|
|
|
|
invoke-static {v5, v8}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result v5
|
|
|
|
.line 23
|
|
iget v7, v7, Landroidx/constraintlayout/motion/widget/p;->k:F
|
|
|
|
invoke-static {v4, v7}, Ljava/lang/Math;->max(FF)F
|
|
|
|
move-result v4
|
|
|
|
:cond_8
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_9
|
|
:goto_7
|
|
if-ge v10, v0, :cond_e
|
|
|
|
.line 24
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v10}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v1, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
.line 25
|
|
iget v7, v1, Landroidx/constraintlayout/motion/widget/p;->k:F
|
|
|
|
invoke-static {v7}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_b
|
|
|
|
sub-float v7, v6, v2
|
|
|
|
div-float v7, v6, v7
|
|
|
|
.line 26
|
|
iput v7, v1, Landroidx/constraintlayout/motion/widget/p;->m:F
|
|
|
|
if-eqz v3, :cond_a
|
|
|
|
.line 27
|
|
iget v7, v1, Landroidx/constraintlayout/motion/widget/p;->k:F
|
|
|
|
sub-float v7, v4, v7
|
|
|
|
sub-float v8, v4, v5
|
|
|
|
div-float/2addr v7, v8
|
|
|
|
mul-float/2addr v7, v2
|
|
|
|
sub-float v7, v2, v7
|
|
|
|
iput v7, v1, Landroidx/constraintlayout/motion/widget/p;->l:F
|
|
|
|
goto :goto_8
|
|
|
|
.line 28
|
|
:cond_a
|
|
iget v7, v1, Landroidx/constraintlayout/motion/widget/p;->k:F
|
|
|
|
sub-float/2addr v7, v5
|
|
|
|
mul-float/2addr v7, v2
|
|
|
|
sub-float v8, v4, v5
|
|
|
|
div-float/2addr v7, v8
|
|
|
|
sub-float v7, v2, v7
|
|
|
|
iput v7, v1, Landroidx/constraintlayout/motion/widget/p;->l:F
|
|
|
|
:cond_b
|
|
:goto_8
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_c
|
|
:goto_9
|
|
if-ge v10, v0, :cond_e
|
|
|
|
.line 29
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v10}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v1, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
.line 30
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/p;->m()F
|
|
|
|
move-result v4
|
|
|
|
.line 31
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/p;->n()F
|
|
|
|
move-result v5
|
|
|
|
if-eqz v3, :cond_d
|
|
|
|
sub-float/2addr v5, v4
|
|
|
|
goto :goto_a
|
|
|
|
:cond_d
|
|
add-float/2addr v5, v4
|
|
|
|
:goto_a
|
|
sub-float v4, v6, v2
|
|
|
|
div-float v4, v6, v4
|
|
|
|
.line 32
|
|
iput v4, v1, Landroidx/constraintlayout/motion/widget/p;->m:F
|
|
|
|
sub-float/2addr v5, v7
|
|
|
|
mul-float/2addr v5, v2
|
|
|
|
sub-float v4, v8, v7
|
|
|
|
div-float/2addr v5, v4
|
|
|
|
sub-float v4, v2, v5
|
|
|
|
.line 33
|
|
iput v4, v1, Landroidx/constraintlayout/motion/widget/p;->l:F
|
|
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:cond_e
|
|
return-void
|
|
.end method
|
|
|
|
.method public d0(IFF)V
|
|
.locals 10
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
cmpl-float v0, v0, p2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const/4 v0, 0x1
|
|
|
|
.line 3
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
.line 5
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/s;->p()I
|
|
|
|
move-result v1
|
|
|
|
int-to-float v1, v1
|
|
|
|
const/high16 v2, 0x447a0000 # 1000.0f
|
|
|
|
div-float v7, v1, v2
|
|
|
|
iput v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
.line 6
|
|
iput p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 7
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
if-eq p1, v0, :cond_5
|
|
|
|
if-eq p1, v2, :cond_5
|
|
|
|
const/4 v0, 0x4
|
|
|
|
if-eq p1, v0, :cond_4
|
|
|
|
const/4 v0, 0x5
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 8
|
|
:cond_2
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->w()F
|
|
|
|
move-result v0
|
|
|
|
invoke-static {p3, p1, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0(FFF)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 9
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
iget p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->w()F
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, p3, p2, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$c;->b(FFF)V
|
|
|
|
.line 10
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
goto :goto_1
|
|
|
|
.line 11
|
|
:cond_3
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e1:Ls0/i;
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
iget v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
.line 12
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->w()F
|
|
|
|
move-result v7
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->x()F
|
|
|
|
move-result v8
|
|
|
|
move v4, p2
|
|
|
|
move v5, p3
|
|
|
|
.line 13
|
|
invoke-virtual/range {v2 .. v8}, Ls0/i;->c(FFFFFF)V
|
|
|
|
.line 14
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
.line 15
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 16
|
|
iput p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 17
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 18
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e1:Ls0/i;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
goto :goto_1
|
|
|
|
.line 19
|
|
:cond_4
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
iget p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->w()F
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, p3, p2, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$c;->b(FFF)V
|
|
|
|
.line 20
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f1:Landroidx/constraintlayout/motion/widget/MotionLayout$c;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
if-ne p1, v0, :cond_6
|
|
|
|
move p2, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_6
|
|
if-ne p1, v2, :cond_7
|
|
|
|
const/high16 p2, 0x3f800000 # 1.0f
|
|
|
|
.line 21
|
|
:cond_7
|
|
:goto_0
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e1:Ls0/i;
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
.line 22
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->w()F
|
|
|
|
move-result v8
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->x()F
|
|
|
|
move-result v9
|
|
|
|
move v5, p2
|
|
|
|
move v6, p3
|
|
|
|
.line 23
|
|
invoke-virtual/range {v3 .. v9}, Ls0/i;->c(FFFFFF)V
|
|
|
|
.line 24
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 25
|
|
iput p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 26
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 27
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e1:Ls0/i;
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
:goto_1
|
|
const/4 p1, 0x0
|
|
|
|
.line 28
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->V0:Z
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
.line 30
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public dispatchDraw(Landroid/graphics/Canvas;)V
|
|
.locals 9
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->E(Z)V
|
|
|
|
.line 2
|
|
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->dispatchDraw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 3
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
const/4 v2, 0x1
|
|
|
|
and-int/2addr v1, v2
|
|
|
|
if-ne v1, v2, :cond_4
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->isInEditMode()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
.line 6
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->v1:I
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->v1:I
|
|
|
|
.line 7
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v3
|
|
|
|
.line 8
|
|
iget-wide v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->w1:J
|
|
|
|
const-wide/16 v7, -0x1
|
|
|
|
cmp-long v1, v5, v7
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
sub-long v5, v3, v5
|
|
|
|
const-wide/32 v7, 0xbebc200
|
|
|
|
cmp-long v1, v5, v7
|
|
|
|
if-lez v1, :cond_2
|
|
|
|
.line 9
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->v1:I
|
|
|
|
int-to-float v1, v1
|
|
|
|
long-to-float v5, v5
|
|
|
|
const v6, 0x3089705f # 1.0E-9f
|
|
|
|
mul-float/2addr v5, v6
|
|
|
|
div-float/2addr v1, v5
|
|
|
|
const/high16 v5, 0x42c80000 # 100.0f
|
|
|
|
mul-float/2addr v1, v5
|
|
|
|
float-to-int v1, v1
|
|
|
|
int-to-float v1, v1
|
|
|
|
div-float/2addr v1, v5
|
|
|
|
.line 10
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->x1:F
|
|
|
|
.line 11
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->v1:I
|
|
|
|
.line 12
|
|
iput-wide v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->w1:J
|
|
|
|
goto :goto_0
|
|
|
|
.line 13
|
|
:cond_1
|
|
iput-wide v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->w1:J
|
|
|
|
.line 14
|
|
:cond_2
|
|
:goto_0
|
|
new-instance v0, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
const/high16 v1, 0x42280000 # 42.0f
|
|
|
|
.line 15
|
|
invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setTextSize(F)V
|
|
|
|
.line 16
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getProgress()F
|
|
|
|
move-result v1
|
|
|
|
const/high16 v3, 0x447a0000 # 1000.0f
|
|
|
|
mul-float/2addr v1, v3
|
|
|
|
float-to-int v1, v1
|
|
|
|
int-to-float v1, v1
|
|
|
|
const/high16 v3, 0x41200000 # 10.0f
|
|
|
|
div-float/2addr v1, v3
|
|
|
|
.line 17
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->x1:F
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, " fps "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
invoke-static {p0, v5}, Landroidx/constraintlayout/motion/widget/c;->l(Landroidx/constraintlayout/motion/widget/MotionLayout;I)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, " -> "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
.line 18
|
|
invoke-static {v4}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v4
|
|
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-static {p0, v5}, Landroidx/constraintlayout/motion/widget/c;->l(Landroidx/constraintlayout/motion/widget/MotionLayout;I)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, " (progress: "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, " ) state="
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
const/4 v5, -0x1
|
|
|
|
if-ne v1, v5, :cond_3
|
|
|
|
const-string v1, "undefined"
|
|
|
|
goto :goto_1
|
|
|
|
.line 19
|
|
:cond_3
|
|
invoke-static {p0, v1}, Landroidx/constraintlayout/motion/widget/c;->l(Landroidx/constraintlayout/motion/widget/MotionLayout;I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_1
|
|
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const/high16 v4, -0x1000000
|
|
|
|
.line 20
|
|
invoke-virtual {v0, v4}, Landroid/graphics/Paint;->setColor(I)V
|
|
|
|
const/high16 v4, 0x41300000 # 11.0f
|
|
|
|
.line 21
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
|
|
|
|
move-result v5
|
|
|
|
add-int/lit8 v5, v5, -0x1d
|
|
|
|
int-to-float v5, v5
|
|
|
|
invoke-virtual {p1, v1, v4, v5, v0}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V
|
|
|
|
const v4, -0x77ff78
|
|
|
|
.line 22
|
|
invoke-virtual {v0, v4}, Landroid/graphics/Paint;->setColor(I)V
|
|
|
|
.line 23
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
|
|
|
|
move-result v4
|
|
|
|
add-int/lit8 v4, v4, -0x1e
|
|
|
|
int-to-float v4, v4
|
|
|
|
invoke-virtual {p1, v1, v3, v4, v0}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V
|
|
|
|
.line 24
|
|
:cond_4
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
if-le v0, v2, :cond_6
|
|
|
|
.line 25
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c1:Landroidx/constraintlayout/motion/widget/MotionLayout$d;
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
.line 26
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/MotionLayout$d;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$d;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c1:Landroidx/constraintlayout/motion/widget/MotionLayout$d;
|
|
|
|
.line 27
|
|
:cond_5
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c1:Landroidx/constraintlayout/motion/widget/MotionLayout$d;
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2}, Landroidx/constraintlayout/motion/widget/s;->p()I
|
|
|
|
move-result v2
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
invoke-virtual {v0, p1, v1, v2, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout$d;->a(Landroid/graphics/Canvas;Ljava/util/HashMap;II)V
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method public e0()V
|
|
.locals 1
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
.line 1
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->w(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f0()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->w(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public g0(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->isAttachedToWindow()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->d(I)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const/4 v0, -0x1
|
|
|
|
.line 5
|
|
invoke-virtual {p0, p1, v0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->h0(III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getConstraintSetIds()[I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->n()[I
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCurrentState()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDefinedTransitions()Ljava/util/ArrayList;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/constraintlayout/motion/widget/s$b;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->o()Ljava/util/ArrayList;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDesignTool()Landroidx/constraintlayout/motion/widget/d;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g1:Landroidx/constraintlayout/motion/widget/d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/d;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/d;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g1:Landroidx/constraintlayout/motion/widget/d;
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g1:Landroidx/constraintlayout/motion/widget/d;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getEndState()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getNanoTime()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getProgress()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getStartState()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTargetPosition()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTransitionState()Landroid/os/Bundle;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->c()V
|
|
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->b()Landroid/os/Bundle;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTransitionTimeMs()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
const/high16 v1, 0x447a0000 # 1000.0f
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->p()I
|
|
|
|
move-result v0
|
|
|
|
int-to-float v0, v0
|
|
|
|
div-float/2addr v0, v1
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
mul-float/2addr v0, v1
|
|
|
|
float-to-long v0, v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getVelocity()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public h0(III)V
|
|
.locals 11
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, v0, Landroidx/constraintlayout/motion/widget/s;->b:Landroidx/constraintlayout/widget/d;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
int-to-float p2, p2
|
|
|
|
int-to-float p3, p3
|
|
|
|
invoke-virtual {v0, v2, p1, p2, p3}, Landroidx/constraintlayout/widget/d;->a(IIFF)I
|
|
|
|
move-result p2
|
|
|
|
if-eq p2, v1, :cond_0
|
|
|
|
move p1, p2
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
if-ne p2, p1, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_1
|
|
iget p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-ne p3, p1, :cond_2
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->w(F)V
|
|
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_2
|
|
iget p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
if-ne p3, p1, :cond_3
|
|
|
|
.line 7
|
|
invoke-virtual {p0, v2}, Landroidx/constraintlayout/motion/widget/MotionLayout;->w(F)V
|
|
|
|
return-void
|
|
|
|
.line 8
|
|
:cond_3
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
if-eq p2, v1, :cond_4
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p2, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->b0(II)V
|
|
|
|
.line 10
|
|
invoke-virtual {p0, v2}, Landroidx/constraintlayout/motion/widget/MotionLayout;->w(F)V
|
|
|
|
.line 11
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 12
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->e0()V
|
|
|
|
return-void
|
|
|
|
:cond_4
|
|
const/4 p2, 0x0
|
|
|
|
.line 13
|
|
iput-boolean p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
.line 14
|
|
iput v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 15
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 16
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 17
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v3
|
|
|
|
iput-wide v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
.line 18
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v3
|
|
|
|
iput-wide v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
.line 19
|
|
iput-boolean p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->V0:Z
|
|
|
|
const/4 p3, 0x0
|
|
|
|
.line 20
|
|
iput-object p3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
.line 21
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v3}, Landroidx/constraintlayout/motion/widget/s;->p()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
const/high16 v4, 0x447a0000 # 1000.0f
|
|
|
|
div-float/2addr v3, v4
|
|
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
.line 22
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 23
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-virtual {v3, v1, v4}, Landroidx/constraintlayout/motion/widget/s;->a0(II)V
|
|
|
|
.line 24
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/s;->D()I
|
|
|
|
.line 25
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v1
|
|
|
|
.line 26
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v3}, Ljava/util/HashMap;->clear()V
|
|
|
|
move v3, p2
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_5
|
|
|
|
.line 27
|
|
invoke-virtual {p0, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
.line 28
|
|
new-instance v5, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
invoke-direct {v5, v4}, Landroidx/constraintlayout/motion/widget/p;-><init>(Landroid/view/View;)V
|
|
|
|
.line 29
|
|
iget-object v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {v6, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
const/4 v3, 0x1
|
|
|
|
.line 30
|
|
iput-boolean v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 31
|
|
iget-object v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
iget-object v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v6, p1}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v4, v5, p3, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->g(Landroidx/constraintlayout/solver/widgets/d;Landroidx/constraintlayout/widget/c;Landroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 32
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
.line 33
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->a()V
|
|
|
|
.line 34
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->A()V
|
|
|
|
.line 35
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
|
|
|
|
move-result p1
|
|
|
|
.line 36
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
|
|
|
|
move-result p3
|
|
|
|
move v10, p2
|
|
|
|
:goto_1
|
|
if-ge v10, v1, :cond_6
|
|
|
|
.line 37
|
|
iget-object v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v10}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v4, v5}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
.line 38
|
|
iget-object v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v5, v4}, Landroidx/constraintlayout/motion/widget/s;->v(Landroidx/constraintlayout/motion/widget/p;)V
|
|
|
|
.line 39
|
|
iget v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v8
|
|
|
|
move v5, p1
|
|
|
|
move v6, p3
|
|
|
|
invoke-virtual/range {v4 .. v9}, Landroidx/constraintlayout/motion/widget/p;->I(IIFJ)V
|
|
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 40
|
|
:cond_6
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->C()F
|
|
|
|
move-result p1
|
|
|
|
cmpl-float p3, p1, v0
|
|
|
|
if-eqz p3, :cond_8
|
|
|
|
const p3, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
const v4, -0x800001
|
|
|
|
move v5, p2
|
|
|
|
:goto_2
|
|
if-ge v5, v1, :cond_7
|
|
|
|
.line 41
|
|
iget-object v6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v6, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
.line 42
|
|
invoke-virtual {v6}, Landroidx/constraintlayout/motion/widget/p;->m()F
|
|
|
|
move-result v7
|
|
|
|
.line 43
|
|
invoke-virtual {v6}, Landroidx/constraintlayout/motion/widget/p;->n()F
|
|
|
|
move-result v6
|
|
|
|
add-float/2addr v6, v7
|
|
|
|
.line 44
|
|
invoke-static {p3, v6}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result p3
|
|
|
|
.line 45
|
|
invoke-static {v4, v6}, Ljava/lang/Math;->max(FF)F
|
|
|
|
move-result v4
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
:goto_3
|
|
if-ge p2, v1, :cond_8
|
|
|
|
.line 46
|
|
iget-object v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j:Ljava/util/HashMap;
|
|
|
|
invoke-virtual {p0, p2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v5, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/constraintlayout/motion/widget/p;
|
|
|
|
.line 47
|
|
invoke-virtual {v5}, Landroidx/constraintlayout/motion/widget/p;->m()F
|
|
|
|
move-result v6
|
|
|
|
.line 48
|
|
invoke-virtual {v5}, Landroidx/constraintlayout/motion/widget/p;->n()F
|
|
|
|
move-result v7
|
|
|
|
sub-float v8, v2, p1
|
|
|
|
div-float v8, v2, v8
|
|
|
|
.line 49
|
|
iput v8, v5, Landroidx/constraintlayout/motion/widget/p;->m:F
|
|
|
|
add-float/2addr v6, v7
|
|
|
|
sub-float/2addr v6, p3
|
|
|
|
mul-float/2addr v6, p1
|
|
|
|
sub-float v7, v4, p3
|
|
|
|
div-float/2addr v6, v7
|
|
|
|
sub-float v6, p1, v6
|
|
|
|
.line 50
|
|
iput v6, v5, Landroidx/constraintlayout/motion/widget/p;->l:F
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
.line 51
|
|
:cond_8
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 52
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 53
|
|
iput-boolean v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 54
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public i0()V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
invoke-virtual {v2, v3}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-virtual {v3, v4}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->g(Landroidx/constraintlayout/solver/widgets/d;Landroidx/constraintlayout/widget/c;Landroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isAttachedToWindow()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->isAttachedToWindow()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public j0(ILandroidx/constraintlayout/widget/c;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1, p2}, Landroidx/constraintlayout/motion/widget/s;->W(ILandroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->i0()V
|
|
|
|
.line 4
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
if-ne v0, p1, :cond_1
|
|
|
|
.line 5
|
|
invoke-virtual {p2, p0}, Landroidx/constraintlayout/widget/c;->l(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public loadLayoutDescription(I)V
|
|
.locals 4
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1, p0, p1}, Landroidx/constraintlayout/motion/widget/s;-><init>(Landroid/content/Context;Landroidx/constraintlayout/motion/widget/MotionLayout;I)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->isAttachedToWindow()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 3
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1, p0}, Landroidx/constraintlayout/motion/widget/s;->U(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
.line 4
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
invoke-virtual {v1, v2}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-virtual {v2, v3}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p1, v0, v1, v2}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->g(Landroidx/constraintlayout/solver/widgets/d;Landroidx/constraintlayout/widget/c;Landroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
.line 6
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isRtl()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/constraintlayout/motion/widget/s;->Z(Z)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 7
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, "unable to parse MotionScene file"
|
|
|
|
invoke-direct {v0, v1, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 8
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onAttachedToWindow()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/view/ViewGroup;->onAttachedToWindow()V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
.line 3
|
|
invoke-virtual {v0, v1}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v0
|
|
|
|
.line 4
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v1, p0}, Landroidx/constraintlayout/motion/widget/s;->U(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p0}, Landroidx/constraintlayout/widget/c;->l(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
|
|
.line 6
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 7
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->V()V
|
|
|
|
.line 8
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 9
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->a()V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
iget-boolean v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i:Z
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-object v0, v0, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s$b;->H()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s$b;->G()Landroidx/constraintlayout/motion/widget/w;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 5
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
.line 6
|
|
new-instance v2, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v2}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
invoke-virtual {v0, p0, v2}, Landroidx/constraintlayout/motion/widget/w;->l(Landroid/view/ViewGroup;Landroid/graphics/RectF;)Landroid/graphics/RectF;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 7
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {v2, v3, v4}, Landroid/graphics/RectF;->contains(FF)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
return v1
|
|
|
|
.line 8
|
|
:cond_1
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/w;->m()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq v0, v2, :cond_4
|
|
|
|
.line 9
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getId()I
|
|
|
|
move-result v2
|
|
|
|
if-eq v2, v0, :cond_3
|
|
|
|
.line 10
|
|
:cond_2
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
.line 11
|
|
:cond_3
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 12
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->P1:Landroid/graphics/RectF;
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v0
|
|
|
|
int-to-float v0, v0
|
|
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
invoke-virtual {v3}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
iget-object v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
invoke-virtual {v4}, Landroid/view/View;->getRight()I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
iget-object v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
invoke-virtual {v5}, Landroid/view/View;->getBottom()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
invoke-virtual {v2, v0, v3, v4, v5}, Landroid/graphics/RectF;->set(FFFF)V
|
|
|
|
.line 13
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->P1:Landroid/graphics/RectF;
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v0, v2, v3}, Landroid/graphics/RectF;->contains(FF)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 14
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q1:Landroid/view/View;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {p0, v2, v2, v0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Q(FFLandroid/view/View;Landroid/view/MotionEvent;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
.line 15
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_4
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public onLayout(ZIIII)V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 1
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 3
|
|
invoke-super/range {p0 .. p5}, Landroidx/constraintlayout/widget/ConstraintLayout;->onLayout(ZIIII)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 4
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
sub-int/2addr p4, p2
|
|
|
|
sub-int/2addr p5, p3
|
|
|
|
.line 5
|
|
:try_start_1
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k1:I
|
|
|
|
if-ne p1, p4, :cond_1
|
|
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l1:I
|
|
|
|
if-eq p1, p5, :cond_2
|
|
|
|
.line 6
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
.line 7
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->E(Z)V
|
|
|
|
.line 8
|
|
:cond_2
|
|
iput p4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k1:I
|
|
|
|
.line 9
|
|
iput p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l1:I
|
|
|
|
.line 10
|
|
iput p4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i1:I
|
|
|
|
.line 11
|
|
iput p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->j1:I
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 12
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K1:Z
|
|
|
|
.line 13
|
|
throw p1
|
|
.end method
|
|
|
|
.method public onMeasure(II)V
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-super {p0, p1, p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->onMeasure(II)V
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-ne v0, p1, :cond_2
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h:I
|
|
|
|
if-eq v0, p2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
:goto_0
|
|
move v0, v2
|
|
|
|
.line 4
|
|
:goto_1
|
|
iget-boolean v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->O1:Z
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 5
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->O1:Z
|
|
|
|
.line 6
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->V()V
|
|
|
|
.line 7
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->W()V
|
|
|
|
move v0, v2
|
|
|
|
.line 8
|
|
:cond_3
|
|
iget-boolean v3, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mDirtyHierarchy:Z
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
move v0, v2
|
|
|
|
.line 9
|
|
:cond_4
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->g:I
|
|
|
|
.line 10
|
|
iput p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->h:I
|
|
|
|
.line 11
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v3}, Landroidx/constraintlayout/motion/widget/s;->D()I
|
|
|
|
move-result v3
|
|
|
|
.line 12
|
|
iget-object v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v4}, Landroidx/constraintlayout/motion/widget/s;->q()I
|
|
|
|
move-result v4
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
.line 13
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-virtual {v0, v3, v4}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->h(II)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
:cond_5
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
const/4 v5, -0x1
|
|
|
|
if-eq v0, v5, :cond_6
|
|
|
|
.line 14
|
|
invoke-super {p0, p1, p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->onMeasure(II)V
|
|
|
|
.line 15
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget-object p2, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0, v3}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2, v4}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p1, p2, v0, v2}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->g(Landroidx/constraintlayout/solver/widgets/d;Landroidx/constraintlayout/widget/c;Landroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 16
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->j()V
|
|
|
|
.line 17
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-virtual {p1, v3, v4}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->k(II)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
move v1, v2
|
|
|
|
.line 18
|
|
:goto_2
|
|
iget-boolean p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->B1:Z
|
|
|
|
if-nez p1, :cond_7
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
.line 19
|
|
:cond_7
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingTop()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingBottom()I
|
|
|
|
move-result p2
|
|
|
|
add-int/2addr p2, p1
|
|
|
|
.line 20
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingLeft()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getPaddingRight()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, p1
|
|
|
|
.line 21
|
|
iget-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->e0()I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
.line 22
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/solver/widgets/ConstraintWidget;->A()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, p2
|
|
|
|
.line 23
|
|
iget p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->G1:I
|
|
|
|
const/high16 v1, -0x80000000
|
|
|
|
if-eq p2, v1, :cond_8
|
|
|
|
if-nez p2, :cond_9
|
|
|
|
.line 24
|
|
:cond_8
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->C1:I
|
|
|
|
int-to-float p2, p1
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->I1:F
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->E1:I
|
|
|
|
sub-int/2addr v3, p1
|
|
|
|
int-to-float p1, v3
|
|
|
|
mul-float/2addr v2, p1
|
|
|
|
add-float/2addr v2, p2
|
|
|
|
float-to-int p1, v2
|
|
|
|
.line 25
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->requestLayout()V
|
|
|
|
.line 26
|
|
:cond_9
|
|
iget p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->H1:I
|
|
|
|
if-eq p2, v1, :cond_a
|
|
|
|
if-nez p2, :cond_b
|
|
|
|
.line 27
|
|
:cond_a
|
|
iget p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->D1:I
|
|
|
|
int-to-float v0, p2
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->I1:F
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->F1:I
|
|
|
|
sub-int/2addr v2, p2
|
|
|
|
int-to-float p2, v2
|
|
|
|
mul-float/2addr v1, p2
|
|
|
|
add-float/2addr v1, v0
|
|
|
|
float-to-int v0, v1
|
|
|
|
.line 28
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->requestLayout()V
|
|
|
|
.line 29
|
|
:cond_b
|
|
invoke-virtual {p0, p1, v0}, Landroid/view/ViewGroup;->setMeasuredDimension(II)V
|
|
|
|
.line 30
|
|
:cond_c
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->F()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNestedFling(Landroid/view/View;FFZ)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onNestedPreFling(Landroid/view/View;FF)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onNestedPreScroll(Landroid/view/View;II[II)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget-object p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz p5, :cond_a
|
|
|
|
iget-object p5, p5, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
if-nez p5, :cond_0
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {p5}, Landroidx/constraintlayout/motion/widget/s$b;->H()Z
|
|
|
|
move-result p5
|
|
|
|
if-nez p5, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_1
|
|
iget-object p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget-object p5, p5, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
.line 4
|
|
invoke-virtual {p5}, Landroidx/constraintlayout/motion/widget/s$b;->H()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 5
|
|
invoke-virtual {p5}, Landroidx/constraintlayout/motion/widget/s$b;->G()Landroidx/constraintlayout/motion/widget/w;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 6
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/w;->m()I
|
|
|
|
move-result v1
|
|
|
|
if-eq v1, v0, :cond_2
|
|
|
|
.line 7
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result v2
|
|
|
|
if-eq v2, v1, :cond_2
|
|
|
|
return-void
|
|
|
|
.line 8
|
|
:cond_2
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/s;->y()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 9
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
cmpl-float v4, v1, v2
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
cmpl-float v1, v1, v3
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
:cond_3
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->canScrollVertically(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_4
|
|
invoke-virtual {p5}, Landroidx/constraintlayout/motion/widget/s$b;->G()Landroidx/constraintlayout/motion/widget/w;
|
|
|
|
move-result-object p5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz p5, :cond_7
|
|
|
|
iget-object p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget-object p5, p5, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
invoke-virtual {p5}, Landroidx/constraintlayout/motion/widget/s$b;->G()Landroidx/constraintlayout/motion/widget/w;
|
|
|
|
move-result-object p5
|
|
|
|
invoke-virtual {p5}, Landroidx/constraintlayout/motion/widget/w;->e()I
|
|
|
|
move-result p5
|
|
|
|
and-int/2addr p5, v1
|
|
|
|
if-eqz p5, :cond_7
|
|
|
|
.line 11
|
|
iget-object p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
int-to-float v4, p2
|
|
|
|
int-to-float v5, p3
|
|
|
|
invoke-virtual {p5, v4, v5}, Landroidx/constraintlayout/motion/widget/s;->A(FF)F
|
|
|
|
move-result p5
|
|
|
|
.line 12
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
cmpg-float v5, v4, v3
|
|
|
|
if-gtz v5, :cond_5
|
|
|
|
cmpg-float v5, p5, v3
|
|
|
|
if-ltz v5, :cond_6
|
|
|
|
:cond_5
|
|
cmpl-float v2, v4, v2
|
|
|
|
if-ltz v2, :cond_7
|
|
|
|
cmpl-float p5, p5, v3
|
|
|
|
if-lez p5, :cond_7
|
|
|
|
.line 13
|
|
:cond_6
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setNestedScrollingEnabled(Z)V
|
|
|
|
.line 14
|
|
new-instance p2, Landroidx/constraintlayout/motion/widget/MotionLayout$a;
|
|
|
|
invoke-direct {p2, p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$a;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;Landroid/view/View;)V
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z
|
|
|
|
return-void
|
|
|
|
.line 15
|
|
:cond_7
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 16
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v2
|
|
|
|
int-to-float p5, p2
|
|
|
|
.line 17
|
|
iput p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->n1:F
|
|
|
|
int-to-float v4, p3
|
|
|
|
.line 18
|
|
iput v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->o1:F
|
|
|
|
.line 19
|
|
iget-wide v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p1:J
|
|
|
|
sub-long v5, v2, v5
|
|
|
|
long-to-double v5, v5
|
|
|
|
const-wide v7, 0x3e112e0be826d695L # 1.0E-9
|
|
|
|
mul-double/2addr v5, v7
|
|
|
|
double-to-float v5, v5
|
|
|
|
iput v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->q1:F
|
|
|
|
.line 20
|
|
iput-wide v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p1:J
|
|
|
|
.line 21
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2, p5, v4}, Landroidx/constraintlayout/motion/widget/s;->Q(FF)V
|
|
|
|
.line 22
|
|
iget p5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
cmpl-float p1, p1, p5
|
|
|
|
if-eqz p1, :cond_8
|
|
|
|
.line 23
|
|
aput p2, p4, v0
|
|
|
|
.line 24
|
|
aput p3, p4, v1
|
|
|
|
.line 25
|
|
:cond_8
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->E(Z)V
|
|
|
|
.line 26
|
|
aget p1, p4, v0
|
|
|
|
if-nez p1, :cond_9
|
|
|
|
aget p1, p4, v1
|
|
|
|
if-eqz p1, :cond_a
|
|
|
|
.line 27
|
|
:cond_9
|
|
iput-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->m1:Z
|
|
|
|
:cond_a
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNestedScroll(Landroid/view/View;IIIII)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNestedScroll(Landroid/view/View;IIIII[I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-boolean p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->m1:Z
|
|
|
|
const/4 p6, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 2
|
|
:cond_0
|
|
aget p1, p7, p6
|
|
|
|
add-int/2addr p1, p4
|
|
|
|
aput p1, p7, p6
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 3
|
|
aget p2, p7, p1
|
|
|
|
add-int/2addr p2, p5
|
|
|
|
aput p2, p7, p1
|
|
|
|
.line 4
|
|
:cond_1
|
|
iput-boolean p6, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->m1:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onRtlPropertiesChanged(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isRtl()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/constraintlayout/motion/widget/s;->Z(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;II)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p1, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 2
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s$b;->G()Landroidx/constraintlayout/motion/widget/w;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget-object p1, p1, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s$b;->G()Landroidx/constraintlayout/motion/widget/w;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/w;->e()I
|
|
|
|
move-result p1
|
|
|
|
and-int/lit8 p1, p1, 0x2
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onStopNestedScroll(Landroid/view/View;I)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->n1:F
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->q1:F
|
|
|
|
div-float/2addr p2, v0
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->o1:F
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
invoke-virtual {p1, p2, v1}, Landroidx/constraintlayout/motion/widget/s;->R(FF)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->e0()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget-object v0, v0, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s$b;->H()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
.line 5
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getCurrentState()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, p1, v1, p0}, Landroidx/constraintlayout/motion/widget/s;->S(Landroid/view/MotionEvent;ILandroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
.line 6
|
|
:cond_1
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onViewAdded(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->onViewAdded(Landroid/view/View;)V
|
|
|
|
.line 2
|
|
instance-of v0, p1, Landroidx/constraintlayout/motion/widget/MotionHelper;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 3
|
|
check-cast p1, Landroidx/constraintlayout/motion/widget/MotionHelper;
|
|
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 5
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
.line 6
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 7
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/MotionHelper;->z()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 8
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 9
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
.line 10
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 11
|
|
:cond_2
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/MotionHelper;->y()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 12
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 13
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
.line 14
|
|
:cond_3
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public onViewRemoved(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->onViewRemoved(Landroid/view/View;)V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public parseLayoutDescription(I)V
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintLayoutSpec:Landroidx/constraintlayout/widget/a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public requestLayout()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->B1:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, v0, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s$b;->B()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-super {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->requestLayout()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDebugMode(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b1:I
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInteractionEnabled(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->i:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInterpolatedProgress(F)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->MOVING:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
.line 3
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->t()Landroid/view/animation/Interpolator;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
invoke-interface {v0, p1}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
|
|
|
return-void
|
|
|
|
.line 5
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setOnHide(F)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 3
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->t1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/constraintlayout/motion/widget/MotionHelper;
|
|
|
|
.line 4
|
|
invoke-virtual {v2, p1}, Landroidx/constraintlayout/motion/widget/MotionHelper;->setProgress(F)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setOnShow(F)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 3
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->s1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/constraintlayout/motion/widget/MotionHelper;
|
|
|
|
.line 4
|
|
invoke-virtual {v2, p1}, Landroidx/constraintlayout/motion/widget/MotionHelper;->setProgress(F)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setProgress(F)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->isAttachedToWindow()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->e(F)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
cmpg-float v1, p1, v0
|
|
|
|
if-gtz v1, :cond_2
|
|
|
|
.line 5
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 6
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
cmpl-float v0, v1, v0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
.line 7
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v1, p1, v0
|
|
|
|
if-ltz v1, :cond_3
|
|
|
|
.line 8
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 9
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
cmpl-float v0, v1, v0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
.line 10
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const/4 v0, -0x1
|
|
|
|
.line 11
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
.line 12
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->MOVING:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
.line 13
|
|
:cond_4
|
|
:goto_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
return-void
|
|
|
|
:cond_5
|
|
const/4 v0, 0x1
|
|
|
|
.line 14
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->V0:Z
|
|
|
|
.line 15
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 16
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
const-wide/16 v1, -0x1
|
|
|
|
.line 17
|
|
iput-wide v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
.line 18
|
|
iput-wide v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 19
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
.line 20
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 21
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setScene(Landroidx/constraintlayout/motion/widget/s;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/widget/ConstraintLayout;->isRtl()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/constraintlayout/motion/widget/s;->Z(Z)V
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setState(III)V
|
|
.locals 1
|
|
|
|
.line 10
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->SETUP:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
.line 11
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 12
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 13
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
.line 14
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mConstraintLayoutSpec:Landroidx/constraintlayout/widget/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
int-to-float p2, p2
|
|
|
|
int-to-float p3, p3
|
|
|
|
.line 15
|
|
invoke-virtual {v0, p1, p2, p3}, Landroidx/constraintlayout/widget/a;->e(IFF)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 16
|
|
:cond_0
|
|
iget-object p2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 17
|
|
invoke-virtual {p2, p1}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p0}, Landroidx/constraintlayout/widget/c;->l(Landroidx/constraintlayout/widget/ConstraintLayout;)V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->FINISHED:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->M1:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
.line 3
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->M1:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
.line 4
|
|
sget-object v2, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->MOVING:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
if-ne v1, v2, :cond_1
|
|
|
|
if-ne p1, v2, :cond_1
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->G()V
|
|
|
|
.line 6
|
|
:cond_1
|
|
sget-object v3, Landroidx/constraintlayout/motion/widget/MotionLayout$b;->a:[I
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v1, v3, v1
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eq v1, v3, :cond_3
|
|
|
|
const/4 v3, 0x2
|
|
|
|
if-eq v1, v3, :cond_3
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-eq v1, v2, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
if-ne p1, v0, :cond_5
|
|
|
|
.line 7
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->H()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
if-ne p1, v2, :cond_4
|
|
|
|
.line 8
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->G()V
|
|
|
|
:cond_4
|
|
if-ne p1, v0, :cond_5
|
|
|
|
.line 9
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->H()V
|
|
|
|
:cond_5
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransition(I)V
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->O(I)Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s$b;->F()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 4
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s$b;->y()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->isAttachedToWindow()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 6
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 7
|
|
new-instance p1, Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.line 8
|
|
:cond_0
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->f(I)V
|
|
|
|
.line 9
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->d(I)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const/high16 v0, 0x7fc00000 # Float.NaN
|
|
|
|
.line 10
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-ne v1, v2, :cond_2
|
|
|
|
move v0, v3
|
|
|
|
goto :goto_0
|
|
|
|
.line 11
|
|
:cond_2
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
if-ne v1, v2, :cond_3
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
.line 12
|
|
:cond_3
|
|
:goto_0
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v1, p1}, Landroidx/constraintlayout/motion/widget/s;->b0(Landroidx/constraintlayout/motion/widget/s$b;)V
|
|
|
|
.line 13
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
invoke-virtual {v2, v4}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v4, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-virtual {v4, v5}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {p1, v1, v2, v4}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->g(Landroidx/constraintlayout/solver/widgets/d;Landroidx/constraintlayout/widget/c;Landroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 14
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
.line 15
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
move v3, v0
|
|
|
|
:goto_1
|
|
iput v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 16
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 17
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-static {}, Landroidx/constraintlayout/motion/widget/c;->g()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, " transitionToStart "
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "MotionLayout"
|
|
|
|
invoke-static {v0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 18
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->f0()V
|
|
|
|
goto :goto_2
|
|
|
|
.line 19
|
|
:cond_5
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
|
|
|
:cond_6
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransition(Landroidx/constraintlayout/motion/widget/s$b;)V
|
|
.locals 4
|
|
|
|
.line 20
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/s;->b0(Landroidx/constraintlayout/motion/widget/s$b;)V
|
|
|
|
.line 21
|
|
sget-object v0, Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;->SETUP:Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setState(Landroidx/constraintlayout/motion/widget/MotionLayout$TransitionState;)V
|
|
|
|
.line 22
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->e:I
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v1}, Landroidx/constraintlayout/motion/widget/s;->q()I
|
|
|
|
move-result v1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
.line 23
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 24
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 25
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 26
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 27
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 28
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 29
|
|
invoke-virtual {p1, v0}, Landroidx/constraintlayout/motion/widget/s$b;->I(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v0
|
|
|
|
:goto_1
|
|
iput-wide v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k0:J
|
|
|
|
.line 30
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->D()I
|
|
|
|
move-result p1
|
|
|
|
.line 31
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->q()I
|
|
|
|
move-result v0
|
|
|
|
.line 32
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
if-ne p1, v1, :cond_2
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
return-void
|
|
|
|
.line 33
|
|
:cond_2
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
.line 34
|
|
iput v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
.line 35
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v1, p1, v0}, Landroidx/constraintlayout/motion/widget/s;->a0(II)V
|
|
|
|
.line 36
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget-object v0, p0, Landroidx/constraintlayout/widget/ConstraintLayout;->mLayoutWidget:Landroidx/constraintlayout/solver/widgets/d;
|
|
|
|
iget-object v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
invoke-virtual {v1, v2}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-virtual {v2, v3}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p1, v0, v1, v2}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->g(Landroidx/constraintlayout/solver/widgets/d;Landroidx/constraintlayout/widget/c;Landroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 37
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->k(II)V
|
|
|
|
.line 38
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->N1:Landroidx/constraintlayout/motion/widget/MotionLayout$e;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$e;->j()V
|
|
|
|
.line 39
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransitionDuration(I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p1, "MotionLayout"
|
|
|
|
const-string v0, "MotionScene not defined"
|
|
|
|
.line 2
|
|
invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/s;->X(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransitionListener(Landroidx/constraintlayout/motion/widget/MotionLayout$i;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->Y0:Landroidx/constraintlayout/motion/widget/MotionLayout$i;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTransitionState(Landroid/os/Bundle;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;-><init>(Landroidx/constraintlayout/motion/widget/MotionLayout;)V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->g(Landroid/os/Bundle;)V
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->isAttachedToWindow()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 5
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->L1:Landroidx/constraintlayout/motion/widget/MotionLayout$h;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/MotionLayout$h;->a()V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d:I
|
|
|
|
invoke-static {v0, v2}, Landroidx/constraintlayout/motion/widget/c;->i(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "->"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->f:I
|
|
|
|
.line 3
|
|
invoke-static {v0, v2}, Landroidx/constraintlayout/motion/widget/c;->i(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, " (pos:"
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, " Dpos/Dt:"
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->c:F
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public v(Landroidx/constraintlayout/motion/widget/MotionLayout$i;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u1:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public w(F)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
iget v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
cmpl-float v1, v1, v2
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-boolean v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->V0:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 3
|
|
iput v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 4
|
|
:cond_1
|
|
iget v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
cmpl-float v2, v1, p1
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
.line 5
|
|
iput-boolean v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->d1:Z
|
|
|
|
.line 6
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
.line 7
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->p()I
|
|
|
|
move-result p1
|
|
|
|
int-to-float p1, p1
|
|
|
|
const/high16 v0, 0x447a0000 # 1000.0f
|
|
|
|
div-float/2addr p1, v0
|
|
|
|
iput p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->l:F
|
|
|
|
.line 8
|
|
iget p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->K0:F
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/motion/widget/MotionLayout;->setProgress(F)V
|
|
|
|
.line 9
|
|
iget-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s;->t()Landroid/view/animation/Interpolator;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->b:Landroid/view/animation/Interpolator;
|
|
|
|
.line 10
|
|
iput-boolean v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->V0:Z
|
|
|
|
.line 11
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/motion/widget/MotionLayout;->getNanoTime()J
|
|
|
|
move-result-wide v2
|
|
|
|
iput-wide v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->k:J
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 12
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->W0:Z
|
|
|
|
.line 13
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->p:F
|
|
|
|
.line 14
|
|
iput v1, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->u:F
|
|
|
|
.line 15
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final x()V
|
|
.locals 11
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
const-string v1, "MotionLayout"
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "CHECK: motion scene not set! set \"app:layoutDescription=\"@xml/file\""
|
|
|
|
.line 2
|
|
invoke-static {v1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroidx/constraintlayout/motion/widget/s;->D()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v2, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v2}, Landroidx/constraintlayout/motion/widget/s;->D()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v2, v3}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p0, v0, v2}, Landroidx/constraintlayout/motion/widget/MotionLayout;->y(ILandroidx/constraintlayout/widget/c;)V
|
|
|
|
.line 4
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
.line 5
|
|
new-instance v2, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v2}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
.line 6
|
|
iget-object v3, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v3}, Landroidx/constraintlayout/motion/widget/s;->o()Ljava/util/ArrayList;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v3
|
|
|
|
:cond_1
|
|
:goto_0
|
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
.line 7
|
|
iget-object v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
iget-object v5, v5, Landroidx/constraintlayout/motion/widget/s;->c:Landroidx/constraintlayout/motion/widget/s$b;
|
|
|
|
if-ne v4, v5, :cond_2
|
|
|
|
const-string v5, "CHECK: CURRENT"
|
|
|
|
.line 8
|
|
invoke-static {v1, v5}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 9
|
|
:cond_2
|
|
invoke-virtual {p0, v4}, Landroidx/constraintlayout/motion/widget/MotionLayout;->z(Landroidx/constraintlayout/motion/widget/s$b;)V
|
|
|
|
.line 10
|
|
invoke-virtual {v4}, Landroidx/constraintlayout/motion/widget/s$b;->F()I
|
|
|
|
move-result v5
|
|
|
|
.line 11
|
|
invoke-virtual {v4}, Landroidx/constraintlayout/motion/widget/s$b;->y()I
|
|
|
|
move-result v4
|
|
|
|
.line 12
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6, v5}, Landroidx/constraintlayout/motion/widget/c;->i(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
.line 13
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7, v4}, Landroidx/constraintlayout/motion/widget/c;->i(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
.line 14
|
|
invoke-virtual {v0, v5}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v8
|
|
|
|
const-string v9, "->"
|
|
|
|
if-ne v8, v4, :cond_3
|
|
|
|
.line 15
|
|
new-instance v8, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v10, "CHECK: two transitions with the same start and end "
|
|
|
|
invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-static {v1, v8}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 16
|
|
:cond_3
|
|
invoke-virtual {v2, v4}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v8
|
|
|
|
if-ne v8, v5, :cond_4
|
|
|
|
.line 17
|
|
new-instance v8, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v10, "CHECK: you can\'t have reverse transitions"
|
|
|
|
invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v1, v7}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 18
|
|
:cond_4
|
|
invoke-virtual {v0, v5, v4}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
.line 19
|
|
invoke-virtual {v2, v4, v5}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
.line 20
|
|
iget-object v7, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v7, v5}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v5
|
|
|
|
if-nez v5, :cond_5
|
|
|
|
.line 21
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v7, " no such constraintSetStart "
|
|
|
|
invoke-virtual {v5, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-static {v1, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 22
|
|
:cond_5
|
|
iget-object v5, p0, Landroidx/constraintlayout/motion/widget/MotionLayout;->a:Landroidx/constraintlayout/motion/widget/s;
|
|
|
|
invoke-virtual {v5, v4}, Landroidx/constraintlayout/motion/widget/s;->k(I)Landroidx/constraintlayout/widget/c;
|
|
|
|
move-result-object v4
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
.line 23
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v5, " no such constraintSetEnd "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v1, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method public final y(ILandroidx/constraintlayout/widget/c;)V
|
|
.locals 10
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, p1}, Landroidx/constraintlayout/motion/widget/c;->i(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
const/4 v3, -0x1
|
|
|
|
const-string v4, "CHECK: "
|
|
|
|
const-string v5, "MotionLayout"
|
|
|
|
if-ge v2, v0, :cond_2
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
.line 4
|
|
invoke-virtual {v6}, Landroid/view/View;->getId()I
|
|
|
|
move-result v7
|
|
|
|
if-ne v7, v3, :cond_0
|
|
|
|
const-string v3, " ALL VIEWS SHOULD HAVE ID\'s "
|
|
|
|
.line 5
|
|
invoke-static {v4, p1, v3}, Landroidx/activity/result/g;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
.line 6
|
|
invoke-virtual {v6}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v8, " does not!"
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
.line 7
|
|
invoke-static {v5, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 8
|
|
:cond_0
|
|
invoke-virtual {p2, v7}, Landroidx/constraintlayout/widget/c;->d0(I)Landroidx/constraintlayout/widget/c$a;
|
|
|
|
move-result-object v3
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
const-string v3, " NO CONSTRAINTS for "
|
|
|
|
.line 9
|
|
invoke-static {v4, p1, v3}, Landroidx/activity/result/g;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v6}, Landroidx/constraintlayout/motion/widget/c;->k(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v5, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_2
|
|
invoke-virtual {p2}, Landroidx/constraintlayout/widget/c;->g0()[I
|
|
|
|
move-result-object v0
|
|
|
|
.line 11
|
|
:goto_1
|
|
array-length v2, v0
|
|
|
|
if-ge v1, v2, :cond_6
|
|
|
|
.line 12
|
|
aget v2, v0, v1
|
|
|
|
.line 13
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6, v2}, Landroidx/constraintlayout/motion/widget/c;->i(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
.line 14
|
|
aget v7, v0, v1
|
|
|
|
invoke-virtual {p0, v7}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v7
|
|
|
|
if-nez v7, :cond_3
|
|
|
|
.line 15
|
|
new-instance v7, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v8, " NO View matches id "
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v5, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 16
|
|
:cond_3
|
|
invoke-virtual {p2, v2}, Landroidx/constraintlayout/widget/c;->f0(I)I
|
|
|
|
move-result v7
|
|
|
|
const-string v8, ") no LAYOUT_HEIGHT"
|
|
|
|
const-string v9, "("
|
|
|
|
if-ne v7, v3, :cond_4
|
|
|
|
.line 17
|
|
invoke-static {v4, p1, v9, v6, v8}, Ls/i;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v5, v7}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 18
|
|
:cond_4
|
|
invoke-virtual {p2, v2}, Landroidx/constraintlayout/widget/c;->l0(I)I
|
|
|
|
move-result v2
|
|
|
|
if-ne v2, v3, :cond_5
|
|
|
|
.line 19
|
|
invoke-static {v4, p1, v9, v6, v8}, Ls/i;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v5, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_5
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method public final z(Landroidx/constraintlayout/motion/widget/s$b;)V
|
|
.locals 3
|
|
|
|
const-string v0, "CHECK: transition = "
|
|
|
|
.line 1
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v1}, Landroidx/constraintlayout/motion/widget/s$b;->u(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "MotionLayout"
|
|
|
|
invoke-static {v1, v0}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "CHECK: transition.setDuration = "
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s$b;->x()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v1, v0}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s$b;->F()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Landroidx/constraintlayout/motion/widget/s$b;->y()I
|
|
|
|
move-result p1
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
const-string p1, "CHECK: start and end constraint set should not be the same!"
|
|
|
|
.line 4
|
|
invoke-static {v1, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|