YD_AllInOneApp/decompiled/smali/androidx/camera/camera2/impl/compat/CameraCaptureSessionCompatBaseImpl.smali
2026-07-06 19:54:44 +08:00

159 lines
6.4 KiB
Smali

.class Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompatBaseImpl;
.super Ljava/lang/Object;
.source "CameraCaptureSessionCompatBaseImpl.java"
# interfaces
.implements Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
# direct methods
.method constructor <init>()V
.locals 0
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public captureBurstRequests(Landroid/hardware/camera2/CameraCaptureSession;Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/hardware/camera2/CameraCaptureSession;",
"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 38
invoke-static {p1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 41
new-instance v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;
invoke-direct {v0, p3, p4}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
.line 44
invoke-static {}, Landroidx/camera/core/impl/utils/MainThreadAsyncHandler;->getInstance()Landroid/os/Handler;
move-result-object p3
invoke-virtual {p1, p2, v0, p3}, 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 captureSingleRequest(Landroid/hardware/camera2/CameraCaptureSession;Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/hardware/camera2/CameraAccessException;
}
.end annotation
.line 51
invoke-static {p1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 54
new-instance v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;
invoke-direct {v0, p3, p4}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
.line 57
invoke-static {}, Landroidx/camera/core/impl/utils/MainThreadAsyncHandler;->getInstance()Landroid/os/Handler;
move-result-object p3
invoke-virtual {p1, p2, v0, p3}, 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
.method public setRepeatingBurstRequests(Landroid/hardware/camera2/CameraCaptureSession;Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/hardware/camera2/CameraCaptureSession;",
"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 64
invoke-static {p1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 67
new-instance v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;
invoke-direct {v0, p3, p4}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
.line 70
invoke-static {}, Landroidx/camera/core/impl/utils/MainThreadAsyncHandler;->getInstance()Landroid/os/Handler;
move-result-object p3
invoke-virtual {p1, p2, v0, p3}, 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 setSingleRepeatingRequest(Landroid/hardware/camera2/CameraCaptureSession;Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/hardware/camera2/CameraAccessException;
}
.end annotation
.line 77
invoke-static {p1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 80
new-instance v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;
invoke-direct {v0, p3, p4}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;-><init>(Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)V
.line 84
invoke-static {}, Landroidx/camera/core/impl/utils/MainThreadAsyncHandler;->getInstance()Landroid/os/Handler;
move-result-object p3
.line 83
invoke-virtual {p1, p2, v0, p3}, 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