356 lines
10 KiB
Smali
356 lines
10 KiB
Smali
.class public Ls/c;
|
|
.super Ljava/lang/Object;
|
|
.source "CameraCaptureSessionCompatBaseImpl.java"
|
|
|
|
# interfaces
|
|
.implements Ls/a$a;
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Ls/c$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
.field public final b:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/hardware/camera2/CameraCaptureSession;Ljava/lang/Object;)V
|
|
.locals 0
|
|
.param p1 # Landroid/hardware/camera2/CameraCaptureSession;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"captureSession",
|
|
"implParams"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lr1/o;->k(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
iput-object p1, p0, Ls/c;->a:Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Ls/c;->b:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static f(Landroid/hardware/camera2/CameraCaptureSession;Landroid/os/Handler;)Ls/a$a;
|
|
.locals 2
|
|
.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 system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"captureSession",
|
|
"compatHandler"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ls/c;
|
|
|
|
new-instance v1, Ls/c$a;
|
|
|
|
invoke-direct {v1, p1}, Ls/c$a;-><init>(Landroid/os/Handler;)V
|
|
|
|
invoke-direct {v0, p0, v1}, Ls/c;-><init>(Landroid/hardware/camera2/CameraCaptureSession;Ljava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Landroid/hardware/camera2/CameraCaptureSession;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Ls/c;->a:Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b(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
|
|
new-instance v0, Ls/a$b;
|
|
|
|
invoke-direct {v0, p2, p3}, Ls/a$b;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
|
|
|
|
.line 2
|
|
iget-object p2, p0, Ls/c;->b:Ljava/lang/Object;
|
|
|
|
check-cast p2, Ls/c$a;
|
|
|
|
.line 3
|
|
iget-object p3, p0, Ls/c;->a:Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
iget-object p2, p2, Ls/c$a;->a:Landroid/os/Handler;
|
|
|
|
invoke-virtual {p3, p1, v0, p2}, Landroid/hardware/camera2/CameraCaptureSession;->captureBurst(Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;Landroid/os/Handler;)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
|
|
new-instance v0, Ls/a$b;
|
|
|
|
invoke-direct {v0, p2, p3}, Ls/a$b;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
|
|
|
|
.line 2
|
|
iget-object p2, p0, Ls/c;->b:Ljava/lang/Object;
|
|
|
|
check-cast p2, Ls/c$a;
|
|
|
|
.line 3
|
|
iget-object p3, p0, Ls/c;->a:Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
iget-object p2, p2, Ls/c$a;->a:Landroid/os/Handler;
|
|
|
|
invoke-virtual {p3, p1, v0, p2}, Landroid/hardware/camera2/CameraCaptureSession;->setRepeatingBurst(Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;Landroid/os/Handler;)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
|
|
new-instance v0, Ls/a$b;
|
|
|
|
invoke-direct {v0, p2, p3}, Ls/a$b;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
|
|
|
|
.line 2
|
|
iget-object p2, p0, Ls/c;->b:Ljava/lang/Object;
|
|
|
|
check-cast p2, Ls/c$a;
|
|
|
|
.line 3
|
|
iget-object p3, p0, Ls/c;->a:Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
iget-object p2, p2, Ls/c$a;->a:Landroid/os/Handler;
|
|
|
|
invoke-virtual {p3, p1, v0, p2}, Landroid/hardware/camera2/CameraCaptureSession;->setRepeatingRequest(Landroid/hardware/camera2/CaptureRequest;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;Landroid/os/Handler;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public e(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
|
|
new-instance v0, Ls/a$b;
|
|
|
|
invoke-direct {v0, p2, p3}, Ls/a$b;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
|
|
|
|
.line 2
|
|
iget-object p2, p0, Ls/c;->b:Ljava/lang/Object;
|
|
|
|
check-cast p2, Ls/c$a;
|
|
|
|
.line 3
|
|
iget-object p3, p0, Ls/c;->a:Landroid/hardware/camera2/CameraCaptureSession;
|
|
|
|
iget-object p2, p2, Ls/c$a;->a:Landroid/os/Handler;
|
|
|
|
invoke-virtual {p3, p1, v0, p2}, Landroid/hardware/camera2/CameraCaptureSession;->capture(Landroid/hardware/camera2/CaptureRequest;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;Landroid/os/Handler;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|