apkfuckery/com.discord/smali_classes2/com/google/android/material/bottomappbar/BottomAppBar$2.smali

68 lines
2.3 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class final Lcom/google/android/material/bottomappbar/BottomAppBar$2;
.super Ljava/lang/Object;
.source "BottomAppBar.java"
# interfaces
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/google/android/material/bottomappbar/BottomAppBar;->createCradleTranslationAnimation(ILjava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
2019-12-06 01:29:57 +00:00
.field final synthetic aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
2019-07-24 11:27:29 +00:00
# direct methods
.method constructor <init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
.locals 0
2019-12-06 01:29:57 +00:00
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar$2;->aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onAnimationUpdate(Landroid/animation/ValueAnimator;)V
.locals 1
2019-12-06 01:29:57 +00:00
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar$2;->aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
2019-07-24 11:27:29 +00:00
invoke-static {v0}, Lcom/google/android/material/bottomappbar/BottomAppBar;->access$100(Lcom/google/android/material/bottomappbar/BottomAppBar;)Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;
move-result-object v0
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Float;
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
move-result p1
invoke-virtual {v0, p1}, Lcom/google/android/material/bottomappbar/BottomAppBarTopEdgeTreatment;->setHorizontalOffset(F)V
2019-12-06 01:29:57 +00:00
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar$2;->aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
2019-07-24 11:27:29 +00:00
invoke-static {p1}, Lcom/google/android/material/bottomappbar/BottomAppBar;->access$200(Lcom/google/android/material/bottomappbar/BottomAppBar;)Lcom/google/android/material/shape/MaterialShapeDrawable;
move-result-object p1
invoke-virtual {p1}, Lcom/google/android/material/shape/MaterialShapeDrawable;->invalidateSelf()V
return-void
.end method