85 lines
3.3 KiB
Smali
85 lines
3.3 KiB
Smali
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setVoiceControlsSheetPeekHeight$$inlined$doOnLayout$1;
|
|
.super Ljava/lang/Object;
|
|
.source "View.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnLayoutChangeListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->setVoiceControlsSheetPeekHeight()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/voice/fullscreen/WidgetCallFullscreen;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setVoiceControlsSheetPeekHeight$$inlined$doOnLayout$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onLayoutChange(Landroid/view/View;IIIIIIII)V
|
|
.locals 0
|
|
|
|
const-string p2, "view"
|
|
|
|
invoke-static {p1, p2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p0}, Landroid/view/View;->removeOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setVoiceControlsSheetPeekHeight$$inlined$doOnLayout$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->access$getSystemWindowInsets$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
iget-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setVoiceControlsSheetPeekHeight$$inlined$doOnLayout$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
|
|
|
invoke-static {p2}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->access$getBottomSheetBehavior$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p3, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setVoiceControlsSheetPeekHeight$$inlined$doOnLayout$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
|
|
|
invoke-static {p3}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->access$getFloatingControlsExperimental$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Lcom/discord/widgets/voice/controls/FloatingVoiceControlsView2;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p3}, Lcom/discord/widgets/voice/controls/FloatingVoiceControlsView2;->getPeekHeight()I
|
|
|
|
move-result p3
|
|
|
|
add-int/2addr p3, p1
|
|
|
|
invoke-virtual {p2, p3}, Lcom/google/android/material/bottomsheet/BottomSheetBehavior;->setPeekHeight(I)V
|
|
|
|
return-void
|
|
.end method
|