408 lines
7.1 KiB
Smali
408 lines
7.1 KiB
Smali
.class public final Lf/g/h/f;
|
|
.super Ljava/lang/Object;
|
|
.source "ManagedCameraApi.kt"
|
|
|
|
# interfaces
|
|
.implements Lf/g/h/a;
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Lf/g/h/a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/g/h/a;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "delegate"
|
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lf/g/h/e;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0}, Lf/g/h/a;->a()Lf/g/h/e;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public declared-synchronized a(Landroid/graphics/SurfaceTexture;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "surfaceTexture"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/a;->a(Landroid/graphics/SurfaceTexture;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a(Lf/g/h/b;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/c;->a(Lf/g/h/b;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "cameraAttributes"
|
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public declared-synchronized a(Lf/g/j/a;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "facing"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/a;->a(Lf/g/j/a;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public 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"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/a;->a(Lkotlin/jvm/functions/Function1;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public declared-synchronized b()V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0}, Lf/g/h/a;->b()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 c()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0}, Lf/g/h/c;->c()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0}, Lf/g/h/c;->d()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCameraClosed()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0}, Lf/g/h/c;->onCameraClosed()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public declared-synchronized release()V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0}, Lf/g/h/a;->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 declared-synchronized setFlash(Lf/g/j/b;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "flash"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/a;->setFlash(Lf/g/j/b;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public declared-synchronized setPhotoSize(Lf/g/j/c;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "size"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/a;->setPhotoSize(Lf/g/j/c;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public declared-synchronized setPreviewOrientation(I)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/a;->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 setPreviewSize(Lf/g/j/c;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lf/g/h/f;->a()Lf/g/h/e;
|
|
|
|
iget-object v0, p0, Lf/g/h/f;->d:Lf/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Lf/g/h/a;->setPreviewSize(Lf/g/j/c;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "size"
|
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|