.class Lcom/google/android/material/snackbar/BaseTransientBottomBar$16; .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;->startSlideInAnimation()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; .field public final synthetic val$translationYBottom:I # direct methods .method public constructor (Lcom/google/android/material/snackbar/BaseTransientBottomBar;I)V .locals 0 .line 1 iput-object p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$16;->this$0:Lcom/google/android/material/snackbar/BaseTransientBottomBar; iput p2, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$16;->val$translationYBottom:I invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput p2, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$16;->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$16;->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$16;->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$16;->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$16;->previousAnimatedIntValue:I return-void .end method