RoomFloatWindowService.smali

.class public Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;
.super Lsg/bigo/live/support64/BaseService;
.source "SourceFile"

# interfaces
.implements Llive/sg/bigo/svcapi/c/b;
.implements Lsg/bigo/live/support64/component/a;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;,
        Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;,
        Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReporter;
    }
.end annotation


# static fields
.field private static R:Z = false

.field private static S:Z = false

.field static a:J = 0x0L

.field private static d:Ljava/lang/ref/WeakReference; = null
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroid/content/Context;",
            ">;"
        }
    .end annotation
.end field

.field private static e:Z = false

.field private static f:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;",
            ">;"
        }
    .end annotation
.end field

.field private static final g:I

.field private static final h:I

.field private static final i:I

.field private static final j:I

.field private static final k:I

.field private static final l:I

.field private static final m:I

.field private static final n:Landroid/graphics/Rect;

.field private static o:Z

.field private static p:I

.field private static q:I


# instance fields
.field private final A:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroid/widget/FrameLayout;",
            ">;"
        }
    .end annotation
.end field

.field private B:Landroid/view/WindowManager;

.field private C:Landroid/widget/FrameLayout;

.field private D:Lsg/bigo/live/support64/widget/BlurredImage;

.field private E:Landroid/widget/TextView;

.field private F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

.field private G:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;

.field private H:Landroid/widget/ImageView;

.field private I:Landroid/widget/ImageView;

.field private J:Landroid/widget/RelativeLayout;

.field private K:Landroid/view/WindowManager$LayoutParams;

.field private L:Landroid/graphics/Rect;

.field private M:I

.field private N:Z

.field private O:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;

.field private P:Lrx/j;

.field private Q:Landroid/content/Intent;

.field private T:Z

.field private U:Lsg/bigo/live/support64/ad$a;

.field private V:Ljava/lang/Runnable;

.field private W:Lsg/bigo/live/support64/h;

.field private final X:Lsg/bigo/live/support64/controllers/micconnect/ax;

.field private Y:Lsg/bigo/live/support64/widget/a;

.field private Z:Landroid/view/View$OnTouchListener;

.field b:Lsg/bigo/live/support64/controllers/pk/a$b;

.field public c:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;

.field private final r:I

.field private s:Landroid/content/Context;

.field private t:Landroid/view/WindowManager$LayoutParams;

.field private u:I

.field private v:I

.field private w:I

.field private x:I

.field private y:F

.field private z:F


# direct methods
.method static constructor <clinit>()V
    .registers 2

    .line 173
    new-instance v0, Ljava/lang/ref/WeakReference;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    sput-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f:Ljava/lang/ref/WeakReference;

    const/16 v0, 0x78

    .line 175
    invoke-static {v0}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v0

    sput v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->g:I

    const/16 v0, 0x5a

    .line 177
    invoke-static {v0}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v0

    sput v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h:I

    const/16 v0, 0xa0

    .line 178
    invoke-static {v0}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v1

    sput v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->i:I

    const/16 v1, 0x90

    .line 181
    invoke-static {v1}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v1

    sput v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->j:I

    const/16 v1, 0x60

    .line 182
    invoke-static {v1}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v1

    sput v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->k:I

    .line 185
    invoke-static {v0}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v1

    sput v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->l:I

    .line 186
    invoke-static {v0}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v0

    sput v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->m:I

    .line 197
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    sput-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->n:Landroid/graphics/Rect;

    const/4 v0, 0x0

    .line 202
    sput v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p:I

    .line 203
    sput v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->q:I

    .line 244
    sput-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->R:Z

    .line 667
    sput-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->S:Z

    return-void
.end method

