2019-10-03 02:31:26 +00:00
|
|
|
.class public final Lcom/camerakit/a/f;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ManagedCameraApi.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/camerakit/a/b;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-23 04:50:18 +00:00
|
|
|
.field private final ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/camerakit/a/b;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "delegate"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-object p1, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final declared-synchronized a(Landroid/graphics/SurfaceTexture;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "surfaceTexture"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->a(Landroid/graphics/SurfaceTexture;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lcom/camerakit/a/c;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "cameraAttributes"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->a(Lcom/camerakit/a/c;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized a(Lcom/camerakit/b/a;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "facing"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->a(Lcom/camerakit/b/a;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized a(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-[B",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "callback"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->a(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final bP()V
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0}, Lcom/camerakit/a/b;->bP()V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final bQ()V
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Lcom/camerakit/a/b;->bQ()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized bU()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0}, Lcom/camerakit/a/b;->bU()V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
return-void
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw v0
|
2019-10-03 02:31:26 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final bV()Lcom/camerakit/a/e;
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0}, Lcom/camerakit/a/b;->bV()Lcom/camerakit/a/e;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onCameraClosed()V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Lcom/camerakit/a/b;->onCameraClosed()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized release()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Lcom/camerakit/a/b;->release()V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized setFlash(Lcom/camerakit/b/b;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "flash"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->setFlash(Lcom/camerakit/b/b;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized setPhotoSize(Lcom/camerakit/b/c;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "size"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->setPhotoSize(Lcom/camerakit/b/c;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized setPreviewOrientation(I)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->setPreviewOrientation(I)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final setPreviewSize(Lcom/camerakit/b/c;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "size"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/camerakit/a/f;->bV()Lcom/camerakit/a/e;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/camerakit/a/f;->ot:Lcom/camerakit/a/b;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0, p1}, Lcom/camerakit/a/b;->setPreviewSize(Lcom/camerakit/b/c;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|