119 lines
3 KiB
Smali
119 lines
3 KiB
Smali
.class public final Lcom/discord/panels/OverlappingPanelsLayout$a;
|
|
.super Ljava/lang/Object;
|
|
.source "java-style lambda group"
|
|
|
|
# interfaces
|
|
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/panels/OverlappingPanelsLayout;->updateCenterPanelXWithAnimation(FZJ)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:I
|
|
|
|
.field public final synthetic e:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Lcom/discord/panels/OverlappingPanelsLayout$a;->d:I
|
|
|
|
iput-object p2, p0, Lcom/discord/panels/OverlappingPanelsLayout$a;->e:Ljava/lang/Object;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onAnimationUpdate(Landroid/animation/ValueAnimator;)V
|
|
.locals 4
|
|
|
|
iget v0, p0, Lcom/discord/panels/OverlappingPanelsLayout$a;->d:I
|
|
|
|
const-string v1, "null cannot be cast to non-null type kotlin.Float"
|
|
|
|
const-string v2, "animator"
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-ne v0, v3, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/discord/panels/OverlappingPanelsLayout$a;->e:Ljava/lang/Object;
|
|
|
|
check-cast v0, Lcom/discord/panels/OverlappingPanelsLayout;
|
|
|
|
invoke-static {p1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
check-cast p1, Ljava/lang/Float;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result p1
|
|
|
|
invoke-static {v0, p1}, Lcom/discord/panels/OverlappingPanelsLayout;->access$updateCenterPanelX(Lcom/discord/panels/OverlappingPanelsLayout;F)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
invoke-direct {p1, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/discord/panels/OverlappingPanelsLayout$a;->e:Ljava/lang/Object;
|
|
|
|
check-cast v0, Lcom/discord/panels/OverlappingPanelsLayout;
|
|
|
|
invoke-static {p1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
check-cast p1, Ljava/lang/Float;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result p1
|
|
|
|
invoke-static {v0, p1}, Lcom/discord/panels/OverlappingPanelsLayout;->access$updateCenterPanelX(Lcom/discord/panels/OverlappingPanelsLayout;F)V
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
new-instance p1, Lkotlin/TypeCastException;
|
|
|
|
invoke-direct {p1, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|