VideoCaptureCamera$CaptureViewWeakRef.smali
.class public Lio/agora/rtc2/video/VideoCaptureCamera$CaptureViewWeakRef;
.super Ljava/lang/ref/WeakReference;
.source "VideoCaptureCamera.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/agora/rtc2/video/VideoCaptureCamera;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4
name = "CaptureViewWeakRef"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/ref/WeakReference<",
"Landroid/view/View;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lio/agora/rtc2/video/VideoCaptureCamera;
# direct methods
.method public constructor <init>(Lio/agora/rtc2/video/VideoCaptureCamera;Landroid/view/View;)V
.registers 3
.line 287
iput-object p1, p0, Lio/agora/rtc2/video/VideoCaptureCamera$CaptureViewWeakRef;->this$0:Lio/agora/rtc2/video/VideoCaptureCamera;
.line 288
invoke-direct {p0, p2}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public getHeight()I
.registers 2
.line 296
invoke-virtual {p0}, Lio/agora/rtc2/video/VideoCaptureCamera$CaptureViewWeakRef;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_8
const/4 v0, 0x0
goto :goto_12
:cond_8
invoke-virtual {p0}, Lio/agora/rtc2/video/VideoCaptureCamera$CaptureViewWeakRef;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getHeight()I
move-result v0
:goto_12
return v0
.end method
.method public getWidth()I
.registers 2
.line 292
invoke-virtual {p0}, Lio/agora/rtc2/video/VideoCaptureCamera$CaptureViewWeakRef;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_8
const/4 v0, 0x0
goto :goto_12
:cond_8
invoke-virtual {p0}, Lio/agora/rtc2/video/VideoCaptureCamera$CaptureViewWeakRef;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getWidth()I
move-result v0
:goto_12
return v0
.end method