granularity level: instruction
.class Landroidx/fragment/app/FragmentTransitionCompat21;
.super Landroidx/fragment/app/FragmentTransitionImpl;
.source "FragmentTransitionCompat21.java"
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Landroidx/fragment/app/FragmentTransitionImpl;-><init>()V
return-void
.end method
.method private static hasSimpleTarget(Landroid/transition/Transition;)Z
.locals 1
invoke-virtual {p0}, Landroid/transition/Transition;->getTargetIds()Ljava/util/List;
move-result-object v0
invoke-static {v0}, Landroidx/fragment/app/FragmentTransitionCompat21;->isNullOrEmpty(Ljava/util/List;)Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroid/transition/Transition;->getTargetNames()Ljava/util/List;
move-result-object v0
invoke-static {v0}, Landroidx/fragment/app/FragmentTransitionCompat21;->isNullOrEmpty(Ljava/util/List;)Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroid/transition/Transition;->getTargetTypes()Ljava/util/List;
move-result-object p0
invoke-static {p0}, Landroidx/fragment/app/FragmentTransitionCompat21;->isNullOrEmpty(Ljava/util/List;)Z
move-result p0
if-nez 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
.method public addTarget(Ljava/lang/Object;Landroid/view/View;)V
.locals 0
if-eqz p1, :cond_0
check-cast p1, Landroid/transition/Transition;
invoke-virtual {p1, p2}, Landroid/transition/Transition;->addTarget(Landroid/view/View;)Landroid/transition/Transition;
:cond_0
return-void
.end method
.method public addTargets(Ljava/lang/Object;Ljava/util/ArrayList;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/ArrayList<",
"Landroid/view/View;",
">;)V"
}
.end annotation
check-cast p1, Landroid/transition/Transition;
if-nez p1, :cond_0
return-void
:cond_0
instance-of v0, p1, Landroid/transition/TransitionSet;
const/4 v1, 0x0
if-eqz v0, :cond_1
check-cast p1, Landroid/transition/TransitionSet;
invoke-virtual {p1}, Landroid/transition/TransitionSet;->getTransitionCount()I
move-result v0
:goto_0
if-ge v1, v0, :cond_2
invoke-virtual {p1, v1}, Landroid/transition/TransitionSet;->getTransitionAt(I)Landroid/transition/Transition;
move-result-object v2
invoke-virtual {p0, v2, p2}, Landroidx/fragment/app/FragmentTransitionCompat21;->addTargets(Ljava/lang/Object;Ljava/util/ArrayList;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
invoke-static {p1}, Landroidx/fragment/app/FragmentTransitionCompat21;->hasSimpleTarget(Landroid/transition/Transition;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p1}, Landroid/transition/Transition;->getTargets()Ljava/util/List;
move-result-object v0
invoke-static {v0}, Landroidx/fragment/app/FragmentTransitionCompat21;->isNullOrEmpty(Ljava/util/List;)Z
move-result v0
if-eqz v0, :cond_2
invoke-virtual {p2}, Ljava/util/ArrayList;->size()I
move-result v0
:goto_1
if-ge v1, v0, :cond_2
invoke-virtual {p2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/view/View;
invoke-virtual {p1, v2}, Landroid/transition/Transition;->addTarget(Landroid/view/View;)Landroid/transition/Transition;
add-int/lit8 v1, v1, 0x1
goto :goto_1
:cond_2
return-void
.end method
.method public beginDelayedTransition(Landroid/view/ViewGroup;Ljava/lang/Object;)V
.locals 0
check-cast p2, Landroid/transition/Transition;
invoke-static {p1, p2}, Landroid/transition/TransitionManager;->beginDelayedTransition(Landroid/view/ViewGroup;Landroid/transition/Transition;)V
return-void
.end method
.method public canHandle(Ljava/lang/Object;)Z
.locals 0
instance-of p1, p1, Landroid/transition/Transition;
return p1
.end method
.method public cloneTransition(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
if-eqz p1, :cond_0
check-cast p1, Landroid/transition/Transition;
invoke-virtual {p1}, Landroid/transition/Transition;->clone()Landroid/transition/Transition;
move-result-object p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return-object p1
.end method
.method public mergeTransitionsInSequence(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
check-cast p1, Landroid/transition/Transition;
check-cast p2, Landroid/transition/Transition;
check-cast p3, Landroid/transition/Transition;
if-eqz p1, :cond_0
if-eqz p2, :cond_0
new-instance v0, Landroid/transition/TransitionSet;
invoke-direct {v0}, Landroid/transition/TransitionSet;-><init>()V
invoke-virtual {v0, p1}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
move-result-object p1
invoke-virtual {p1, p2}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
move-result-object p1
const/4 p2, 0x1
invoke-virtual {p1, p2}, Landroid/transition/TransitionSet;->setOrdering(I)Landroid/transition/TransitionSet;
move-result-object p1
goto :goto_0
:cond_0
if-eqz p1, :cond_1
goto :goto_0
:cond_1
if-eqz p2, :cond_2
move-object p1, p2
goto :goto_0
:cond_2
const/4 p1, 0x0
:goto_0
if-eqz p3, :cond_4
new-instance p2, Landroid/transition/TransitionSet;
invoke-direct {p2}, Landroid/transition/TransitionSet;-><init>()V
if-eqz p1, :cond_3
invoke-virtual {p2, p1}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
:cond_3
invoke-virtual {p2, p3}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
return-object p2
:cond_4
return-object p1
.end method
.method public mergeTransitionsTogether(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
new-instance v0, Landroid/transition/TransitionSet;
invoke-direct {v0}, Landroid/transition/TransitionSet;-><init>()V
if-eqz p1, :cond_0
check-cast p1, Landroid/transition/Transition;
invoke-virtual {v0, p1}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
:cond_0
if-eqz p2, :cond_1
check-cast p2, Landroid/transition/Transition;
invoke-virtual {v0, p2}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
:cond_1
if-eqz p3, :cond_2
check-cast p3, Landroid/transition/Transition;
invoke-virtual {v0, p3}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
:cond_2
return-object v0
.end method
.method public removeTarget(Ljava/lang/Object;Landroid/view/View;)V
.locals 0
if-eqz p1, :cond_0
check-cast p1, Landroid/transition/Transition;
invoke-virtual {p1, p2}, Landroid/transition/Transition;->removeTarget(Landroid/view/View;)Landroid/transition/Transition;
:cond_0
return-void
.end method
.method public replaceTargets(Ljava/lang/Object;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/ArrayList<",
"Landroid/view/View;",
">;",
"Ljava/util/ArrayList<",
"Landroid/view/View;",
">;)V"
}
.end annotation
check-cast p1, Landroid/transition/Transition;
instance-of v0, p1, Landroid/transition/TransitionSet;
const/4 v1, 0x0
if-eqz v0, :cond_0
check-cast p1, Landroid/transition/TransitionSet;
invoke-virtual {p1}, Landroid/transition/TransitionSet;->getTransitionCount()I
move-result v0
:goto_0
if-ge v1, v0, :cond_3
invoke-virtual {p1, v1}, Landroid/transition/TransitionSet;->getTransitionAt(I)Landroid/transition/Transition;
move-result-object v2
invoke-virtual {p0, v2, p2, p3}, Landroidx/fragment/app/FragmentTransitionCompat21;->replaceTargets(Ljava/lang/Object;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
invoke-static {p1}, Landroidx/fragment/app/FragmentTransitionCompat21;->hasSimpleTarget(Landroid/transition/Transition;)Z
move-result v0
if-nez v0, :cond_3
invoke-virtual {p1}, Landroid/transition/Transition;->getTargets()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_3
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v2
invoke-virtual {p2}, Ljava/util/ArrayList;->size()I
move-result v3
if-ne v2, v3, :cond_3
invoke-interface {v0, p2}, Ljava/util/List;->containsAll(Ljava/util/Collection;)Z
move-result v0
if-eqz v0, :cond_3
if-nez p3, :cond_1
const/4 v0, 0x0
goto :goto_1
:cond_1
invoke-virtual {p3}, Ljava/util/ArrayList;->size()I
move-result v0
:goto_1
if-ge v1, v0, :cond_2
invoke-virtual {p3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/view/View;
invoke-virtual {p1, v2}, Landroid/transition/Transition;->addTarget(Landroid/view/View;)Landroid/transition/Transition;
add-int/lit8 v1, v1, 0x1
goto :goto_1
:cond_2
invoke-virtual {p2}, Ljava/util/ArrayList;->size()I
move-result p3
add-int/lit8 p3, p3, -0x1
:goto_2
if-ltz p3, :cond_3
invoke-virtual {p2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
invoke-virtual {p1, v0}, Landroid/transition/Transition;->removeTarget(Landroid/view/View;)Landroid/transition/Transition;
add-int/lit8 p3, p3, -0x1
goto :goto_2
:cond_3
return-void
.end method
.method public scheduleHideFragmentView(Ljava/lang/Object;Landroid/view/View;Ljava/util/ArrayList;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Landroid/view/View;",
"Ljava/util/ArrayList<",
"Landroid/view/View;",
">;)V"
}
.end annotation
check-cast p1, Landroid/transition/Transition;
new-instance v0, Landroidx/fragment/app/FragmentTransitionCompat21$2;
invoke-direct {v0, p0, p2, p3}, Landroidx/fragment/app/FragmentTransitionCompat21$2;-><init>(Landroidx/fragment/app/FragmentTransitionCompat21;Landroid/view/View;Ljava/util/ArrayList;)V
invoke-virtual {p1, v0}, Landroid/transition/Transition;->addListener(Landroid/transition/Transition$TransitionListener;)Landroid/transition/Transition;
return-void
.end method
.method public scheduleRemoveTargets(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/ArrayList;Ljava/lang/Object;Ljava/util/ArrayList;Ljava/lang/Object;Ljava/util/ArrayList;)V
.locals 10
.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
move-object v0, p1
check-cast v0, Landroid/transition/Transition;
new-instance v9, Landroidx/fragment/app/FragmentTransitionCompat21$3;
move-object v1, v9
move-object v2, p0
move-object v3, p2
move-object v4, p3
move-object v5, p4
move-object v6, p5
move-object/from16 v7, p6
move-object/from16 v8, p7
invoke-direct/range {v1 .. v8}, Landroidx/fragment/app/FragmentTransitionCompat21$3;-><init>(Landroidx/fragment/app/FragmentTransitionCompat21;Ljava/lang/Object;Ljava/util/ArrayList;Ljava/lang/Object;Ljava/util/ArrayList;Ljava/lang/Object;Ljava/util/ArrayList;)V
invoke-virtual {v0, v9}, Landroid/transition/Transition;->addListener(Landroid/transition/Transition$TransitionListener;)Landroid/transition/Transition;
return-void
.end method
.method public setEpicenter(Ljava/lang/Object;Landroid/graphics/Rect;)V
.locals 1
if-eqz p1, :cond_0
check-cast p1, Landroid/transition/Transition;
new-instance v0, Landroidx/fragment/app/FragmentTransitionCompat21$4;
invoke-direct {v0, p0, p2}, Landroidx/fragment/app/FragmentTransitionCompat21$4;-><init>(Landroidx/fragment/app/FragmentTransitionCompat21;Landroid/graphics/Rect;)V
invoke-virtual {p1, v0}, Landroid/transition/Transition;->setEpicenterCallback(Landroid/transition/Transition$EpicenterCallback;)V
:cond_0
return-void
.end method
.method public setEpicenter(Ljava/lang/Object;Landroid/view/View;)V
.locals 1
if-eqz p2, :cond_0
check-cast p1, Landroid/transition/Transition;
new-instance v0, Landroid/graphics/Rect;
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
invoke-virtual {p0, p2, v0}, Landroidx/fragment/app/FragmentTransitionCompat21;->getBoundsOnScreen(Landroid/view/View;Landroid/graphics/Rect;)V
new-instance p2, Landroidx/fragment/app/FragmentTransitionCompat21$1;
invoke-direct {p2, p0, v0}, Landroidx/fragment/app/FragmentTransitionCompat21$1;-><init>(Landroidx/fragment/app/FragmentTransitionCompat21;Landroid/graphics/Rect;)V
invoke-virtual {p1, p2}, Landroid/transition/Transition;->setEpicenterCallback(Landroid/transition/Transition$EpicenterCallback;)V
:cond_0
return-void
.end method
.method public setSharedElementTargets(Ljava/lang/Object;Landroid/view/View;Ljava/util/ArrayList;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Landroid/view/View;",
"Ljava/util/ArrayList<",
"Landroid/view/View;",
">;)V"
}
.end annotation
check-cast p1, Landroid/transition/TransitionSet;
invoke-virtual {p1}, Landroid/transition/TransitionSet;->getTargets()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->clear()V
invoke-virtual {p3}, Ljava/util/ArrayList;->size()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
invoke-virtual {p3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/view/View;
invoke-static {v0, v3}, Landroidx/fragment/app/FragmentTransitionCompat21;->bfsAddViewChildren(Ljava/util/List;Landroid/view/View;)V
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
invoke-interface {v0, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
invoke-virtual {p3, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
invoke-virtual {p0, p1, p3}, Landroidx/fragment/app/FragmentTransitionCompat21;->addTargets(Ljava/lang/Object;Ljava/util/ArrayList;)V
return-void
.end method
.method public swapSharedElementTargets(Ljava/lang/Object;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/ArrayList<",
"Landroid/view/View;",
">;",
"Ljava/util/ArrayList<",
"Landroid/view/View;",
">;)V"
}
.end annotation
check-cast p1, Landroid/transition/TransitionSet;
if-eqz p1, :cond_0
invoke-virtual {p1}, Landroid/transition/TransitionSet;->getTargets()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->clear()V
invoke-virtual {p1}, Landroid/transition/TransitionSet;->getTargets()Ljava/util/List;
move-result-object v0
invoke-interface {v0, p3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
invoke-virtual {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentTransitionCompat21;->replaceTargets(Ljava/lang/Object;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
:cond_0
return-void
.end method
.method public wrapTransitionInSet(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
if-nez p1, :cond_0
const/4 p1, 0x0
return-object p1
:cond_0
new-instance v0, Landroid/transition/TransitionSet;
invoke-direct {v0}, Landroid/transition/TransitionSet;-><init>()V
check-cast p1, Landroid/transition/Transition;
invoke-virtual {v0, p1}, Landroid/transition/TransitionSet;->addTransition(Landroid/transition/Transition;)Landroid/transition/TransitionSet;
return-object v0
.end method