apkfuckery/com.discord/smali/f/a/c/b.smali
2020-07-08 16:44:49 +00:00

117 lines
3 KiB
Smali

.class public final Lf/a/c/b;
.super Ljava/lang/Object;
.source "View.kt"
# interfaces
.implements Landroid/view/View$OnLayoutChangeListener;
# instance fields
.field public final synthetic d:Lf/a/c/a;
.field public final synthetic e:Landroid/view/View;
.field public final synthetic f:Landroid/view/View;
.field public final synthetic g:Landroid/widget/FrameLayout;
.field public final synthetic h:Lcom/discord/floating_view_manager/FloatingViewGravity;
.field public final synthetic i:I
.field public final synthetic j:I
# direct methods
.method public constructor <init>(Lf/a/c/a;Landroid/view/View;Landroid/view/View;Landroid/widget/FrameLayout;Lcom/discord/floating_view_manager/FloatingViewGravity;II)V
.locals 0
iput-object p1, p0, Lf/a/c/b;->d:Lf/a/c/a;
iput-object p2, p0, Lf/a/c/b;->e:Landroid/view/View;
iput-object p3, p0, Lf/a/c/b;->f:Landroid/view/View;
iput-object p4, p0, Lf/a/c/b;->g:Landroid/widget/FrameLayout;
iput-object p5, p0, Lf/a/c/b;->h:Lcom/discord/floating_view_manager/FloatingViewGravity;
iput p6, p0, Lf/a/c/b;->i:I
iput p7, p0, Lf/a/c/b;->j:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onLayoutChange(Landroid/view/View;IIIIIIII)V
.locals 0
if-eqz p1, :cond_1
invoke-virtual {p1, p0}, Landroid/view/View;->removeOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
iget-object p1, p0, Lf/a/c/b;->e:Landroid/view/View;
invoke-static {p1}, Landroidx/core/view/ViewCompat;->isLaidOut(Landroid/view/View;)Z
move-result p2
if-eqz p2, :cond_0
invoke-virtual {p1}, Landroid/view/View;->isLayoutRequested()Z
move-result p2
if-nez p2, :cond_0
iget-object p3, p0, Lf/a/c/b;->d:Lf/a/c/a;
iget-object p4, p0, Lf/a/c/b;->f:Landroid/view/View;
iget-object p5, p0, Lf/a/c/b;->e:Landroid/view/View;
iget-object p6, p0, Lf/a/c/b;->g:Landroid/widget/FrameLayout;
const-string p1, "ancestorFrameLayout"
invoke-static {p6, p1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p7, p0, Lf/a/c/b;->h:Lcom/discord/floating_view_manager/FloatingViewGravity;
iget p8, p0, Lf/a/c/b;->i:I
iget p9, p0, Lf/a/c/b;->j:I
invoke-static/range {p3 .. p9}, Lf/a/c/a;->a(Lf/a/c/a;Landroid/view/View;Landroid/view/View;Landroid/widget/FrameLayout;Lcom/discord/floating_view_manager/FloatingViewGravity;II)V
iget-object p1, p0, Lf/a/c/b;->f:Landroid/view/View;
const/4 p2, 0x0
invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V
goto :goto_0
:cond_0
new-instance p2, Lf/a/c/b$a;
invoke-direct {p2, p0}, Lf/a/c/b$a;-><init>(Lf/a/c/b;)V
invoke-virtual {p1, p2}, Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
:goto_0
return-void
:cond_1
const-string p1, "view"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method