mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
5346 lines
134 KiB
Smali
5346 lines
134 KiB
Smali
.class public abstract Landroidx/transition/Transition;
|
|
.super Ljava/lang/Object;
|
|
.source "Transition.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Cloneable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/transition/Transition$EpicenterCallback;,
|
|
Landroidx/transition/Transition$ArrayListManager;,
|
|
Landroidx/transition/Transition$AnimationInfo;,
|
|
Landroidx/transition/Transition$TransitionListener;,
|
|
Landroidx/transition/Transition$MatchOrder;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final DBG:Z = false
|
|
|
|
.field private static final DEFAULT_MATCH_ORDER:[I
|
|
|
|
.field private static final LOG_TAG:Ljava/lang/String; = "Transition"
|
|
|
|
.field private static final MATCH_FIRST:I = 0x1
|
|
|
|
.field public static final MATCH_ID:I = 0x3
|
|
|
|
.field private static final MATCH_ID_STR:Ljava/lang/String; = "id"
|
|
|
|
.field public static final MATCH_INSTANCE:I = 0x1
|
|
|
|
.field private static final MATCH_INSTANCE_STR:Ljava/lang/String; = "instance"
|
|
|
|
.field public static final MATCH_ITEM_ID:I = 0x4
|
|
|
|
.field private static final MATCH_ITEM_ID_STR:Ljava/lang/String; = "itemId"
|
|
|
|
.field private static final MATCH_LAST:I = 0x4
|
|
|
|
.field public static final MATCH_NAME:I = 0x2
|
|
|
|
.field private static final MATCH_NAME_STR:Ljava/lang/String; = "name"
|
|
|
|
.field private static final STRAIGHT_PATH_MOTION:Landroidx/transition/PathMotion;
|
|
|
|
.field private static sRunningAnimators:Ljava/lang/ThreadLocal;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ThreadLocal<",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/animation/Animator;",
|
|
"Landroidx/transition/Transition$AnimationInfo;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private mAnimators:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/animation/Animator;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mCanRemoveViews:Z
|
|
|
|
.field mCurrentAnimators:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/animation/Animator;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mDuration:J
|
|
|
|
.field private mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.field private mEndValuesList:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mEnded:Z
|
|
|
|
.field private mEpicenterCallback:Landroidx/transition/Transition$EpicenterCallback;
|
|
|
|
.field private mInterpolator:Landroid/animation/TimeInterpolator;
|
|
|
|
.field private mListeners:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/transition/Transition$TransitionListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mMatchOrder:[I
|
|
|
|
.field private mName:Ljava/lang/String;
|
|
|
|
.field private mNameOverrides:Landroidx/collection/ArrayMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mNumInstances:I
|
|
|
|
.field mParent:Landroidx/transition/TransitionSet;
|
|
|
|
.field private mPathMotion:Landroidx/transition/PathMotion;
|
|
|
|
.field private mPaused:Z
|
|
|
|
.field mPropagation:Landroidx/transition/TransitionPropagation;
|
|
|
|
.field private mStartDelay:J
|
|
|
|
.field private mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.field private mStartValuesList:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetChildExcludes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetExcludes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetIdChildExcludes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetIdExcludes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mTargetIds:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetNameExcludes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetNames:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetTypeChildExcludes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Class<",
|
|
"*>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Class<",
|
|
"*>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mTargetTypes:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Class<",
|
|
"*>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field mTargets:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x3
|
|
|
|
const/4 v1, 0x4
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
filled-new-array {v2, v3, v0, v1}, [I
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Landroidx/transition/Transition;->DEFAULT_MATCH_ORDER:[I
|
|
|
|
.line 171
|
|
new-instance v0, Landroidx/transition/Transition$1;
|
|
|
|
invoke-direct {v0}, Landroidx/transition/Transition$1;-><init>()V
|
|
|
|
sput-object v0, Landroidx/transition/Transition;->STRAIGHT_PATH_MOTION:Landroidx/transition/PathMotion;
|
|
|
|
.line 205
|
|
new-instance v0, Ljava/lang/ThreadLocal;
|
|
|
|
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
|
|
|
|
sput-object v0, Landroidx/transition/Transition;->sRunningAnimators:Ljava/lang/ThreadLocal;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 3
|
|
|
|
.line 260
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 181
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mName:Ljava/lang/String;
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
iput-wide v0, p0, Landroidx/transition/Transition;->mStartDelay:J
|
|
|
|
iput-wide v0, p0, Landroidx/transition/Transition;->mDuration:J
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mInterpolator:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 186
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 187
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetIdExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetNameExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetIdChildExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetChildExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetTypeChildExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 197
|
|
new-instance v1, Landroidx/transition/TransitionValuesMaps;
|
|
|
|
invoke-direct {v1}, Landroidx/transition/TransitionValuesMaps;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 198
|
|
new-instance v1, Landroidx/transition/TransitionValuesMaps;
|
|
|
|
invoke-direct {v1}, Landroidx/transition/TransitionValuesMaps;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mParent:Landroidx/transition/TransitionSet;
|
|
|
|
sget-object v1, Landroidx/transition/Transition;->DEFAULT_MATCH_ORDER:[I
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mMatchOrder:[I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mCanRemoveViews:Z
|
|
|
|
.line 218
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v2, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
iput v1, p0, Landroidx/transition/Transition;->mNumInstances:I
|
|
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mPaused:Z
|
|
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mEnded:Z
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 237
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
sget-object v0, Landroidx/transition/Transition;->STRAIGHT_PATH_MOTION:Landroidx/transition/PathMotion;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mPathMotion:Landroidx/transition/PathMotion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 8
|
|
|
|
.line 274
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 181
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mName:Ljava/lang/String;
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
iput-wide v0, p0, Landroidx/transition/Transition;->mStartDelay:J
|
|
|
|
iput-wide v0, p0, Landroidx/transition/Transition;->mDuration:J
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mInterpolator:Landroid/animation/TimeInterpolator;
|
|
|
|
.line 186
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 187
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetIdExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetNameExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetIdChildExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetChildExcludes:Ljava/util/ArrayList;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetTypeChildExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 197
|
|
new-instance v1, Landroidx/transition/TransitionValuesMaps;
|
|
|
|
invoke-direct {v1}, Landroidx/transition/TransitionValuesMaps;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 198
|
|
new-instance v1, Landroidx/transition/TransitionValuesMaps;
|
|
|
|
invoke-direct {v1}, Landroidx/transition/TransitionValuesMaps;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mParent:Landroidx/transition/TransitionSet;
|
|
|
|
sget-object v1, Landroidx/transition/Transition;->DEFAULT_MATCH_ORDER:[I
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mMatchOrder:[I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mCanRemoveViews:Z
|
|
|
|
.line 218
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v2, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
iput v1, p0, Landroidx/transition/Transition;->mNumInstances:I
|
|
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mPaused:Z
|
|
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mEnded:Z
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 237
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
sget-object v0, Landroidx/transition/Transition;->STRAIGHT_PATH_MOTION:Landroidx/transition/PathMotion;
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mPathMotion:Landroidx/transition/PathMotion;
|
|
|
|
.line 275
|
|
sget-object v0, Landroidx/transition/Styleable;->TRANSITION:[I
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object v0
|
|
|
|
.line 276
|
|
check-cast p2, Landroid/content/res/XmlResourceParser;
|
|
|
|
const-string v2, "duration"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, -0x1
|
|
|
|
.line 277
|
|
invoke-static {v0, p2, v2, v3, v4}, Landroidx/core/content/res/TypedArrayUtils;->getNamedInt(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;II)I
|
|
|
|
move-result v2
|
|
|
|
int-to-long v2, v2
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
cmp-long v7, v2, v5
|
|
|
|
if-ltz v7, :cond_0
|
|
|
|
.line 280
|
|
invoke-virtual {p0, v2, v3}, Landroidx/transition/Transition;->setDuration(J)Landroidx/transition/Transition;
|
|
|
|
:cond_0
|
|
const-string v2, "startDelay"
|
|
|
|
const/4 v3, 0x2
|
|
|
|
.line 282
|
|
invoke-static {v0, p2, v2, v3, v4}, Landroidx/core/content/res/TypedArrayUtils;->getNamedInt(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;II)I
|
|
|
|
move-result v2
|
|
|
|
int-to-long v2, v2
|
|
|
|
cmp-long v4, v2, v5
|
|
|
|
if-lez v4, :cond_1
|
|
|
|
.line 285
|
|
invoke-virtual {p0, v2, v3}, Landroidx/transition/Transition;->setStartDelay(J)Landroidx/transition/Transition;
|
|
|
|
:cond_1
|
|
const-string v2, "interpolator"
|
|
|
|
.line 287
|
|
invoke-static {v0, p2, v2, v1, v1}, Landroidx/core/content/res/TypedArrayUtils;->getNamedResourceId(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;II)I
|
|
|
|
move-result v1
|
|
|
|
if-lez v1, :cond_2
|
|
|
|
.line 290
|
|
invoke-static {p1, v1}, Landroid/view/animation/AnimationUtils;->loadInterpolator(Landroid/content/Context;I)Landroid/view/animation/Interpolator;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/transition/Transition;->setInterpolator(Landroid/animation/TimeInterpolator;)Landroidx/transition/Transition;
|
|
|
|
:cond_2
|
|
const-string p1, "matchOrder"
|
|
|
|
const/4 v1, 0x3
|
|
|
|
.line 292
|
|
invoke-static {v0, p2, p1, v1}, Landroidx/core/content/res/TypedArrayUtils;->getNamedString(Landroid/content/res/TypedArray;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 295
|
|
invoke-static {p1}, Landroidx/transition/Transition;->parseMatchOrder(Ljava/lang/String;)[I
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/transition/Transition;->setMatchOrder([I)V
|
|
|
|
.line 297
|
|
:cond_3
|
|
invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private addUnmatched(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
move v1, v0
|
|
|
|
.line 644
|
|
:goto_0
|
|
invoke-virtual {p1}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-ge v1, v2, :cond_1
|
|
|
|
.line 645
|
|
invoke-virtual {p1, v1}, Landroidx/collection/ArrayMap;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/transition/TransitionValues;
|
|
|
|
.line 646
|
|
iget-object v4, v2, Landroidx/transition/TransitionValues;->view:Landroid/view/View;
|
|
|
|
invoke-virtual {p0, v4}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 647
|
|
invoke-virtual {v4, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object v2, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 648
|
|
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 653
|
|
:cond_1
|
|
:goto_1
|
|
invoke-virtual {p2}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result p1
|
|
|
|
if-ge v0, p1, :cond_3
|
|
|
|
.line 654
|
|
invoke-virtual {p2, v0}, Landroidx/collection/ArrayMap;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroidx/transition/TransitionValues;
|
|
|
|
.line 655
|
|
iget-object v1, p1, Landroidx/transition/TransitionValues;->view:Landroid/view/View;
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 656
|
|
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 657
|
|
invoke-virtual {p1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_2
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method private static addViewValues(Landroidx/transition/TransitionValuesMaps;Landroid/view/View;Landroidx/transition/TransitionValues;)V
|
|
.locals 3
|
|
|
|
.line 1529
|
|
iget-object v0, p0, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 1530
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-ltz p2, :cond_1
|
|
|
|
.line 1532
|
|
iget-object v1, p0, Landroidx/transition/TransitionValuesMaps;->mIdValues:Landroid/util/SparseArray;
|
|
|
|
invoke-virtual {v1, p2}, Landroid/util/SparseArray;->indexOfKey(I)I
|
|
|
|
move-result v1
|
|
|
|
if-ltz v1, :cond_0
|
|
|
|
.line 1534
|
|
iget-object v1, p0, Landroidx/transition/TransitionValuesMaps;->mIdValues:Landroid/util/SparseArray;
|
|
|
|
invoke-virtual {v1, p2, v0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1536
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/transition/TransitionValuesMaps;->mIdValues:Landroid/util/SparseArray;
|
|
|
|
invoke-virtual {v1, p2, p1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
|
|
|
|
.line 1539
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 1541
|
|
iget-object v1, p0, Landroidx/transition/TransitionValuesMaps;->mNameValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v1, p2}, Landroidx/collection/ArrayMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 1543
|
|
iget-object v1, p0, Landroidx/transition/TransitionValuesMaps;->mNameValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v1, p2, v0}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_1
|
|
|
|
.line 1545
|
|
:cond_2
|
|
iget-object v1, p0, Landroidx/transition/TransitionValuesMaps;->mNameValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v1, p2, p1}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 1548
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p2
|
|
|
|
instance-of p2, p2, Landroid/widget/ListView;
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 1549
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroid/widget/ListView;
|
|
|
|
.line 1550
|
|
invoke-virtual {p2}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Landroid/widget/ListAdapter;->hasStableIds()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 1551
|
|
invoke-virtual {p2, p1}, Landroid/widget/ListView;->getPositionForView(Landroid/view/View;)I
|
|
|
|
move-result v1
|
|
|
|
.line 1552
|
|
invoke-virtual {p2, v1}, Landroid/widget/ListView;->getItemIdAtPosition(I)J
|
|
|
|
move-result-wide v1
|
|
|
|
.line 1553
|
|
iget-object p2, p0, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {p2, v1, v2}, Landroidx/collection/LongSparseArray;->indexOfKey(J)I
|
|
|
|
move-result p2
|
|
|
|
if-ltz p2, :cond_4
|
|
|
|
.line 1555
|
|
iget-object p1, p0, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {p1, v1, v2}, Landroidx/collection/LongSparseArray;->get(J)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 1557
|
|
invoke-static {p1, p2}, Landroidx/core/view/ViewCompat;->setHasTransientState(Landroid/view/View;Z)V
|
|
|
|
.line 1558
|
|
iget-object p0, p0, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {p0, v1, v2, v0}, Landroidx/collection/LongSparseArray;->put(JLjava/lang/Object;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const/4 p2, 0x1
|
|
|
|
.line 1561
|
|
invoke-static {p1, p2}, Landroidx/core/view/ViewCompat;->setHasTransientState(Landroid/view/View;Z)V
|
|
|
|
.line 1562
|
|
iget-object p0, p0, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {p0, v1, v2, p1}, Landroidx/collection/LongSparseArray;->put(JLjava/lang/Object;)V
|
|
|
|
:cond_5
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method private static alreadyContains([II)Z
|
|
.locals 4
|
|
|
|
.line 528
|
|
aget v0, p0, p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
if-ge v2, p1, :cond_1
|
|
|
|
.line 530
|
|
aget v3, p0, v2
|
|
|
|
if-ne v3, v0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method private captureHierarchy(Landroid/view/View;Z)V
|
|
.locals 5
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1599
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetIdExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 1600
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 1603
|
|
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 1607
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_4
|
|
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1609
|
|
invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Ljava/lang/Class;
|
|
|
|
invoke-virtual {v4, p1}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1614
|
|
:cond_4
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v1
|
|
|
|
instance-of v1, v1, Landroid/view/ViewGroup;
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
.line 1615
|
|
new-instance v1, Landroidx/transition/TransitionValues;
|
|
|
|
invoke-direct {v1, p1}, Landroidx/transition/TransitionValues;-><init>(Landroid/view/View;)V
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 1617
|
|
invoke-virtual {p0, v1}, Landroidx/transition/Transition;->captureStartValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 1619
|
|
:cond_5
|
|
invoke-virtual {p0, v1}, Landroidx/transition/Transition;->captureEndValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
.line 1621
|
|
:goto_1
|
|
iget-object v3, v1, Landroidx/transition/TransitionValues;->mTargetedTransitions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v3, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 1622
|
|
invoke-virtual {p0, v1}, Landroidx/transition/Transition;->capturePropagationValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1624
|
|
invoke-static {v3, p1, v1}, Landroidx/transition/Transition;->addViewValues(Landroidx/transition/TransitionValuesMaps;Landroid/view/View;Landroidx/transition/TransitionValues;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1626
|
|
invoke-static {v3, p1, v1}, Landroidx/transition/Transition;->addViewValues(Landroidx/transition/TransitionValuesMaps;Landroid/view/View;Landroidx/transition/TransitionValues;)V
|
|
|
|
.line 1629
|
|
:cond_7
|
|
:goto_2
|
|
instance-of v1, p1, Landroid/view/ViewGroup;
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetIdChildExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
.line 1631
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
return-void
|
|
|
|
:cond_8
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetChildExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 1634
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
return-void
|
|
|
|
:cond_9
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypeChildExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
.line 1638
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
move v1, v2
|
|
|
|
:goto_3
|
|
if-ge v1, v0, :cond_b
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mTargetTypeChildExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1640
|
|
invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/Class;
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_a
|
|
|
|
return-void
|
|
|
|
:cond_a
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
.line 1645
|
|
:cond_b
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
.line 1646
|
|
:goto_4
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
if-ge v2, v0, :cond_c
|
|
|
|
.line 1647
|
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0, p2}, Landroidx/transition/Transition;->captureHierarchy(Landroid/view/View;Z)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_c
|
|
return-void
|
|
.end method
|
|
|
|
.method private excludeId(Ljava/util/ArrayList;IZ)Ljava/util/ArrayList;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Integer;",
|
|
">;IZ)",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
if-lez p2, :cond_1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
.line 1309
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p1, p0}, Landroidx/transition/Transition$ArrayListManager;->add(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1311
|
|
:cond_0
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p1, p0}, Landroidx/transition/Transition$ArrayListManager;->remove(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private static excludeObject(Ljava/util/ArrayList;Ljava/lang/Object;Z)Ljava/util/ArrayList;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/ArrayList<",
|
|
"TT;>;TT;Z)",
|
|
"Ljava/util/ArrayList<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 1160
|
|
invoke-static {p0, p1}, Landroidx/transition/Transition$ArrayListManager;->add(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 1162
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/transition/Transition$ArrayListManager;->remove(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private excludeType(Ljava/util/ArrayList;Ljava/lang/Class;Z)Ljava/util/ArrayList;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Class<",
|
|
"*>;>;",
|
|
"Ljava/lang/Class<",
|
|
"*>;Z)",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Class<",
|
|
"*>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
.line 1393
|
|
invoke-static {p1, p2}, Landroidx/transition/Transition$ArrayListManager;->add(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1395
|
|
:cond_0
|
|
invoke-static {p1, p2}, Landroidx/transition/Transition$ArrayListManager;->remove(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private excludeView(Ljava/util/ArrayList;Landroid/view/View;Z)Ljava/util/ArrayList;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;",
|
|
"Landroid/view/View;",
|
|
"Z)",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/view/View;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
.line 1324
|
|
invoke-static {p1, p2}, Landroidx/transition/Transition$ArrayListManager;->add(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1326
|
|
:cond_0
|
|
invoke-static {p1, p2}, Landroidx/transition/Transition$ArrayListManager;->remove(Ljava/util/ArrayList;Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private static getRunningAnimators()Landroidx/collection/ArrayMap;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/animation/Animator;",
|
|
"Landroidx/transition/Transition$AnimationInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Landroidx/transition/Transition;->sRunningAnimators:Ljava/lang/ThreadLocal;
|
|
|
|
.line 856
|
|
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/collection/ArrayMap;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 858
|
|
new-instance v0, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v0}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
sget-object v1, Landroidx/transition/Transition;->sRunningAnimators:Ljava/lang/ThreadLocal;
|
|
|
|
.line 859
|
|
invoke-virtual {v1, v0}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static isValidMatch(I)Z
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-lt p0, v0, :cond_0
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-gt p0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method private static isValueChanged(Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;Ljava/lang/String;)Z
|
|
.locals 0
|
|
|
|
.line 1853
|
|
iget-object p0, p0, Landroidx/transition/TransitionValues;->values:Ljava/util/Map;
|
|
|
|
invoke-interface {p0, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
.line 1854
|
|
iget-object p1, p1, Landroidx/transition/TransitionValues;->values:Ljava/util/Map;
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 p2, 0x1
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1864
|
|
:cond_1
|
|
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
xor-int/2addr p0, p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
:goto_0
|
|
move p0, p2
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method private matchIds(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroid/util/SparseArray;Landroid/util/SparseArray;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroid/util/SparseArray<",
|
|
"Landroid/view/View;",
|
|
">;",
|
|
"Landroid/util/SparseArray<",
|
|
"Landroid/view/View;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 591
|
|
invoke-virtual {p3}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 593
|
|
invoke-virtual {p3, v1}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/view/View;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 594
|
|
invoke-virtual {p0, v2}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 595
|
|
invoke-virtual {p3, v1}, Landroid/util/SparseArray;->keyAt(I)I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p4, v3}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 596
|
|
invoke-virtual {p0, v3}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 597
|
|
invoke-virtual {p1, v2}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/transition/TransitionValues;
|
|
|
|
.line 598
|
|
invoke-virtual {p2, v3}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/transition/TransitionValues;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
iget-object v6, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 600
|
|
invoke-virtual {v6, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 601
|
|
invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 602
|
|
invoke-virtual {p1, v2}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 603
|
|
invoke-virtual {p2, v3}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private matchInstances(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 543
|
|
invoke-virtual {p1}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 544
|
|
invoke-virtual {p1, v0}, Landroidx/collection/ArrayMap;->keyAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/view/View;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 545
|
|
invoke-virtual {p0, v1}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 546
|
|
invoke-virtual {p2, v1}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroidx/transition/TransitionValues;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 547
|
|
iget-object v2, v1, Landroidx/transition/TransitionValues;->view:Landroid/view/View;
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 548
|
|
invoke-virtual {p1, v0}, Landroidx/collection/ArrayMap;->removeAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/transition/TransitionValues;
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 549
|
|
invoke-virtual {v3, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object v2, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 550
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private matchItemIds(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/LongSparseArray;Landroidx/collection/LongSparseArray;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroidx/collection/LongSparseArray<",
|
|
"Landroid/view/View;",
|
|
">;",
|
|
"Landroidx/collection/LongSparseArray<",
|
|
"Landroid/view/View;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 564
|
|
invoke-virtual {p3}, Landroidx/collection/LongSparseArray;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 566
|
|
invoke-virtual {p3, v1}, Landroidx/collection/LongSparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/view/View;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 567
|
|
invoke-virtual {p0, v2}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 568
|
|
invoke-virtual {p3, v1}, Landroidx/collection/LongSparseArray;->keyAt(I)J
|
|
|
|
move-result-wide v3
|
|
|
|
invoke-virtual {p4, v3, v4}, Landroidx/collection/LongSparseArray;->get(J)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 569
|
|
invoke-virtual {p0, v3}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 570
|
|
invoke-virtual {p1, v2}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/transition/TransitionValues;
|
|
|
|
.line 571
|
|
invoke-virtual {p2, v3}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/transition/TransitionValues;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
iget-object v6, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 573
|
|
invoke-virtual {v6, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 574
|
|
invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 575
|
|
invoke-virtual {p1, v2}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 576
|
|
invoke-virtual {p2, v3}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private matchNames(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/view/View;",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Landroid/view/View;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Landroid/view/View;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 618
|
|
invoke-virtual {p3}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 620
|
|
invoke-virtual {p3, v1}, Landroidx/collection/ArrayMap;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/view/View;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 621
|
|
invoke-virtual {p0, v2}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 622
|
|
invoke-virtual {p3, v1}, Landroidx/collection/ArrayMap;->keyAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p4, v3}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 623
|
|
invoke-virtual {p0, v3}, Landroidx/transition/Transition;->isValidTarget(Landroid/view/View;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 624
|
|
invoke-virtual {p1, v2}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/transition/TransitionValues;
|
|
|
|
.line 625
|
|
invoke-virtual {p2, v3}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/transition/TransitionValues;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
iget-object v6, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 627
|
|
invoke-virtual {v6, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 628
|
|
invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 629
|
|
invoke-virtual {p1, v2}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 630
|
|
invoke-virtual {p2, v3}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private matchStartAndEnd(Landroidx/transition/TransitionValuesMaps;Landroidx/transition/TransitionValuesMaps;)V
|
|
.locals 5
|
|
|
|
.line 664
|
|
new-instance v0, Landroidx/collection/ArrayMap;
|
|
|
|
iget-object v1, p1, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v0, v1}, Landroidx/collection/ArrayMap;-><init>(Landroidx/collection/SimpleArrayMap;)V
|
|
|
|
.line 665
|
|
new-instance v1, Landroidx/collection/ArrayMap;
|
|
|
|
iget-object v2, p2, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v1, v2}, Landroidx/collection/ArrayMap;-><init>(Landroidx/collection/SimpleArrayMap;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mMatchOrder:[I
|
|
|
|
.line 667
|
|
array-length v4, v3
|
|
|
|
if-ge v2, v4, :cond_4
|
|
|
|
.line 668
|
|
aget v3, v3, v2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-eq v3, v4, :cond_3
|
|
|
|
const/4 v4, 0x2
|
|
|
|
if-eq v3, v4, :cond_2
|
|
|
|
const/4 v4, 0x3
|
|
|
|
if-eq v3, v4, :cond_1
|
|
|
|
const/4 v4, 0x4
|
|
|
|
if-eq v3, v4, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 681
|
|
:cond_0
|
|
iget-object v3, p1, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
iget-object v4, p2, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-direct {p0, v0, v1, v3, v4}, Landroidx/transition/Transition;->matchItemIds(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/LongSparseArray;Landroidx/collection/LongSparseArray;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 677
|
|
:cond_1
|
|
iget-object v3, p1, Landroidx/transition/TransitionValuesMaps;->mIdValues:Landroid/util/SparseArray;
|
|
|
|
iget-object v4, p2, Landroidx/transition/TransitionValuesMaps;->mIdValues:Landroid/util/SparseArray;
|
|
|
|
invoke-direct {p0, v0, v1, v3, v4}, Landroidx/transition/Transition;->matchIds(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroid/util/SparseArray;Landroid/util/SparseArray;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 673
|
|
:cond_2
|
|
iget-object v3, p1, Landroidx/transition/TransitionValuesMaps;->mNameValues:Landroidx/collection/ArrayMap;
|
|
|
|
iget-object v4, p2, Landroidx/transition/TransitionValuesMaps;->mNameValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {p0, v0, v1, v3, v4}, Landroidx/transition/Transition;->matchNames(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 670
|
|
:cond_3
|
|
invoke-direct {p0, v0, v1}, Landroidx/transition/Transition;->matchInstances(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 686
|
|
:cond_4
|
|
invoke-direct {p0, v0, v1}, Landroidx/transition/Transition;->addUnmatched(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static parseMatchOrder(Ljava/lang/String;)[I
|
|
.locals 6
|
|
|
|
.line 302
|
|
new-instance v0, Ljava/util/StringTokenizer;
|
|
|
|
const-string v1, ","
|
|
|
|
invoke-direct {v0, p0, v1}, Ljava/util/StringTokenizer;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 304
|
|
invoke-virtual {v0}, Ljava/util/StringTokenizer;->countTokens()I
|
|
|
|
move-result p0
|
|
|
|
new-array p0, p0, [I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, v1
|
|
|
|
.line 306
|
|
:goto_0
|
|
invoke-virtual {v0}, Ljava/util/StringTokenizer;->hasMoreTokens()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
.line 307
|
|
invoke-virtual {v0}, Ljava/util/StringTokenizer;->nextToken()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "id"
|
|
|
|
.line 308
|
|
invoke-virtual {v4, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v3, 0x3
|
|
|
|
.line 309
|
|
aput v3, p0, v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-string v4, "instance"
|
|
|
|
.line 310
|
|
invoke-virtual {v4, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 311
|
|
aput v5, p0, v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string v4, "name"
|
|
|
|
.line 312
|
|
invoke-virtual {v4, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
const/4 v3, 0x2
|
|
|
|
.line 313
|
|
aput v3, p0, v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const-string v4, "itemId"
|
|
|
|
.line 314
|
|
invoke-virtual {v4, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
const/4 v3, 0x4
|
|
|
|
.line 315
|
|
aput v3, p0, v2
|
|
|
|
goto :goto_1
|
|
|
|
.line 316
|
|
:cond_3
|
|
invoke-virtual {v3}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
.line 318
|
|
array-length v3, p0
|
|
|
|
sub-int/2addr v3, v5
|
|
|
|
new-array v3, v3, [I
|
|
|
|
.line 319
|
|
invoke-static {p0, v1, v3, v1, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
move-object p0, v3
|
|
|
|
:goto_1
|
|
add-int/2addr v2, v5
|
|
|
|
goto :goto_0
|
|
|
|
.line 323
|
|
:cond_4
|
|
new-instance p0, Landroid/view/InflateException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Unknown match type in matchOrder: \'"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "\'"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Landroid/view/InflateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_5
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private runAnimator(Landroid/animation/Animator;Landroidx/collection/ArrayMap;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/animation/Animator;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Landroid/animation/Animator;",
|
|
"Landroidx/transition/Transition$AnimationInfo;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 895
|
|
new-instance v0, Landroidx/transition/Transition$2;
|
|
|
|
invoke-direct {v0, p0, p2}, Landroidx/transition/Transition$2;-><init>(Landroidx/transition/Transition;Landroidx/collection/ArrayMap;)V
|
|
|
|
invoke-virtual {p1, v0}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
|
|
|
.line 907
|
|
invoke-virtual {p0, p1}, Landroidx/transition/Transition;->animate(Landroid/animation/Animator;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addListener(Landroidx/transition/Transition$TransitionListener;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2030
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 2032
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public addTarget(I)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 1022
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public addTarget(Landroid/view/View;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
.line 997
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public addTarget(Ljava/lang/Class;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;)",
|
|
"Landroidx/transition/Transition;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1077
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
.line 1079
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public addTarget(Ljava/lang/String;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1047
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
.line 1049
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected animate(Landroid/animation/Animator;)V
|
|
.locals 4
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 1887
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->end()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1889
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->getDuration()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 1890
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->getDuration()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/animation/Animator;->setDuration(J)Landroid/animation/Animator;
|
|
|
|
.line 1892
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->getStartDelay()J
|
|
|
|
move-result-wide v0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 1893
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->getStartDelay()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p1}, Landroid/animation/Animator;->getStartDelay()J
|
|
|
|
move-result-wide v2
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/animation/Animator;->setStartDelay(J)V
|
|
|
|
.line 1895
|
|
:cond_2
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->getInterpolator()Landroid/animation/TimeInterpolator;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 1896
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->getInterpolator()Landroid/animation/TimeInterpolator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/animation/Animator;->setInterpolator(Landroid/animation/TimeInterpolator;)V
|
|
|
|
.line 1898
|
|
:cond_3
|
|
new-instance v0, Landroidx/transition/Transition$3;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/transition/Transition$3;-><init>(Landroidx/transition/Transition;)V
|
|
|
|
invoke-virtual {p1, v0}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
|
|
|
|
.line 1905
|
|
invoke-virtual {p1}, Landroid/animation/Animator;->start()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected cancel()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 2004
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 2006
|
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/animation/Animator;
|
|
|
|
.line 2007
|
|
invoke-virtual {v1}, Landroid/animation/Animator;->cancel()V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2009
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 2011
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/ArrayList;
|
|
|
|
.line 2012
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
if-ge v2, v1, :cond_1
|
|
|
|
.line 2014
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/transition/Transition$TransitionListener;
|
|
|
|
invoke-interface {v3, p0}, Landroidx/transition/Transition$TransitionListener;->onTransitionCancel(Landroidx/transition/Transition;)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract captureEndValues(Landroidx/transition/TransitionValues;)V
|
|
.end method
|
|
|
|
.method capturePropagationValues(Landroidx/transition/TransitionValues;)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mPropagation:Landroidx/transition/TransitionPropagation;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2176
|
|
iget-object v0, p1, Landroidx/transition/TransitionValues;->values:Ljava/util/Map;
|
|
|
|
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mPropagation:Landroidx/transition/TransitionPropagation;
|
|
|
|
.line 2177
|
|
invoke-virtual {v0}, Landroidx/transition/TransitionPropagation;->getPropagationProperties()[Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.line 2182
|
|
:goto_0
|
|
array-length v2, v0
|
|
|
|
if-ge v1, v2, :cond_2
|
|
|
|
.line 2183
|
|
iget-object v2, p1, Landroidx/transition/TransitionValues;->values:Ljava/util/Map;
|
|
|
|
aget-object v3, v0, v1
|
|
|
|
invoke-interface {v2, v3}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mPropagation:Landroidx/transition/TransitionPropagation;
|
|
|
|
.line 2189
|
|
invoke-virtual {p0, p1}, Landroidx/transition/TransitionPropagation;->captureValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract captureStartValues(Landroidx/transition/TransitionValues;)V
|
|
.end method
|
|
|
|
.method captureValues(Landroid/view/ViewGroup;Z)V
|
|
.locals 5
|
|
|
|
.line 1468
|
|
invoke-virtual {p0, p2}, Landroidx/transition/Transition;->clearValues(Z)V
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 1469
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_2
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 1470
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 1471
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
.line 1508
|
|
:cond_2
|
|
invoke-direct {p0, p1, p2}, Landroidx/transition/Transition;->captureHierarchy(Landroid/view/View;Z)V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:cond_3
|
|
:goto_0
|
|
move v0, v1
|
|
|
|
:goto_1
|
|
iget-object v2, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 1472
|
|
invoke-virtual {v2}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v0, v2, :cond_7
|
|
|
|
iget-object v2, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 1473
|
|
invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
.line 1474
|
|
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
.line 1476
|
|
new-instance v3, Landroidx/transition/TransitionValues;
|
|
|
|
invoke-direct {v3, v2}, Landroidx/transition/TransitionValues;-><init>(Landroid/view/View;)V
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 1478
|
|
invoke-virtual {p0, v3}, Landroidx/transition/Transition;->captureStartValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 1480
|
|
:cond_4
|
|
invoke-virtual {p0, v3}, Landroidx/transition/Transition;->captureEndValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
.line 1482
|
|
:goto_2
|
|
iget-object v4, v3, Landroidx/transition/TransitionValues;->mTargetedTransitions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v4, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 1483
|
|
invoke-virtual {p0, v3}, Landroidx/transition/Transition;->capturePropagationValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1485
|
|
invoke-static {v4, v2, v3}, Landroidx/transition/Transition;->addViewValues(Landroidx/transition/TransitionValuesMaps;Landroid/view/View;Landroidx/transition/TransitionValues;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1487
|
|
invoke-static {v4, v2, v3}, Landroidx/transition/Transition;->addViewValues(Landroidx/transition/TransitionValuesMaps;Landroid/view/View;Landroidx/transition/TransitionValues;)V
|
|
|
|
:cond_6
|
|
:goto_3
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
move p1, v1
|
|
|
|
:goto_4
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
.line 1491
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-ge p1, v0, :cond_a
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
.line 1492
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
.line 1493
|
|
new-instance v2, Landroidx/transition/TransitionValues;
|
|
|
|
invoke-direct {v2, v0}, Landroidx/transition/TransitionValues;-><init>(Landroid/view/View;)V
|
|
|
|
if-eqz p2, :cond_8
|
|
|
|
.line 1495
|
|
invoke-virtual {p0, v2}, Landroidx/transition/Transition;->captureStartValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
goto :goto_5
|
|
|
|
.line 1497
|
|
:cond_8
|
|
invoke-virtual {p0, v2}, Landroidx/transition/Transition;->captureEndValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
.line 1499
|
|
:goto_5
|
|
iget-object v3, v2, Landroidx/transition/TransitionValues;->mTargetedTransitions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v3, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 1500
|
|
invoke-virtual {p0, v2}, Landroidx/transition/Transition;->capturePropagationValues(Landroidx/transition/TransitionValues;)V
|
|
|
|
if-eqz p2, :cond_9
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1502
|
|
invoke-static {v3, v0, v2}, Landroidx/transition/Transition;->addViewValues(Landroidx/transition/TransitionValuesMaps;Landroid/view/View;Landroidx/transition/TransitionValues;)V
|
|
|
|
goto :goto_6
|
|
|
|
:cond_9
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1504
|
|
invoke-static {v3, v0, v2}, Landroidx/transition/Transition;->addViewValues(Landroidx/transition/TransitionValuesMaps;Landroid/view/View;Landroidx/transition/TransitionValues;)V
|
|
|
|
:goto_6
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_a
|
|
:goto_7
|
|
if-nez p2, :cond_d
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mNameOverrides:Landroidx/collection/ArrayMap;
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
.line 1511
|
|
invoke-virtual {p1}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result p1
|
|
|
|
.line 1512
|
|
new-instance p2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p2, p1}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
move v0, v1
|
|
|
|
:goto_8
|
|
if-ge v0, p1, :cond_b
|
|
|
|
iget-object v2, p0, Landroidx/transition/Transition;->mNameOverrides:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1514
|
|
invoke-virtual {v2, v0}, Landroidx/collection/ArrayMap;->keyAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1515
|
|
iget-object v3, v3, Landroidx/transition/TransitionValuesMaps;->mNameValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v3, v2}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p2, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_8
|
|
|
|
:cond_b
|
|
:goto_9
|
|
if-ge v1, p1, :cond_d
|
|
|
|
.line 1518
|
|
invoke-virtual {p2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
iget-object v2, p0, Landroidx/transition/Transition;->mNameOverrides:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1520
|
|
invoke-virtual {v2, v1}, Landroidx/collection/ArrayMap;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1521
|
|
iget-object v3, v3, Landroidx/transition/TransitionValuesMaps;->mNameValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v3, v2, v0}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_c
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:cond_d
|
|
return-void
|
|
.end method
|
|
|
|
.method clearValues(Z)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1575
|
|
iget-object p1, p1, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {p1}, Landroidx/collection/ArrayMap;->clear()V
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1576
|
|
iget-object p1, p1, Landroidx/transition/TransitionValuesMaps;->mIdValues:Landroid/util/SparseArray;
|
|
|
|
invoke-virtual {p1}, Landroid/util/SparseArray;->clear()V
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1577
|
|
iget-object p0, p0, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->clear()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1579
|
|
iget-object p1, p1, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {p1}, Landroidx/collection/ArrayMap;->clear()V
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1580
|
|
iget-object p1, p1, Landroidx/transition/TransitionValuesMaps;->mIdValues:Landroid/util/SparseArray;
|
|
|
|
invoke-virtual {p1}, Landroid/util/SparseArray;->clear()V
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1581
|
|
iget-object p0, p0, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->clear()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public clone()Landroidx/transition/Transition;
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2206
|
|
:try_start_0
|
|
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/transition/Transition;
|
|
|
|
.line 2207
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 2208
|
|
new-instance v1, Landroidx/transition/TransitionValuesMaps;
|
|
|
|
invoke-direct {v1}, Landroidx/transition/TransitionValuesMaps;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 2209
|
|
new-instance v1, Landroidx/transition/TransitionValuesMaps;
|
|
|
|
invoke-direct {v1}, Landroidx/transition/TransitionValuesMaps;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 2210
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 2211
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
:try_end_0
|
|
.catch Ljava/lang/CloneNotSupportedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic clone()Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/CloneNotSupportedException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 120
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->clone()Landroidx/transition/Transition;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public createAnimator(Landroid/view/ViewGroup;Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;)Landroid/animation/Animator;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected createAnimators(Landroid/view/ViewGroup;Landroidx/transition/TransitionValuesMaps;Landroidx/transition/TransitionValuesMaps;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
|
|
.locals 20
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/view/ViewGroup;",
|
|
"Landroidx/transition/TransitionValuesMaps;",
|
|
"Landroidx/transition/TransitionValuesMaps;",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;",
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/transition/TransitionValues;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v6, p0
|
|
|
|
move-object/from16 v7, p1
|
|
|
|
.line 707
|
|
invoke-static {}, Landroidx/transition/Transition;->getRunningAnimators()Landroidx/collection/ArrayMap;
|
|
|
|
move-result-object v8
|
|
|
|
.line 709
|
|
new-instance v9, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v9}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
.line 710
|
|
invoke-virtual/range {p4 .. p4}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v10
|
|
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
const/4 v12, 0x0
|
|
|
|
:goto_0
|
|
if-ge v12, v10, :cond_c
|
|
|
|
move-object/from16 v13, p4
|
|
|
|
.line 712
|
|
invoke-virtual {v13, v12}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/transition/TransitionValues;
|
|
|
|
move-object/from16 v14, p5
|
|
|
|
.line 713
|
|
invoke-virtual {v14, v12}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/transition/TransitionValues;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 714
|
|
iget-object v5, v2, Landroidx/transition/TransitionValues;->mTargetedTransitions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v5, v6}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:cond_0
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 717
|
|
iget-object v5, v3, Landroidx/transition/TransitionValues;->mTargetedTransitions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v5, v6}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:cond_1
|
|
if-nez v2, :cond_3
|
|
|
|
if-nez v3, :cond_3
|
|
|
|
:cond_2
|
|
move/from16 v16, v10
|
|
|
|
move/from16 v18, v12
|
|
|
|
goto/16 :goto_5
|
|
|
|
:cond_3
|
|
if-eqz v2, :cond_4
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 724
|
|
invoke-virtual {v6, v2, v3}, Landroidx/transition/Transition;->isTransitionRequired(Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
.line 744
|
|
:cond_4
|
|
invoke-virtual {v6, v7, v2, v3}, Landroidx/transition/Transition;->createAnimator(Landroid/view/ViewGroup;Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;)Landroid/animation/Animator;
|
|
|
|
move-result-object v5
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
.line 750
|
|
iget-object v15, v3, Landroidx/transition/TransitionValues;->view:Landroid/view/View;
|
|
|
|
.line 751
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/transition/Transition;->getTransitionProperties()[Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
.line 752
|
|
array-length v11, v4
|
|
|
|
if-lez v11, :cond_8
|
|
|
|
.line 753
|
|
new-instance v11, Landroidx/transition/TransitionValues;
|
|
|
|
invoke-direct {v11, v15}, Landroidx/transition/TransitionValues;-><init>(Landroid/view/View;)V
|
|
|
|
move-object/from16 v17, v5
|
|
|
|
move/from16 v16, v10
|
|
|
|
move-object/from16 v10, p3
|
|
|
|
.line 754
|
|
iget-object v5, v10, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v5, v15}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/transition/TransitionValues;
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
const/4 v10, 0x0
|
|
|
|
.line 756
|
|
:goto_1
|
|
array-length v13, v4
|
|
|
|
if-ge v10, v13, :cond_5
|
|
|
|
.line 757
|
|
iget-object v13, v11, Landroidx/transition/TransitionValues;->values:Ljava/util/Map;
|
|
|
|
aget-object v14, v4, v10
|
|
|
|
move/from16 v18, v12
|
|
|
|
iget-object v12, v5, Landroidx/transition/TransitionValues;->values:Ljava/util/Map;
|
|
|
|
move-object/from16 v19, v5
|
|
|
|
aget-object v5, v4, v10
|
|
|
|
.line 758
|
|
invoke-interface {v12, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
.line 757
|
|
invoke-interface {v13, v14, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
move-object/from16 v14, p5
|
|
|
|
move/from16 v12, v18
|
|
|
|
move-object/from16 v5, v19
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
move/from16 v18, v12
|
|
|
|
.line 761
|
|
invoke-virtual {v8}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_2
|
|
if-ge v5, v4, :cond_7
|
|
|
|
.line 763
|
|
invoke-virtual {v8, v5}, Landroidx/collection/ArrayMap;->keyAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v10
|
|
|
|
check-cast v10, Landroid/animation/Animator;
|
|
|
|
.line 764
|
|
invoke-virtual {v8, v10}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v10
|
|
|
|
check-cast v10, Landroidx/transition/Transition$AnimationInfo;
|
|
|
|
.line 765
|
|
iget-object v12, v10, Landroidx/transition/Transition$AnimationInfo;->mValues:Landroidx/transition/TransitionValues;
|
|
|
|
if-eqz v12, :cond_6
|
|
|
|
iget-object v12, v10, Landroidx/transition/Transition$AnimationInfo;->mView:Landroid/view/View;
|
|
|
|
if-ne v12, v15, :cond_6
|
|
|
|
iget-object v12, v10, Landroidx/transition/Transition$AnimationInfo;->mName:Ljava/lang/String;
|
|
|
|
.line 766
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/transition/Transition;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v13
|
|
|
|
invoke-virtual {v12, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v12
|
|
|
|
if-eqz v12, :cond_6
|
|
|
|
.line 767
|
|
iget-object v10, v10, Landroidx/transition/Transition$AnimationInfo;->mValues:Landroidx/transition/TransitionValues;
|
|
|
|
invoke-virtual {v10, v11}, Landroidx/transition/TransitionValues;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v10
|
|
|
|
if-eqz v10, :cond_6
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
move-object/from16 v4, v17
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
move-object/from16 v17, v5
|
|
|
|
move/from16 v16, v10
|
|
|
|
move/from16 v18, v12
|
|
|
|
move-object/from16 v4, v17
|
|
|
|
const/4 v11, 0x0
|
|
|
|
:goto_3
|
|
move-object v10, v4
|
|
|
|
move-object v5, v11
|
|
|
|
goto :goto_4
|
|
|
|
:cond_9
|
|
move-object/from16 v17, v5
|
|
|
|
move/from16 v16, v10
|
|
|
|
move/from16 v18, v12
|
|
|
|
.line 776
|
|
iget-object v4, v2, Landroidx/transition/TransitionValues;->view:Landroid/view/View;
|
|
|
|
move-object v15, v4
|
|
|
|
move-object/from16 v10, v17
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_4
|
|
if-eqz v10, :cond_b
|
|
|
|
iget-object v4, v6, Landroidx/transition/Transition;->mPropagation:Landroidx/transition/TransitionPropagation;
|
|
|
|
if-eqz v4, :cond_a
|
|
|
|
.line 780
|
|
invoke-virtual {v4, v7, v6, v2, v3}, Landroidx/transition/TransitionPropagation;->getStartDelay(Landroid/view/ViewGroup;Landroidx/transition/Transition;Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;)J
|
|
|
|
move-result-wide v2
|
|
|
|
iget-object v4, v6, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 781
|
|
invoke-virtual {v4}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v4
|
|
|
|
long-to-int v11, v2
|
|
|
|
invoke-virtual {v9, v4, v11}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
.line 782
|
|
invoke-static {v2, v3, v0, v1}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
:cond_a
|
|
move-wide v11, v0
|
|
|
|
.line 784
|
|
new-instance v13, Landroidx/transition/Transition$AnimationInfo;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/transition/Transition;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 785
|
|
invoke-static/range {p1 .. p1}, Landroidx/transition/ViewUtils;->getWindowId(Landroid/view/View;)Landroidx/transition/WindowIdImpl;
|
|
|
|
move-result-object v4
|
|
|
|
move-object v0, v13
|
|
|
|
move-object v1, v15
|
|
|
|
move-object/from16 v3, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/transition/Transition$AnimationInfo;-><init>(Landroid/view/View;Ljava/lang/String;Landroidx/transition/Transition;Landroidx/transition/WindowIdImpl;Landroidx/transition/TransitionValues;)V
|
|
|
|
.line 786
|
|
invoke-virtual {v8, v10, v13}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, v6, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 787
|
|
invoke-virtual {v0, v10}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
move-wide v0, v11
|
|
|
|
:cond_b
|
|
:goto_5
|
|
add-int/lit8 v12, v18, 0x1
|
|
|
|
move/from16 v10, v16
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 792
|
|
:cond_c
|
|
invoke-virtual {v9}, Landroid/util/SparseIntArray;->size()I
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_d
|
|
|
|
const/4 v11, 0x0
|
|
|
|
.line 793
|
|
:goto_6
|
|
invoke-virtual {v9}, Landroid/util/SparseIntArray;->size()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v11, v2, :cond_d
|
|
|
|
.line 794
|
|
invoke-virtual {v9, v11}, Landroid/util/SparseIntArray;->keyAt(I)I
|
|
|
|
move-result v2
|
|
|
|
iget-object v3, v6, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 795
|
|
invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/animation/Animator;
|
|
|
|
.line 796
|
|
invoke-virtual {v9, v11}, Landroid/util/SparseIntArray;->valueAt(I)I
|
|
|
|
move-result v3
|
|
|
|
int-to-long v3, v3
|
|
|
|
sub-long/2addr v3, v0
|
|
|
|
invoke-virtual {v2}, Landroid/animation/Animator;->getStartDelay()J
|
|
|
|
move-result-wide v7
|
|
|
|
add-long/2addr v3, v7
|
|
|
|
.line 797
|
|
invoke-virtual {v2, v3, v4}, Landroid/animation/Animator;->setStartDelay(J)V
|
|
|
|
add-int/lit8 v11, v11, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_d
|
|
return-void
|
|
.end method
|
|
|
|
.method protected end()V
|
|
.locals 6
|
|
|
|
iget v0, p0, Landroidx/transition/Transition;->mNumInstances:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
iput v0, p0, Landroidx/transition/Transition;->mNumInstances:I
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1947
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 1949
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/ArrayList;
|
|
|
|
.line 1950
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v3
|
|
|
|
move v4, v2
|
|
|
|
:goto_0
|
|
if-ge v4, v3, :cond_0
|
|
|
|
.line 1952
|
|
invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/transition/Transition$TransitionListener;
|
|
|
|
invoke-interface {v5, p0}, Landroidx/transition/Transition$TransitionListener;->onTransitionEnd(Landroidx/transition/Transition;)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v0, v2
|
|
|
|
:goto_1
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1955
|
|
iget-object v3, v3, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {v3}, Landroidx/collection/LongSparseArray;->size()I
|
|
|
|
move-result v3
|
|
|
|
if-ge v0, v3, :cond_2
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1956
|
|
iget-object v3, v3, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {v3, v0}, Landroidx/collection/LongSparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 1958
|
|
invoke-static {v3, v2}, Landroidx/core/view/ViewCompat;->setHasTransientState(Landroid/view/View;Z)V
|
|
|
|
:cond_1
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move v0, v2
|
|
|
|
:goto_2
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1961
|
|
iget-object v3, v3, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {v3}, Landroidx/collection/LongSparseArray;->size()I
|
|
|
|
move-result v3
|
|
|
|
if-ge v0, v3, :cond_4
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1962
|
|
iget-object v3, v3, Landroidx/transition/TransitionValuesMaps;->mItemIdValues:Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-virtual {v3, v0}, Landroidx/collection/LongSparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 1964
|
|
invoke-static {v3, v2}, Landroidx/core/view/ViewCompat;->setHasTransientState(Landroid/view/View;Z)V
|
|
|
|
:cond_3
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mEnded:Z
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public excludeChildren(IZ)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetIdChildExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1298
|
|
invoke-direct {p0, v0, p1, p2}, Landroidx/transition/Transition;->excludeId(Ljava/util/ArrayList;IZ)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mTargetIdChildExcludes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public excludeChildren(Landroid/view/View;Z)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetChildExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1268
|
|
invoke-direct {p0, v0, p1, p2}, Landroidx/transition/Transition;->excludeView(Ljava/util/ArrayList;Landroid/view/View;Z)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mTargetChildExcludes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public excludeChildren(Ljava/lang/Class;Z)Landroidx/transition/Transition;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;Z)",
|
|
"Landroidx/transition/Transition;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypeChildExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1381
|
|
invoke-direct {p0, v0, p1, p2}, Landroidx/transition/Transition;->excludeType(Ljava/util/ArrayList;Ljava/lang/Class;Z)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mTargetTypeChildExcludes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public excludeTarget(IZ)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetIdExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1216
|
|
invoke-direct {p0, v0, p1, p2}, Landroidx/transition/Transition;->excludeId(Ljava/util/ArrayList;IZ)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mTargetIdExcludes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public excludeTarget(Landroid/view/View;Z)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1190
|
|
invoke-direct {p0, v0, p1, p2}, Landroidx/transition/Transition;->excludeView(Ljava/util/ArrayList;Landroid/view/View;Z)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mTargetExcludes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public excludeTarget(Ljava/lang/Class;Z)Landroidx/transition/Transition;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;Z)",
|
|
"Landroidx/transition/Transition;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1354
|
|
invoke-direct {p0, v0, p1, p2}, Landroidx/transition/Transition;->excludeType(Ljava/util/ArrayList;Ljava/lang/Class;Z)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public excludeTarget(Ljava/lang/String;Z)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetNameExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 1242
|
|
invoke-static {v0, p1, p2}, Landroidx/transition/Transition;->excludeObject(Ljava/util/ArrayList;Ljava/lang/Object;Z)Ljava/util/ArrayList;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mTargetNameExcludes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method forceToEnd(Landroid/view/ViewGroup;)V
|
|
.locals 3
|
|
|
|
.line 1978
|
|
invoke-static {}, Landroidx/transition/Transition;->getRunningAnimators()Landroidx/collection/ArrayMap;
|
|
|
|
move-result-object p0
|
|
|
|
.line 1979
|
|
invoke-virtual {p0}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 1984
|
|
:cond_0
|
|
invoke-static {p1}, Landroidx/transition/ViewUtils;->getWindowId(Landroid/view/View;)Landroidx/transition/WindowIdImpl;
|
|
|
|
move-result-object p1
|
|
|
|
.line 1985
|
|
new-instance v1, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v1, p0}, Landroidx/collection/ArrayMap;-><init>(Landroidx/collection/SimpleArrayMap;)V
|
|
|
|
.line 1986
|
|
invoke-virtual {p0}, Landroidx/collection/ArrayMap;->clear()V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 1989
|
|
invoke-virtual {v1, v0}, Landroidx/collection/ArrayMap;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/transition/Transition$AnimationInfo;
|
|
|
|
.line 1990
|
|
iget-object v2, p0, Landroidx/transition/Transition$AnimationInfo;->mView:Landroid/view/View;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition$AnimationInfo;->mWindowId:Landroidx/transition/WindowIdImpl;
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 1991
|
|
invoke-virtual {v1, v0}, Landroidx/collection/ArrayMap;->keyAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroid/animation/Animator;
|
|
|
|
.line 1992
|
|
invoke-virtual {p0}, Landroid/animation/Animator;->end()V
|
|
|
|
:cond_1
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public getDuration()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Landroidx/transition/Transition;->mDuration:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getEpicenter()Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mEpicenterCallback:Landroidx/transition/Transition$EpicenterCallback;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 2136
|
|
:cond_0
|
|
invoke-virtual {v0, p0}, Landroidx/transition/Transition$EpicenterCallback;->onGetEpicenter(Landroidx/transition/Transition;)Landroid/graphics/Rect;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getEpicenterCallback()Landroidx/transition/Transition$EpicenterCallback;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mEpicenterCallback:Landroidx/transition/Transition$EpicenterCallback;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getInterpolator()Landroid/animation/TimeInterpolator;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mInterpolator:Landroid/animation/TimeInterpolator;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method getMatchedTransitionValues(Landroid/view/View;Z)Landroidx/transition/TransitionValues;
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mParent:Landroidx/transition/TransitionSet;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1680
|
|
invoke-virtual {v0, p1, p2}, Landroidx/transition/TransitionSet;->getMatchedTransitionValues(Landroid/view/View;Z)Landroidx/transition/TransitionValues;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
if-eqz p2, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
return-object v1
|
|
|
|
.line 1686
|
|
:cond_2
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_1
|
|
if-ge v3, v2, :cond_5
|
|
|
|
.line 1689
|
|
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/transition/TransitionValues;
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
return-object v1
|
|
|
|
.line 1694
|
|
:cond_3
|
|
iget-object v4, v4, Landroidx/transition/TransitionValues;->view:Landroid/view/View;
|
|
|
|
if-ne v4, p1, :cond_4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
const/4 v3, -0x1
|
|
|
|
:goto_2
|
|
if-ltz v3, :cond_7
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 1702
|
|
:goto_3
|
|
invoke-virtual {p0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
move-object v1, p0
|
|
|
|
check-cast v1, Landroidx/transition/TransitionValues;
|
|
|
|
:cond_7
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public getName()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mName:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getPathMotion()Landroidx/transition/PathMotion;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mPathMotion:Landroidx/transition/PathMotion;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getPropagation()Landroidx/transition/TransitionPropagation;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mPropagation:Landroidx/transition/TransitionPropagation;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getStartDelay()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Landroidx/transition/Transition;->mStartDelay:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getTargetIds()Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getTargetNames()Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getTargetTypes()Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Class<",
|
|
"*>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getTargets()Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Landroid/view/View;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getTransitionProperties()[Ljava/lang/String;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getTransitionValues(Landroid/view/View;Z)Landroidx/transition/TransitionValues;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mParent:Landroidx/transition/TransitionSet;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1661
|
|
invoke-virtual {v0, p1, p2}, Landroidx/transition/TransitionSet;->getTransitionValues(Landroid/view/View;Z)Landroidx/transition/TransitionValues;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
if-eqz p2, :cond_1
|
|
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object p0, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1664
|
|
:goto_0
|
|
iget-object p0, p0, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/transition/TransitionValues;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public isTransitionRequired(Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;)Z
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 1831
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->getTransitionProperties()[Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 1833
|
|
array-length v2, p0
|
|
|
|
move v3, v0
|
|
|
|
:goto_0
|
|
if-ge v3, v2, :cond_3
|
|
|
|
aget-object v4, p0, v3
|
|
|
|
.line 1834
|
|
invoke-static {p1, p2, v4}, Landroidx/transition/Transition;->isValueChanged(Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1840
|
|
:cond_1
|
|
iget-object p0, p1, Landroidx/transition/TransitionValues;->values:Ljava/util/Map;
|
|
|
|
invoke-interface {p0}, Ljava/util/Map;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_2
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
.line 1841
|
|
invoke-static {p1, p2, v2}, Landroidx/transition/Transition;->isValueChanged(Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
:goto_1
|
|
move v0, v1
|
|
|
|
:cond_3
|
|
return v0
|
|
.end method
|
|
|
|
.method isValidTarget(Landroid/view/View;)Z
|
|
.locals 5
|
|
|
|
.line 813
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetIdExcludes:Ljava/util/ArrayList;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 814
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 817
|
|
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
return v2
|
|
|
|
:cond_1
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 821
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_3
|
|
|
|
iget-object v4, p0, Landroidx/transition/Transition;->mTargetTypeExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 823
|
|
invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Ljava/lang/Class;
|
|
|
|
.line 824
|
|
invoke-virtual {v4, p1}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
return v2
|
|
|
|
:cond_2
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetNameExcludes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 829
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetNameExcludes:Ljava/util/ArrayList;
|
|
|
|
.line 830
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
return v2
|
|
|
|
:cond_4
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 834
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-nez v1, :cond_7
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_7
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 835
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
:cond_5
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
.line 836
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
:cond_6
|
|
return v3
|
|
|
|
:cond_7
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 839
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_c
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
goto :goto_2
|
|
|
|
:cond_8
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
.line 842
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
return v3
|
|
|
|
:cond_9
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
move v0, v2
|
|
|
|
:goto_1
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
.line 846
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v0, v1, :cond_b
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
.line 847
|
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Class;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_a
|
|
|
|
return v3
|
|
|
|
:cond_a
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_b
|
|
return v2
|
|
|
|
:cond_c
|
|
:goto_2
|
|
return v3
|
|
.end method
|
|
|
|
.method public pause(Landroid/view/View;)V
|
|
.locals 4
|
|
|
|
iget-boolean p1, p0, Landroidx/transition/Transition;->mEnded:Z
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 1717
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
sub-int/2addr p1, v0
|
|
|
|
:goto_0
|
|
if-ltz p1, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 1719
|
|
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/animation/Animator;
|
|
|
|
.line 1720
|
|
invoke-static {v1}, Landroidx/transition/AnimatorUtils;->pause(Landroid/animation/Animator;)V
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 1722
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
if-lez p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 1724
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/util/ArrayList;
|
|
|
|
.line 1725
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
if-ge v2, v1, :cond_1
|
|
|
|
.line 1727
|
|
invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/transition/Transition$TransitionListener;
|
|
|
|
invoke-interface {v3, p0}, Landroidx/transition/Transition$TransitionListener;->onTransitionPause(Landroidx/transition/Transition;)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iput-boolean v0, p0, Landroidx/transition/Transition;->mPaused:Z
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method playTransition(Landroid/view/ViewGroup;)V
|
|
.locals 10
|
|
|
|
.line 1769
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
.line 1770
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1771
|
|
invoke-direct {p0, v0, v1}, Landroidx/transition/Transition;->matchStartAndEnd(Landroidx/transition/TransitionValuesMaps;Landroidx/transition/TransitionValuesMaps;)V
|
|
|
|
.line 1773
|
|
invoke-static {}, Landroidx/transition/Transition;->getRunningAnimators()Landroidx/collection/ArrayMap;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1774
|
|
invoke-virtual {v0}, Landroidx/collection/ArrayMap;->size()I
|
|
|
|
move-result v1
|
|
|
|
.line 1775
|
|
invoke-static {p1}, Landroidx/transition/ViewUtils;->getWindowId(Landroid/view/View;)Landroidx/transition/WindowIdImpl;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
sub-int/2addr v1, v3
|
|
|
|
:goto_0
|
|
if-ltz v1, :cond_5
|
|
|
|
.line 1777
|
|
invoke-virtual {v0, v1}, Landroidx/collection/ArrayMap;->keyAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/animation/Animator;
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
.line 1779
|
|
invoke-virtual {v0, v4}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/transition/Transition$AnimationInfo;
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
.line 1780
|
|
iget-object v6, v5, Landroidx/transition/Transition$AnimationInfo;->mView:Landroid/view/View;
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
iget-object v6, v5, Landroidx/transition/Transition$AnimationInfo;->mWindowId:Landroidx/transition/WindowIdImpl;
|
|
|
|
.line 1781
|
|
invoke-virtual {v2, v6}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
.line 1782
|
|
iget-object v6, v5, Landroidx/transition/Transition$AnimationInfo;->mValues:Landroidx/transition/TransitionValues;
|
|
|
|
.line 1783
|
|
iget-object v7, v5, Landroidx/transition/Transition$AnimationInfo;->mView:Landroid/view/View;
|
|
|
|
.line 1784
|
|
invoke-virtual {p0, v7, v3}, Landroidx/transition/Transition;->getTransitionValues(Landroid/view/View;Z)Landroidx/transition/TransitionValues;
|
|
|
|
move-result-object v8
|
|
|
|
.line 1785
|
|
invoke-virtual {p0, v7, v3}, Landroidx/transition/Transition;->getMatchedTransitionValues(Landroid/view/View;Z)Landroidx/transition/TransitionValues;
|
|
|
|
move-result-object v9
|
|
|
|
if-nez v8, :cond_0
|
|
|
|
if-nez v9, :cond_0
|
|
|
|
iget-object v9, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
.line 1787
|
|
iget-object v9, v9, Landroidx/transition/TransitionValuesMaps;->mViewValues:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v9, v7}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
move-object v9, v7
|
|
|
|
check-cast v9, Landroidx/transition/TransitionValues;
|
|
|
|
:cond_0
|
|
if-nez v8, :cond_1
|
|
|
|
if-eqz v9, :cond_4
|
|
|
|
.line 1789
|
|
:cond_1
|
|
iget-object v5, v5, Landroidx/transition/Transition$AnimationInfo;->mTransition:Landroidx/transition/Transition;
|
|
|
|
.line 1790
|
|
invoke-virtual {v5, v6, v9}, Landroidx/transition/Transition;->isTransitionRequired(Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
.line 1792
|
|
invoke-virtual {v4}, Landroid/animation/Animator;->isRunning()Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_3
|
|
|
|
invoke-virtual {v4}, Landroid/animation/Animator;->isStarted()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
.line 1801
|
|
:cond_2
|
|
invoke-virtual {v0, v4}, Landroidx/collection/ArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_2
|
|
|
|
.line 1796
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {v4}, Landroid/animation/Animator;->cancel()V
|
|
|
|
:cond_4
|
|
:goto_2
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
iget-object v6, p0, Landroidx/transition/Transition;->mStartValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
iget-object v7, p0, Landroidx/transition/Transition;->mEndValues:Landroidx/transition/TransitionValuesMaps;
|
|
|
|
iget-object v8, p0, Landroidx/transition/Transition;->mStartValuesList:Ljava/util/ArrayList;
|
|
|
|
iget-object v9, p0, Landroidx/transition/Transition;->mEndValuesList:Ljava/util/ArrayList;
|
|
|
|
move-object v4, p0
|
|
|
|
move-object v5, p1
|
|
|
|
.line 1808
|
|
invoke-virtual/range {v4 .. v9}, Landroidx/transition/Transition;->createAnimators(Landroid/view/ViewGroup;Landroidx/transition/TransitionValuesMaps;Landroidx/transition/TransitionValuesMaps;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
|
|
|
|
.line 1809
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->runAnimators()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public removeListener(Landroidx/transition/Transition$TransitionListener;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 2048
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 2049
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
:cond_1
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public removeTarget(I)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 1112
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public removeTarget(Landroid/view/View;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
.line 1095
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public removeTarget(Ljava/lang/Class;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;)",
|
|
"Landroidx/transition/Transition;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetTypes:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1148
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public removeTarget(Ljava/lang/String;)Landroidx/transition/Transition;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetNames:Ljava/util/ArrayList;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1130
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public resume(Landroid/view/View;)V
|
|
.locals 4
|
|
|
|
iget-boolean p1, p0, Landroidx/transition/Transition;->mPaused:Z
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-boolean p1, p0, Landroidx/transition/Transition;->mEnded:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 1745
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
:goto_0
|
|
if-ltz p1, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mCurrentAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 1747
|
|
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/animation/Animator;
|
|
|
|
.line 1748
|
|
invoke-static {v1}, Landroidx/transition/AnimatorUtils;->resume(Landroid/animation/Animator;)V
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 1750
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
if-lez p1, :cond_1
|
|
|
|
iget-object p1, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 1752
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/util/ArrayList;
|
|
|
|
.line 1753
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v1
|
|
|
|
move v2, v0
|
|
|
|
:goto_1
|
|
if-ge v2, v1, :cond_1
|
|
|
|
.line 1755
|
|
invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroidx/transition/Transition$TransitionListener;
|
|
|
|
invoke-interface {v3, p0}, Landroidx/transition/Transition$TransitionListener;->onTransitionResume(Landroidx/transition/Transition;)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iput-boolean v0, p0, Landroidx/transition/Transition;->mPaused:Z
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method protected runAnimators()V
|
|
.locals 4
|
|
|
|
.line 875
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->start()V
|
|
|
|
.line 876
|
|
invoke-static {}, Landroidx/transition/Transition;->getRunningAnimators()Landroidx/collection/ArrayMap;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 878
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/animation/Animator;
|
|
|
|
.line 882
|
|
invoke-virtual {v0, v2}, Landroidx/collection/ArrayMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 883
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->start()V
|
|
|
|
.line 884
|
|
invoke-direct {p0, v2, v0}, Landroidx/transition/Transition;->runAnimator(Landroid/animation/Animator;Landroidx/collection/ArrayMap;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mAnimators:Ljava/util/ArrayList;
|
|
|
|
.line 887
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
.line 888
|
|
invoke-virtual {p0}, Landroidx/transition/Transition;->end()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method setCanRemoveViews(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Landroidx/transition/Transition;->mCanRemoveViews:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDuration(J)Landroidx/transition/Transition;
|
|
.locals 0
|
|
|
|
iput-wide p1, p0, Landroidx/transition/Transition;->mDuration:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setEpicenterCallback(Landroidx/transition/Transition$EpicenterCallback;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mEpicenterCallback:Landroidx/transition/Transition$EpicenterCallback;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInterpolator(Landroid/animation/TimeInterpolator;)Landroidx/transition/Transition;
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mInterpolator:Landroid/animation/TimeInterpolator;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public varargs setMatchOrder([I)V
|
|
.locals 2
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 507
|
|
array-length v0, p1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 510
|
|
:goto_0
|
|
array-length v1, p1
|
|
|
|
if-ge v0, v1, :cond_3
|
|
|
|
.line 511
|
|
aget v1, p1, v0
|
|
|
|
.line 512
|
|
invoke-static {v1}, Landroidx/transition/Transition;->isValidMatch(I)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 515
|
|
invoke-static {p1, v0}, Landroidx/transition/Transition;->alreadyContains([II)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 516
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "matches contains a duplicate value"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 513
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "matches contains invalid value"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 519
|
|
:cond_3
|
|
invoke-virtual {p1}, [I->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [I
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mMatchOrder:[I
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
:goto_1
|
|
sget-object p1, Landroidx/transition/Transition;->DEFAULT_MATCH_ORDER:[I
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mMatchOrder:[I
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPathMotion(Landroidx/transition/PathMotion;)V
|
|
.locals 0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
sget-object p1, Landroidx/transition/Transition;->STRAIGHT_PATH_MOTION:Landroidx/transition/PathMotion;
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mPathMotion:Landroidx/transition/PathMotion;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mPathMotion:Landroidx/transition/PathMotion;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPropagation(Landroidx/transition/TransitionPropagation;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/transition/Transition;->mPropagation:Landroidx/transition/TransitionPropagation;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setStartDelay(J)Landroidx/transition/Transition;
|
|
.locals 0
|
|
|
|
iput-wide p1, p0, Landroidx/transition/Transition;->mStartDelay:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected start()V
|
|
.locals 5
|
|
|
|
iget v0, p0, Landroidx/transition/Transition;->mNumInstances:I
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1919
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mListeners:Ljava/util/ArrayList;
|
|
|
|
.line 1921
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/ArrayList;
|
|
|
|
.line 1922
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v2
|
|
|
|
move v3, v1
|
|
|
|
:goto_0
|
|
if-ge v3, v2, :cond_0
|
|
|
|
.line 1924
|
|
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/transition/Transition$TransitionListener;
|
|
|
|
invoke-interface {v4, p0}, Landroidx/transition/Transition$TransitionListener;->onTransitionStart(Landroidx/transition/Transition;)V
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iput-boolean v1, p0, Landroidx/transition/Transition;->mEnded:Z
|
|
|
|
:cond_1
|
|
iget v0, p0, Landroidx/transition/Transition;->mNumInstances:I
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iput v0, p0, Landroidx/transition/Transition;->mNumInstances:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, ""
|
|
|
|
.line 2200
|
|
invoke-virtual {p0, v0}, Landroidx/transition/Transition;->toString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method toString(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 6
|
|
|
|
.line 2236
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "@"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2237
|
|
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, ": "
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iget-wide v0, p0, Landroidx/transition/Transition;->mDuration:J
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
const-string v1, ") "
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2239
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "dur("
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-wide v4, p0, Landroidx/transition/Transition;->mDuration:J
|
|
|
|
invoke-virtual {p1, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_0
|
|
iget-wide v4, p0, Landroidx/transition/Transition;->mStartDelay:J
|
|
|
|
cmp-long v0, v4, v2
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2242
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "dly("
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-wide v2, p0, Landroidx/transition/Transition;->mStartDelay:J
|
|
|
|
invoke-virtual {p1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mInterpolator:Landroid/animation/TimeInterpolator;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2245
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "interp("
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mInterpolator:Landroid/animation/TimeInterpolator;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 2247
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-gtz v0, :cond_3
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_8
|
|
|
|
.line 2248
|
|
:cond_3
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "tgts("
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 2249
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const-string v1, ", "
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-lez v0, :cond_5
|
|
|
|
move v0, v2
|
|
|
|
:goto_0
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
.line 2250
|
|
invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v3
|
|
|
|
if-ge v0, v3, :cond_5
|
|
|
|
if-lez v0, :cond_4
|
|
|
|
.line 2252
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2254
|
|
:cond_4
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v3, p0, Landroidx/transition/Transition;->mTargetIds:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
.line 2257
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_7
|
|
|
|
:goto_1
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
.line 2258
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-ge v2, v0, :cond_7
|
|
|
|
if-lez v2, :cond_6
|
|
|
|
.line 2260
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2262
|
|
:cond_6
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Landroidx/transition/Transition;->mTargets:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 2265
|
|
:cond_7
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, ")"
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_8
|
|
return-object p1
|
|
.end method
|