2020-07-08 16:44:49 +00:00
|
|
|
.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;
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
.field public final synthetic g:Lcom/discord/floating_view_manager/FloatingViewGravity;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
.field public final synthetic h:I
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
.field public final synthetic i:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-14 22:43:59 +00:00
|
|
|
.method public constructor <init>(Lf/a/c/a;Landroid/view/View;Landroid/view/View;Lcom/discord/floating_view_manager/FloatingViewGravity;II)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.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;
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iput-object p4, p0, Lf/a/c/b;->g:Lcom/discord/floating_view_manager/FloatingViewGravity;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iput p5, p0, Lf/a/c/b;->h:I
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iget-object p6, p0, Lf/a/c/b;->g:Lcom/discord/floating_view_manager/FloatingViewGravity;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
iget p7, p0, Lf/a/c/b;->h:I
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
iget p8, p0, Lf/a/c/b;->i:I
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
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
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
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
|
2020-07-20 19:00:44 +00:00
|
|
|
const-string/jumbo p1, "view"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|