100 lines
2.1 KiB
Smali
100 lines
2.1 KiB
Smali
.class public Lcom/google/android/material/animation/AnimatorSetCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "AnimatorSetCompat.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static playTogether(Landroid/animation/AnimatorSet;Ljava/util/List;)V
|
|
.locals 10
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/animation/AnimatorSet;",
|
|
"Ljava/util/List<",
|
|
"Landroid/animation/Animator;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
move-wide v3, v2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_0
|
|
|
|
invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroid/animation/Animator;
|
|
|
|
invoke-virtual {v5}, Landroid/animation/Animator;->getStartDelay()J
|
|
|
|
move-result-wide v6
|
|
|
|
invoke-virtual {v5}, Landroid/animation/Animator;->getDuration()J
|
|
|
|
move-result-wide v8
|
|
|
|
add-long/2addr v6, v8
|
|
|
|
invoke-static {v3, v4, v6, v7}, Ljava/lang/Math;->max(JJ)J
|
|
|
|
move-result-wide v3
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [I
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
invoke-static {v0}, Landroid/animation/ValueAnimator;->ofInt([I)Landroid/animation/ValueAnimator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v3, v4}, Landroid/animation/Animator;->setDuration(J)Landroid/animation/Animator;
|
|
|
|
invoke-interface {p1, v1, v0}, Ljava/util/List;->add(ILjava/lang/Object;)V
|
|
|
|
invoke-virtual {p0, p1}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:array_0
|
|
.array-data 4
|
|
0x0
|
|
0x0
|
|
.end array-data
|
|
.end method
|