352 lines
9.6 KiB
Smali
352 lines
9.6 KiB
Smali
.class public final Ls/a;
|
|
.super Ljava/lang/Object;
|
|
.source "CameraCaptureSessionCompat.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Ls/a$c;,
|
|
Ls/a$b;,
|
|
Ls/a$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ls/a$a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/hardware/camera2/CameraCaptureSession;Landroid/os/Handler;)V
|
|
.locals 2
|
|
.param p1 # Landroid/hardware/camera2/CameraCaptureSession;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/os/Handler;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"captureSession",
|
|
"compatHandler"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 3
|
|
new-instance p2, Ls/b;
|
|
|
|
invoke-direct {p2, p1}, Ls/b;-><init>(Landroid/hardware/camera2/CameraCaptureSession;)V
|
|
|
|
iput-object p2, p0, Ls/a;->a:Ls/a$a;
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-static {p1, p2}, Ls/c;->f(Landroid/hardware/camera2/CameraCaptureSession;Landroid/os/Handler;)Ls/a$a;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Ls/a;->a:Ls/a$a;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static f(Landroid/hardware/camera2/CameraCaptureSession;)Ls/a;
|
|
.locals 1
|
|
.param p0 # Landroid/hardware/camera2/CameraCaptureSession;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"captureSession"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {}, Landroidx/camera/core/impl/utils/k;->a()Landroid/os/Handler;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
invoke-static {p0, v0}, Ls/a;->g(Landroid/hardware/camera2/CameraCaptureSession;Landroid/os/Handler;)Ls/a;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static g(Landroid/hardware/camera2/CameraCaptureSession;Landroid/os/Handler;)Ls/a;
|
|
.locals 1
|
|
.param p0 # Landroid/hardware/camera2/CameraCaptureSession;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroid/os/Handler;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"captureSession",
|
|
"compatHandler"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ls/a;
|
|
|
|
invoke-direct {v0, p0, p1}, Ls/a;-><init>(Landroid/hardware/camera2/CameraCaptureSession;Landroid/os/Handler;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
.locals 1
|
|
.param p1 # Ljava/util/List;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/util/concurrent/Executor;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"requests",
|
|
"executor",
|
|
"listener"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Landroid/hardware/camera2/CaptureRequest;",
|
|
">;",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;",
|
|
")I"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/hardware/camera2/CameraAccessException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Ls/a;->a:Ls/a$a;
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Ls/a$a;->b(Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public b(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
.locals 1
|
|
.param p1 # Landroid/hardware/camera2/CaptureRequest;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/util/concurrent/Executor;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"request",
|
|
"executor",
|
|
"listener"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/hardware/camera2/CameraAccessException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Ls/a;->a:Ls/a$a;
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Ls/a$a;->e(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public c(Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
.locals 1
|
|
.param p1 # Ljava/util/List;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/util/concurrent/Executor;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"requests",
|
|
"executor",
|
|
"listener"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Landroid/hardware/camera2/CaptureRequest;",
|
|
">;",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;",
|
|
")I"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/hardware/camera2/CameraAccessException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Ls/a;->a:Ls/a$a;
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Ls/a$a;->c(Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public d(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
.locals 1
|
|
.param p1 # Landroid/hardware/camera2/CaptureRequest;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/util/concurrent/Executor;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"request",
|
|
"executor",
|
|
"listener"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/hardware/camera2/CameraAccessException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Ls/a;->a:Ls/a$a;
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Ls/a$a;->d(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public e()Landroid/hardware/camera2/CameraCaptureSession;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Ls/a;->a:Ls/a$a;
|
|
|
|
invoke-interface {v0}, Ls/a$a;->a()Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|