2019-12-21 01:41:59 +00:00
|
|
|
.class public final Lcom/discord/views/StreamPreviewView;
|
|
|
|
.super Landroid/widget/FrameLayout;
|
|
|
|
.source "StreamPreviewView.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final d:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
.field public final e:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
.field public final f:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v0, 0x7f0d011e
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-static {p1, v0, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c0
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "findViewById(R.id.stream_preview_image)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->d:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c1
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "findViewById(R.id.stream_preview_overlay_text)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->e:Landroid/widget/TextView;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c2
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "findViewById(R.id.stream\u2026view_placeholder_caption)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->f:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setClickable(Z)V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusable(Z)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusableInTouchMode(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const p2, 0x7f0d011e
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-static {p1, p2, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c0
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.stream_preview_image)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->d:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c1
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.stream_preview_overlay_text)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->e:Landroid/widget/TextView;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c2
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.stream\u2026view_placeholder_caption)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->f:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setClickable(Z)V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusable(Z)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusableInTouchMode(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const p2, 0x7f0d011e
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-static {p1, p2, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c0
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.stream_preview_image)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->d:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c1
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.stream_preview_overlay_text)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->e:Landroid/widget/TextView;
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f0a08c2
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.stream\u2026view_placeholder_caption)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/StreamPreviewView;->f:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setClickable(Z)V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusable(Z)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setFocusableInTouchMode(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/discord/views/StreamPreviewView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/views/StreamPreviewView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final setCaptionText(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/views/StreamPreviewView;->f:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setTextAndVisibilityBy(Landroid/widget/TextView;Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final setImage(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/views/StreamPreviewView;->d:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final setOverlayCaptionText(Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/views/StreamPreviewView;->e:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setTextAndVisibilityBy(Landroid/widget/TextView;Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-04-17 17:35:24 +00:00
|
|
|
.method public final a(Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview;Lcom/discord/utilities/streams/StreamContext$Joinability;Z)V
|
2019-12-21 01:41:59 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation build Landroidx/annotation/UiThread;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p1, :cond_9
|
2019-12-21 01:41:59 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p2, :cond_8
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
instance-of v1, p1, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Fetching;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-21 20:38:41 +00:00
|
|
|
const v0, 0x7f121363
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/StreamPreviewView;->setCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v1, p1, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Resolved;
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz v1, :cond_7
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Resolved;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Resolved;->getUrl()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Resolved;->getUrl()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/StreamPreviewView;->setImage(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/views/StreamPreviewView;->setCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/views/StreamPreviewView;->setImage(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/utilities/streams/StreamContext$Joinability;->CAN_CONNECT:Lcom/discord/utilities/streams/StreamContext$Joinability;
|
|
|
|
|
|
|
|
if-ne p2, p1, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-21 20:38:41 +00:00
|
|
|
const v0, 0x7f121361
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/StreamPreviewView;->setCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/views/StreamPreviewView;->setCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:goto_0
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eqz p3, :cond_3
|
|
|
|
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f1215fb
|
2020-04-17 17:35:24 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/StreamPreviewView;->setOverlayCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
2020-04-23 17:38:59 +00:00
|
|
|
sget-object p1, Lf/a/k/g0;->a:[I
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
aget p1, p1, p2
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eq p1, p2, :cond_6
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
const/4 p2, 0x2
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-eq p1, p2, :cond_5
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
const/4 p2, 0x3
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
if-ne p1, p2, :cond_4
|
2019-12-21 01:41:59 +00:00
|
|
|
|
2020-04-18 17:44:22 +00:00
|
|
|
const p1, 0x7f1203bd
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/StreamPreviewView;->setOverlayCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_4
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance p1, Ly/g;
|
2019-12-21 01:41:59 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {p1}, Ly/g;-><init>()V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_5
|
2020-04-21 20:38:41 +00:00
|
|
|
const p1, 0x7f12148d
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/StreamPreviewView;->setOverlayCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_6
|
2020-04-23 17:38:59 +00:00
|
|
|
const p1, 0x7f120c5a
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/StreamPreviewView;->setOverlayCaptionText(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return-void
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_7
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance p1, Ly/g;
|
2019-12-21 01:41:59 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {p1}, Ly/g;-><init>()V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_8
|
2019-12-21 01:41:59 +00:00
|
|
|
const-string p1, "joinability"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
:cond_9
|
2019-12-21 01:41:59 +00:00
|
|
|
const-string p1, "preview"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|