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