.class public final Landroidx/fragment/app/FragmentContainerView; .super Landroid/widget/FrameLayout; .source "FragmentContainerView.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/fragment/app/FragmentContainerView$Api20Impl; } .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nFragmentContainerView.kt\nKotlin\n*S Kotlin\n*F\n+ 1 FragmentContainerView.kt\nandroidx/fragment/app/FragmentContainerView\n+ 2 Context.kt\nandroidx/core/content/ContextKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,348:1\n55#2,6:349\n55#2,6:355\n1855#3,2:361\n*S KotlinDebug\n*F\n+ 1 FragmentContainerView.kt\nandroidx/fragment/app/FragmentContainerView\n*L\n113#1:349,6\n135#1:355,6\n221#1:361,2\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000v\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\t\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\r\n\u0002\u0018\u0002\n\u0002\u0008\u0005\u0018\u00002\u00020\u0001:\u0001;" } .end annotation .end field .field private drawDisappearingViewsFirst:Z .field private final transitioningFragmentViews:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List<", "Landroid/view/View;", ">;" } .end annotation .end field # direct methods .method public constructor (Landroid/content/Context;)V .locals 1 const-string v0, "context" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 98 invoke-direct {p0, p1}, Landroid/widget/FrameLayout;->(Landroid/content/Context;)V .line 90 new-instance p1, Ljava/util/ArrayList; invoke-direct {p1}, Ljava/util/ArrayList;->()V check-cast p1, Ljava/util/List; iput-object p1, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 91 new-instance p1, Ljava/util/ArrayList; invoke-direct {p1}, Ljava/util/ArrayList;->()V check-cast p1, Ljava/util/List; iput-object p1, p0, Landroidx/fragment/app/FragmentContainerView;->transitioningFragmentViews:Ljava/util/List; const/4 p1, 0x1 iput-boolean p1, p0, Landroidx/fragment/app/FragmentContainerView;->drawDisappearingViewsFirst:Z return-void .end method .method public constructor (Landroid/content/Context;Landroid/util/AttributeSet;)V .locals 7 const-string v0, "context" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v4, 0x0 const/4 v5, 0x4 const/4 v6, 0x0 move-object v1, p0 move-object v2, p1 move-object v3, p2 invoke-direct/range {v1 .. v6}, Landroidx/fragment/app/FragmentContainerView;->(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V return-void .end method .method public constructor (Landroid/content/Context;Landroid/util/AttributeSet;I)V .locals 2 const-string v0, "context" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 109 invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;->(Landroid/content/Context;Landroid/util/AttributeSet;I)V .line 90 new-instance p3, Ljava/util/ArrayList; invoke-direct {p3}, Ljava/util/ArrayList;->()V check-cast p3, Ljava/util/List; iput-object p3, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 91 new-instance p3, Ljava/util/ArrayList; invoke-direct {p3}, Ljava/util/ArrayList;->()V check-cast p3, Ljava/util/List; iput-object p3, p0, Landroidx/fragment/app/FragmentContainerView;->transitioningFragmentViews:Ljava/util/List; const/4 p3, 0x1 iput-boolean p3, p0, Landroidx/fragment/app/FragmentContainerView;->drawDisappearingViewsFirst:Z if-eqz p2, :cond_2 .line 111 invoke-interface {p2}, Landroid/util/AttributeSet;->getClassAttribute()Ljava/lang/String; move-result-object p3 .line 113 sget-object v0, Landroidx/fragment/R$styleable;->FragmentContainerView:[I const-string v1, "FragmentContainerView" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V const/4 v1, 0x0 .line 353 invoke-virtual {p1, p2, v0, v1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; move-result-object p1 if-nez p3, :cond_0 .line 115 sget p2, Landroidx/fragment/R$styleable;->FragmentContainerView_android_name:I invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; move-result-object p3 const-string p2, "android:name" goto :goto_0 :cond_0 const-string p2, "class" .line 353 :goto_0 invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V if-eqz p3, :cond_2 .line 119 invoke-virtual {p0}, Landroidx/fragment/app/FragmentContainerView;->isInEditMode()Z move-result p0 if-eqz p0, :cond_1 goto :goto_1 .line 120 :cond_1 new-instance p0, Ljava/lang/UnsupportedOperationException; .line 121 new-instance p1, Ljava/lang/StringBuilder; const-string v0, "FragmentContainerView must be within a FragmentActivity to use " invoke-direct {p1, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p1 const-string p2, "=\"" invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p1 invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p1 const/16 p2, 0x22 invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object p1 invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 .line 120 invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw p0 :cond_2 :goto_1 return-void .end method .method public synthetic constructor (Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 0 and-int/lit8 p4, p4, 0x4 if-eqz p4, :cond_0 const/4 p3, 0x0 .line 105 :cond_0 invoke-direct {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentContainerView;->(Landroid/content/Context;Landroid/util/AttributeSet;I)V return-void .end method .method public constructor (Landroid/content/Context;Landroid/util/AttributeSet;Landroidx/fragment/app/FragmentManager;)V .locals 5 const-string v0, "context" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "attrs" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "fm" invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 132 invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;->(Landroid/content/Context;Landroid/util/AttributeSet;)V .line 90 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V check-cast v0, Ljava/util/List; iput-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 91 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V check-cast v0, Ljava/util/List; iput-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->transitioningFragmentViews:Ljava/util/List; const/4 v0, 0x1 iput-boolean v0, p0, Landroidx/fragment/app/FragmentContainerView;->drawDisappearingViewsFirst:Z .line 133 invoke-interface {p2}, Landroid/util/AttributeSet;->getClassAttribute()Ljava/lang/String; move-result-object v1 .line 135 sget-object v2, Landroidx/fragment/R$styleable;->FragmentContainerView:[I const-string v3, "FragmentContainerView" invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V const/4 v3, 0x0 .line 359 invoke-virtual {p1, p2, v2, v3, v3}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; move-result-object v2 if-nez v1, :cond_0 .line 137 sget v1, Landroidx/fragment/R$styleable;->FragmentContainerView_android_name:I invoke-virtual {v2, v1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; move-result-object v1 .line 139 :cond_0 sget v3, Landroidx/fragment/R$styleable;->FragmentContainerView_android_tag:I invoke-virtual {v2, v3}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; move-result-object v3 .line 359 invoke-virtual {v2}, Landroid/content/res/TypedArray;->recycle()V .line 141 invoke-virtual {p0}, Landroidx/fragment/app/FragmentContainerView;->getId()I move-result v2 .line 142 invoke-virtual {p3, v2}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment; move-result-object v4 if-eqz v1, :cond_3 if-nez v4, :cond_3 const/4 v4, -0x1 if-ne v2, v4, :cond_2 if-eqz v3, :cond_1 .line 147 new-instance p0, Ljava/lang/StringBuilder; const-string p1, " with tag " invoke-direct {p0, p1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 goto :goto_0 :cond_1 const-string p0, "" .line 148 :goto_0 new-instance p1, Ljava/lang/IllegalStateException; .line 149 new-instance p2, Ljava/lang/StringBuilder; const-string p3, "FragmentContainerView must have an android:id to add Fragment " invoke-direct {p2, p3}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p2 invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 .line 148 invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 .line 153 :cond_2 invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->getFragmentFactory()Landroidx/fragment/app/FragmentFactory; move-result-object v2 invoke-virtual {p1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader; move-result-object v4 invoke-virtual {v2, v4, v1}, Landroidx/fragment/app/FragmentFactory;->instantiate(Ljava/lang/ClassLoader;Ljava/lang/String;)Landroidx/fragment/app/Fragment; move-result-object v1 const-string v2, "fm.fragmentFactory.insta\u2026ontext.classLoader, name)" invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V const/4 v2, 0x0 .line 154 invoke-virtual {v1, p1, p2, v2}, Landroidx/fragment/app/Fragment;->onInflate(Landroid/content/Context;Landroid/util/AttributeSet;Landroid/os/Bundle;)V .line 155 invoke-virtual {p3}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction; move-result-object p1 .line 156 invoke-virtual {p1, v0}, Landroidx/fragment/app/FragmentTransaction;->setReorderingAllowed(Z)Landroidx/fragment/app/FragmentTransaction; move-result-object p1 .line 157 move-object p2, p0 check-cast p2, Landroid/view/ViewGroup; invoke-virtual {p1, p2, v1, v3}, Landroidx/fragment/app/FragmentTransaction;->add(Landroid/view/ViewGroup;Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction; move-result-object p1 .line 158 invoke-virtual {p1}, Landroidx/fragment/app/FragmentTransaction;->commitNowAllowingStateLoss()V .line 160 :cond_3 invoke-virtual {p3, p0}, Landroidx/fragment/app/FragmentManager;->onContainerAvailable(Landroidx/fragment/app/FragmentContainerView;)V return-void .end method .method private final addDisappearingFragmentView(Landroid/view/View;)V .locals 1 iget-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->transitioningFragmentViews:Ljava/util/List; .line 322 invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object p0, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 323 invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z :cond_0 return-void .end method # virtual methods .method public addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V .locals 1 const-string v0, "child" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 266 invoke-static {p1}, Landroidx/fragment/app/FragmentManager;->getViewFragment(Landroid/view/View;)Landroidx/fragment/app/Fragment; move-result-object v0 if-eqz v0, :cond_0 .line 272 invoke-super {p0, p1, p2, p3}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V return-void .line 268 :cond_0 new-instance p0, Ljava/lang/StringBuilder; const-string p2, "Views added to a FragmentContainerView must be associated with a Fragment. View " invoke-direct {p0, p2}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p0 const-string p1, " is not associated with a Fragment." invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 .line 266 new-instance p1, Ljava/lang/IllegalStateException; invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 .end method .method public dispatchApplyWindowInsets(Landroid/view/WindowInsets;)Landroid/view/WindowInsets; .locals 4 const-string v0, "insets" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 203 invoke-static {p1}, Landroidx/core/view/WindowInsetsCompat;->toWindowInsetsCompat(Landroid/view/WindowInsets;)Landroidx/core/view/WindowInsetsCompat; move-result-object v0 const-string v1, "toWindowInsetsCompat(insets)" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V iget-object v1, p0, Landroidx/fragment/app/FragmentContainerView;->applyWindowInsetsListener:Landroid/view/View$OnApplyWindowInsetsListener; if-eqz v1, :cond_0 .line 206 sget-object v0, Landroidx/fragment/app/FragmentContainerView$Api20Impl;->INSTANCE:Landroidx/fragment/app/FragmentContainerView$Api20Impl; iget-object v1, p0, Landroidx/fragment/app/FragmentContainerView;->applyWindowInsetsListener:Landroid/view/View$OnApplyWindowInsetsListener; invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V move-object v2, p0 check-cast v2, Landroid/view/View; invoke-virtual {v0, v1, v2, p1}, Landroidx/fragment/app/FragmentContainerView$Api20Impl;->onApplyWindowInsets(Landroid/view/View$OnApplyWindowInsetsListener;Landroid/view/View;Landroid/view/WindowInsets;)Landroid/view/WindowInsets; move-result-object v0 .line 205 invoke-static {v0}, Landroidx/core/view/WindowInsetsCompat;->toWindowInsetsCompat(Landroid/view/WindowInsets;)Landroidx/core/view/WindowInsetsCompat; move-result-object v0 goto :goto_0 .line 209 :cond_0 move-object v1, p0 check-cast v1, Landroid/view/View; invoke-static {v1, v0}, Landroidx/core/view/ViewCompat;->onApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat; move-result-object v0 :goto_0 const-string v1, "if (applyWindowInsetsLis\u2026, insetsCompat)\n }" .line 204 invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 211 invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->isConsumed()Z move-result v1 if-nez v1, :cond_1 .line 212 invoke-virtual {p0}, Landroidx/fragment/app/FragmentContainerView;->getChildCount()I move-result v1 const/4 v2, 0x0 :goto_1 if-ge v2, v1, :cond_1 .line 213 invoke-virtual {p0, v2}, Landroidx/fragment/app/FragmentContainerView;->getChildAt(I)Landroid/view/View; move-result-object v3 invoke-static {v3, v0}, Landroidx/core/view/ViewCompat;->dispatchApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat; add-int/lit8 v2, v2, 0x1 goto :goto_1 :cond_1 return-object p1 .end method .method protected dispatchDraw(Landroid/graphics/Canvas;)V .locals 4 const-string v0, "canvas" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-boolean v0, p0, Landroidx/fragment/app/FragmentContainerView;->drawDisappearingViewsFirst:Z if-eqz v0, :cond_0 iget-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 221 check-cast v0, Ljava/lang/Iterable; .line 361 invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v0 :goto_0 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_0 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 check-cast v1, Landroid/view/View; .line 222 invoke-virtual {p0}, Landroidx/fragment/app/FragmentContainerView;->getDrawingTime()J move-result-wide v2 invoke-super {p0, p1, v1, v2, v3}, Landroid/widget/FrameLayout;->drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z goto :goto_0 .line 225 :cond_0 invoke-super {p0, p1}, Landroid/widget/FrameLayout;->dispatchDraw(Landroid/graphics/Canvas;)V return-void .end method .method protected drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z .locals 1 const-string v0, "canvas" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "child" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-boolean v0, p0, Landroidx/fragment/app/FragmentContainerView;->drawDisappearingViewsFirst:Z if-eqz v0, :cond_0 iget-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 229 check-cast v0, Ljava/util/Collection; invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z move-result v0 xor-int/lit8 v0, v0, 0x1 if-eqz v0, :cond_0 iget-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 231 invoke-interface {v0, p2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 const/4 p0, 0x0 return p0 .line 235 :cond_0 invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/FrameLayout;->drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z move-result p0 return p0 .end method .method public endViewTransition(Landroid/view/View;)V .locals 1 const-string v0, "view" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->transitioningFragmentViews:Ljava/util/List; .line 246 invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z iget-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->disappearingFragmentChildren:Ljava/util/List; .line 247 invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 const/4 v0, 0x1 iput-boolean v0, p0, Landroidx/fragment/app/FragmentContainerView;->drawDisappearingViewsFirst:Z .line 250 :cond_0 invoke-super {p0, p1}, Landroid/widget/FrameLayout;->endViewTransition(Landroid/view/View;)V return-void .end method .method public final getFragment()Landroidx/fragment/app/Fragment; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()TF;" } .end annotation .line 337 move-object v0, p0 check-cast v0, Landroid/view/View; invoke-static {v0}, Landroidx/fragment/app/FragmentManager;->findFragmentManager(Landroid/view/View;)Landroidx/fragment/app/FragmentManager; move-result-object v0 invoke-virtual {p0}, Landroidx/fragment/app/FragmentContainerView;->getId()I move-result p0 invoke-virtual {v0, p0}, Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment; move-result-object p0 return-object p0 .end method .method public onApplyWindowInsets(Landroid/view/WindowInsets;)Landroid/view/WindowInsets; .locals 0 const-string p0, "insets" invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V return-object p1 .end method .method public removeAllViewsInLayout()V .locals 3 .line 308 invoke-virtual {p0}, Landroidx/fragment/app/FragmentContainerView;->getChildCount()I move-result v0 add-int/lit8 v0, v0, -0x1 :goto_0 const/4 v1, -0x1 if-ge v1, v0, :cond_0 .line 309 invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentContainerView;->getChildAt(I)Landroid/view/View; move-result-object v1 const-string v2, "view" .line 310 invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, v1}, Landroidx/fragment/app/FragmentContainerView;->addDisappearingFragmentView(Landroid/view/View;)V add-int/lit8 v0, v0, -0x1 goto :goto_0 .line 312 :cond_0 invoke-super {p0}, Landroid/widget/FrameLayout;->removeAllViewsInLayout()V return-void .end method .method public removeView(Landroid/view/View;)V .locals 1 const-string v0, "view" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 287 invoke-direct {p0, p1}, Landroidx/fragment/app/FragmentContainerView;->addDisappearingFragmentView(Landroid/view/View;)V .line 288 invoke-super {p0, p1}, Landroid/widget/FrameLayout;->removeView(Landroid/view/View;)V return-void .end method .method public removeViewAt(I)V .locals 2 .line 276 invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentContainerView;->getChildAt(I)Landroid/view/View; move-result-object v0 const-string v1, "view" .line 277 invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, v0}, Landroidx/fragment/app/FragmentContainerView;->addDisappearingFragmentView(Landroid/view/View;)V .line 278 invoke-super {p0, p1}, Landroid/widget/FrameLayout;->removeViewAt(I)V return-void .end method .method public removeViewInLayout(Landroid/view/View;)V .locals 1 const-string v0, "view" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 282 invoke-direct {p0, p1}, Landroidx/fragment/app/FragmentContainerView;->addDisappearingFragmentView(Landroid/view/View;)V .line 283 invoke-super {p0, p1}, Landroid/widget/FrameLayout;->removeViewInLayout(Landroid/view/View;)V return-void .end method .method public removeViews(II)V .locals 4 add-int v0, p1, p2 move v1, p1 :goto_0 if-ge v1, v0, :cond_0 .line 293 invoke-virtual {p0, v1}, Landroidx/fragment/app/FragmentContainerView;->getChildAt(I)Landroid/view/View; move-result-object v2 const-string v3, "view" .line 294 invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, v2}, Landroidx/fragment/app/FragmentContainerView;->addDisappearingFragmentView(Landroid/view/View;)V add-int/lit8 v1, v1, 0x1 goto :goto_0 .line 296 :cond_0 invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->removeViews(II)V return-void .end method .method public removeViewsInLayout(II)V .locals 4 add-int v0, p1, p2 move v1, p1 :goto_0 if-ge v1, v0, :cond_0 .line 301 invoke-virtual {p0, v1}, Landroidx/fragment/app/FragmentContainerView;->getChildAt(I)Landroid/view/View; move-result-object v2 const-string v3, "view" .line 302 invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, v2}, Landroidx/fragment/app/FragmentContainerView;->addDisappearingFragmentView(Landroid/view/View;)V add-int/lit8 v1, v1, 0x1 goto :goto_0 .line 304 :cond_0 invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->removeViewsInLayout(II)V return-void .end method .method public final setDrawDisappearingViewsLast(Z)V .locals 0 iput-boolean p1, p0, Landroidx/fragment/app/FragmentContainerView;->drawDisappearingViewsFirst:Z return-void .end method .method public setLayoutTransition(Landroid/animation/LayoutTransition;)V .locals 0 .line 183 new-instance p0, Ljava/lang/UnsupportedOperationException; const-string p1, "FragmentContainerView does not support Layout Transitions or animateLayoutChanges=\"true\"." invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw p0 .end method .method public setOnApplyWindowInsetsListener(Landroid/view/View$OnApplyWindowInsetsListener;)V .locals 1 const-string v0, "listener" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iput-object p1, p0, Landroidx/fragment/app/FragmentContainerView;->applyWindowInsetsListener:Landroid/view/View$OnApplyWindowInsetsListener; return-void .end method .method public startViewTransition(Landroid/view/View;)V .locals 1 const-string v0, "view" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 239 invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent; move-result-object v0 if-ne v0, p0, :cond_0 iget-object v0, p0, Landroidx/fragment/app/FragmentContainerView;->transitioningFragmentViews:Ljava/util/List; .line 240 invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z .line 242 :cond_0 invoke-super {p0, p1}, Landroid/widget/FrameLayout;->startViewTransition(Landroid/view/View;)V return-void .end method