113 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			113 lines
		
	
	
		
			2.5 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
 | |
| 
 | |
|     .line 1
 | |
|     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
 | |
|     .param p0    # Landroid/animation/AnimatorSet;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p1    # Ljava/util/List;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Landroid/animation/AnimatorSet;",
 | |
|             "Ljava/util/List<",
 | |
|             "Landroid/animation/Animator;",
 | |
|             ">;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-interface {p1}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const-wide/16 v2, 0x0
 | |
| 
 | |
|     move v4, v1
 | |
| 
 | |
|     :goto_0
 | |
|     if-ge v4, v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v5
 | |
| 
 | |
|     check-cast v5, Landroid/animation/Animator;
 | |
| 
 | |
|     .line 3
 | |
|     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 v8, v6
 | |
| 
 | |
|     invoke-static {v2, v3, v8, v9}, Ljava/lang/Math;->max(JJ)J
 | |
| 
 | |
|     move-result-wide v2
 | |
| 
 | |
|     add-int/lit8 v4, v4, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     new-array v0, v0, [I
 | |
| 
 | |
|     .line 4
 | |
|     fill-array-data v0, :array_0
 | |
| 
 | |
|     invoke-static {v0}, Landroid/animation/ValueAnimator;->ofInt([I)Landroid/animation/ValueAnimator;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v0, v2, v3}, Landroid/animation/Animator;->setDuration(J)Landroid/animation/Animator;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-interface {p1, v1, v0}, Ljava/util/List;->add(ILjava/lang/Object;)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0, p1}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :array_0
 | |
|     .array-data 4
 | |
|         0x0
 | |
|         0x0
 | |
|     .end array-data
 | |
| .end method
 |