apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManagerImpl$4.smali
2019-12-06 04:29:40 +01:00

97 lines
3.4 KiB
Smali

.class public Landroidx/fragment/app/FragmentManagerImpl$4;
.super Landroid/animation/AnimatorListenerAdapter;
.source "FragmentManagerImpl.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/fragment/app/FragmentManagerImpl;->animateRemoveFragment(Landroidx/fragment/app/Fragment;Landroidx/fragment/app/FragmentManagerImpl$AnimationOrAnimator;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/fragment/app/FragmentManagerImpl;
.field public final synthetic val$container:Landroid/view/ViewGroup;
.field public final synthetic val$fragment:Landroidx/fragment/app/Fragment;
.field public final synthetic val$viewToAnimate:Landroid/view/View;
# direct methods
.method public constructor <init>(Landroidx/fragment/app/FragmentManagerImpl;Landroid/view/ViewGroup;Landroid/view/View;Landroidx/fragment/app/Fragment;)V
.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;
iput-object p3, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$viewToAnimate:Landroid/view/View;
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
.locals 6
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;->endViewTransition(Landroid/view/View;)V
iget-object p1, p0, Landroidx/fragment/app/FragmentManagerImpl$4;->val$fragment:Landroidx/fragment/app/Fragment;
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
if-eqz p1, :cond_0
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
const/4 v4, 0x0
const/4 v5, 0x0
invoke-virtual/range {v0 .. v5}, Landroidx/fragment/app/FragmentManagerImpl;->moveToState(Landroidx/fragment/app/Fragment;IIIZ)V
:cond_0
return-void
.end method