.method public constructor <init>()V
    .registers 8

    .line 127
    invoke-direct {p0}, Lsg/bigo/live/support64/BaseService;-><init>()V

    .line 205
    invoke-static {}, Lcom/live/share64/a/f;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->r:I

    .line 208
    new-instance v0, Landroid/view/WindowManager$LayoutParams;

    invoke-direct {v0}, Landroid/view/WindowManager$LayoutParams;-><init>()V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    .line 212
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A:Ljava/util/ArrayList;

    .line 226
    new-instance v0, Landroid/view/WindowManager$LayoutParams;

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x1a

    if-lt v1, v2, :cond_2c

    const/16 v1, 0x7f6

    const/16 v4, 0x7f6

    goto :goto_30

    :cond_2c
    const/16 v1, 0x7d3

    const/16 v4, 0x7d3

    :goto_30
    const v5, 0x40028

    const/4 v6, -0x3

    const/4 v2, -0x2

    const/4 v3, -0x2

    move-object v1, v0

    invoke-direct/range {v1 .. v6}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->K:Landroid/view/WindowManager$LayoutParams;

    .line 234
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->L:Landroid/graphics/Rect;

    const/4 v0, 0x0

    .line 238
    iput-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->N:Z

    .line 262
    new-instance v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$1;

    invoke-direct {v1, p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$1;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    iput-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b:Lsg/bigo/live/support64/controllers/pk/a$b;

    .line 770
    iput-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->T:Z

    .line 792
    sget-object v0, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$56c12i7-SDKeS9EU5lnuRWDpIRE;->INSTANCE:Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$56c12i7-SDKeS9EU5lnuRWDpIRE;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->U:Lsg/bigo/live/support64/ad$a;

    .line 904
    new-instance v0, Lsg/bigo/live/support64/floatwindow/-$$Lambda$dJFKg0jPIAV3_VF4a1ajgFYFTwY;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$dJFKg0jPIAV3_VF4a1ajgFYFTwY;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->V:Ljava/lang/Runnable;

    .line 906
    new-instance v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$2;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$2;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->W:Lsg/bigo/live/support64/h;

    .line 951
    new-instance v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$3;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$3;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->X:Lsg/bigo/live/support64/controllers/micconnect/ax;

    .line 1294
    new-instance v0, Lsg/bigo/live/support64/widget/a;

    invoke-direct {v0}, Lsg/bigo/live/support64/widget/a;-><init>()V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Y:Lsg/bigo/live/support64/widget/a;

    .line 1394
    new-instance v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$4;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$4;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Z:Landroid/view/View$OnTouchListener;

    return-void
.end method

.method private A()V
    .registers 5

    .line 773
    iget-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->T:Z

    if-nez v0, :cond_3c

    .line 774
    sget-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->d:Ljava/lang/ref/WeakReference;

    if-nez v0, :cond_a

    const/4 v0, 0x0

    goto :goto_10

    :cond_a
    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    .line 776
    :goto_10
    instance-of v1, v0, Lsg/bigo/live/support64/activity/liveviewer/LiveViewerActivity;

    if-eqz v1, :cond_39

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/o;->z()Z

    move-result v1

    if-eqz v1, :cond_39

    invoke-static {}, Lsg/bigo/live/support64/activity/a;->a()Lsg/bigo/live/support64/activity/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lsg/bigo/live/support64/activity/a;->a(Lsg/bigo/live/support64/component/a;)Z

    move-result v1

    if-eqz v1, :cond_39

    .line 777
    invoke-static {}, Lsg/bigo/live/support64/activity/a;->a()Lsg/bigo/live/support64/activity/a;

    move-result-object v1

    check-cast v0, Lsg/bigo/live/support64/component/a;

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->n()J

    move-result-wide v2

    invoke-virtual {v1, v0, v2, v3}, Lsg/bigo/live/support64/activity/a;->a(Lsg/bigo/live/support64/component/a;J)V

    :cond_39
    const/4 v0, 0x1

    .line 779
    iput-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->T:Z

    :cond_3c
    return-void
.end method

.method private B()V
    .registers 2

    .line 784
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->c:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;

    if-eqz v0, :cond_1a

    .line 785
    invoke-static {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->a(Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;)Z

    move-result v0

    if-eqz v0, :cond_17

    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->c:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;

    .line 8439
    iget-object v0, v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;

    if-eqz v0, :cond_17

    .line 786
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->c:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;

    .line 9439
    iget-object v0, v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;

    .line 786
    invoke-static {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->setRoomAdatper(Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;)V

    :cond_17
    const/4 v0, 0x0

    .line 788
    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->c:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;

    :cond_1a
    return-void
.end method

.method private static C()V
    .registers 1

    .line 836
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/controllers/micconnect/a;->t()Z

    move-result v0

    if-eqz v0, :cond_22

    invoke-static {}, Lsg/bigo/live/support64/ad;->a()Lsg/bigo/live/support64/ad;

    move-result-object v0

    .line 10037
    iget-boolean v0, v0, Lsg/bigo/live/support64/ad;->a:Z

    if-eqz v0, :cond_16

    .line 836
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->R:Z

    if-eqz v0, :cond_22

    .line 837
    :cond_16
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v0

    if-eqz v0, :cond_22

    .line 839
    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->A()V

    .line 840
    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->z()V

    :cond_22
    return-void
.end method

.method private D()Landroid/view/ViewGroup$LayoutParams;
    .registers 5

    .line 1010
    sget v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->l:I

    sget v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->m:I

    .line 1011
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->E()I

    move-result v2

    const/4 v3, 0x4

    if-eq v2, v3, :cond_1d

    const/4 v3, 0x5

    if-eq v2, v3, :cond_13

    goto :goto_21

    .line 1013
    :cond_13
    sget v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h:I

    .line 1016
    iget v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->v:I

    mul-int v1, v1, v0

    iget v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->u:I

    div-int/2addr v1, v2

    goto :goto_21

    .line 1019
    :cond_1d
    sget v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->j:I

    .line 1020
    sget v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->k:I

    .line 1025
    :goto_21
    new-instance v2, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v2, v0, v1}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    return-object v2
.end method

.method private E()Z
    .registers 5

    const-string v0, "RoomFloatWindowService"

    const-string v1, "reInitializeFloatWindowMembers"

    .line 1142
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1143
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-eqz v0, :cond_1a

    .line 1144
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A:Ljava/util/ArrayList;

    monitor-enter v0

    .line 1145
    :try_start_e
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A:Ljava/util/ArrayList;

    iget-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1146
    monitor-exit v0

    goto :goto_1a

    :catchall_17
    move-exception v1

    monitor-exit v0
    :try_end_19
    .catchall {:try_start_e .. :try_end_19} :catchall_17

    throw v1

    .line 1148
    :cond_1a
    :goto_1a
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->s:Landroid/content/Context;

    const v1, 0x7d0a009f

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-static {v0, v1, v2, v3}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-nez v0, :cond_33

    const-string v0, "RoomFloatWindowService"

    const-string v1, "FloatWindow fails to inflate!"

    .line 1150
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return v3

    :cond_33
    const v1, 0x7d080020

    .line 1153
    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lsg/bigo/live/support64/widget/BlurredImage;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->D:Lsg/bigo/live/support64/widget/BlurredImage;

    .line 1154
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const v1, 0x7d0801c6

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->G:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;

    .line 1157
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->D:Lsg/bigo/live/support64/widget/BlurredImage;

    const v1, 0x7d0700a8

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/widget/BlurredImage;->a(I)Lsg/bigo/live/support64/widget/BlurredImage;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/widget/BlurredImage;->setImageURI(Ljava/lang/String;)V

    .line 1158
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const v1, 0x7d080362

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->E:Landroid/widget/TextView;

    .line 1159
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const v1, 0x7d0802d2

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->indexOfChild(Landroid/view/View;)I

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->M:I

    .line 1161
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->removeViewAt(I)V

    .line 1162
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const v1, 0x7d08003a

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$TOlbWekHlN7-BYKi2vzsbLzOLVM;

    invoke-direct {v1, p0}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$TOlbWekHlN7-BYKi2vzsbLzOLVM;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1166
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->K:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x51

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->gravity:I

    .line 1167
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_a1

    .line 1168
    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->removeAllViews()V

    .line 1169
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    if-eqz v0, :cond_a1

    .line 1170
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    invoke-interface {v0, v1}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V

    .line 1173
    :cond_a1
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->s:Landroid/content/Context;

    const v1, 0x7f0b051f

    invoke-static {v0, v1, v2, v3}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    if-nez v0, :cond_b8

    const-string v0, "RoomFloatWindowService"

    const-string v1, "End-call icon fails to inflate!"

    .line 1180
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return v3

    :cond_b8
    const/16 v1, 0x8

    .line 1183
    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 1184
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    const v1, 0x7f09048e

    .line 1185
    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->H:Landroid/widget/ImageView;

    .line 1186
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    const v1, 0x7f09048c

    .line 1187
    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->I:Landroid/widget/ImageView;

    .line 1188
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->H:Landroid/widget/ImageView;

    const v1, 0x7d0700ea

    .line 1189
    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 1190
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->I:Landroid/widget/ImageView;

    const v1, 0x7d0700e9

    .line 1191
    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    const-string v0, "RoomFloatWindowService"

    const-string v1, "setIconPositionListener"

    .line 11029
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 11031
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v1

    new-instance v2, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$TlrPsMVUgT6Hbwn9BsRLCTkrD80;

    invoke-direct {v2, p0, v0}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$TlrPsMVUgT6Hbwn9BsRLCTkrD80;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;[I)V

    .line 11032
    invoke-virtual {v1, v2}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    const/4 v0, 0x1

    return v0
.end method

.method private F()V
    .registers 4

    .line 1270
    sget-boolean v0, Lcom/live/share64/utils/m;->d:Z

    if-eqz v0, :cond_b

    const-string v0, "RoomFloatWindowService"

    const-string v1, "refreshWindow"

    .line 1271
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1273
    :cond_b
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v0

    if-nez v0, :cond_12

    return-void

    .line 1276
    :cond_12
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-nez v0, :cond_17

    return-void

    .line 1279
    :cond_17
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->D()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    .line 1280
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    if-eqz v1, :cond_35

    invoke-virtual {v1}, Lsg/bigo/live/support64/widget/LiveGLSurfaceView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    iget v1, v1, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget v2, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    if-ne v1, v2, :cond_35

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    .line 1281
    invoke-virtual {v1}, Lsg/bigo/live/support64/widget/LiveGLSurfaceView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    iget v1, v1, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget v2, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    if-eq v1, v2, :cond_3b

    .line 1282
    :cond_35
    invoke-direct {p0, v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1283
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->G()V

    .line 1286
    :cond_3b
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    iget-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Z:Landroid/view/View$OnTouchListener;

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 1287
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 1288
    invoke-direct {p0, v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1289
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    invoke-direct {p0, v0, v1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Landroid/view/View;Landroid/view/WindowManager$LayoutParams;)V

    .line 1290
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->K:Landroid/view/WindowManager$LayoutParams;

    invoke-direct {p0, v0, v1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Landroid/view/View;Landroid/view/WindowManager$LayoutParams;)V

    const/4 v0, 0x1

    .line 1291
    invoke-static {v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b(Z)V

    return-void
.end method

.method private G()V
    .registers 7

    .line 1297
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v0

    if-eqz v0, :cond_3d

    .line 1299
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/o;->e()Z

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_33

    .line 1300
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Y:Lsg/bigo/live/support64/widget/a;

    invoke-virtual {v1, v2}, Lsg/bigo/live/support64/widget/a;->a(Z)V

    .line 1301
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    iget-object v3, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Y:Lsg/bigo/live/support64/widget/a;

    .line 11083
    iget-object v3, v3, Lsg/bigo/live/support64/widget/a;->a:[B

    .line 1301
    iget-object v4, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Y:Lsg/bigo/live/support64/widget/a;

    .line 11087
    iget v4, v4, Lsg/bigo/live/support64/widget/a;->b:I

    .line 1302
    iget-object v5, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Y:Lsg/bigo/live/support64/widget/a;

    .line 11091
    iget v5, v5, Lsg/bigo/live/support64/widget/a;->c:I

    .line 1301
    invoke-interface {v0, v1, v3, v4, v5}, Lsg/bigo/live/support64/g/n;->a(Landroid/opengl/GLSurfaceView;[BII)V

    .line 1303
    iget-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->N:Z

    if-nez v0, :cond_38

    .line 1304
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/controllers/micconnect/a;->A()V

    goto :goto_38

    .line 1307
    :cond_33
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    invoke-interface {v0, v1}, Lsg/bigo/live/support64/g/n;->a(Landroid/opengl/GLSurfaceView;)V

    .line 1309
    :cond_38
    :goto_38
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->H()V

    .line 1310
    iput-boolean v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->N:Z

    :cond_3d
    return-void
.end method

.method private static H()V
    .registers 5

    .line 1315
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v0

    const/4 v1, 0x1

    if-nez v0, :cond_f

    const-string v0, "RoomFloatWindowService"

    const-string v2, "videoController is null"

    .line 12079
    invoke-static {v0, v2, v1}, Lcom/imo/android/imoim/util/bt;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    return-void

    .line 1320
    :cond_f
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->e()Z

    move-result v2

    const/4 v3, 0x0

    const/4 v4, 0x2

    if-eqz v2, :cond_28

    .line 1321
    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lsg/bigo/live/support64/g/n;

    invoke-interface {v1, v4}, Lsg/bigo/live/support64/g/n;->i(I)V

    .line 1322
    invoke-interface {v0, v3}, Lsg/bigo/live/support64/g/n;->f(I)V

    return-void

    .line 1324
    :cond_28
    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lsg/bigo/live/support64/g/n;

    invoke-interface {v2}, Lsg/bigo/live/support64/g/n;->J()Z

    move-result v2

    if-nez v2, :cond_52

    .line 1326
    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->K()Landroid/util/Pair;

    move-result-object v2

    if-eqz v2, :cond_52

    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->K()Landroid/util/Pair;

    move-result-object v2

    iget-object v2, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    if-eqz v2, :cond_52

    .line 1327
    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->K()Landroid/util/Pair;

    move-result-object v2

    iget-object v2, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-interface {v0, v2}, Lsg/bigo/live/support64/g/n;->f(I)V

    goto :goto_55

    .line 1329
    :cond_52
    invoke-interface {v0, v3}, Lsg/bigo/live/support64/g/n;->f(I)V

    .line 1331
    :goto_55
    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->K()Landroid/util/Pair;

    move-result-object v2

    if-eqz v2, :cond_6d

    .line 1332
    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->K()Landroid/util/Pair;

    move-result-object v2

    iget-object v2, v2, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    if-ne v2, v1, :cond_6d

    .line 1333
    invoke-interface {v0, v1}, Lsg/bigo/live/support64/g/n;->i(I)V

    return-void

    .line 1335
    :cond_6d
    invoke-interface {v0, v4}, Lsg/bigo/live/support64/g/n;->i(I)V

    return-void
.end method

.method private I()V
    .registers 6

    const-string v0, "RoomFloatWindowService"

    const-string v1, "removeView"

    .line 1341
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1342
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A:Ljava/util/ArrayList;

    monitor-enter v0

    .line 1343
    :try_start_a
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const/4 v2, 0x0

    if-eqz v1, :cond_18

    .line 1344
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A:Ljava/util/ArrayList;

    iget-object v3, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1345
    iput-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    .line 1347
    :cond_18
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :catch_1e
    :cond_1e
    :goto_1e
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_42

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/widget/FrameLayout;

    .line 1348
    invoke-virtual {v3}, Landroid/widget/FrameLayout;->removeAllViews()V

    const/16 v4, 0x8

    .line 1349
    invoke-virtual {v3, v4}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 1350
    invoke-virtual {v3}, Landroid/widget/FrameLayout;->getParent()Landroid/view/ViewParent;

    move-result-object v4
    :try_end_36
    .catchall {:try_start_a .. :try_end_36} :catchall_64

    if-eqz v4, :cond_1e

    .line 1352
    :try_start_38
    iget-object v4, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    if-eqz v4, :cond_1e

    .line 1353
    iget-object v4, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    invoke-interface {v4, v3}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V
    :try_end_41
    .catch Ljava/lang/Exception; {:try_start_38 .. :try_end_41} :catch_1e
    .catchall {:try_start_38 .. :try_end_41} :catchall_64

    goto :goto_1e

    .line 1360
    :cond_42
    :try_start_42
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    .line 1361
    monitor-exit v0
    :try_end_48
    .catchall {:try_start_42 .. :try_end_48} :catchall_64

    .line 1362
    iput-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    .line 1363
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_5f

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_5f

    .line 1365
    :try_start_54
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    if-eqz v0, :cond_5f

    .line 1366
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    invoke-interface {v0, v1}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V
    :try_end_5f
    .catch Ljava/lang/Exception; {:try_start_54 .. :try_end_5f} :catch_5f

    .line 1372
    :catch_5f
    :cond_5f
    iput-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    .line 1373
    iput-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    return-void

    :catchall_64
    move-exception v1

    .line 1361
    :try_start_65
    monitor-exit v0
    :try_end_66
    .catchall {:try_start_65 .. :try_end_66} :catchall_64

    goto :goto_68

    :goto_67
    throw v1

    :goto_68
    goto :goto_67
.end method

.method private static synthetic J()V
    .registers 1

    .line 856
    invoke-static {}, Lsg/bigo/live/support64/k;->k()Lsg/bigo/live/support64/g/b;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->O()V

    return-void
.end method

.method private static synthetic K()V
    .registers 5

    .line 810
    invoke-static {}, Lsg/bigo/live/support64/k;->k()Lsg/bigo/live/support64/g/b;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->O()V

    .line 811
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->B()Z

    move-result v0

    .line 812
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/controllers/micconnect/a;->t()Z

    move-result v1

    if-nez v0, :cond_1b

    if-eqz v1, :cond_79

    .line 814
    :cond_1b
    invoke-static {}, Lsg/bigo/live/support64/k;->k()Lsg/bigo/live/support64/g/b;

    move-result-object v2

    invoke-interface {v2}, Lsg/bigo/live/support64/g/b;->R()V

    const/4 v2, 0x1

    if-eqz v0, :cond_37

    .line 815
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->s()I

    move-result v0

    if-ne v0, v2, :cond_37

    .line 816
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->y()V

    goto :goto_56

    :cond_37
    if-eqz v1, :cond_56

    .line 818
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/o;->p()J

    move-result-wide v3

    invoke-virtual {v0, v3, v4}, Lsg/bigo/live/support64/controllers/micconnect/a;->d(J)Lsg/bigo/live/support64/controllers/micconnect/MicconnectInfo;

    move-result-object v0

    if-eqz v0, :cond_56

    .line 819
    iget v0, v0, Lsg/bigo/live/support64/controllers/micconnect/MicconnectInfo;->e:I

    if-ne v0, v2, :cond_56

    .line 820
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->y()V

    .line 823
    :cond_56
    :goto_56
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->B()Z

    move-result v0

    if-eqz v0, :cond_79

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->r()Z

    move-result v0

    if-eqz v0, :cond_79

    .line 824
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/o;->e(Z)V

    .line 825
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/m;->p()V

    :cond_79
    return-void
.end method

.method private static synthetic L()V
    .registers 2

    .line 797
    invoke-static {}, Lsg/bigo/live/support64/k;->k()Lsg/bigo/live/support64/g/b;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->P()V

    .line 798
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->B()Z

    move-result v0

    if-nez v0, :cond_1b

    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/controllers/micconnect/a;->t()Z

    move-result v0

    if-eqz v0, :cond_4c

    .line 799
    :cond_1b
    invoke-static {}, Lsg/bigo/live/support64/k;->k()Lsg/bigo/live/support64/g/b;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->S()V

    .line 800
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/g/n;->z()V

    .line 801
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->B()Z

    move-result v0

    if-eqz v0, :cond_4c

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->r()Z

    move-result v0

    if-nez v0, :cond_4c

    .line 802
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/o;->e(Z)V

    .line 803
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object v0

    invoke-interface {v0}, Lsg/bigo/live/support64/m;->p()V

    :cond_4c
    return-void
.end method

.method private synthetic M()V
    .registers 3

    .line 716
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 717
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->invalidate()V

    return-void
.end method

.method private synthetic N()V
    .registers 3

    .line 707
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 708
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->invalidate()V

    return-void
.end method

.method static synthetic a(FFFF)D
    .registers 6

    sub-float/2addr p0, p1

    float-to-double p0, p0

    const-wide/high16 v0, 0x4000000000000000L    # 2.0

    .line 17488
    invoke-static {p0, p1, v0, v1}, Ljava/lang/Math;->pow(DD)D

    move-result-wide p0

    sub-float/2addr p2, p3

    float-to-double p2, p2

    invoke-static {p2, p3, v0, v1}, Ljava/lang/Math;->pow(DD)D

    move-result-wide p2

    add-double/2addr p0, p2

    return-wide p0
.end method

.method static synthetic a(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;F)F
    .registers 2

    .line 127
    iput p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->y:F

    return p1
.end method

.method static synthetic a(III)I
    .registers 3

    .line 18484
    invoke-static {p0, p1}, Ljava/lang/Math;->max(II)I

    move-result p0

    invoke-static {p0, p2}, Ljava/lang/Math;->min(II)I

    move-result p0

    return p0
.end method

.method static synthetic a(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;I)I
    .registers 2

    .line 127
    iput p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->w:I

    return p1
.end method

.method private static synthetic a(ILjava/lang/String;)V
    .registers 3

    const-string p1, "RoomFloatWindowService"

    if-eqz p0, :cond_11

    const/4 v0, 0x1

    if-eq p0, v0, :cond_b

    const/4 v0, 0x2

    if-eq p0, v0, :cond_b

    goto :goto_16

    .line 796
    :cond_b
    sget-object p0, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$7V4ewPcB_hJhM43tzN-V5YHxFU0;->INSTANCE:Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$7V4ewPcB_hJhM43tzN-V5YHxFU0;

    invoke-static {p1, p0}, Lsg/bigo/live/support64/utils/o;->a(Ljava/lang/String;Ljava/lang/Runnable;)V

    return-void

    .line 809
    :cond_11
    sget-object p0, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$0xvppgJKYD7DTPhusswPnXnkxrA;->INSTANCE:Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$0xvppgJKYD7DTPhusswPnXnkxrA;

    invoke-static {p1, p0}, Lsg/bigo/live/support64/utils/o;->a(Ljava/lang/String;Ljava/lang/Runnable;)V

    :goto_16
    return-void
.end method

.method public static a(Landroid/content/Context;)V
    .registers 3

    const-string v0, "RoomFloatWindowService"

    if-nez p0, :cond_a

    const-string p0, "stopRoomFloatWindowService Failed: Null Context"

    .line 159
    invoke-static {v0, p0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    :cond_a
    const-string v1, "stopRoomFloatWindowService"

    .line 162
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 163
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/4 p0, 0x1

    const-string v1, "extra_cmd"

    .line 164
    invoke-virtual {v0, v1, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 165
    invoke-static {v0}, Lsg/bigo/common/g;->a(Landroid/content/Intent;)V

    const/4 p0, 0x0

    .line 166
    invoke-static {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b(Z)V

    return-void
.end method

.method public static a(Landroid/content/Context;Landroid/os/Bundle;)V
    .registers 4

    const-string v0, "RoomFloatWindowService"

    if-nez p0, :cond_a

    const-string p0, "startRoomFloatWindowService Failed: Null Context"

    .line 138
    invoke-static {v0, p0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 141
    :cond_a
    new-instance v1, Ljava/lang/ref/WeakReference;

    invoke-direct {v1, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    sput-object v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->d:Ljava/lang/ref/WeakReference;

    const-string v1, "startRoomFloatWindowService"

    .line 143
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 144
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    .line 145
    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->z()Z

    move-result v0

    if-eqz v0, :cond_46

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->A()I

    move-result v0

    const/4 v1, 0x5

    if-eq v0, v1, :cond_46

    .line 146
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/4 p0, 0x0

    const-string v1, "extra_cmd"

    .line 147
    invoke-virtual {v0, v1, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    if-eqz p1, :cond_3f

    const-string p0, "extra_community"

    .line 149
    invoke-virtual {v0, p0, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;

    .line 151
    :cond_3f
    invoke-static {v0}, Lsg/bigo/common/g;->a(Landroid/content/Intent;)V

    const/4 p0, 0x1

    .line 152
    invoke-static {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b(Z)V

    :cond_46
    return-void
.end method

.method private synthetic a(Landroid/view/View;)V
    .registers 7

    .line 13204
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/o;->B()Z

    move-result p1

    const/4 v0, 0x0

    if-eqz p1, :cond_15

    const p1, 0x7d0c00dd

    new-array v1, v0, [Ljava/lang/Object;

    .line 13205
    invoke-static {p1, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    goto :goto_1e

    :cond_15
    const p1, 0x7d0c00df

    new-array v1, v0, [Ljava/lang/Object;

    .line 13207
    invoke-static {p1, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    :goto_1e
    const v1, 0x7d0c00da

    new-array v2, v0, [Ljava/lang/Object;

    .line 13209
    invoke-static {v1, v2}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7d0c00cb

    new-array v0, v0, [Ljava/lang/Object;

    .line 13210
    invoke-static {v2, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 13211
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->z()Z

    move-result v2

    const/4 v3, 0x1

    if-eqz v2, :cond_9e

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->B()Z

    move-result v2

    if-nez v2, :cond_55

    .line 13212
    invoke-static {}, Lsg/bigo/live/support64/k;->k()Lsg/bigo/live/support64/g/b;

    move-result-object v2

    if-eqz v2, :cond_9e

    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/controllers/micconnect/a;->t()Z

    move-result v2

    if-eqz v2, :cond_9e

    .line 13213
    :cond_55
    new-instance v2, Landroid/app/AlertDialog$Builder;

    invoke-direct {v2, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, p1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object p1

    new-instance v2, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$NPy9IZk493-1uLxpMydxzqkOeI0;

    const/4 v4, 0x0

    invoke-direct {v2, p0, v3, v4}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$NPy9IZk493-1uLxpMydxzqkOeI0;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;ZLjava/lang/Runnable;)V

    .line 13214
    invoke-virtual {p1, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object p1

    new-instance v1, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$409EPt4z_IbwHKorn_VvUEhkfmQ;

    invoke-direct {v1, v4}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$409EPt4z_IbwHKorn_VvUEhkfmQ;-><init>(Ljava/lang/Runnable;)V

    .line 13221
    invoke-virtual {p1, v0, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object p1

    .line 13226
    invoke-virtual {p1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object p1

    .line 13227
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1a

    if-lt v0, v1, :cond_8b

    .line 13228
    invoke-virtual {p1}, Landroid/app/AlertDialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    if-eqz v0, :cond_9a

    .line 13229
    invoke-virtual {p1}, Landroid/app/AlertDialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x7f6

    invoke-virtual {v0, v1}, Landroid/view/Window;->setType(I)V

    goto :goto_9a

    .line 13232
    :cond_8b
    invoke-virtual {p1}, Landroid/app/AlertDialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    if-eqz v0, :cond_9a

    .line 13233
    invoke-virtual {p1}, Landroid/app/AlertDialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x7d3

    invoke-virtual {v0, v1}, Landroid/view/Window;->setType(I)V

    .line 13236
    :cond_9a
    :goto_9a
    invoke-virtual {p1}, Landroid/app/AlertDialog;->show()V

    return-void

    .line 13239
    :cond_9e
    invoke-static {v3}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Z)V

    .line 13240
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f()V

    return-void
.end method

.method private a(Landroid/view/View;Landroid/view/WindowManager$LayoutParams;)V
    .registers 6

    if-eqz p1, :cond_6d

    .line 964
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->s:Landroid/content/Context;

    if-nez v0, :cond_7

    goto :goto_6d

    .line 967
    :cond_7
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    const-string v2, "RoomFloatWindowService"

    if-nez v1, :cond_25

    const-string v1, "window"

    .line 968
    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/WindowManager;

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    if-eqz v0, :cond_25

    .line 971
    :try_start_19
    invoke-interface {v0, p1, p2}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_1c
    .catch Ljava/lang/Exception; {:try_start_19 .. :try_end_1c} :catch_1d

    goto :goto_25

    :catch_1d
    move-exception v0

    .line 975
    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-static {v2, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 978
    :cond_25
    :goto_25
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B:Landroid/view/WindowManager;

    .line 979
    invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    if-eqz v1, :cond_4c

    if-eqz v0, :cond_4b

    .line 982
    :try_start_2f
    invoke-interface {v0, p1, p2}, Landroid/view/WindowManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 983
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_4b

    .line 984
    iget p1, p2, Landroid/view/WindowManager$LayoutParams;->x:I

    sput p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p:I

    .line 985
    iget p1, p2, Landroid/view/WindowManager$LayoutParams;->y:I

    sput p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->q:I
    :try_end_42
    .catch Ljava/lang/Exception; {:try_start_2f .. :try_end_42} :catch_43

    goto :goto_4b

    :catch_43
    move-exception p1

    .line 990
    invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-static {v2, p1}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    :cond_4b
    :goto_4b
    return-void

    :cond_4c
    if-eqz v0, :cond_6d

    .line 995
    :try_start_4e
    invoke-interface {v0, p1, p2}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 996
    invoke-interface {v0, p1, p2}, Landroid/view/WindowManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 997
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_6d

    .line 998
    iget p1, p2, Landroid/view/WindowManager$LayoutParams;->x:I

    sput p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p:I

    .line 999
    iget p1, p2, Landroid/view/WindowManager$LayoutParams;->y:I

    sput p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->q:I
    :try_end_64
    .catch Ljava/lang/Exception; {:try_start_4e .. :try_end_64} :catch_65

    goto :goto_6d

    :catch_65
    move-exception p1

    .line 1004
    invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-static {v2, p1}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    :cond_6d
    :goto_6d
    return-void
.end method

.method private a(Landroid/view/ViewGroup$LayoutParams;)V
    .registers 5

    const-string v0, "RoomFloatWindowService"

    const-string v1, "resetSubViewLayout"

    .line 1078
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1079
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-nez v1, :cond_11

    const-string p1, "Find no floating window, cannot update layout"

    .line 1080
    invoke-static {v0, p1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 1083
    :cond_11
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    if-eqz v0, :cond_18

    .line 1084
    invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->removeView(Landroid/view/View;)V

    .line 1086
    :cond_18
    new-instance v0, Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->getApplication()Landroid/app/Application;

    move-result-object v1

    invoke-direct {v0, v1}, Lsg/bigo/live/support64/widget/LiveGLSurfaceView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    const/16 v1, 0x8

    .line 1087
    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/widget/LiveGLSurfaceView;->setVisibility(I)V

    .line 1089
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    invoke-virtual {v0, p1}, Lsg/bigo/live/support64/widget/LiveGLSurfaceView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1090
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    iget v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->M:I

    invoke-virtual {v0, v1, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;I)V

    .line 1092
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->D:Lsg/bigo/live/support64/widget/BlurredImage;

    invoke-virtual {v0}, Lsg/bigo/live/support64/widget/BlurredImage;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    .line 1093
    iget v1, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 1094
    iget v1, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 1095
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->D:Lsg/bigo/live/support64/widget/BlurredImage;

    invoke-virtual {v1, v0}, Lsg/bigo/live/support64/widget/BlurredImage;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1097
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->G:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;

    invoke-virtual {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    .line 1098
    iget v1, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 1099
    iget p1, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    iput p1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 1100
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->G:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;

    invoke-virtual {p1, v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method private synthetic a(Ljava/lang/Long;)V
    .registers 3

    .line 13740
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/b;->b()Z

    move-result p1

    sput-boolean p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->S:Z

    .line 14497
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    if-eqz v0, :cond_2c

    if-eqz p1, :cond_2c

    .line 704
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-eqz p1, :cond_2c

    invoke-virtual {p1}, Landroid/widget/FrameLayout;->isShown()Z

    move-result p1

    if-nez p1, :cond_2c

    .line 705
    new-instance p1, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$BRS0NSrlplj2tQ8jvxFKd6bGHHQ;

    invoke-direct {p1, p0}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$BRS0NSrlplj2tQ8jvxFKd6bGHHQ;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    invoke-static {p1}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V

    .line 710
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/o;->B()Z

    move-result p1

    if-eqz p1, :cond_92

    .line 711
    invoke-static {}, Lsg/bigo/live/support64/a;->a()V

    return-void

    .line 15497
    :cond_2c
    sget-boolean p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    if-eqz p1, :cond_6f

    .line 713
    sget-boolean p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->S:Z

    if-nez p1, :cond_6f

    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-eqz p1, :cond_6f

    invoke-virtual {p1}, Landroid/widget/FrameLayout;->isShown()Z

    move-result p1

    if-eqz p1, :cond_6f

    .line 714
    new-instance p1, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$fqoZG8mdjqGXEzc6fn4Hzua43Sk;

    invoke-direct {p1, p0}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$fqoZG8mdjqGXEzc6fn4Hzua43Sk;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    invoke-static {p1}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V

    .line 719
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/controllers/micconnect/a;->t()Z

    move-result p1

    if-eqz p1, :cond_61

    .line 720
    new-instance p1, Lsg/bigo/live/support64/report/o$d;

    invoke-direct {p1}, Lsg/bigo/live/support64/report/o$d;-><init>()V

    const/4 v0, 0x3

    .line 721
    invoke-virtual {p1, v0}, Lsg/bigo/live/support64/report/o$d;->a(I)V

    .line 724
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/controllers/micconnect/a;->l()V

    return-void

    .line 725
    :cond_61
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/o;->B()Z

    move-result p1

    if-eqz p1, :cond_92

    .line 726
    invoke-static {}, Lsg/bigo/live/support64/a;->b()V

    return-void

    .line 731
    :cond_6f
    sget-boolean p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->S:Z

    if-nez p1, :cond_92

    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-eqz p1, :cond_7d

    invoke-virtual {p1}, Landroid/widget/FrameLayout;->isShown()Z

    move-result p1

    if-nez p1, :cond_92

    .line 732
    :cond_7d
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/o;->B()Z

    move-result p1

    if-eqz p1, :cond_92

    invoke-static {}, Lsg/bigo/live/support64/activity/BaseActivity;->e()Lsg/bigo/live/support64/activity/BaseActivity;

    move-result-object p1

    instance-of p1, p1, Lsg/bigo/live/support64/activity/livecamera/LiveCameraActivity;

    if-nez p1, :cond_92

    .line 733
    invoke-static {}, Lsg/bigo/live/support64/a;->b()V

    :cond_92
    return-void
.end method

.method private static synthetic a(Ljava/lang/Runnable;Landroid/content/DialogInterface;I)V
    .registers 3

    if-eqz p0, :cond_5

    .line 1223
    invoke-interface {p0}, Ljava/lang/Runnable;->run()V

    :cond_5
    return-void
.end method

.method static synthetic a(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V
    .registers 1

    .line 127
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F()V

    return-void
.end method

.method static synthetic a(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;Landroid/view/View;Landroid/view/WindowManager$LayoutParams;)V
    .registers 3

    .line 127
    invoke-direct {p0, p1, p2}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Landroid/view/View;Landroid/view/WindowManager$LayoutParams;)V

    return-void
.end method

.method static synthetic a(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;Z)V
    .registers 4

    .line 19047
    :try_start_0
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_2e

    const-string v0, "RoomFloatWindowService"

    const-string v1, "showIcon"

    .line 19048
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 19049
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    const/4 v0, 0x4

    if-eqz p1, :cond_1f

    .line 19051
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->H:Landroid/widget/ImageView;

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 19053
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->I:Landroid/widget/ImageView;

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_29

    .line 19055
    :cond_1f
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->H:Landroid/widget/ImageView;

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 19056
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->I:Landroid/widget/ImageView;

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 19058
    :goto_29
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Landroid/widget/RelativeLayout;->invalidate()V
    :try_end_2e
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_2e} :catch_2e

    :catch_2e
    :cond_2e
    return-void
.end method

.method public static a(Z)V
    .registers 1

    if-eqz p0, :cond_7

    const/4 p0, 0x2

    .line 1245
    invoke-static {p0}, Lsg/bigo/live/support64/floatwindow/a;->a(I)V

    return-void

    :cond_7
    const/4 p0, 0x4

    .line 1247
    invoke-static {p0}, Lsg/bigo/live/support64/floatwindow/a;->a(I)V

    return-void
.end method

.method private synthetic a(ZLjava/lang/Runnable;Landroid/content/DialogInterface;I)V
    .registers 5

    .line 1215
    invoke-static {p1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Z)V

    .line 1216
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f()V

    if-eqz p2, :cond_b

    .line 1218
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_b
    return-void
.end method

.method private synthetic a([I)V
    .registers 6

    .line 1033
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_2f

    .line 1034
    invoke-virtual {v0, p1}, Landroid/widget/RelativeLayout;->getLocationOnScreen([I)V

    .line 1035
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->L:Landroid/graphics/Rect;

    const/4 v1, 0x0

    aget v2, p1, v1

    iput v2, v0, Landroid/graphics/Rect;->left:I

    .line 1036
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->L:Landroid/graphics/Rect;

    const/4 v2, 0x1

    aget v3, p1, v2

    iput v3, v0, Landroid/graphics/Rect;->top:I

    .line 1037
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->L:Landroid/graphics/Rect;

    aget v1, p1, v1

    iget-object v3, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    .line 1038
    invoke-virtual {v3}, Landroid/widget/RelativeLayout;->getWidth()I

    move-result v3

    add-int/2addr v1, v3

    iput v1, v0, Landroid/graphics/Rect;->right:I

    .line 1039
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->L:Landroid/graphics/Rect;

    aget p1, p1, v2

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    .line 1040
    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getHeight()I

    move-result v1

    add-int/2addr p1, v1

    iput p1, v0, Landroid/graphics/Rect;->bottom:I

    :cond_2f
    return-void
.end method

.method static synthetic b(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;F)F
    .registers 2

    .line 127
    iput p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->z:F

    return p1
.end method

.method static synthetic b(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;I)I
    .registers 2

    .line 127
    iput p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->x:I

    return p1
.end method

.method static synthetic b(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)Ljava/lang/Runnable;
    .registers 1

    .line 127
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->V:Ljava/lang/Runnable;

    return-object p0
.end method

.method private b(Landroid/view/ViewGroup$LayoutParams;)V
    .registers 10

    if-eqz p1, :cond_8d

    .line 1105
    iget v0, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    if-lez v0, :cond_8d

    iget v0, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    if-gtz v0, :cond_c

    goto/16 :goto_8d

    :cond_c
    const-string v0, "RoomFloatWindowService"

    const-string v1, "convertLayoutParamsToWmParams"

    .line 1108
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1109
    new-instance v0, Landroid/view/WindowManager$LayoutParams;

    const/4 v3, -0x2

    const/4 v4, -0x2

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x1a

    if-lt v1, v2, :cond_22

    const/16 v1, 0x7f6

    const/16 v5, 0x7f6

    goto :goto_26

    :cond_22
    const/16 v1, 0x7d3

    const/16 v5, 0x7d3

    :goto_26
    const v6, 0x40028

    const/4 v7, 0x1

    move-object v2, v0

    invoke-direct/range {v2 .. v7}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x33

    .line 1118
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->gravity:I

    const/4 v0, 0x1

    .line 1120
    invoke-static {v0}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v0

    .line 1123
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    iget v2, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    add-int/2addr v2, v0

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->width:I

    .line 1124
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    iget v2, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    add-int/2addr v2, v0

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->height:I

    .line 1126
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->o:Z

    if-eqz v0, :cond_74

    .line 1127
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    sget v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p:I

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    .line 1128
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    iget v0, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    iget v1, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    div-int/lit8 v1, v1, 0x2

    add-int/2addr v0, v1

    iget v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->u:I

    div-int/lit8 v2, v1, 0x2

    if-ge v0, v2, :cond_66

    .line 1129
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    const/4 v0, 0x0

    iput v0, p1, Landroid/view/WindowManager$LayoutParams;->x:I

    goto :goto_6d

    .line 1131
    :cond_66
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    iget p1, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    sub-int/2addr v1, p1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    .line 1133
    :goto_6d
    iget-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    sget v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->q:I

    iput v0, p1, Landroid/view/WindowManager$LayoutParams;->y:I

    return-void

    .line 1135
    :cond_74
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    sget-object v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->n:Landroid/graphics/Rect;

    iget v1, v1, Landroid/graphics/Rect;->right:I

    iget v2, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    sub-int/2addr v1, v2

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    .line 1136
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    sget-object v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->n:Landroid/graphics/Rect;

    iget v1, v1, Landroid/graphics/Rect;->bottom:I

    iget p1, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    sub-int/2addr v1, p1

    sget p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->g:I

    sub-int/2addr v1, p1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->y:I

    :cond_8d
    :goto_8d
    return-void
.end method

.method private static b(Z)V
    .registers 3

    .line 1501
    invoke-static {p0}, Ljava/lang/String;->valueOf(Z)Ljava/lang/String;

    move-result-object v0

    const-string v1, "setIsLiveInFloatWindowAndSmallWindowMode : "

    invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "RoomFloatWindowService"

    invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1502
    sput-boolean p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    .line 1503
    invoke-static {p0}, Lsg/bigo/live/support64/controllers/micconnect/ai;->a(Z)V

    return-void
.end method

.method static synthetic c(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)Lsg/bigo/live/support64/widget/BlurredImage;
    .registers 1

    .line 127
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->D:Lsg/bigo/live/support64/widget/BlurredImage;

    return-object p0
.end method

.method public static c()V
    .registers 1

    const/4 v0, 0x1

    .line 247
    sput-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->R:Z

    .line 2497
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    if-eqz v0, :cond_a

    .line 249
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C()V

    :cond_a
    return-void
.end method

.method static synthetic d(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)Landroid/widget/TextView;
    .registers 1

    .line 127
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->E:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic e(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)Landroid/view/WindowManager$LayoutParams;
    .registers 1

    .line 127
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->t:Landroid/view/WindowManager$LayoutParams;

    return-object p0
.end method

.method static synthetic f(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)Landroid/widget/RelativeLayout;
    .registers 1

    .line 127
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    return-object p0
.end method

.method static synthetic g(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)F
    .registers 1

    .line 127
    iget p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->y:F

    return p0
.end method

.method static synthetic h(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)F
    .registers 1

    .line 127
    iget p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->z:F

    return p0
.end method

.method public static h()Z
    .registers 1

    .line 1497
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    return v0
.end method

.method static synthetic i(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)I
    .registers 1

    .line 127
    iget p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->r:I

    return p0
.end method

.method public static i()Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;
    .registers 1

    .line 1516
    sget-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f:Ljava/lang/ref/WeakReference;

    if-eqz v0, :cond_b

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;

    return-object v0

    :cond_b
    const/4 v0, 0x0

    return-object v0
.end method

.method static synthetic j(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)I
    .registers 1

    .line 127
    iget p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->w:I

    return p0
.end method

.method static synthetic j()Z
    .registers 1

    .line 127
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    return v0
.end method

.method static synthetic k(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)I
    .registers 1

    .line 127
    iget p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->x:I

    return p0
.end method

.method static synthetic l(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)Landroid/graphics/Rect;
    .registers 1

    .line 127
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->L:Landroid/graphics/Rect;

    return-object p0
.end method

.method public static synthetic lambda$0xvppgJKYD7DTPhusswPnXnkxrA()V
    .registers 0

    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->K()V

    return-void
.end method

.method public static synthetic lambda$409EPt4z_IbwHKorn_VvUEhkfmQ(Ljava/lang/Runnable;Landroid/content/DialogInterface;I)V
    .registers 3

    invoke-static {p0, p1, p2}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Ljava/lang/Runnable;Landroid/content/DialogInterface;I)V

    return-void
.end method

.method public static synthetic lambda$56c12i7-SDKeS9EU5lnuRWDpIRE(ILjava/lang/String;)V
    .registers 2

    invoke-static {p0, p1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(ILjava/lang/String;)V

    return-void
.end method

.method public static synthetic lambda$7V4ewPcB_hJhM43tzN-V5YHxFU0()V
    .registers 0

    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->L()V

    return-void
.end method

.method public static synthetic lambda$BRS0NSrlplj2tQ8jvxFKd6bGHHQ(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V
    .registers 1

    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->N()V

    return-void
.end method

.method public static synthetic lambda$NPy9IZk493-1uLxpMydxzqkOeI0(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;ZLjava/lang/Runnable;Landroid/content/DialogInterface;I)V
    .registers 5

    invoke-direct {p0, p1, p2, p3, p4}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(ZLjava/lang/Runnable;Landroid/content/DialogInterface;I)V

    return-void
.end method

.method public static synthetic lambda$OZy_PSkENWE-3e9RvQ0Ra9l_N3I(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;Ljava/lang/Long;)V
    .registers 2

    invoke-direct {p0, p1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Ljava/lang/Long;)V

    return-void
.end method

.method public static synthetic lambda$TOlbWekHlN7-BYKi2vzsbLzOLVM(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;Landroid/view/View;)V
    .registers 2

    invoke-direct {p0, p1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a(Landroid/view/View;)V

    return-void
.end method

.method public static synthetic lambda$TlrPsMVUgT6Hbwn9BsRLCTkrD80(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;[I)V
    .registers 2

    invoke-direct {p0, p1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a([I)V

    return-void
.end method

.method public static synthetic lambda$fqoZG8mdjqGXEzc6fn4Hzua43Sk(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V
    .registers 1

    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->M()V

    return-void
.end method

.method public static synthetic lambda$sqy4fXllXzZKyNT9MMbjrDMmJ8c()V
    .registers 0

    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J()V

    return-void
.end method

.method static synthetic m(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V
    .registers 3

    .line 20067
    :try_start_0
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_17

    const-string v0, "RoomFloatWindowService"

    const-string v1, "hideIcon"

    .line 20068
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 20069
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 20070
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Landroid/widget/RelativeLayout;->invalidate()V
    :try_end_17
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_17} :catch_17

    :catch_17
    :cond_17
    return-void
.end method

.method static synthetic n(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)Landroid/content/Context;
    .registers 1

    .line 127
    iget-object p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->s:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic o(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)I
    .registers 1

    .line 127
    iget p0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->u:I

    return p0
.end method

.method private static p(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V
    .registers 2

    .line 1512
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    sput-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f:Ljava/lang/ref/WeakReference;

    return-void
.end method

.method static synthetic q()V
    .registers 2

    .line 15846
    invoke-static {}, Lsg/bigo/live/support64/ad;->a()Lsg/bigo/live/support64/ad;

    move-result-object v0

    .line 16037
    iget-boolean v0, v0, Lsg/bigo/live/support64/ad;->a:Z

    if-eqz v0, :cond_20

    .line 15846
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->R:Z

    if-eqz v0, :cond_d

    goto :goto_20

    .line 16740
    :cond_d
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/b;->b()Z

    move-result v0

    .line 15852
    sput-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->S:Z

    if-eqz v0, :cond_1f

    .line 15855
    sget-object v0, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$sqy4fXllXzZKyNT9MMbjrDMmJ8c;->INSTANCE:Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$sqy4fXllXzZKyNT9MMbjrDMmJ8c;

    const-string v1, "RoomFloatWindowService"

    invoke-static {v1, v0}, Lsg/bigo/live/support64/utils/o;->a(Ljava/lang/String;Ljava/lang/Runnable;)V

    .line 15858
    invoke-static {}, Lsg/bigo/live/support64/a;->a()V

    :cond_1f
    return-void

    .line 15848
    :cond_20
    :goto_20
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C()V

    return-void
.end method

.method static synthetic v()Ljava/lang/ref/WeakReference;
    .registers 1

    .line 127
    sget-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f:Ljava/lang/ref/WeakReference;

    return-object v0
.end method

.method static synthetic w()Landroid/graphics/Rect;
    .registers 1

    .line 127
    sget-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->n:Landroid/graphics/Rect;

    return-object v0
.end method

.method static synthetic x()Z
    .registers 1

    .line 19391
    invoke-static {}, Lsg/bigo/common/a;->b()Landroid/app/Activity;

    move-result-object v0

    instance-of v0, v0, Lcom/imo/android/imoim/av/ui/AVActivity;

    return v0
.end method

.method static synthetic y()Z
    .registers 1

    const/4 v0, 0x1

    .line 127
    sput-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->o:Z

    return v0
.end method

.method private z()V
    .registers 2

    .line 659
    :try_start_0
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->O:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;

    if-eqz v0, :cond_9

    .line 660
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->O:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;

    invoke-virtual {p0, v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
    :try_end_9
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_9} :catch_9

    :catch_9
    :cond_9
    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/Class;)Lrx/c;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T::",
            "Lsg/bigo/core/component/b/b;",
            ">(",
            "Ljava/lang/Class<",
            "TT;>;)",
            "Lrx/c<",
            "TT;>;"
        }
    .end annotation

    .line 1574
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->getComponent()Lsg/bigo/core/component/b/d;

    move-result-object v0

    invoke-interface {v0, p1}, Lsg/bigo/core/component/b/d;->b(Ljava/lang/Class;)Lsg/bigo/core/component/b/b;

    move-result-object p1

    if-nez p1, :cond_f

    .line 12795
    invoke-static {}, Lrx/c/a/d;->instance()Lrx/c;

    move-result-object p1

    return-object p1

    .line 13181
    :cond_f
    invoke-static {p1}, Lrx/c/e/k;->a(Ljava/lang/Object;)Lrx/c/e/k;

    move-result-object p1

    return-object p1
.end method

.method public final a(Ljava/lang/String;)Lrx/g;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lrx/g<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation

    const/4 p1, 0x0

    return-object p1
.end method

.method public final a(I)V
    .registers 2

    if-nez p1, :cond_8

    .line 423
    invoke-static {}, Lsg/bigo/live/support64/a;->b()V

    .line 424
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f()V

    :cond_8
    return-void
.end method

.method public final am_()V
    .registers 1

    return-void
.end method

.method public final b()Z
    .registers 2

    .line 12497
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    if-nez v0, :cond_6

    const/4 v0, 0x1

    return v0

    :cond_6
    const/4 v0, 0x0

    return v0
.end method

.method public final d()Z
    .registers 2

    .line 1564
    sget-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    if-nez v0, :cond_6

    const/4 v0, 0x1

    return v0

    :cond_6
    const/4 v0, 0x0

    return v0
.end method

.method public e()V
    .registers 4

    const-string v0, "RoomFloatWindowService"

    const-string v1, "stopLiveInFloatWindow"

    .line 751
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 752
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->I()V

    const/4 v0, 0x0

    .line 753
    invoke-static {v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b(Z)V

    .line 754
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B()V

    .line 755
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object v1

    iget-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->W:Lsg/bigo/live/support64/h;

    invoke-interface {v1, v2}, Lsg/bigo/live/support64/m;->b(Lsg/bigo/live/support64/h;)V

    .line 756
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v1

    iget-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->X:Lsg/bigo/live/support64/controllers/micconnect/ax;

    invoke-virtual {v1, v2}, Lsg/bigo/live/support64/controllers/micconnect/a;->b(Lsg/bigo/live/support64/controllers/micconnect/ax;)V

    .line 757
    invoke-static {}, Lsg/bigo/live/support64/k;->i()Lsg/bigo/live/support64/controllers/pk/a;

    move-result-object v1

    if-eqz v1, :cond_32

    .line 758
    invoke-static {}, Lsg/bigo/live/support64/k;->i()Lsg/bigo/live/support64/controllers/pk/a;

    move-result-object v1

    iget-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b:Lsg/bigo/live/support64/controllers/pk/a$b;

    invoke-virtual {v1, v2}, Lsg/bigo/live/support64/controllers/pk/a;->b(Lsg/bigo/live/support64/controllers/pk/a$b;)V

    .line 760
    :cond_32
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->z()V

    .line 762
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A()V

    .line 8254
    sput-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->R:Z

    .line 764
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->stopSelf()V

    .line 765
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->P:Lrx/j;

    if-eqz v0, :cond_4c

    invoke-interface {v0}, Lrx/j;->isUnsubscribed()Z

    move-result v0

    if-nez v0, :cond_4c

    .line 766
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->P:Lrx/j;

    invoke-interface {v0}, Lrx/j;->unsubscribe()V

    :cond_4c
    return-void
.end method

.method public final f()V
    .registers 3

    .line 1252
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->g()V

    .line 1254
    sget-object v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->d:Ljava/lang/ref/WeakReference;

    if-eqz v0, :cond_e

    .line 1255
    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    goto :goto_f

    :cond_e
    const/4 v0, 0x0

    .line 1257
    :goto_f
    instance-of v1, v0, Lsg/bigo/live/support64/activity/liveviewer/LiveViewerActivity;

    if-eqz v1, :cond_19

    .line 1258
    check-cast v0, Lsg/bigo/live/support64/activity/liveviewer/LiveViewerActivity;

    invoke-virtual {v0}, Lsg/bigo/live/support64/activity/liveviewer/LiveViewerActivity;->finish()V

    goto :goto_22

    .line 1259
    :cond_19
    instance-of v1, v0, Lsg/bigo/live/support64/activity/livecamera/LiveCameraActivity;

    if-eqz v1, :cond_22

    .line 1260
    check-cast v0, Lsg/bigo/live/support64/activity/livecamera/LiveCameraActivity;

    invoke-virtual {v0}, Lsg/bigo/live/support64/activity/livecamera/LiveCameraActivity;->finish()V

    .line 1262
    :cond_22
    :goto_22
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object v0

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lsg/bigo/live/support64/m;->a(Z)V

    .line 1263
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e()V

    const/4 v0, 0x3

    .line 1265
    invoke-static {v0}, Lsg/bigo/live/support64/senseme/e;->a(I)V

    .line 1266
    sget-object v0, Lsg/bigo/live/support64/senseme/e;->a:Lsg/bigo/live/support64/senseme/e;

    invoke-static {}, Lsg/bigo/live/support64/senseme/e;->a()V

    return-void
.end method

.method public findViewById(I)Landroid/view/View;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Landroid/view/View;",
            ">(I)TT;"
        }
    .end annotation

    .line 1540
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    if-eqz v0, :cond_b

    .line 1541
    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_b

    return-object v0

    .line 1546
    :cond_b
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->J:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_14

    .line 1547
    invoke-virtual {v0, p1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    return-object p1

    :cond_14
    const/4 p1, 0x0

    return-object p1
.end method

.method public finish()V
    .registers 1

    return-void
.end method

.method public final g()V
    .registers 4

    .line 1377
    new-instance v0, Landroid/util/SparseArray;

    invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V

    const/4 v1, 0x2

    .line 1378
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v2, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    .line 1379
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->getPostComponentBus()Lsg/bigo/core/component/a/d;

    move-result-object v1

    sget-object v2, Lsg/bigo/live/support64/component/stat/b;->USER_EXIT_ROOM:Lsg/bigo/live/support64/component/stat/b;

    invoke-interface {v1, v2, v0}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V

    return-void
.end method

.method public getIntent()Landroid/content/Intent;
    .registers 2

    .line 1569
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Q:Landroid/content/Intent;

    return-object v0
.end method

.method public getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
    .registers 2

    const/4 v0, 0x0

    return-object v0
.end method

.method public getWindow()Landroid/view/Window;
    .registers 2

    const/4 v0, 0x0

    return-object v0
.end method

.method public getWrapper()Lsg/bigo/core/component/c/a;
    .registers 1

    return-object p0
.end method

.method public final k()Landroid/content/Context;
    .registers 1

    return-object p0
.end method

.method public final l()Landroid/app/Activity;
    .registers 3

    .line 1559
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->s:Landroid/content/Context;

    instance-of v1, v0, Landroid/app/Activity;

    if-eqz v1, :cond_9

    check-cast v0, Landroid/app/Activity;

    return-object v0

    :cond_9
    const/4 v0, 0x0

    return-object v0
.end method

.method public final m()Lsg/bigo/live/support64/widget/LiveGLSurfaceView;
    .registers 2

    .line 1588
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F:Lsg/bigo/live/support64/widget/LiveGLSurfaceView;

    return-object v0
.end method

.method public final n()Landroid/widget/FrameLayout;
    .registers 2

    .line 1593
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method public final o()Lsg/bigo/live/support64/controllers/micconnect/au;
    .registers 2

    .line 1603
    invoke-static {}, Lsg/bigo/live/support64/activity/a;->a()Lsg/bigo/live/support64/activity/a;

    move-result-object v0

    return-object v0
.end method

.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .registers 2

    .line 259
    invoke-super {p0, p1}, Lsg/bigo/live/support64/BaseService;->onBind(Landroid/content/Intent;)Landroid/os/IBinder;

    move-result-object p1

    return-object p1
.end method

.method public onCreate()V
    .registers 4

    .line 541
    invoke-super {p0}, Lsg/bigo/live/support64/BaseService;->onCreate()V

    .line 542
    invoke-static {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    .line 544
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->s:Landroid/content/Context;

    .line 545
    invoke-static {p0}, Lsg/bigo/live/support64/utils/w;->a(Landroid/content/Context;)I

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->u:I

    .line 546
    invoke-static {p0}, Lsg/bigo/live/support64/utils/w;->b(Landroid/content/Context;)I

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->v:I

    .line 547
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object v0

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->W:Lsg/bigo/live/support64/h;

    invoke-interface {v0, v1}, Lsg/bigo/live/support64/m;->a(Lsg/bigo/live/support64/h;)V

    .line 548
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->X:Lsg/bigo/live/support64/controllers/micconnect/ax;

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/controllers/micconnect/a;->a(Lsg/bigo/live/support64/controllers/micconnect/ax;)V

    .line 3411
    new-instance v0, Lsg/bigo/live/support64/component/micconnect/multi/MultiMicComponentImpl;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/component/micconnect/multi/MultiMicComponentImpl;-><init>(Lsg/bigo/core/component/c;)V

    invoke-virtual {v0}, Lsg/bigo/live/support64/component/micconnect/multi/MultiMicComponentImpl;->s()Lsg/bigo/core/component/AbstractComponent;

    .line 3412
    invoke-static {}, Lsg/bigo/live/support64/activity/a;->a()Lsg/bigo/live/support64/activity/a;

    move-result-object v0

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v1

    invoke-virtual {v1}, Lsg/bigo/live/support64/o;->n()J

    move-result-wide v1

    invoke-virtual {v0, p0, v1, v2}, Lsg/bigo/live/support64/activity/a;->a(Lsg/bigo/live/support64/component/a;J)V

    .line 3413
    new-instance v0, Lsg/bigo/live/support64/component/stat/LiveStatComponentImpl;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/component/stat/LiveStatComponentImpl;-><init>(Lsg/bigo/core/component/c;)V

    invoke-virtual {v0}, Lsg/bigo/live/support64/component/stat/LiveStatComponentImpl;->s()Lsg/bigo/core/component/AbstractComponent;

    .line 3414
    new-instance v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReporter;

    invoke-direct {v0, p0, p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReporter;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;Lsg/bigo/core/component/c;)V

    invoke-virtual {v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReporter;->s()Lsg/bigo/core/component/AbstractComponent;

    .line 550
    new-instance v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;

    sget-object v1, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->f:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;

    invoke-direct {v0, p0, v1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;)V

    iput-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->c:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;

    .line 551
    invoke-static {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->setRoomAdatper(Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;)V

    .line 552
    invoke-static {}, Lsg/bigo/live/support64/ad;->a()Lsg/bigo/live/support64/ad;

    move-result-object v0

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->U:Lsg/bigo/live/support64/ad$a;

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/ad;->a(Lsg/bigo/live/support64/ad$a;)V

    .line 553
    invoke-static {}, Lsg/bigo/live/support64/k;->i()Lsg/bigo/live/support64/controllers/pk/a;

    move-result-object v0

    if-eqz v0, :cond_75

    .line 554
    invoke-static {}, Lsg/bigo/live/support64/k;->i()Lsg/bigo/live/support64/controllers/pk/a;

    move-result-object v0

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b:Lsg/bigo/live/support64/controllers/pk/a$b;

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/controllers/pk/a;->a(Lsg/bigo/live/support64/controllers/pk/a$b;)V

    :cond_75
    const/4 v0, 0x0

    .line 557
    sput v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p:I

    .line 558
    sput v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->q:I

    return-void
.end method

.method public onDestroy()V
    .registers 4

    .line 563
    invoke-super {p0}, Lsg/bigo/live/support64/BaseService;->onDestroy()V

    .line 564
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->A()V

    .line 565
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->B()V

    const/4 v0, 0x0

    .line 566
    iput-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->T:Z

    .line 567
    sget-object v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->f:Ljava/lang/ref/WeakReference;

    if-eqz v1, :cond_2c

    invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v1

    if-ne v1, p0, :cond_2c

    const/4 v1, 0x0

    .line 568
    invoke-static {v1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    .line 569
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object v1

    iget-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->W:Lsg/bigo/live/support64/h;

    invoke-interface {v1, v2}, Lsg/bigo/live/support64/m;->b(Lsg/bigo/live/support64/h;)V

    .line 570
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v1

    iget-object v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->X:Lsg/bigo/live/support64/controllers/micconnect/ax;

    invoke-virtual {v1, v2}, Lsg/bigo/live/support64/controllers/micconnect/a;->b(Lsg/bigo/live/support64/controllers/micconnect/ax;)V

    .line 3497
    :cond_2c
    sget-boolean v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e:Z

    if-eqz v1, :cond_33

    .line 573
    invoke-static {v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b(Z)V

    .line 576
    :cond_33
    :try_start_33
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->z()V
    :try_end_36
    .catch Ljava/lang/Exception; {:try_start_33 .. :try_end_36} :catch_37

    goto :goto_38

    :catch_37
    nop

    .line 580
    :goto_38
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/a;->b()Z

    move-result v1

    if-eqz v1, :cond_45

    const/4 v1, 0x5

    .line 581
    invoke-static {v1}, Lsg/bigo/live/support64/floatwindow/a;->a(I)V

    .line 582
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/a;->e()V

    .line 584
    :cond_45
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->P:Lrx/j;

    if-eqz v1, :cond_54

    invoke-interface {v1}, Lrx/j;->isUnsubscribed()Z

    move-result v1

    if-nez v1, :cond_54

    .line 585
    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->P:Lrx/j;

    invoke-interface {v1}, Lrx/j;->unsubscribe()V

    .line 4254
    :cond_54
    sput-boolean v0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->R:Z

    .line 588
    invoke-static {}, Lsg/bigo/live/support64/ad;->a()Lsg/bigo/live/support64/ad;

    move-result-object v0

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->U:Lsg/bigo/live/support64/ad$a;

    .line 5148
    iget-object v2, v0, Lsg/bigo/live/support64/ad;->c:Ljava/util/List;

    monitor-enter v2

    .line 5149
    :try_start_5f
    iget-object v0, v0, Lsg/bigo/live/support64/ad;->c:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 5150
    monitor-exit v2
    :try_end_65
    .catchall {:try_start_5f .. :try_end_65} :catchall_75

    .line 589
    invoke-static {}, Lsg/bigo/live/support64/k;->i()Lsg/bigo/live/support64/controllers/pk/a;

    move-result-object v0

    if-eqz v0, :cond_74

    .line 590
    invoke-static {}, Lsg/bigo/live/support64/k;->i()Lsg/bigo/live/support64/controllers/pk/a;

    move-result-object v0

    iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b:Lsg/bigo/live/support64/controllers/pk/a$b;

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/controllers/pk/a;->b(Lsg/bigo/live/support64/controllers/pk/a$b;)V

    :cond_74
    return-void

    :catchall_75
    move-exception v0

    .line 5150
    :try_start_76
    monitor-exit v2
    :try_end_77
    .catchall {:try_start_76 .. :try_end_77} :catchall_75

    throw v0
.end method

.method public onStartCommand(Landroid/content/Intent;II)I
    .registers 9

    .line 596
    invoke-super {p0, p1, p2, p3}, Lsg/bigo/live/support64/BaseService;->onStartCommand(Landroid/content/Intent;II)I

    const/4 p2, 0x2

    if-nez p1, :cond_a

    .line 598
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->stopSelf()V

    return p2

    .line 601
    :cond_a
    iput-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->Q:Landroid/content/Intent;

    .line 602
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p3

    invoke-virtual {p3}, Lsg/bigo/live/support64/o;->z()Z

    move-result p3

    if-nez p3, :cond_1a

    .line 603
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->stopSelf()V

    return p2

    .line 606
    :cond_1a
    invoke-static {}, Lsg/bigo/live/support64/t;->c()Lsg/bigo/live/support64/r;

    move-result-object p3

    if-nez p3, :cond_24

    .line 607
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->stopSelf()V

    return p2

    :cond_24
    const/4 p3, 0x1

    const-string v0, "extra_cmd"

    .line 610
    invoke-virtual {p1, v0, p3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p1

    const-string v0, "RoomFloatWindowService"

    if-eqz p1, :cond_42

    if-eq p1, p3, :cond_38

    const-string p1, "onStartCommand: Command not accepted"

    .line 621
    invoke-static {v0, p1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_17e

    :cond_38
    const-string p1, "onStartCommand: REMOVE_LIVE_FLOAT"

    .line 617
    invoke-static {v0, p1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 618
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e()V

    goto/16 :goto_17e

    :cond_42
    const-string p1, "onStartCommand: SHOW_LIVE_FLOAT"

    .line 613
    invoke-static {v0, p1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    const-string p1, "startLiveInFloatWindow"

    .line 5670
    invoke-static {v0, p1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 5672
    sget-wide v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a:J

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/o;->n()J

    move-result-wide v3

    cmp-long p1, v1, v3

    if-eqz p1, :cond_64

    .line 5673
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/o;->n()J

    move-result-wide v1

    sput-wide v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->a:J

    :cond_64
    const/4 p1, 0x0

    .line 5676
    sput-boolean p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->o:Z

    const-string v1, "initializeFloatWindowPosition"

    .line 5744
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    const/16 v0, 0x38

    .line 5746
    invoke-static {v0}, Lsg/bigo/live/support64/utils/w;->a(I)I

    move-result v0

    .line 5747
    sget-object v1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->n:Landroid/graphics/Rect;

    iget v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->u:I

    iget v3, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->v:I

    add-int/lit8 v3, v3, -0x31

    sub-int/2addr v3, p1

    invoke-virtual {v1, p1, v0, v2, v3}, Landroid/graphics/Rect;->set(IIII)V

    .line 5680
    iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->V:Ljava/lang/Runnable;

    .line 6042
    invoke-static {}, Lsg/bigo/common/ac$a;->a()Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 5681
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->I()V

    .line 6862
    invoke-static {}, Lsg/bigo/live/support64/k;->k()Lsg/bigo/live/support64/g/b;

    move-result-object v0

    if-eqz v0, :cond_93

    .line 6864
    invoke-interface {v0, p1}, Lsg/bigo/live/support64/g/b;->i(Z)V

    .line 6866
    :cond_93
    invoke-static {}, Lsg/bigo/live/support64/k;->j()Lsg/bigo/live/support64/g/n;

    move-result-object v1

    .line 6867
    invoke-static {}, Lsg/bigo/live/support64/ad;->a()Lsg/bigo/live/support64/ad;

    move-result-object v2

    .line 7037
    iget-boolean v2, v2, Lsg/bigo/live/support64/ad;->a:Z

    if-eqz v2, :cond_10b

    .line 6867
    sget-boolean v2, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->R:Z

    if-eqz v2, :cond_a4

    goto :goto_10b

    .line 6881
    :cond_a4
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->B()Z

    move-result v2

    if-nez v2, :cond_b8

    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/controllers/micconnect/a;->s()Z

    move-result v2

    if-eqz v2, :cond_103

    :cond_b8
    if-eqz v0, :cond_c3

    .line 6883
    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->Q()Z

    move-result v2

    if-nez v2, :cond_c3

    .line 6884
    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->R()V

    .line 6887
    :cond_c3
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->B()Z

    move-result v0

    if-eqz v0, :cond_d8

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/o;->s()I

    move-result v0

    if-ne v0, p3, :cond_d8

    const/4 p1, 0x1

    .line 6890
    :cond_d8
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/controllers/micconnect/a;->s()Z

    move-result v0

    if-eqz v0, :cond_f9

    .line 6891
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v2

    invoke-virtual {v2}, Lsg/bigo/live/support64/o;->p()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Lsg/bigo/live/support64/controllers/micconnect/a;->d(J)Lsg/bigo/live/support64/controllers/micconnect/MicconnectInfo;

    move-result-object v0

    if-eqz v0, :cond_f9

    .line 6892
    iget v0, v0, Lsg/bigo/live/support64/controllers/micconnect/MicconnectInfo;->e:I

    if-ne v0, p3, :cond_f9

    const/4 p1, 0x1

    :cond_f9
    if-eqz v1, :cond_103

    if-eqz p1, :cond_103

    .line 6897
    invoke-interface {v1}, Lsg/bigo/live/support64/g/n;->A()V

    .line 6898
    invoke-interface {v1}, Lsg/bigo/live/support64/g/n;->y()V

    .line 6901
    :cond_103
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object p1

    invoke-interface {p1, p3}, Lsg/bigo/live/support64/m;->b(Z)V

    goto :goto_11b

    :cond_10b
    :goto_10b
    if-eqz v0, :cond_113

    .line 6870
    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->S()V

    .line 6871
    invoke-interface {v0}, Lsg/bigo/live/support64/g/b;->P()V

    :cond_113
    if-eqz v1, :cond_118

    .line 6874
    invoke-interface {v1}, Lsg/bigo/live/support64/g/n;->z()V

    .line 6876
    :cond_118
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->C()V

    .line 5683
    :goto_11b
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->E()Z

    move-result p1

    if-nez p1, :cond_128

    .line 5684
    invoke-static {}, Lsg/bigo/live/support64/a;->b()V

    .line 5685
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e()V

    goto :goto_17e

    .line 5688
    :cond_128
    invoke-direct {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->F()V

    .line 5689
    invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->getPostComponentBus()Lsg/bigo/core/component/a/d;

    move-result-object p1

    sget-object v0, Lsg/bigo/live/support64/component/liveviewer/a;->MULTI_ROOM_TYPE_CHANGED:Lsg/bigo/live/support64/component/liveviewer/a;

    const/4 v1, 0x0

    invoke-interface {p1, v0, v1}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V

    .line 5690
    invoke-static {p3}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->b(Z)V

    .line 7649
    new-instance p1, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;

    invoke-direct {p1, p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    iput-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->O:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;

    .line 7650
    new-instance p1, Landroid/content/IntentFilter;

    invoke-direct {p1}, Landroid/content/IntentFilter;-><init>()V

    const-string p3, "android.intent.action.SCREEN_OFF"

    .line 7651
    invoke-virtual {p1, p3}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string p3, "android.intent.action.SCREEN_ON"

    .line 7652
    invoke-virtual {p1, p3}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 7653
    sget-object p3, Lcom/live/share64/utils/k;->b:Ljava/lang/String;

    invoke-virtual {p1, p3}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 7654
    iget-object p3, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->O:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$FloatWindowReceiver;

    invoke-virtual {p0, p3, p1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 5693
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/a;->a()Z

    move-result p1

    if-eqz p1, :cond_162

    .line 5695
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/a;->d()V

    goto :goto_165

    .line 5697
    :cond_162
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/a;->c()V

    .line 5700
    :goto_165
    sget-object p1, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-static {p1}, Lrx/c;->a(Ljava/util/concurrent/TimeUnit;)Lrx/c;

    move-result-object p1

    .line 5701
    invoke-static {}, Lrx/a/b/a;->a()Lrx/f;

    move-result-object p3

    invoke-virtual {p1, p3}, Lrx/c;->a(Lrx/f;)Lrx/c;

    move-result-object p1

    new-instance p3, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$OZy_PSkENWE-3e9RvQ0Ra9l_N3I;

    invoke-direct {p3, p0}, Lsg/bigo/live/support64/floatwindow/-$$Lambda$RoomFloatWindowService$OZy_PSkENWE-3e9RvQ0Ra9l_N3I;-><init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;)V

    .line 5702
    invoke-virtual {p1, p3}, Lrx/c;->c(Lrx/b/b;)Lrx/j;

    move-result-object p1

    iput-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->P:Lrx/j;

    :goto_17e
    return p2
.end method

.method public final p()Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;
    .registers 2

    const v0, 0x7d0801c6

    .line 1633
    invoke-virtual {p0, v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;

    return-object v0
.end method

.method public final r()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public final s()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public final t()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public final u()V
    .registers 1

    return-void
.end method