.class public abstract Landroidx/fragment/app/FragmentTransitionImpl; .super Ljava/lang/Object; .source "FragmentTransitionImpl.java" # direct methods .method public constructor ()V .locals 0 .line 44 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method protected static bfsAddViewChildren(Ljava/util/List;Landroid/view/View;)V .locals 6 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroid/view/View;", ">;", "Landroid/view/View;", ")V" } .end annotation .line 275 invoke-interface {p0}, Ljava/util/List;->size()I move-result v0 .line 276 invoke-static {p0, p1, v0}, Landroidx/fragment/app/FragmentTransitionImpl;->containedBeforeIndex(Ljava/util/List;Landroid/view/View;I)Z move-result v1 if-eqz v1, :cond_0 return-void .line 279 :cond_0 invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String; move-result-object v1 if-eqz v1, :cond_1 .line 280 invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z :cond_1 move p1, v0 .line 282 :goto_0 invoke-interface {p0}, Ljava/util/List;->size()I move-result v1 if-ge p1, v1, :cond_4 .line 283 invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v1 check-cast v1, Landroid/view/View; .line 284 instance-of v2, v1, Landroid/view/ViewGroup; if-eqz v2, :cond_3 .line 285 check-cast v1, Landroid/view/ViewGroup; .line 286 invoke-virtual {v1}, Landroid/view/ViewGroup;->getChildCount()I move-result v2 const/4 v3, 0x0 :goto_1 if-ge v3, v2, :cond_3 .line 288 invoke-virtual {v1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; move-result-object v4 .line 289 invoke-static {p0, v4, v0}, Landroidx/fragment/app/FragmentTransitionImpl;->containedBeforeIndex(Ljava/util/List;Landroid/view/View;I)Z move-result v5 if-nez v5, :cond_2 .line 290 invoke-static {v4}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String; move-result-object v5 if-eqz v5, :cond_2 .line 291 invoke-interface {p0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z :cond_2 add-int/lit8 v3, v3, 0x1 goto :goto_1 :cond_3 add-int/lit8 p1, p1, 0x1 goto :goto_0 :cond_4 return-void .end method .method private static containedBeforeIndex(Ljava/util/List;Landroid/view/View;I)Z .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroid/view/View;", ">;", "Landroid/view/View;", "I)Z" } .end annotation const/4 v0, 0x0 move v1, v0 :goto_0 if-ge v1, p2, :cond_1 .line 304 invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v2 if-ne v2, p1, :cond_0 const/4 p0, 0x1 return p0 :cond_0 add-int/lit8 v1, v1, 0x1 goto :goto_0 :cond_1 return v0 .end method .method protected static isNullOrEmpty(Ljava/util/List;)Z .locals 0 if-eqz p0, :cond_1 .line 315 invoke-interface {p0}, Ljava/util/List;->isEmpty()Z move-result p0 if-eqz p0, :cond_0 goto :goto_0 :cond_0 const/4 p0, 0x0 goto :goto_1 :cond_1 :goto_0 const/4 p0, 0x1 :goto_1 return p0 .end method # virtual methods .method public abstract addTarget(Ljava/lang/Object;Landroid/view/View;)V .end method .method public abstract addTargets(Ljava/lang/Object;Ljava/util/ArrayList;)V .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;)V" } .end annotation .end method .method public abstract beginDelayedTransition(Landroid/view/ViewGroup;Ljava/lang/Object;)V .end method .method public abstract canHandle(Ljava/lang/Object;)Z .end method .method public abstract cloneTransition(Ljava/lang/Object;)Ljava/lang/Object; .end method .method protected getBoundsOnScreen(Landroid/view/View;Landroid/graphics/Rect;)V .locals 3 .line 81 invoke-static {p1}, Landroidx/core/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z move-result p0 if-nez p0, :cond_0 return-void .line 85 :cond_0 new-instance p0, Landroid/graphics/RectF; invoke-direct {p0}, Landroid/graphics/RectF;->()V .line 86 invoke-virtual {p1}, Landroid/view/View;->getWidth()I move-result v0 int-to-float v0, v0 invoke-virtual {p1}, Landroid/view/View;->getHeight()I move-result v1 int-to-float v1, v1 const/4 v2, 0x0 invoke-virtual {p0, v2, v2, v0, v1}, Landroid/graphics/RectF;->set(FFFF)V .line 88 invoke-virtual {p1}, Landroid/view/View;->getMatrix()Landroid/graphics/Matrix; move-result-object v0 invoke-virtual {v0, p0}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;)Z .line 89 invoke-virtual {p1}, Landroid/view/View;->getLeft()I move-result v0 int-to-float v0, v0 invoke-virtual {p1}, Landroid/view/View;->getTop()I move-result v1 int-to-float v1, v1 invoke-virtual {p0, v0, v1}, Landroid/graphics/RectF;->offset(FF)V .line 91 invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent; move-result-object v0 .line 92 :goto_0 instance-of v1, v0, Landroid/view/View; if-eqz v1, :cond_1 .line 93 check-cast v0, Landroid/view/View; .line 95 invoke-virtual {v0}, Landroid/view/View;->getScrollX()I move-result v1 neg-int v1, v1 int-to-float v1, v1 invoke-virtual {v0}, Landroid/view/View;->getScrollY()I move-result v2 neg-int v2, v2 int-to-float v2, v2 invoke-virtual {p0, v1, v2}, Landroid/graphics/RectF;->offset(FF)V .line 96 invoke-virtual {v0}, Landroid/view/View;->getMatrix()Landroid/graphics/Matrix; move-result-object v1 invoke-virtual {v1, p0}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;)Z .line 97 invoke-virtual {v0}, Landroid/view/View;->getLeft()I move-result v1 int-to-float v1, v1 invoke-virtual {v0}, Landroid/view/View;->getTop()I move-result v2 int-to-float v2, v2 invoke-virtual {p0, v1, v2}, Landroid/graphics/RectF;->offset(FF)V .line 99 invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent; move-result-object v0 goto :goto_0 :cond_1 const/4 v0, 0x2 new-array v0, v0, [I .line 103 invoke-virtual {p1}, Landroid/view/View;->getRootView()Landroid/view/View; move-result-object p1 invoke-virtual {p1, v0}, Landroid/view/View;->getLocationOnScreen([I)V const/4 p1, 0x0 aget p1, v0, p1 int-to-float p1, p1 const/4 v1, 0x1 aget v0, v0, v1 int-to-float v0, v0 .line 104 invoke-virtual {p0, p1, v0}, Landroid/graphics/RectF;->offset(FF)V .line 105 iget p1, p0, Landroid/graphics/RectF;->left:F invoke-static {p1}, Ljava/lang/Math;->round(F)I move-result p1 iget v0, p0, Landroid/graphics/RectF;->top:F invoke-static {v0}, Ljava/lang/Math;->round(F)I move-result v0 iget v1, p0, Landroid/graphics/RectF;->right:F invoke-static {v1}, Ljava/lang/Math;->round(F)I move-result v1 iget p0, p0, Landroid/graphics/RectF;->bottom:F .line 106 invoke-static {p0}, Ljava/lang/Math;->round(F)I move-result p0 .line 105 invoke-virtual {p2, p1, v0, v1, p0}, Landroid/graphics/Rect;->set(IIII)V return-void .end method .method public abstract mergeTransitionsInSequence(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .end method .method public abstract mergeTransitionsTogether(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .end method .method prepareSetNameOverridesReordered(Ljava/util/ArrayList;)Ljava/util/ArrayList; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;)", "Ljava/util/ArrayList<", "Ljava/lang/String;", ">;" } .end annotation .line 160 new-instance p0, Ljava/util/ArrayList; invoke-direct {p0}, Ljava/util/ArrayList;->()V .line 161 invoke-virtual {p1}, Ljava/util/ArrayList;->size()I move-result v0 const/4 v1, 0x0 :goto_0 if-ge v1, v0, :cond_0 .line 163 invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v2 check-cast v2, Landroid/view/View; .line 164 invoke-static {v2}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String; move-result-object v3 invoke-virtual {p0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z const/4 v3, 0x0 .line 165 invoke-static {v2, v3}, Landroidx/core/view/ViewCompat;->setTransitionName(Landroid/view/View;Ljava/lang/String;)V add-int/lit8 v1, v1, 0x1 goto :goto_0 :cond_0 return-object p0 .end method .method public abstract removeTarget(Ljava/lang/Object;Landroid/view/View;)V .end method .method public abstract replaceTargets(Ljava/lang/Object;Ljava/util/ArrayList;Ljava/util/ArrayList;)V .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;)V" } .end annotation .end method .method public abstract scheduleHideFragmentView(Ljava/lang/Object;Landroid/view/View;Ljava/util/ArrayList;)V .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Landroid/view/View;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;)V" } .end annotation .end method .method public abstract scheduleRemoveTargets(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/ArrayList;Ljava/lang/Object;Ljava/util/ArrayList;Ljava/lang/Object;Ljava/util/ArrayList;)V .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Ljava/lang/Object;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;", "Ljava/lang/Object;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;", "Ljava/lang/Object;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;)V" } .end annotation .end method .method public abstract setEpicenter(Ljava/lang/Object;Landroid/graphics/Rect;)V .end method .method public abstract setEpicenter(Ljava/lang/Object;Landroid/view/View;)V .end method .method public setListenerForTransitionEnd(Landroidx/fragment/app/Fragment;Ljava/lang/Object;Landroidx/core/os/CancellationSignal;Ljava/lang/Runnable;)V .locals 0 .line 233 invoke-interface {p4}, Ljava/lang/Runnable;->run()V return-void .end method .method setNameOverridesReordered(Landroid/view/View;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/Map;)V .locals 8 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/view/View;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;", "Ljava/util/ArrayList<", "Ljava/lang/String;", ">;", "Ljava/util/Map<", "Ljava/lang/String;", "Ljava/lang/String;", ">;)V" } .end annotation .line 179 invoke-virtual {p3}, Ljava/util/ArrayList;->size()I move-result v2 .line 180 new-instance v6, Ljava/util/ArrayList; invoke-direct {v6}, Ljava/util/ArrayList;->()V const/4 v0, 0x0 move v1, v0 :goto_0 if-ge v1, v2, :cond_3 .line 183 invoke-virtual {p2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Landroid/view/View; .line 184 invoke-static {v3}, Landroidx/core/view/ViewCompat;->getTransitionName(Landroid/view/View;)Ljava/lang/String; move-result-object v4 .line 185 invoke-virtual {v6, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z if-nez v4, :cond_0 goto :goto_2 :cond_0 const/4 v5, 0x0 .line 189 invoke-static {v3, v5}, Landroidx/core/view/ViewCompat;->setTransitionName(Landroid/view/View;Ljava/lang/String;)V .line 190 invoke-interface {p5, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v3 check-cast v3, Ljava/lang/String; move v5, v0 :goto_1 if-ge v5, v2, :cond_2 .line 192 invoke-virtual {p4, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v7 invoke-virtual {v3, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v7 if-eqz v7, :cond_1 .line 193 invoke-virtual {p3, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Landroid/view/View; invoke-static {v3, v4}, Landroidx/core/view/ViewCompat;->setTransitionName(Landroid/view/View;Ljava/lang/String;)V goto :goto_2 :cond_1 add-int/lit8 v5, v5, 0x1 goto :goto_1 :cond_2 :goto_2 add-int/lit8 v1, v1, 0x1 goto :goto_0 .line 199 :cond_3 new-instance p5, Landroidx/fragment/app/FragmentTransitionImpl$1; move-object v0, p5 move-object v1, p0 move-object v3, p3 move-object v4, p4 move-object v5, p2 invoke-direct/range {v0 .. v6}, Landroidx/fragment/app/FragmentTransitionImpl$1;->(Landroidx/fragment/app/FragmentTransitionImpl;ILjava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;)V invoke-static {p1, p5}, Landroidx/core/view/OneShotPreDrawListener;->add(Landroid/view/View;Ljava/lang/Runnable;)Landroidx/core/view/OneShotPreDrawListener; return-void .end method .method public abstract setSharedElementTargets(Ljava/lang/Object;Landroid/view/View;Ljava/util/ArrayList;)V .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Landroid/view/View;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;)V" } .end annotation .end method .method public abstract swapSharedElementTargets(Ljava/lang/Object;Ljava/util/ArrayList;Ljava/util/ArrayList;)V .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;", "Ljava/util/ArrayList<", "Landroid/view/View;", ">;)V" } .end annotation .end method .method public abstract wrapTransitionInSet(Ljava/lang/Object;)Ljava/lang/Object; .end method