tmap/smali/androidx/camera/core/VideoCapture$a.smali
2022-06-10 21:38:30 +09:00

107 lines
3.0 KiB
Smali

.class public Landroidx/camera/core/VideoCapture$a;
.super Ljava/lang/Object;
.source "VideoCapture.java"
# interfaces
.implements Landroidx/camera/core/impl/SessionConfig$c;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/camera/core/VideoCapture;->k0(Ljava/lang/String;Landroid/util/Size;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Ljava/lang/String;
.field public final synthetic b:Landroid/util/Size;
.field public final synthetic c:Landroidx/camera/core/VideoCapture;
# direct methods
.method public constructor <init>(Landroidx/camera/core/VideoCapture;Ljava/lang/String;Landroid/util/Size;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8010,
0x1010,
0x1010
}
names = {
"this$0",
"val$cameraId",
"val$resolution"
}
.end annotation
.line 1
iput-object p1, p0, Landroidx/camera/core/VideoCapture$a;->c:Landroidx/camera/core/VideoCapture;
iput-object p2, p0, Landroidx/camera/core/VideoCapture$a;->a:Ljava/lang/String;
iput-object p3, p0, Landroidx/camera/core/VideoCapture$a;->b:Landroid/util/Size;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Landroidx/camera/core/impl/SessionConfig;Landroidx/camera/core/impl/SessionConfig$SessionError;)V
.locals 1
.param p1 # Landroidx/camera/core/impl/SessionConfig;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroidx/camera/core/impl/SessionConfig$SessionError;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"sessionConfig",
"error"
}
.end annotation
.line 1
iget-object p1, p0, Landroidx/camera/core/VideoCapture$a;->c:Landroidx/camera/core/VideoCapture;
iget-object p2, p0, Landroidx/camera/core/VideoCapture$a;->a:Ljava/lang/String;
invoke-virtual {p1, p2}, Landroidx/camera/core/UseCase;->o(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_0
.line 2
iget-object p1, p0, Landroidx/camera/core/VideoCapture$a;->c:Landroidx/camera/core/VideoCapture;
iget-object p2, p0, Landroidx/camera/core/VideoCapture$a;->a:Ljava/lang/String;
iget-object v0, p0, Landroidx/camera/core/VideoCapture$a;->b:Landroid/util/Size;
invoke-virtual {p1, p2, v0}, Landroidx/camera/core/VideoCapture;->k0(Ljava/lang/String;Landroid/util/Size;)V
.line 3
iget-object p1, p0, Landroidx/camera/core/VideoCapture$a;->c:Landroidx/camera/core/VideoCapture;
invoke-virtual {p1}, Landroidx/camera/core/UseCase;->s()V
:cond_0
return-void
.end method