81 lines
2.5 KiB
Smali
81 lines
2.5 KiB
Smali
.class public final Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet$onViewCreated$2;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetGifPickerSheet.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet$onViewCreated$2;->this$0:Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet$onViewCreated$2;->this$0:Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;->access$getContainer$p(Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet$onViewCreated$2;->this$0:Lcom/discord/widgets/chat/input/gifpicker/WidgetGifPickerSheet;
|
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "resources"
|
|
|
|
invoke-static {v1, v2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
|
|
|
|
move-result-object v1
|
|
|
|
iget v1, v1, Landroid/util/DisplayMetrics;->heightPixels:I
|
|
|
|
int-to-double v1, v1
|
|
|
|
const-wide v3, 0x3feccccccccccccdL # 0.9
|
|
|
|
mul-double v1, v1, v3
|
|
|
|
double-to-int v1, v1
|
|
|
|
iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|