apkfuckery/com.discord/smali/f/a/c/b.smali
2020-07-23 01:06:17 +00:00

107 lines
2.6 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:Lcom/discord/floating_view_manager/FloatingViewGravity;
.field public final synthetic h:I
.field public final synthetic i:I
# direct methods
.method public constructor <init>(Lf/a/c/a;Landroid/view/View;Landroid/view/View;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:Lcom/discord/floating_view_manager/FloatingViewGravity;
iput p5, p0, Lf/a/c/b;->h:I
iput p6, p0, Lf/a/c/b;->i: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:Lcom/discord/floating_view_manager/FloatingViewGravity;
iget p7, p0, Lf/a/c/b;->h:I
iget p8, p0, Lf/a/c/b;->i:I
invoke-static/range {p3 .. p8}, Lf/a/c/a;->a(Lf/a/c/a;Landroid/view/View;Landroid/view/View;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/jumbo p1, "view"
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method