2020-04-27 20:53:11 +00:00
|
|
|
.class public final Le/g/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Landroid/widget/FrameLayout;
|
|
|
|
.source "CameraPreview.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-04-27 20:53:11 +00:00
|
|
|
.implements Le/g/h/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2020-04-27 20:53:11 +00:00
|
|
|
Le/g/e$d;,
|
|
|
|
Le/g/e$b;,
|
|
|
|
Le/g/e$e;,
|
|
|
|
Le/g/e$a;,
|
|
|
|
Le/g/e$c;
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public d:Le/g/e$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public e:Le/g/e$e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public f:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public g:Le/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-27 20:53:11 +00:00
|
|
|
.field public k:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public l:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public m:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public n:Le/g/j/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public o:F
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public p:Le/g/j/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public q:Lcom/camerakit/preview/CameraSurfaceTexture;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public r:Le/g/h/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public final s:Lcom/camerakit/preview/CameraSurfaceView;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public final t:Ly/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-27 20:53:11 +00:00
|
|
|
.field public final w:Le/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-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/e$b;->g:Le/g/e$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->d:Le/g/e$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/e$e;->e:Le/g/e$e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->e:Le/g/e$e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/e$a;->k:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->f:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance p1, Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p1, v1, v1}, Le/g/j/c;-><init>(II)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->k:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance p1, Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p1, v1, v1}, Le/g/j/c;-><init>(II)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->l:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance p1, Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p1, v1, v1}, Le/g/j/c;-><init>(II)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->m:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/j/b;->d:Le/g/j/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->n:Le/g/j/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/high16 p1, 0x40000000 # 2.0f
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput p1, p0, Le/g/e;->o:F
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/j/a;->d:Le/g/j/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->p:Le/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-27 20:53:11 +00:00
|
|
|
invoke-static {v2, v0}, Lx/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-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->s:Lcom/camerakit/preview/CameraSurfaceView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance p1, Ly/a/u1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
const-string v3, "CAMERA"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p1, v2, v3}, Ly/a/u1;-><init>(ILjava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->t:Ly/a/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance p1, Le/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-27 20:53:11 +00:00
|
|
|
new-instance v0, Le/g/h/g/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v0, p0}, Le/g/h/g/a;-><init>(Le/g/h/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v1, Le/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-27 20:53:11 +00:00
|
|
|
invoke-static {v2, v0}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1, p0, v2}, Le/g/h/h/a;-><init>(Le/g/h/c;Landroid/content/Context;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-object v0, v1
|
|
|
|
|
|
|
|
:goto_0
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p1, v0}, Le/g/h/f;-><init>(Le/g/h/a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->w:Le/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-27 20:53:11 +00:00
|
|
|
invoke-static {p1, v0}, Lx/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-27 20:53:11 +00:00
|
|
|
iput p1, p0, Le/g/e;->h:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->s:Lcom/camerakit/preview/CameraSurfaceView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v0, Le/g/d;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v0, p0}, Le/g/d;-><init>(Le/g/e;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p1, v0}, Lcom/camerakit/preview/CameraSurfaceView;->setCameraSurfaceTextureListener(Le/g/i/a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/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-27 20:53:11 +00:00
|
|
|
new-instance p1, Lx/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-27 20:53:11 +00:00
|
|
|
invoke-direct {p1, v0}, Lx/l;-><init>(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance p1, Lx/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {p1}, Lx/g;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Lx/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-27 20:53:11 +00:00
|
|
|
new-instance v0, Lx/s/f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static {p1}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-direct {v0, p1}, Lx/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/e$a;->j:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, p1}, Le/g/e;->setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->w:Le/g/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {p1}, Le/g/h/a;->release()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v1, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0}, Lx/s/f;->getOrThrow()Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Lx/s/g/a;->d:Lx/s/g/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final a(Le/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-27 20:53:11 +00:00
|
|
|
sget-object v1, Ly/a/w0;->d:Ly/a/w0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v2, p0, Le/g/e;->t:Ly/a/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le/g/e$f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, p0, p1, v0}, Le/g/e$f;-><init>(Le/g/e;Le/g/e$d;Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v5, 0x2
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Le/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Ly/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-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public a(Le/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-27 20:53:11 +00:00
|
|
|
sget-object v1, Le/g/e$a;->e:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v1}, Le/g/e;->setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->r:Le/g/h/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/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-27 20:53:11 +00:00
|
|
|
sget-object v2, Lx/i;->d:Lx/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-27 20:53:11 +00:00
|
|
|
iput-object v0, p0, Le/g/e;->u:Lkotlin/coroutines/Continuation;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "cameraAttributes"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
new-instance v0, Lx/s/f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static {p1}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-direct {v0, p1}, Lx/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v0, p0, Le/g/e;->u:Lkotlin/coroutines/Continuation;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/e$a;->d:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, p1}, Le/g/e;->setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->w:Le/g/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v1, p0, Le/g/e;->p:Le/g/j/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {p1, v1}, Le/g/h/a;->a(Le/g/j/a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0}, Lx/s/f;->getOrThrow()Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Lx/s/g/a;->d:Lx/s/g/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final b(Le/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-27 20:53:11 +00:00
|
|
|
sget-object v1, Ly/a/w0;->d:Ly/a/w0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v2, p0, Le/g/e;->t:Ly/a/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le/g/e$i;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, p0, p1, v0}, Le/g/e$i;-><init>(Le/g/e;Le/g/j/a;Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v5, 0x2
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Le/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Ly/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-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
new-instance v1, Lx/s/f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static/range {p1 .. p1}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-direct {v1, v2}, Lx/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v1, v0, Le/g/e;->v:Lkotlin/coroutines/Continuation;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v2, v0, Le/g/e;->q:Lcom/camerakit/preview/CameraSurfaceTexture;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v0, Le/g/e;->r:Le/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-27 20:53:11 +00:00
|
|
|
sget-object v5, Le/g/e$a;->f:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0, v5}, Le/g/e;->setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v0, Le/g/e;->p:Le/g/j/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v6, Le/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-27 20:53:11 +00:00
|
|
|
invoke-interface {v3}, Le/g/h/b;->b()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-27 20:53:11 +00:00
|
|
|
new-instance v1, Lx/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1}, Lx/g;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_1
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v3}, Le/g/h/b;->b()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0, v5}, Le/g/e;->setPreviewOrientation(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v0, Le/g/e;->p:Le/g/j/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v8, Le/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-27 20:53:11 +00:00
|
|
|
invoke-interface {v3}, Le/g/h/b;->b()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-27 20:53:11 +00:00
|
|
|
new-instance v1, Lx/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1}, Lx/g;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_3
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v3}, Le/g/h/b;->b()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0, v6}, Le/g/e;->setCaptureOrientation(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
sget v5, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-interface {v3}, Le/g/h/b;->a()[Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-27 20:53:11 +00:00
|
|
|
new-instance v7, Le/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-27 20:53:11 +00:00
|
|
|
invoke-direct {v7, v8, v10}, Le/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-27 20:53:11 +00:00
|
|
|
new-instance v7, Le/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-27 20:53:11 +00:00
|
|
|
invoke-direct {v7, v8, v10}, Le/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-05-01 21:13:47 +00:00
|
|
|
invoke-static {v5}, Le/n/a/j/a;->sort([Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static {v5}, Le/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-27 20:53:11 +00:00
|
|
|
check-cast v10, Le/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-27 20:53:11 +00:00
|
|
|
iget v15, v14, Le/g/j/c;->d:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v9, v7, Le/g/j/c;->d:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-lt v15, v9, :cond_6
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v9, v14, Le/g/j/c;->e:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v15, v7, Le/g/j/c;->e:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-lt v9, v15, :cond_6
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v14}, Le/g/j/c;->a()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-ge v9, v13, :cond_6
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v14}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0, v12}, Le/g/e;->setPreviewSize(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPreviewSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v5, v5, Le/g/j/c;->d:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPreviewSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v7, v7, Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-27 20:53:11 +00:00
|
|
|
new-instance v5, Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPreviewSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v7, v7, Le/g/j/c;->e:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPreviewSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget v9, v9, Le/g/j/c;->d:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v7, v9}, Le/g/j/c;-><init>(II)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_8
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPreviewSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
:goto_5
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v2, v5}, Lcom/camerakit/preview/CameraSurfaceTexture;->a(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v3}, Le/g/h/b;->c()[Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_c
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/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-05-01 21:13:47 +00:00
|
|
|
invoke-static {v3}, Le/n/a/j/a;->sort([Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static {v3}, Le/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-27 20:53:11 +00:00
|
|
|
check-cast v5, Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual {v8}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual {v7}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0, v7}, Le/g/e;->setPhotoSize(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v0, Le/g/e;->w:Le/g/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPreviewOrientation()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v3, v4}, Le/g/h/a;->setPreviewOrientation(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v0, Le/g/e;->w:Le/g/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPreviewSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v3, v4}, Le/g/h/a;->setPreviewSize(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v0, Le/g/e;->w:Le/g/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Le/g/e;->getPhotoSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v3, v4}, Le/g/h/a;->setPhotoSize(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v0, Le/g/e;->w:Le/g/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v3, v2}, Le/g/h/a;->a(Landroid/graphics/SurfaceTexture;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_b
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v1, Lx/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1, v8}, Lx/l;-><init>(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_c
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v4
|
|
|
|
|
|
|
|
:cond_d
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v1, Lx/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1, v8}, Lx/l;-><init>(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_e
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v1, Lx/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1}, Lx/g;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_f
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Lx/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-27 20:53:11 +00:00
|
|
|
sget-object v3, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static {v2}, Le/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-27 20:53:11 +00:00
|
|
|
iput-object v4, v0, Le/g/e;->v:Lkotlin/coroutines/Continuation;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_7
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1}, Lx/s/f;->getOrThrow()Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v2, Lx/s/g/a;->d:Lx/s/g/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public c()V
|
|
|
|
.locals 3
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Le/g/e$a;->g:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v0}, Le/g/e;->setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/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-27 20:53:11 +00:00
|
|
|
sget-object v2, Lx/i;->d:Lx/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-27 20:53:11 +00:00
|
|
|
iput-object v0, p0, Le/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-27 20:53:11 +00:00
|
|
|
new-instance v0, Lx/s/f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static {p1}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-direct {v0, p1}, Lx/s/f;-><init>(Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le/g/e$a;->h:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, p1}, Le/g/e;->setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->w:Le/g/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {p1}, Le/g/h/a;->b()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v1, Lx/i;->d:Lx/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0}, Lx/s/f;->getOrThrow()Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Lx/s/g/a;->d:Lx/s/g/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public d()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Le/g/e$a;->i:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v0}, Le/g/e;->setCameraState(Le/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-27 20:53:11 +00:00
|
|
|
sget-object v0, Ly/a/w0;->d:Ly/a/w0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v1, p0, Le/g/e;->t:Ly/a/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v3, Le/g/e$g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v3, p0, v2}, Le/g/e$g;-><init>(Le/g/e;Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Le/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Ly/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-27 20:53:11 +00:00
|
|
|
sget-object v0, Ly/a/w0;->d:Ly/a/w0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v1, p0, Le/g/e;->t:Ly/a/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v3, Le/g/e$h;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v3, p0, v2}, Le/g/e$h;-><init>(Le/g/e;Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Le/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Ly/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-27 20:53:11 +00:00
|
|
|
sget-object v0, Ly/a/w0;->d:Ly/a/w0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v1, p0, Le/g/e;->t:Ly/a/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v3, Le/g/e$j;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v3, p0, v2}, Le/g/e$j;-><init>(Le/g/e;Lkotlin/coroutines/Continuation;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
2020-05-01 21:13:47 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Le/n/a/j/a;->a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Ly/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-27 20:53:11 +00:00
|
|
|
.method public final getCameraState()Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->f:Le/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-27 20:53:11 +00:00
|
|
|
iget v0, p0, Le/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-27 20:53:11 +00:00
|
|
|
iget v0, p0, Le/g/e;->h:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final getFlash()Le/g/j/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->n:Le/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-27 20:53:11 +00:00
|
|
|
iget v0, p0, Le/g/e;->o:F
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final getLifecycleState()Le/g/e$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->d:Le/g/e$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final getListener()Le/g/e$c;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->g:Le/g/e$c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final getPhotoSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->m:Le/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-27 20:53:11 +00:00
|
|
|
iget v0, p0, Le/g/e;->i:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final getPreviewSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->k:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final getSurfaceSize()Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->q:Lcom/camerakit/preview/CameraSurfaceTexture;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0}, Lcom/camerakit/preview/CameraSurfaceTexture;->b()Le/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-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->l:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final getSurfaceState()Le/g/e$e;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le/g/e;->e:Le/g/e$e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onCameraClosed()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Le/g/e$a;->k:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v0}, Le/g/e;->setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final setCameraState(Le/g/e$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->f:Le/g/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Le/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-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->g:Le/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-27 20:53:11 +00:00
|
|
|
new-instance v1, Le/g/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1, p1}, Le/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-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->g:Le/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-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->g:Le/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-27 20:53:11 +00:00
|
|
|
iget-object p1, p0, Le/g/e;->g:Le/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-27 20:53:11 +00:00
|
|
|
new-instance v1, Le/g/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v1, p1}, Le/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-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
iput p1, p0, Le/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-27 20:53:11 +00:00
|
|
|
iput p1, p0, Le/g/e;->h:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final setFlash(Le/g/j/b;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->n:Le/g/j/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "<set-?>"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
iput p1, p0, Le/g/e;->o:F
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final setLifecycleState(Le/g/e$b;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->d:Le/g/e$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "<set-?>"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
.method public final setListener(Le/g/e$c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->g:Le/g/e$c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final setPhotoSize(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->m:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "<set-?>"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
iput p1, p0, Le/g/e;->i:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public final setPreviewSize(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->k:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "<set-?>"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
.method public final setSurfaceSize(Le/g/j/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->l:Le/g/j/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "<set-?>"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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-27 20:53:11 +00:00
|
|
|
.method public final setSurfaceState(Le/g/e$e;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le/g/e;->e:Le/g/e$e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "<set-?>"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|