2019-10-03 02:31:26 +00:00
|
|
|
.class public final Lcom/camerakit/a$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "CameraPreview.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/camerakit/preview/a;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/camerakit/a;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic this$0:Lcom/camerakit/a;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/camerakit/a;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/camerakit/a$1;->this$0:Lcom/camerakit/a;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Lcom/camerakit/preview/CameraSurfaceTexture;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "cameraSurfaceTexture"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/camerakit/a$1;->this$0:Lcom/camerakit/a;
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lcom/camerakit/a;->a(Lcom/camerakit/a;Lcom/camerakit/preview/CameraSurfaceTexture;)V
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/camerakit/a$1;->this$0:Lcom/camerakit/a;
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
sget-object v0, Lcom/camerakit/a$f;->oa:Lcom/camerakit/a$f;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/camerakit/a;->setSurfaceState(Lcom/camerakit/a$f;)V
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/camerakit/a$1;->this$0:Lcom/camerakit/a;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/camerakit/a;->getLifecycleState()Lcom/camerakit/a$c;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
sget-object v0, Lcom/camerakit/a$c;->nW:Lcom/camerakit/a$c;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
if-ne p1, v0, :cond_0
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/camerakit/a$1;->this$0:Lcom/camerakit/a;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/camerakit/a;->resume()V
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
:cond_0
|
2019-10-03 02:31:26 +00:00
|
|
|
return-void
|
|
|
|
.end method
|