97 lines
3.1 KiB
Smali
97 lines
3.1 KiB
Smali
|
|
.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 = 0x0
|
||
|
|
name = null
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
|
||
|
|
# instance fields
|
||
|
|
.field private previousAnimatedIntValue:I
|
||
|
|
|
||
|
|
.field final synthetic this$0:Lcom/google/android/material/snackbar/BaseTransientBottomBar;
|
||
|
|
|
||
|
|
.field final synthetic val$translationYBottom:I
|
||
|
|
|
||
|
|
|
||
|
|
# direct methods
|
||
|
|
.method constructor <init>(Lcom/google/android/material/snackbar/BaseTransientBottomBar;I)V
|
||
|
|
.locals 0
|
||
|
|
|
||
|
|
.line 999
|
||
|
|
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;-><init>()V
|
||
|
|
|
||
|
|
.line 1000
|
||
|
|
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
|
||
|
|
|
||
|
|
.line 1004
|
||
|
|
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 1005
|
||
|
|
invoke-static {}, Lcom/google/android/material/snackbar/BaseTransientBottomBar;->access$1700()Z
|
||
|
|
|
||
|
|
move-result v0
|
||
|
|
|
||
|
|
if-eqz v0, :cond_0
|
||
|
|
|
||
|
|
.line 1008
|
||
|
|
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;->offsetTopAndBottom(Landroid/view/View;I)V
|
||
|
|
|
||
|
|
goto :goto_0
|
||
|
|
|
||
|
|
.line 1011
|
||
|
|
: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}, Lcom/google/android/material/snackbar/BaseTransientBottomBar$SnackbarBaseLayout;->setTranslationY(F)V
|
||
|
|
|
||
|
|
.line 1013
|
||
|
|
:goto_0
|
||
|
|
iput p1, p0, Lcom/google/android/material/snackbar/BaseTransientBottomBar$16;->previousAnimatedIntValue:I
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|