99 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class Lcom/google/android/material/snackbar/BaseTransientBottomBar$18;
 | |
| .super Ljava/lang/Object;
 | |
| .source "BaseTransientBottomBar.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingMethod;
 | |
|     value = Lcom/google/android/material/snackbar/BaseTransientBottomBar;->startSlideOutAnimation(I)V
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x1
 | |
|     name = null
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private previousAnimatedIntValue:I
 | |
| 
 | |
| .field public final synthetic this$0:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lcom/google/android/material/snackbar/BaseTransientBottomBar;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$18;->this$0:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
 | |
| 
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$18;->previousAnimatedIntValue:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public onAnimationUpdate(Landroid/animation/ValueAnimator;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/animation/ValueAnimator;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Ljava/lang/Integer;
 | |
| 
 | |
|     invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {}, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->access$1700()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$18;->this$0:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
 | |
| 
 | |
|     iget-object v0, v0, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->view:Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;
 | |
| 
 | |
|     iget v1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$18;->previousAnimatedIntValue:I
 | |
| 
 | |
|     sub-int v1, p1, v1
 | |
| 
 | |
|     invoke-static {v0, v1}, Landroidx/core/view/ViewCompat;->f1(Landroid/view/View;I)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$18;->this$0:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
 | |
| 
 | |
|     iget-object v0, v0, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->view:Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;
 | |
| 
 | |
|     int-to-float v1, p1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setTranslationY(F)V
 | |
| 
 | |
|     .line 5
 | |
|     :goto_0
 | |
|     iput p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$18;->previousAnimatedIntValue:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 |