apkfuckery/com.discord/smali/com/camerakit/preview/CameraSurfaceView$a.smali

124 lines
3.3 KiB
Smali
Raw Normal View History

2019-10-03 02:31:26 +00:00
.class public final Lcom/camerakit/preview/CameraSurfaceView$a;
2020-03-26 23:31:08 +00:00
.super Lw/u/b/k;
2019-10-03 02:31:26 +00:00
.source "CameraSurfaceView.kt"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
# interfaces
.implements Lkotlin/jvm/functions/Function2;
2019-07-24 11:27:29 +00:00
# annotations
2019-12-06 03:29:40 +00:00
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/camerakit/preview/CameraSurfaceView;->onSurfaceCreated(Ljavax/microedition/khronos/opengles/GL10;Ljavax/microedition/khronos/egl/EGLConfig;)V
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
2019-12-06 03:29:40 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-03-26 23:31:08 +00:00
"Lw/u/b/k;",
2019-12-06 03:29:40 +00:00
"Lkotlin/jvm/functions/Function2<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;"
}
2019-07-24 11:27:29 +00:00
.end annotation
2019-12-06 03:29:40 +00:00
# instance fields
.field public final synthetic this$0:Lcom/camerakit/preview/CameraSurfaceView;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Lcom/camerakit/preview/CameraSurfaceView;)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lcom/camerakit/preview/CameraSurfaceView$a;->this$0:Lcom/camerakit/preview/CameraSurfaceView;
const/4 p1, 0x2
2020-03-26 23:31:08 +00:00
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
move-result p2
invoke-virtual {p0, p1, p2}, Lcom/camerakit/preview/CameraSurfaceView$a;->invoke(II)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(II)V
.locals 3
iget-object v0, p0, Lcom/camerakit/preview/CameraSurfaceView$a;->this$0:Lcom/camerakit/preview/CameraSurfaceView;
new-instance v1, Lcom/camerakit/preview/CameraSurfaceTexture;
invoke-direct {v1, p1, p2}, Lcom/camerakit/preview/CameraSurfaceTexture;-><init>(II)V
new-instance p1, Lcom/camerakit/preview/CameraSurfaceView$a$a;
invoke-direct {p1, p0}, Lcom/camerakit/preview/CameraSurfaceView$a$a;-><init>(Lcom/camerakit/preview/CameraSurfaceView$a;)V
invoke-virtual {v1, p1}, Landroid/graphics/SurfaceTexture;->setOnFrameAvailableListener(Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;)V
iget-object p1, p0, Lcom/camerakit/preview/CameraSurfaceView$a;->this$0:Lcom/camerakit/preview/CameraSurfaceView;
invoke-virtual {p1}, Lcom/camerakit/preview/CameraSurfaceView;->getCameraSurfaceTextureListener()Le/g/i/a;
move-result-object p1
if-eqz p1, :cond_0
check-cast p1, Le/g/d;
iget-object p2, p1, Le/g/d;->a:Le/g/e;
iput-object v1, p2, Le/g/e;->q:Lcom/camerakit/preview/CameraSurfaceTexture;
sget-object v2, Le/g/e$e;->d:Le/g/e$e;
invoke-virtual {p2, v2}, Le/g/e;->setSurfaceState(Le/g/e$e;)V
iget-object p2, p1, Le/g/d;->a:Le/g/e;
invoke-virtual {p2}, Le/g/e;->getLifecycleState()Le/g/e$b;
move-result-object p2
sget-object v2, Le/g/e$b;->e:Le/g/e$b;
if-ne p2, v2, :cond_0
iget-object p1, p1, Le/g/d;->a:Le/g/e;
invoke-virtual {p1}, Le/g/e;->f()V
:cond_0
iput-object v1, v0, Lcom/camerakit/preview/CameraSurfaceView;->e:Lcom/camerakit/preview/CameraSurfaceTexture;
2019-10-03 02:31:26 +00:00
return-void
.end method