408 lines
7.1 KiB
Smali
408 lines
7.1 KiB
Smali
.class public final Le/g/h/f;
|
|
.super Ljava/lang/Object;
|
|
.source "ManagedCameraApi.kt"
|
|
|
|
# interfaces
|
|
.implements Le/g/h/a;
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Le/g/h/a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Le/g/h/a;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "delegate"
|
|
|
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Le/g/h/e;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0}, Le/g/h/a;->a()Le/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}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/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}, Ls/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(Le/g/h/b;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/g/h/c;->a(Le/g/h/b;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "cameraAttributes"
|
|
|
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public declared-synchronized a(Le/g/j/a;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "facing"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/g/h/a;->a(Le/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}, Ls/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}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/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}, Ls/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}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0}, Le/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, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0}, Le/g/h/c;->c()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0}, Le/g/h/c;->d()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCameraClosed()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0}, Le/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}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0}, Le/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(Le/g/j/b;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "flash"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/g/h/a;->setFlash(Le/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}, Ls/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(Le/g/j/c;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "size"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/g/h/a;->setPhotoSize(Le/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}, Ls/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}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/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(Le/g/j/c;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Le/g/h/f;->a()Le/g/h/e;
|
|
|
|
iget-object v0, p0, Le/g/h/f;->d:Le/g/h/a;
|
|
|
|
invoke-interface {v0, p1}, Le/g/h/a;->setPreviewSize(Le/g/j/c;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "size"
|
|
|
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|