apkfuckery/com.discord/smali/androidx/transition/GhostViewPort$1.smali
2020-11-12 02:11:44 +00:00

74 lines
2.2 KiB
Smali

.class public Landroidx/transition/GhostViewPort$1;
.super Ljava/lang/Object;
.source "GhostViewPort.java"
# interfaces
.implements Landroid/view/ViewTreeObserver$OnPreDrawListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/transition/GhostViewPort;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/transition/GhostViewPort;
# direct methods
.method public constructor <init>(Landroidx/transition/GhostViewPort;)V
.locals 0
iput-object p1, p0, Landroidx/transition/GhostViewPort$1;->this$0:Landroidx/transition/GhostViewPort;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onPreDraw()Z
.locals 2
iget-object v0, p0, Landroidx/transition/GhostViewPort$1;->this$0:Landroidx/transition/GhostViewPort;
invoke-static {v0}, Landroidx/core/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
iget-object v0, p0, Landroidx/transition/GhostViewPort$1;->this$0:Landroidx/transition/GhostViewPort;
iget-object v1, v0, Landroidx/transition/GhostViewPort;->mStartParent:Landroid/view/ViewGroup;
if-eqz v1, :cond_0
iget-object v0, v0, Landroidx/transition/GhostViewPort;->mStartView:Landroid/view/View;
if-eqz v0, :cond_0
invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->endViewTransition(Landroid/view/View;)V
iget-object v0, p0, Landroidx/transition/GhostViewPort$1;->this$0:Landroidx/transition/GhostViewPort;
iget-object v0, v0, Landroidx/transition/GhostViewPort;->mStartParent:Landroid/view/ViewGroup;
invoke-static {v0}, Landroidx/core/view/ViewCompat;->postInvalidateOnAnimation(Landroid/view/View;)V
iget-object v0, p0, Landroidx/transition/GhostViewPort$1;->this$0:Landroidx/transition/GhostViewPort;
const/4 v1, 0x0
iput-object v1, v0, Landroidx/transition/GhostViewPort;->mStartParent:Landroid/view/ViewGroup;
iput-object v1, v0, Landroidx/transition/GhostViewPort;->mStartView:Landroid/view/View;
:cond_0
const/4 v0, 0x1
return v0
.end method