124 lines
2.9 KiB
Smali
124 lines
2.9 KiB
Smali
.class public Landroidx/camera/view/CameraController$c;
|
|
.super Ljava/lang/Object;
|
|
.source "CameraController.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/hardware/display/DisplayManager$DisplayListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/camera/view/CameraController;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = "c"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Landroidx/camera/view/CameraController;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/camera/view/CameraController;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x8010
|
|
}
|
|
names = {
|
|
"this$0"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/camera/view/CameraController$c;->a:Landroidx/camera/view/CameraController;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onDisplayAdded(I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"displayId"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDisplayChanged(I)V
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"WrongConstant"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/experimental/UseExperimental;
|
|
markerClass = Landroidx/camera/core/ExperimentalUseCaseGroup;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"displayId"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/camera/view/CameraController$c;->a:Landroidx/camera/view/CameraController;
|
|
|
|
iget-object v0, v0, Landroidx/camera/view/CameraController;->n:Landroid/view/Display;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Landroid/view/Display;->getDisplayId()I
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
.line 2
|
|
iget-object p1, p0, Landroidx/camera/view/CameraController$c;->a:Landroidx/camera/view/CameraController;
|
|
|
|
iget-object v0, p1, Landroidx/camera/view/CameraController;->c:Landroidx/camera/core/g2;
|
|
|
|
iget-object p1, p1, Landroidx/camera/view/CameraController;->n:Landroid/view/Display;
|
|
|
|
invoke-virtual {p1}, Landroid/view/Display;->getRotation()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/camera/core/g2;->U(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDisplayRemoved(I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"displayId"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|