412 lines
10 KiB
Smali
412 lines
10 KiB
Smali
.class public final Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;
|
|
.super Ljava/lang/Object;
|
|
.source "SessionConfigurationCompat.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "b"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lt/b;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final b:Landroid/hardware/camera2/CameraCaptureSession$StateCallback;
|
|
|
|
.field public final c:Ljava/util/concurrent/Executor;
|
|
|
|
.field public d:I
|
|
|
|
.field public e:Lt/a;
|
|
|
|
.field public f:Landroid/hardware/camera2/CaptureRequest;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;)V
|
|
.locals 1
|
|
.param p2 # Ljava/util/List;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Ljava/util/concurrent/Executor;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Landroid/hardware/camera2/CameraCaptureSession$StateCallback;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"sessionType",
|
|
"outputs",
|
|
"executor",
|
|
"cb"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/util/List<",
|
|
"Lt/b;",
|
|
">;",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"Landroid/hardware/camera2/CameraCaptureSession$StateCallback;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
iput-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->e:Lt/a;
|
|
|
|
.line 3
|
|
iput-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->f:Landroid/hardware/camera2/CaptureRequest;
|
|
|
|
.line 4
|
|
iput p1, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->d:I
|
|
|
|
.line 5
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1, p2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
invoke-static {p1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
.line 6
|
|
iput-object p4, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->b:Landroid/hardware/camera2/CameraCaptureSession$StateCallback;
|
|
|
|
.line 7
|
|
iput-object p3, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->c:Ljava/util/concurrent/Executor;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lt/a;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->e:Lt/a;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b()Landroid/hardware/camera2/CaptureRequest;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->f:Landroid/hardware/camera2/CaptureRequest;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lt/b;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public d()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->d:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 5
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"obj"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 1
|
|
:cond_0
|
|
instance-of v1, p1, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 2
|
|
check-cast p1, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;
|
|
|
|
.line 3
|
|
iget-object v1, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->e:Lt/a;
|
|
|
|
iget-object v3, p1, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->e:Lt/a;
|
|
|
|
invoke-static {v1, v3}, Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
iget v1, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->d:I
|
|
|
|
iget v3, p1, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->d:I
|
|
|
|
if-ne v1, v3, :cond_4
|
|
|
|
iget-object v1, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
.line 4
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
move-result v1
|
|
|
|
iget-object v3, p1, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v3}, Ljava/util/List;->size()I
|
|
|
|
move-result v3
|
|
|
|
if-eq v1, v3, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v1, v2
|
|
|
|
.line 5
|
|
:goto_0
|
|
iget-object v3, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v3}, Ljava/util/List;->size()I
|
|
|
|
move-result v3
|
|
|
|
if-ge v1, v3, :cond_3
|
|
|
|
.line 6
|
|
iget-object v3, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lt/b;
|
|
|
|
iget-object v4, p1, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v4, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Lt/b;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
return v2
|
|
|
|
:cond_2
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return v0
|
|
|
|
:cond_4
|
|
:goto_1
|
|
return v2
|
|
.end method
|
|
|
|
.method public f()Landroid/hardware/camera2/CameraCaptureSession$StateCallback;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->b:Landroid/hardware/camera2/CameraCaptureSession$StateCallback;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g(Lt/a;)V
|
|
.locals 2
|
|
.param p1 # Lt/a;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"input"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->d:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 2
|
|
iput-object p1, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->e:Lt/a;
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string v0, "Method not supported for high speed session types"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public getExecutor()Ljava/util/concurrent/Executor;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->c:Ljava/util/concurrent/Executor;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public h(Landroid/hardware/camera2/CaptureRequest;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"params"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->f:Landroid/hardware/camera2/CaptureRequest;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->a:Ljava/util/List;
|
|
|
|
.line 2
|
|
invoke-interface {v0}, Ljava/util/List;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x1f
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
shl-int/lit8 v1, v0, 0x5
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
.line 3
|
|
iget-object v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->e:Lt/a;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-virtual {v0}, Lt/a;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
:goto_0
|
|
xor-int/2addr v0, v1
|
|
|
|
shl-int/lit8 v1, v0, 0x5
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
.line 5
|
|
iget v0, p0, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat$b;->d:I
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|