apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManagerImpl$4.smali

98 lines
3.4 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/fragment/app/FragmentManagerImpl$4;
2019-07-24 11:27:29 +00:00
.super Landroid/animation/AnimatorListenerAdapter;
2019-10-07 23:23:22 +00:00
.source "FragmentManagerImpl.java"
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-10-07 23:23:22 +00:00
value = Landroidx/fragment/app/FragmentManagerImpl;->animateRemoveFragment(Landroidx/fragment/app/Fragment;Landroidx/fragment/app/FragmentManagerImpl$AnimationOrAnimator;I)V
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/fragment/app/FragmentManagerImpl;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$container:Landroid/view/ViewGroup;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$fragment:Landroidx/fragment/app/Fragment;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$viewToAnimate:Landroid/view/View;
2019-10-07 23:23:22 +00:00
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/fragment/app/FragmentManagerImpl;Landroid/view/ViewGroup;Landroid/view/View;Landroidx/fragment/app/Fragment;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->this$0:Landroidx/fragment/app/FragmentManagerImpl;
iput-object p2, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$container:Landroid/view/ViewGroup;
2019-10-07 23:23:22 +00:00
iput-object p3, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$viewToAnimate:Landroid/view/View;
2019-07-24 11:27:29 +00:00
iput-object p4, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$fragment:Landroidx/fragment/app/Fragment;
invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V
return-void
.end method
# virtual methods
.method public onAnimationEnd(Landroid/animation/Animator;)V
2019-10-07 23:23:22 +00:00
.locals 6
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iget-object p1, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$container:Landroid/view/ViewGroup;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$viewToAnimate:Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->endViewTransition(Landroid/view/View;)V
2019-07-24 11:27:29 +00:00
iget-object p1, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$fragment:Landroidx/fragment/app/Fragment;
2019-10-07 23:23:22 +00:00
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getAnimator()Landroid/animation/Animator;
move-result-object p1
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$fragment:Landroidx/fragment/app/Fragment;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->setAnimator(Landroid/animation/Animator;)V
2019-07-24 11:27:29 +00:00
if-eqz p1, :cond_0
2019-10-07 23:23:22 +00:00
iget-object p1, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$container:Landroid/view/ViewGroup;
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$viewToAnimate:Landroid/view/View;
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->indexOfChild(Landroid/view/View;)I
move-result p1
if-gez p1, :cond_0
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->this$0:Landroidx/fragment/app/FragmentManagerImpl;
iget-object v1, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$fragment:Landroidx/fragment/app/Fragment;
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getStateAfterAnimating()I
move-result v2
const/4 v3, 0x0
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
const/4 v4, 0x0
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
const/4 v5, 0x0
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-virtual/range {v0 .. v5}, Landroidx/fragment/app/FragmentManagerImpl;->moveToState(Landroidx/fragment/app/Fragment;IIIZ)V
2019-07-24 11:27:29 +00:00
:cond_0
return-void
.end method