FloatHeartView$2.smali
.class final Lsg/bigo/live/support64/component/roomwidget/heart/FloatHeartView$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/opengl/GLSurfaceView$EGLConfigChooser;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/live/support64/component/roomwidget/heart/FloatHeartView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lsg/bigo/live/support64/component/roomwidget/heart/FloatHeartView;
# direct methods
.method constructor <init>(Lsg/bigo/live/support64/component/roomwidget/heart/FloatHeartView;)V
.registers 2
.line 209
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/heart/FloatHeartView$2;->a:Lsg/bigo/live/support64/component/roomwidget/heart/FloatHeartView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final chooseConfig(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;)Ljavax/microedition/khronos/egl/EGLConfig;
.registers 15
const/16 v0, 0xf
new-array v0, v0, [I
.line 212
fill-array-data v0, :array_9a
const/4 v7, 0x1
new-array v8, v7, [I
const/4 v4, 0x0
const/4 v5, 0x0
move-object v1, p1
move-object v2, p2
move-object v3, v0
move-object v6, v8
.line 223
invoke-interface/range {v1 .. v6}, Ljavax/microedition/khronos/egl/EGL10;->eglChooseConfig(Ljavax/microedition/khronos/egl/EGLDisplay;[I[Ljavax/microedition/khronos/egl/EGLConfig;I[I)Z
move-result v1
if-eqz v1, :cond_90
const/4 v9, 0x0
.line 227
aget v10, v8, v9
if-lez v10, :cond_88
.line 233
new-array v11, v10, [Ljavax/microedition/khronos/egl/EGLConfig;
move-object v1, p1
move-object v2, p2
move-object v3, v0
move-object v4, v11
move v5, v10
move-object v6, v8
.line 234
invoke-interface/range {v1 .. v6}, Ljavax/microedition/khronos/egl/EGL10;->eglChooseConfig(Ljavax/microedition/khronos/egl/EGLDisplay;[I[Ljavax/microedition/khronos/egl/EGLConfig;I[I)Z
move-result v0
if-eqz v0, :cond_80
new-array v0, v7, [I
const/4 v1, 0x0
:goto_2c
if-ge v1, v10, :cond_7e
.line 238
aget-object v2, v11, v1
const/16 v3, 0x3024
.line 240
invoke-interface {p1, p2, v2, v3, v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetConfigAttrib(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;I[I)Z
move-result v3
if-eqz v3, :cond_3b
.line 241
aget v3, v0, v9
goto :goto_3c
:cond_3b
const/4 v3, 0x0
:goto_3c
const/16 v4, 0x3023
.line 244
invoke-interface {p1, p2, v2, v4, v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetConfigAttrib(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;I[I)Z
move-result v4
if-eqz v4, :cond_47
.line 245
aget v4, v0, v9
goto :goto_48
:cond_47
const/4 v4, 0x0
:goto_48
const/16 v5, 0x3022
.line 248
invoke-interface {p1, p2, v2, v5, v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetConfigAttrib(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;I[I)Z
move-result v5
if-eqz v5, :cond_53
.line 249
aget v5, v0, v9
goto :goto_54
:cond_53
const/4 v5, 0x0
:goto_54
const/16 v6, 0x3021
.line 252
invoke-interface {p1, p2, v2, v6, v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetConfigAttrib(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;I[I)Z
move-result v6
if-eqz v6, :cond_5f
.line 253
aget v6, v0, v9
goto :goto_60
:cond_5f
const/4 v6, 0x0
:goto_60
const/16 v7, 0x3025
.line 256
invoke-interface {p1, p2, v2, v7, v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetConfigAttrib(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;I[I)Z
move-result v7
if-eqz v7, :cond_6b
.line 257
aget v7, v0, v9
goto :goto_6c
:cond_6b
const/4 v7, 0x0
:goto_6c
const/16 v8, 0x8
if-ne v3, v8, :cond_7b
if-ne v4, v8, :cond_7b
if-ne v5, v8, :cond_7b
if-ne v6, v8, :cond_7b
const/16 v3, 0x10
if-lt v7, v3, :cond_7b
return-object v2
:cond_7b
add-int/lit8 v1, v1, 0x1
goto :goto_2c
:cond_7e
const/4 p1, 0x0
return-object p1
.line 235
:cond_80
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "eglChooseConfig#2 failed"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.line 230
:cond_88
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "No configs match configSpec"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.line 224
:cond_90
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "eglChooseConfig failed"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
goto :goto_99
:goto_98
throw p1
:goto_99
goto :goto_98
:array_9a
.array-data 4
0x3024
0x8
0x3023
0x8
0x3022
0x8
0x3021
0x8
0x3025
0x0
0x3026
0x0
0x3040
0x4
0x3038
.end array-data
.end method