apkfuckery/com.discord/smali/f/g/e.smali

1463 lines
30 KiB
Smali
Raw Normal View History

2020-04-17 17:35:24 +00:00
.class public final Lf/g/e;
2019-12-06 03:29:40 +00:00
.super Landroid/widget/FrameLayout;
.source "CameraPreview.kt"
# interfaces
2020-04-17 17:35:24 +00:00
.implements Lf/g/h/c;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-04-17 17:35:24 +00:00
Lf/g/e$d;,
Lf/g/e$b;,
Lf/g/e$e;,
Lf/g/e$a;,
Lf/g/e$c;
2019-12-06 03:29:40 +00:00
}
.end annotation
# instance fields
2020-04-17 17:35:24 +00:00
.field public d:Lf/g/e$b;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
.field public e:Lf/g/e$e;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
.field public f:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
.field public g:Lf/g/e$c;
2019-12-06 03:29:40 +00:00
.field public h:I
.field public i:I
.field public j:I
2020-04-17 17:35:24 +00:00
.field public k:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
.field public l:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
.field public m:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
.field public n:Lf/g/j/b;
2019-12-06 03:29:40 +00:00
.field public o:F
2020-04-17 17:35:24 +00:00
.field public p:Lf/g/j/a;
2019-12-06 03:29:40 +00:00
.field public q:Lcom/camerakit/preview/CameraSurfaceTexture;
2020-04-17 17:35:24 +00:00
.field public r:Lf/g/h/b;
2019-12-06 03:29:40 +00:00
.field public final s:Lcom/camerakit/preview/CameraSurfaceView;
2020-04-17 19:35:49 +00:00
.field public final t:Lz/a/x;
2019-12-06 03:29:40 +00:00
.field public u:Lkotlin/coroutines/Continuation;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
.field public v:Lkotlin/coroutines/Continuation;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
2020-04-17 17:35:24 +00:00
.field public final w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 4
const-string v0, "context"
if-eqz p1, :cond_3
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/e$b;->g:Lf/g/e$b;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->d:Lf/g/e$b;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/e$e;->e:Lf/g/e$e;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->e:Lf/g/e$e;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/e$a;->k:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->f:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance p1, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2020-04-17 17:35:24 +00:00
invoke-direct {p1, v1, v1}, Lf/g/j/c;-><init>(II)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->k:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance p1, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {p1, v1, v1}, Lf/g/j/c;-><init>(II)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->l:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance p1, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {p1, v1, v1}, Lf/g/j/c;-><init>(II)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->m:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/j/b;->d:Lf/g/j/b;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->n:Lf/g/j/b;
2019-12-06 03:29:40 +00:00
const/high16 p1, 0x40000000 # 2.0f
2020-04-17 17:35:24 +00:00
iput p1, p0, Lf/g/e;->o:F
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/j/a;->d:Lf/g/j/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->p:Lf/g/j/a;
2019-12-06 03:29:40 +00:00
new-instance p1, Lcom/camerakit/preview/CameraSurfaceView;
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object v2
2020-04-17 19:35:49 +00:00
invoke-static {v2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-direct {p1, v2}, Lcom/camerakit/preview/CameraSurfaceView;-><init>(Landroid/content/Context;)V
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->s:Lcom/camerakit/preview/CameraSurfaceView;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
new-instance p1, Lz/a/u1;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
const-string v3, "CAMERA"
2020-04-17 19:35:49 +00:00
invoke-direct {p1, v2, v3}, Lz/a/u1;-><init>(ILjava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iput-object p1, p0, Lf/g/e;->t:Lz/a/x;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance p1, Lf/g/h/f;
2019-12-06 03:29:40 +00:00
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
if-ne v1, v2, :cond_0
2020-04-17 17:35:24 +00:00
new-instance v0, Lf/g/h/g/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v0, p0}, Lf/g/h/g/a;-><init>(Lf/g/h/c;)V
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_0
if-nez v1, :cond_2
2020-04-17 17:35:24 +00:00
new-instance v1, Lf/g/h/h/a;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object v2
2020-04-17 19:35:49 +00:00
invoke-static {v2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v1, p0, v2}, Lf/g/h/h/a;-><init>(Lf/g/h/c;Landroid/content/Context;)V
2019-12-06 03:29:40 +00:00
move-object v0, v1
:goto_0
2020-04-17 17:35:24 +00:00
invoke-direct {p1, v0}, Lf/g/h/f;-><init>(Lf/g/h/a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object p1
const-string v0, "window"
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
if-eqz p1, :cond_1
check-cast p1, Landroid/view/WindowManager;
invoke-interface {p1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
move-result-object p1
const-string v0, "windowManager.defaultDisplay"
2020-04-17 19:35:49 +00:00
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/view/Display;->getRotation()I
move-result p1
mul-int/lit8 p1, p1, 0x5a
2020-04-17 17:35:24 +00:00
iput p1, p0, Lf/g/e;->h:I
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->s:Lcom/camerakit/preview/CameraSurfaceView;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance v0, Lf/g/d;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v0, p0}, Lf/g/d;-><init>(Lf/g/e;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p1, v0}, Lcom/camerakit/preview/CameraSurfaceView;->setCameraSurfaceTextureListener(Lf/g/i/a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->s:Lcom/camerakit/preview/CameraSurfaceView;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
return-void
:cond_1
2020-04-17 19:35:49 +00:00
new-instance p1, Ly/l;
2019-12-06 03:29:40 +00:00
const-string v0, "null cannot be cast to non-null type android.view.WindowManager"
2020-04-17 19:35:49 +00:00
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
:cond_2
2020-04-17 19:35:49 +00:00
new-instance p1, Ly/g;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {p1}, Ly/g;-><init>()V
2019-12-06 03:29:40 +00:00
throw p1
:cond_3
2020-04-17 19:35:49 +00:00
invoke-static {v0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public final synthetic a(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;)",
"Ljava/lang/Object;"
}
.end annotation
2020-04-17 19:35:49 +00:00
new-instance v0, Ly/s/f;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static {p1}, Lf/n/a/j/a;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-17 19:35:49 +00:00
invoke-direct {v0, p1}, Ly/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/e$a;->j:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, p1}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-interface {p1}, Lf/g/h/a;->release()V
2019-12-06 03:29:40 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
2020-04-17 19:35:49 +00:00
sget-object v1, Ly/i;->d:Ly/i$a;
2019-12-06 03:29:40 +00:00
invoke-interface {v0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
2020-04-17 19:35:49 +00:00
invoke-virtual {v0}, Ly/s/f;->getOrThrow()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-17 19:35:49 +00:00
sget-object v0, Ly/s/g/a;->d:Ly/s/g/a;
2019-12-06 03:29:40 +00:00
return-object p1
.end method
2020-04-17 17:35:24 +00:00
.method public final a(Lf/g/e$d;)V
2019-12-06 03:29:40 +00:00
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_0
2020-04-17 19:35:49 +00:00
sget-object v1, Lz/a/w0;->d:Lz/a/w0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v2, p0, Lf/g/e;->t:Lz/a/x;
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2020-04-17 17:35:24 +00:00
new-instance v4, Lf/g/e$f;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v4, p0, p1, v0}, Lf/g/e$f;-><init>(Lf/g/e;Lf/g/e$d;Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
const/4 v5, 0x2
const/4 v6, 0x0
2020-04-17 19:35:49 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lz/a/c0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "callback"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
2020-04-17 17:35:24 +00:00
.method public a(Lf/g/h/b;)V
2019-12-06 03:29:40 +00:00
.locals 3
const/4 v0, 0x0
if-eqz p1, :cond_1
2020-04-17 17:35:24 +00:00
sget-object v1, Lf/g/e$a;->e:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, v1}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->r:Lf/g/h/b;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->u:Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
sget-object v1, Lkotlin/Unit;->a:Lkotlin/Unit;
2020-04-17 19:35:49 +00:00
sget-object v2, Ly/i;->d:Ly/i$a;
2019-12-06 03:29:40 +00:00
invoke-interface {p1, v1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:cond_0
2020-04-17 17:35:24 +00:00
iput-object v0, p0, Lf/g/e;->u:Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
return-void
:cond_1
const-string p1, "cameraAttributes"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public final synthetic b(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;)",
"Ljava/lang/Object;"
}
.end annotation
2020-04-17 19:35:49 +00:00
new-instance v0, Ly/s/f;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static {p1}, Lf/n/a/j/a;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-17 19:35:49 +00:00
invoke-direct {v0, p1}, Ly/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object v0, p0, Lf/g/e;->u:Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/e$a;->d:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, p1}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v1, p0, Lf/g/e;->p:Lf/g/j/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-interface {p1, v1}, Lf/g/h/a;->a(Lf/g/j/a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v0}, Ly/s/f;->getOrThrow()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-17 19:35:49 +00:00
sget-object v0, Ly/s/g/a;->d:Ly/s/g/a;
2019-12-06 03:29:40 +00:00
return-object p1
.end method
2020-04-17 17:35:24 +00:00
.method public final b(Lf/g/j/a;)V
2019-12-06 03:29:40 +00:00
.locals 7
const/4 v0, 0x0
if-eqz p1, :cond_0
2020-04-17 19:35:49 +00:00
sget-object v1, Lz/a/w0;->d:Lz/a/w0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v2, p0, Lf/g/e;->t:Lz/a/x;
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2020-04-17 17:35:24 +00:00
new-instance v4, Lf/g/e$i;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v4, p0, p1, v0}, Lf/g/e$i;-><init>(Lf/g/e;Lf/g/j/a;Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
const/4 v5, 0x2
const/4 v6, 0x0
2020-04-17 19:35:49 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lz/a/c0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "facing"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public final synthetic c(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 16
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;)",
"Ljava/lang/Object;"
}
.end annotation
move-object/from16 v0, p0
2020-04-17 19:35:49 +00:00
new-instance v1, Ly/s/f;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static/range {p1 .. p1}, Lf/n/a/j/a;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
move-result-object v2
2020-04-17 19:35:49 +00:00
invoke-direct {v1, v2}, Ly/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object v1, v0, Lf/g/e;->v:Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v2, v0, Lf/g/e;->q:Lcom/camerakit/preview/CameraSurfaceTexture;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v3, v0, Lf/g/e;->r:Lf/g/h/b;
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
if-eqz v2, :cond_10
if-eqz v3, :cond_10
2020-04-17 17:35:24 +00:00
sget-object v5, Lf/g/e$a;->f:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {v0, v5}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v5, v0, Lf/g/e;->p:Lf/g/j/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object v6, Lf/g/f;->b:[I
2019-12-06 03:29:40 +00:00
invoke-virtual {v5}, Ljava/lang/Enum;->ordinal()I
move-result v5
aget v5, v6, v5
const/4 v6, 0x2
const/4 v7, 0x1
if-eq v5, v7, :cond_1
if-ne v5, v6, :cond_0
2020-04-17 17:35:24 +00:00
invoke-interface {v3}, Lf/g/h/b;->b()I
2019-12-06 03:29:40 +00:00
move-result v5
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getDisplayOrientation()I
2019-12-06 03:29:40 +00:00
move-result v8
add-int/2addr v8, v5
rem-int/lit16 v8, v8, 0x168
rsub-int v5, v8, 0x168
rem-int/lit16 v5, v5, 0x168
goto :goto_0
:cond_0
2020-04-17 19:35:49 +00:00
new-instance v1, Ly/g;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {v1}, Ly/g;-><init>()V
2019-12-06 03:29:40 +00:00
throw v1
:cond_1
2020-04-17 17:35:24 +00:00
invoke-interface {v3}, Lf/g/h/b;->b()I
2019-12-06 03:29:40 +00:00
move-result v5
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getDisplayOrientation()I
2019-12-06 03:29:40 +00:00
move-result v8
sub-int/2addr v5, v8
add-int/lit16 v5, v5, 0x168
rem-int/lit16 v5, v5, 0x168
:goto_0
2020-04-17 17:35:24 +00:00
invoke-virtual {v0, v5}, Lf/g/e;->setPreviewOrientation(I)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v5, v0, Lf/g/e;->p:Lf/g/j/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object v8, Lf/g/f;->c:[I
2019-12-06 03:29:40 +00:00
invoke-virtual {v5}, Ljava/lang/Enum;->ordinal()I
move-result v5
aget v5, v8, v5
if-eq v5, v7, :cond_3
if-ne v5, v6, :cond_2
2020-04-17 17:35:24 +00:00
invoke-interface {v3}, Lf/g/h/b;->b()I
2019-12-06 03:29:40 +00:00
move-result v5
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getDisplayOrientation()I
2019-12-06 03:29:40 +00:00
move-result v6
add-int/2addr v6, v5
add-int/lit16 v6, v6, 0x168
rem-int/lit16 v6, v6, 0x168
goto :goto_1
:cond_2
2020-04-17 19:35:49 +00:00
new-instance v1, Ly/g;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {v1}, Ly/g;-><init>()V
2019-12-06 03:29:40 +00:00
throw v1
:cond_3
2020-04-17 17:35:24 +00:00
invoke-interface {v3}, Lf/g/h/b;->b()I
2019-12-06 03:29:40 +00:00
move-result v5
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getDisplayOrientation()I
2019-12-06 03:29:40 +00:00
move-result v6
sub-int/2addr v5, v6
add-int/lit16 v5, v5, 0x168
rem-int/lit16 v6, v5, 0x168
:goto_1
2020-04-17 17:35:24 +00:00
invoke-virtual {v0, v6}, Lf/g/e;->setCaptureOrientation(I)V
2019-12-06 03:29:40 +00:00
sget v5, Landroid/os/Build$VERSION;->SDK_INT:I
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getDisplayOrientation()I
2019-12-06 03:29:40 +00:00
move-result v5
invoke-virtual {v2, v5}, Lcom/camerakit/preview/CameraSurfaceTexture;->a(I)V
2020-04-17 17:35:24 +00:00
invoke-interface {v3}, Lf/g/h/b;->a()[Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v5
const-string v6, "sizes"
if-eqz v5, :cond_f
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewOrientation()I
2019-12-06 03:29:40 +00:00
move-result v8
rem-int/lit16 v8, v8, 0xb4
if-nez v8, :cond_4
const/4 v8, 0x1
goto :goto_2
:cond_4
const/4 v8, 0x0
:goto_2
if-ne v8, v7, :cond_5
2020-04-17 17:35:24 +00:00
new-instance v7, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getWidth()I
move-result v8
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getHeight()I
move-result v10
2020-04-17 17:35:24 +00:00
invoke-direct {v7, v8, v10}, Lf/g/j/c;-><init>(II)V
2019-12-06 03:29:40 +00:00
goto :goto_3
:cond_5
if-nez v8, :cond_e
2020-04-17 17:35:24 +00:00
new-instance v7, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getHeight()I
move-result v8
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getWidth()I
move-result v10
2020-04-17 17:35:24 +00:00
invoke-direct {v7, v8, v10}, Lf/g/j/c;-><init>(II)V
2019-12-06 03:29:40 +00:00
:goto_3
const-string v8, "null cannot be cast to non-null type kotlin.Array<kotlin.Any?>"
if-eqz v5, :cond_d
2020-04-17 17:35:24 +00:00
invoke-static {v5}, Lf/n/a/j/a;->sort([Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static {v5}, Lf/n/a/j/a;->last([Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v10
2020-04-17 17:35:24 +00:00
check-cast v10, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
array-length v11, v5
const v12, 0x7fffffff
move-object v12, v10
const/4 v10, 0x0
const v13, 0x7fffffff
:goto_4
if-ge v10, v11, :cond_7
aget-object v14, v5, v10
2020-04-17 17:35:24 +00:00
iget v15, v14, Lf/g/j/c;->d:I
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget v9, v7, Lf/g/j/c;->d:I
2019-12-06 03:29:40 +00:00
if-lt v15, v9, :cond_6
2020-04-17 17:35:24 +00:00
iget v9, v14, Lf/g/j/c;->e:I
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget v15, v7, Lf/g/j/c;->e:I
2019-12-06 03:29:40 +00:00
if-lt v9, v15, :cond_6
2020-04-17 17:35:24 +00:00
invoke-virtual {v14}, Lf/g/j/c;->a()I
2019-12-06 03:29:40 +00:00
move-result v9
if-ge v9, v13, :cond_6
2020-04-17 17:35:24 +00:00
invoke-virtual {v14}, Lf/g/j/c;->a()I
2019-12-06 03:29:40 +00:00
move-result v9
move v13, v9
move-object v12, v14
:cond_6
add-int/lit8 v10, v10, 0x1
goto :goto_4
:cond_7
2020-04-17 17:35:24 +00:00
invoke-virtual {v0, v12}, Lf/g/e;->setPreviewSize(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v5
2020-04-17 17:35:24 +00:00
iget v5, v5, Lf/g/j/c;->d:I
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v7
2020-04-17 17:35:24 +00:00
iget v7, v7, Lf/g/j/c;->e:I
2019-12-06 03:29:40 +00:00
invoke-virtual {v2, v5, v7}, Landroid/graphics/SurfaceTexture;->setDefaultBufferSize(II)V
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewOrientation()I
2019-12-06 03:29:40 +00:00
move-result v5
rem-int/lit16 v5, v5, 0xb4
if-eqz v5, :cond_8
2020-04-17 17:35:24 +00:00
new-instance v5, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v7
2020-04-17 17:35:24 +00:00
iget v7, v7, Lf/g/j/c;->e:I
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v9
2020-04-17 17:35:24 +00:00
iget v9, v9, Lf/g/j/c;->d:I
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v5, v7, v9}, Lf/g/j/c;-><init>(II)V
2019-12-06 03:29:40 +00:00
goto :goto_5
:cond_8
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v5
:goto_5
2020-04-17 17:35:24 +00:00
invoke-virtual {v2, v5}, Lcom/camerakit/preview/CameraSurfaceTexture;->a(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-interface {v3}, Lf/g/h/b;->c()[Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v3
if-eqz v3, :cond_c
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getImageMegaPixels()F
2019-12-06 03:29:40 +00:00
move-result v4
const v5, 0xf4240
int-to-float v5, v5
mul-float v4, v4, v5
float-to-int v4, v4
if-eqz v3, :cond_b
2020-04-17 17:35:24 +00:00
invoke-static {v3}, Lf/n/a/j/a;->sort([Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static {v3}, Lf/n/a/j/a;->last([Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v5
2020-04-17 17:35:24 +00:00
check-cast v5, Lf/g/j/c;
2019-12-06 03:29:40 +00:00
array-length v6, v3
move-object v7, v5
const/4 v5, 0x0
:goto_6
if-ge v5, v6, :cond_a
aget-object v8, v3, v5
2020-04-17 17:35:24 +00:00
invoke-virtual {v8}, Lf/g/j/c;->a()I
2019-12-06 03:29:40 +00:00
move-result v9
sub-int v9, v4, v9
invoke-static {v9}, Ljava/lang/Math;->abs(I)I
move-result v9
2020-04-17 17:35:24 +00:00
invoke-virtual {v7}, Lf/g/j/c;->a()I
2019-12-06 03:29:40 +00:00
move-result v10
sub-int v10, v4, v10
invoke-static {v10}, Ljava/lang/Math;->abs(I)I
move-result v10
if-ge v9, v10, :cond_9
move-object v7, v8
:cond_9
add-int/lit8 v5, v5, 0x1
goto :goto_6
:cond_a
2020-04-17 17:35:24 +00:00
invoke-virtual {v0, v7}, Lf/g/e;->setPhotoSize(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v3, v0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewOrientation()I
2019-12-06 03:29:40 +00:00
move-result v4
2020-04-17 17:35:24 +00:00
invoke-interface {v3, v4}, Lf/g/h/a;->setPreviewOrientation(I)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v3, v0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPreviewSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v4
2020-04-17 17:35:24 +00:00
invoke-interface {v3, v4}, Lf/g/h/a;->setPreviewSize(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v3, v0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual/range {p0 .. p0}, Lf/g/e;->getPhotoSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v4
2020-04-17 17:35:24 +00:00
invoke-interface {v3, v4}, Lf/g/h/a;->setPhotoSize(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v3, v0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-interface {v3, v2}, Lf/g/h/a;->a(Landroid/graphics/SurfaceTexture;)V
2019-12-06 03:29:40 +00:00
goto :goto_7
:cond_b
2020-04-17 19:35:49 +00:00
new-instance v1, Ly/l;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {v1, v8}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v1
:cond_c
2020-04-17 19:35:49 +00:00
invoke-static {v6}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v4
:cond_d
2020-04-17 19:35:49 +00:00
new-instance v1, Ly/l;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {v1, v8}, Ly/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v1
:cond_e
2020-04-17 19:35:49 +00:00
new-instance v1, Ly/g;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {v1}, Ly/g;-><init>()V
2019-12-06 03:29:40 +00:00
throw v1
:cond_f
2020-04-17 19:35:49 +00:00
invoke-static {v6}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v4
:cond_10
new-instance v2, Ljava/lang/IllegalStateException;
invoke-direct {v2}, Ljava/lang/IllegalStateException;-><init>()V
2020-04-17 19:35:49 +00:00
sget-object v3, Ly/i;->d:Ly/i$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static {v2}, Lf/n/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v2
invoke-interface {v1, v2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
2020-04-17 17:35:24 +00:00
iput-object v4, v0, Lf/g/e;->v:Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
:goto_7
2020-04-17 19:35:49 +00:00
invoke-virtual {v1}, Ly/s/f;->getOrThrow()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v1
2020-04-17 19:35:49 +00:00
sget-object v2, Ly/s/g/a;->d:Ly/s/g/a;
2019-12-06 03:29:40 +00:00
return-object v1
.end method
.method public c()V
.locals 3
2020-04-17 17:35:24 +00:00
sget-object v0, Lf/g/e$a;->g:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, v0}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->v:Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
sget-object v1, Lkotlin/Unit;->a:Lkotlin/Unit;
2020-04-17 19:35:49 +00:00
sget-object v2, Ly/i;->d:Ly/i$a;
2019-12-06 03:29:40 +00:00
invoke-interface {v0, v1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:cond_0
const/4 v0, 0x0
2020-04-17 17:35:24 +00:00
iput-object v0, p0, Lf/g/e;->v:Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public final synthetic d(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;)",
"Ljava/lang/Object;"
}
.end annotation
2020-04-17 19:35:49 +00:00
new-instance v0, Ly/s/f;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static {p1}, Lf/n/a/j/a;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-17 19:35:49 +00:00
invoke-direct {v0, p1}, Ly/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object p1, Lf/g/e$a;->h:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, p1}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->w:Lf/g/h/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-interface {p1}, Lf/g/h/a;->b()V
2019-12-06 03:29:40 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
2020-04-17 19:35:49 +00:00
sget-object v1, Ly/i;->d:Ly/i$a;
2019-12-06 03:29:40 +00:00
invoke-interface {v0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
2020-04-17 19:35:49 +00:00
invoke-virtual {v0}, Ly/s/f;->getOrThrow()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-17 19:35:49 +00:00
sget-object v0, Ly/s/g/a;->d:Ly/s/g/a;
2019-12-06 03:29:40 +00:00
return-object p1
.end method
.method public d()V
.locals 1
2020-04-17 17:35:24 +00:00
sget-object v0, Lf/g/e$a;->i:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, v0}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public final e()V
.locals 6
2020-04-17 19:35:49 +00:00
sget-object v0, Lz/a/w0;->d:Lz/a/w0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v1, p0, Lf/g/e;->t:Lz/a/x;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance v3, Lf/g/e$g;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2020-04-17 17:35:24 +00:00
invoke-direct {v3, p0, v2}, Lf/g/e$g;-><init>(Lf/g/e;Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
const/4 v4, 0x2
const/4 v5, 0x0
2020-04-17 19:35:49 +00:00
invoke-static/range {v0 .. v5}, Lf/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lz/a/c0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public final f()V
.locals 6
2020-04-17 19:35:49 +00:00
sget-object v0, Lz/a/w0;->d:Lz/a/w0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v1, p0, Lf/g/e;->t:Lz/a/x;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance v3, Lf/g/e$h;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2020-04-17 17:35:24 +00:00
invoke-direct {v3, p0, v2}, Lf/g/e$h;-><init>(Lf/g/e;Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
const/4 v4, 0x2
const/4 v5, 0x0
2020-04-17 19:35:49 +00:00
invoke-static/range {v0 .. v5}, Lf/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lz/a/c0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public final g()V
.locals 6
2020-04-17 19:35:49 +00:00
sget-object v0, Lz/a/w0;->d:Lz/a/w0;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v1, p0, Lf/g/e;->t:Lz/a/x;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
new-instance v3, Lf/g/e$j;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2020-04-17 17:35:24 +00:00
invoke-direct {v3, p0, v2}, Lf/g/e$j;-><init>(Lf/g/e;Lkotlin/coroutines/Continuation;)V
2019-12-06 03:29:40 +00:00
const/4 v4, 0x2
const/4 v5, 0x0
2020-04-17 19:35:49 +00:00
invoke-static/range {v0 .. v5}, Lf/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lz/a/c0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-04-17 17:35:24 +00:00
.method public final getCameraState()Lf/g/e$a;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->f:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
.method public final getCaptureOrientation()I
.locals 1
2020-04-17 17:35:24 +00:00
iget v0, p0, Lf/g/e;->j:I
2019-12-06 03:29:40 +00:00
return v0
.end method
.method public final getDisplayOrientation()I
.locals 1
2020-04-17 17:35:24 +00:00
iget v0, p0, Lf/g/e;->h:I
2019-12-06 03:29:40 +00:00
return v0
.end method
2020-04-17 17:35:24 +00:00
.method public final getFlash()Lf/g/j/b;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->n:Lf/g/j/b;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
.method public final getImageMegaPixels()F
.locals 1
2020-04-17 17:35:24 +00:00
iget v0, p0, Lf/g/e;->o:F
2019-12-06 03:29:40 +00:00
return v0
.end method
2020-04-17 17:35:24 +00:00
.method public final getLifecycleState()Lf/g/e$b;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->d:Lf/g/e$b;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
2020-04-17 17:35:24 +00:00
.method public final getListener()Lf/g/e$c;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->g:Lf/g/e$c;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
2020-04-17 17:35:24 +00:00
.method public final getPhotoSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->m:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
.method public final getPreviewOrientation()I
.locals 1
2020-04-17 17:35:24 +00:00
iget v0, p0, Lf/g/e;->i:I
2019-12-06 03:29:40 +00:00
return v0
.end method
2020-04-17 17:35:24 +00:00
.method public final getPreviewSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->k:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
2020-04-17 17:35:24 +00:00
.method public final getSurfaceSize()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->q:Lcom/camerakit/preview/CameraSurfaceTexture;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-04-17 17:35:24 +00:00
invoke-virtual {v0}, Lcom/camerakit/preview/CameraSurfaceTexture;->b()Lf/g/j/c;
2019-12-06 03:29:40 +00:00
move-result-object v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->l:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
:goto_0
return-object v0
.end method
2020-04-17 17:35:24 +00:00
.method public final getSurfaceState()Lf/g/e$e;
2019-12-06 03:29:40 +00:00
.locals 1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/g/e;->e:Lf/g/e$e;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
.method public onCameraClosed()V
.locals 1
2020-04-17 17:35:24 +00:00
sget-object v0, Lf/g/e$a;->k:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, v0}, Lf/g/e;->setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-04-17 17:35:24 +00:00
.method public final setCameraState(Lf/g/e$a;)V
2019-12-06 03:29:40 +00:00
.locals 2
if-eqz p1, :cond_5
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->f:Lf/g/e$a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
sget-object v0, Lf/g/f;->a:[I
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result p1
aget p1, v0, p1
const/4 v0, 0x1
if-eq p1, v0, :cond_3
const/4 v0, 0x2
if-eq p1, v0, :cond_2
const/4 v0, 0x3
if-eq p1, v0, :cond_1
const/4 v0, 0x4
if-eq p1, v0, :cond_0
goto :goto_0
:cond_0
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->g:Lf/g/e$c;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_4
check-cast p1, Lcom/camerakit/CameraKitView$a;
iget-object v0, p1, Lcom/camerakit/CameraKitView$a;->a:Lcom/camerakit/CameraKitView;
iget-object v1, v0, Lcom/camerakit/CameraKitView;->r:Lcom/camerakit/CameraKitView$d;
if-eqz v1, :cond_4
2020-04-17 17:35:24 +00:00
new-instance v1, Lf/g/b;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v1, p1}, Lf/g/b;-><init>(Lcom/camerakit/CameraKitView$a;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->post(Ljava/lang/Runnable;)Z
goto :goto_0
:cond_1
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->g:Lf/g/e$c;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_4
check-cast p1, Lcom/camerakit/CameraKitView$a;
iget-object p1, p1, Lcom/camerakit/CameraKitView$a;->a:Lcom/camerakit/CameraKitView;
iget-object p1, p1, Lcom/camerakit/CameraKitView;->s:Lcom/camerakit/CameraKitView$i;
goto :goto_0
:cond_2
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->g:Lf/g/e$c;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_4
check-cast p1, Lcom/camerakit/CameraKitView$a;
iget-object p1, p1, Lcom/camerakit/CameraKitView$a;->a:Lcom/camerakit/CameraKitView;
iget-object p1, p1, Lcom/camerakit/CameraKitView;->s:Lcom/camerakit/CameraKitView$i;
goto :goto_0
:cond_3
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/g/e;->g:Lf/g/e$c;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_4
check-cast p1, Lcom/camerakit/CameraKitView$a;
iget-object v0, p1, Lcom/camerakit/CameraKitView$a;->a:Lcom/camerakit/CameraKitView;
iget-object v1, v0, Lcom/camerakit/CameraKitView;->r:Lcom/camerakit/CameraKitView$d;
if-eqz v1, :cond_4
2020-04-17 17:35:24 +00:00
new-instance v1, Lf/g/a;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-direct {v1, p1}, Lf/g/a;-><init>(Lcom/camerakit/CameraKitView$a;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->post(Ljava/lang/Runnable;)Z
:cond_4
:goto_0
return-void
:cond_5
const-string p1, "state"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final setCaptureOrientation(I)V
.locals 0
2020-04-17 17:35:24 +00:00
iput p1, p0, Lf/g/e;->j:I
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public final setDisplayOrientation(I)V
.locals 0
2020-04-17 17:35:24 +00:00
iput p1, p0, Lf/g/e;->h:I
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-04-17 17:35:24 +00:00
.method public final setFlash(Lf/g/j/b;)V
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->n:Lf/g/j/b;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "<set-?>"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final setImageMegaPixels(F)V
.locals 0
2020-04-17 17:35:24 +00:00
iput p1, p0, Lf/g/e;->o:F
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-04-17 17:35:24 +00:00
.method public final setLifecycleState(Lf/g/e$b;)V
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->d:Lf/g/e$b;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "<set-?>"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-04-17 17:35:24 +00:00
.method public final setListener(Lf/g/e$c;)V
2019-12-06 03:29:40 +00:00
.locals 0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->g:Lf/g/e$c;
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-04-17 17:35:24 +00:00
.method public final setPhotoSize(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->m:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "<set-?>"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final setPreviewOrientation(I)V
.locals 0
2020-04-17 17:35:24 +00:00
iput p1, p0, Lf/g/e;->i:I
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-04-17 17:35:24 +00:00
.method public final setPreviewSize(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->k:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "<set-?>"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-04-17 17:35:24 +00:00
.method public final setSurfaceSize(Lf/g/j/c;)V
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->l:Lf/g/j/c;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "<set-?>"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-04-17 17:35:24 +00:00
.method public final setSurfaceState(Lf/g/e$e;)V
2019-12-06 03:29:40 +00:00
.locals 0
if-eqz p1, :cond_0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/g/e;->e:Lf/g/e$e;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "<set-?>"
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method