68 lines
2.3 KiB
Smali
68 lines
2.3 KiB
Smali
.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
|
|
.field final synthetic aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/google/android/material/bottomappbar/BottomAppBar;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar$2;->aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onAnimationUpdate(Landroid/animation/ValueAnimator;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/android/material/bottomappbar/BottomAppBar$2;->aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
|
|
|
|
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
|
|
|
|
iget-object p1, p0, Lcom/google/android/material/bottomappbar/BottomAppBar$2;->aMT:Lcom/google/android/material/bottomappbar/BottomAppBar;
|
|
|
|
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
|