2020-11-12 02:11:44 +00:00
|
|
|
.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"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1, p2}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
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$getFloatingControlsExperimental$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Lcom/discord/widgets/voice/controls/FloatingVoiceControlsView2;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/voice/controls/FloatingVoiceControlsView2;->getPeekHeight()I
|
|
|
|
|
|
|
|
move-result 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$getBottomSheetBehavior$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
add-int/2addr p1, p2
|
|
|
|
|
|
|
|
invoke-virtual {p3, p1}, Lcom/google/android/material/bottomsheet/BottomSheetBehavior;->setPeekHeight(I)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$getStreamingView$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getPaddingLeft()I
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getPaddingTop()I
|
|
|
|
|
|
|
|
move-result p4
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getPaddingRight()I
|
|
|
|
|
|
|
|
move-result p5
|
|
|
|
|
|
|
|
invoke-virtual {p1, p3, p4, p5, p2}, Landroid/view/View;->setPadding(IIII)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|