- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
295 lines
7.3 KiB
Smali
295 lines
7.3 KiB
Smali
.class public Landroidx/vectordrawable/graphics/drawable/AnimationUtilsCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 149
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static createInterpolatorFromXml(Landroid/content/Context;Landroid/content/res/Resources;Landroid/content/res/Resources$Theme;Lorg/xmlpull/v1/XmlPullParser;)Landroid/view/animation/Interpolator;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lorg/xmlpull/v1/XmlPullParserException;,
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 109
|
|
invoke-interface {p3}, Lorg/xmlpull/v1/XmlPullParser;->getDepth()I
|
|
|
|
move-result p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 111
|
|
:goto_0
|
|
invoke-interface {p3}, Lorg/xmlpull/v1/XmlPullParser;->next()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-interface {p3}, Lorg/xmlpull/v1/XmlPullParser;->getDepth()I
|
|
|
|
move-result v1
|
|
|
|
if-le v1, p1, :cond_c
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_c
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 118
|
|
:cond_1
|
|
invoke-static {p3}, Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet;
|
|
|
|
move-result-object p2
|
|
|
|
.line 120
|
|
invoke-interface {p3}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "linearInterpolator"
|
|
|
|
.line 122
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 123
|
|
new-instance p2, Landroid/view/animation/LinearInterpolator;
|
|
|
|
invoke-direct {p2}, Landroid/view/animation/LinearInterpolator;-><init>()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const-string v1, "accelerateInterpolator"
|
|
|
|
.line 124
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 125
|
|
new-instance v0, Landroid/view/animation/AccelerateInterpolator;
|
|
|
|
invoke-direct {v0, p0, p2}, Landroid/view/animation/AccelerateInterpolator;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
:goto_1
|
|
move-object p2, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const-string v1, "decelerateInterpolator"
|
|
|
|
.line 126
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 127
|
|
new-instance v0, Landroid/view/animation/DecelerateInterpolator;
|
|
|
|
invoke-direct {v0, p0, p2}, Landroid/view/animation/DecelerateInterpolator;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const-string v1, "accelerateDecelerateInterpolator"
|
|
|
|
.line 128
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 129
|
|
new-instance p2, Landroid/view/animation/AccelerateDecelerateInterpolator;
|
|
|
|
invoke-direct {p2}, Landroid/view/animation/AccelerateDecelerateInterpolator;-><init>()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
const-string v1, "cycleInterpolator"
|
|
|
|
.line 130
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
.line 131
|
|
new-instance v0, Landroid/view/animation/CycleInterpolator;
|
|
|
|
invoke-direct {v0, p0, p2}, Landroid/view/animation/CycleInterpolator;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
const-string v1, "anticipateInterpolator"
|
|
|
|
.line 132
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
.line 133
|
|
new-instance v0, Landroid/view/animation/AnticipateInterpolator;
|
|
|
|
invoke-direct {v0, p0, p2}, Landroid/view/animation/AnticipateInterpolator;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
const-string v1, "overshootInterpolator"
|
|
|
|
.line 134
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
.line 135
|
|
new-instance v0, Landroid/view/animation/OvershootInterpolator;
|
|
|
|
invoke-direct {v0, p0, p2}, Landroid/view/animation/OvershootInterpolator;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
const-string v1, "anticipateOvershootInterpolator"
|
|
|
|
.line 136
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
.line 137
|
|
new-instance v0, Landroid/view/animation/AnticipateOvershootInterpolator;
|
|
|
|
invoke-direct {v0, p0, p2}, Landroid/view/animation/AnticipateOvershootInterpolator;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_9
|
|
const-string v1, "bounceInterpolator"
|
|
|
|
.line 138
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_a
|
|
|
|
.line 139
|
|
new-instance p2, Landroid/view/animation/BounceInterpolator;
|
|
|
|
invoke-direct {p2}, Landroid/view/animation/BounceInterpolator;-><init>()V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_a
|
|
const-string v1, "pathInterpolator"
|
|
|
|
.line 140
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
.line 141
|
|
new-instance v0, Landroidx/vectordrawable/graphics/drawable/PathInterpolatorCompat;
|
|
|
|
invoke-direct {v0, p0, p2, p3}, Landroidx/vectordrawable/graphics/drawable/PathInterpolatorCompat;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;Lorg/xmlpull/v1/XmlPullParser;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 143
|
|
:cond_b
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string p2, "Unknown interpolator name: "
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-interface {p3}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_c
|
|
return-object p2
|
|
.end method
|
|
|
|
.method public static loadInterpolator(Landroid/content/Context;I)Landroid/view/animation/Interpolator;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/content/res/Resources$NotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 68
|
|
invoke-static {p0, p1}, Landroid/view/animation/AnimationUtils;->loadInterpolator(Landroid/content/Context;I)Landroid/view/animation/Interpolator;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|