130 lines
3.2 KiB
Smali
130 lines
3.2 KiB
Smali
.class public final Lcom/discord/utilities/views/FloatingButtonMenuInitializer$animatorFactoryScaleUp$1;
|
|
.super Ljava/lang/Object;
|
|
.source "FloatingButtonMenuInitializer.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/utilities/views/FloatingButtonMenuInitializer$AnimatorFactory;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/utilities/views/FloatingButtonMenuInitializer;-><init>(Landroid/content/Context;Ljava/util/Map;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lcom/discord/utilities/views/FloatingButtonMenuInitializer$AnimatorFactory<",
|
|
"Landroid/view/ViewGroup;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bridge synthetic createAnimator(Landroid/view/View;)Landroid/animation/Animator;
|
|
.locals 0
|
|
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/views/FloatingButtonMenuInitializer$animatorFactoryScaleUp$1;->createAnimator(Landroid/view/ViewGroup;)Landroid/animation/Animator;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final createAnimator(Landroid/view/ViewGroup;)Landroid/animation/Animator;
|
|
.locals 6
|
|
|
|
const-string v0, "view"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const v0, 0x7f0a0270
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
new-instance v0, Landroid/animation/AnimatorSet;
|
|
|
|
invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v2, v1, [Landroid/animation/Animator;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
sget-object v4, Landroid/view/View;->SCALE_X:Landroid/util/Property;
|
|
|
|
new-array v5, v1, [F
|
|
|
|
fill-array-data v5, :array_0
|
|
|
|
invoke-static {p1, v4, v5}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/animation/Animator;
|
|
|
|
aput-object v4, v2, v3
|
|
|
|
const/4 v3, 0x1
|
|
|
|
sget-object v4, Landroid/view/View;->SCALE_Y:Landroid/util/Property;
|
|
|
|
new-array v1, v1, [F
|
|
|
|
fill-array-data v1, :array_1
|
|
|
|
invoke-static {p1, v4, v1}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/animation/Animator;
|
|
|
|
aput-object p1, v2, v3
|
|
|
|
invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
|
|
|
|
check-cast v0, Landroid/animation/Animator;
|
|
|
|
return-object v0
|
|
|
|
:array_0
|
|
.array-data 4
|
|
0x0
|
|
0x3f800000 # 1.0f
|
|
.end array-data
|
|
|
|
:array_1
|
|
.array-data 4
|
|
0x0
|
|
0x3f800000 # 1.0f
|
|
.end array-data
|
|
.end method
|