166 lines
6.8 KiB
Smali
166 lines
6.8 KiB
Smali
.class public final Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "CameraCaptureSessionCompat.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$StateCallbackExecutorWrapper;,
|
|
Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CaptureCallbackExecutorWrapper;,
|
|
Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final IMPL:Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 42
|
|
invoke-static {}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat;->chooseImplementation()Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat;->IMPL:Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 45
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static 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 103
|
|
sget-object v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat;->IMPL:Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
|
|
invoke-interface {v0, p0, p1, p2, p3}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;->captureBurstRequests(Landroid/hardware/camera2/CameraCaptureSession;Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static 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 149
|
|
sget-object v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat;->IMPL:Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
|
|
invoke-interface {v0, p0, p1, p2, p3}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;->captureSingleRequest(Landroid/hardware/camera2/CameraCaptureSession;Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static chooseImplementation()Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
.locals 2
|
|
|
|
.line 49
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 50
|
|
new-instance v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompatApi28Impl;
|
|
|
|
invoke-direct {v0}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompatApi28Impl;-><init>()V
|
|
|
|
return-object v0
|
|
|
|
.line 53
|
|
:cond_0
|
|
new-instance v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompatBaseImpl;
|
|
|
|
invoke-direct {v0}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompatBaseImpl;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static 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 194
|
|
sget-object v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat;->IMPL:Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
|
|
invoke-interface {v0, p0, p1, p2, p3}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;->setRepeatingBurstRequests(Landroid/hardware/camera2/CameraCaptureSession;Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static 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 236
|
|
sget-object v0, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat;->IMPL:Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;
|
|
|
|
invoke-interface {v0, p0, p1, p2, p3}, Landroidx/camera/camera2/impl/compat/CameraCaptureSessionCompat$CameraCaptureSessionCompatImpl;->setSingleRepeatingRequest(Landroid/hardware/camera2/CameraCaptureSession;Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|