88 lines
2.6 KiB
Smali
88 lines
2.6 KiB
Smali
.class public Landroidx/transition/TransitionSet$TransitionSetListener;
|
|
.super Landroidx/transition/TransitionListenerAdapter;
|
|
.source "TransitionSet.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/transition/TransitionSet;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "TransitionSetListener"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public mTransitionSet:Landroidx/transition/TransitionSet;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/transition/TransitionSet;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Landroidx/transition/TransitionListenerAdapter;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/transition/TransitionSet$TransitionSetListener;->mTransitionSet:Landroidx/transition/TransitionSet;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onTransitionEnd(Landroidx/transition/Transition;)V
|
|
.locals 2
|
|
.param p1 # Landroidx/transition/Transition;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object v0, p0, Landroidx/transition/TransitionSet$TransitionSetListener;->mTransitionSet:Landroidx/transition/TransitionSet;
|
|
|
|
iget v1, v0, Landroidx/transition/TransitionSet;->mCurrentListeners:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
iput v1, v0, Landroidx/transition/TransitionSet;->mCurrentListeners:I
|
|
|
|
iget v1, v0, Landroidx/transition/TransitionSet;->mCurrentListeners:I
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Landroidx/transition/TransitionSet;->mStarted:Z
|
|
|
|
invoke-virtual {v0}, Landroidx/transition/Transition;->end()V
|
|
|
|
:cond_0
|
|
invoke-virtual {p1, p0}, Landroidx/transition/Transition;->removeListener(Landroidx/transition/Transition$TransitionListener;)Landroidx/transition/Transition;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onTransitionStart(Landroidx/transition/Transition;)V
|
|
.locals 1
|
|
.param p1 # Landroidx/transition/Transition;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object p1, p0, Landroidx/transition/TransitionSet$TransitionSetListener;->mTransitionSet:Landroidx/transition/TransitionSet;
|
|
|
|
iget-boolean v0, p1, Landroidx/transition/TransitionSet;->mStarted:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-virtual {p1}, Landroidx/transition/Transition;->start()V
|
|
|
|
iget-object p1, p0, Landroidx/transition/TransitionSet$TransitionSetListener;->mTransitionSet:Landroidx/transition/TransitionSet;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p1, Landroidx/transition/TransitionSet;->mStarted:Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|