126 lines
3 KiB
Smali
126 lines
3 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 public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public 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 createAnimator(Landroid/view/ViewGroup;)Landroid/animation/Animator;
|
|
.locals 6
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const v1, 0x7f0a0320
|
|
|
|
invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz 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
|
|
|
|
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
|
|
|
|
aput-object p1, v2, v3
|
|
|
|
invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
|
|
|
|
:cond_0
|
|
return-object v0
|
|
|
|
:cond_1
|
|
const-string p1, "view"
|
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw 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
|