131 lines
3.8 KiB
Smali
131 lines
3.8 KiB
Smali
.class public final Lcom/discord/overlay/views/OverlayBubbleWrap$a;
|
|
.super Lk0/o/b;
|
|
.source "Delegates.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/overlay/views/OverlayBubbleWrap;-><init>(Landroid/content/Context;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lk0/o/b<",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Ljava/lang/Object;
|
|
|
|
.field public final synthetic b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Object;Ljava/lang/Object;Lcom/discord/overlay/views/OverlayBubbleWrap;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/overlay/views/OverlayBubbleWrap$a;->a:Ljava/lang/Object;
|
|
|
|
iput-object p3, p0, Lcom/discord/overlay/views/OverlayBubbleWrap$a;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
|
|
|
invoke-direct {p0, p2}, Lk0/o/b;-><init>(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public afterChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/reflect/KProperty<",
|
|
"*>;",
|
|
"Ljava/lang/Boolean;",
|
|
"Ljava/lang/Boolean;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "property"
|
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p3, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p1
|
|
|
|
check-cast p2, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p2
|
|
|
|
if-ne p2, p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p2, p0, Lcom/discord/overlay/views/OverlayBubbleWrap$a;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/overlay/views/OverlayBubbleWrap;->getOnMovingStateChanged()Lkotlin/jvm/functions/Function1;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-interface {p2, p3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Lkotlin/Unit;
|
|
|
|
:cond_1
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object p2, p0, Lcom/discord/overlay/views/OverlayBubbleWrap$a;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
|
|
|
const/4 p3, 0x1
|
|
|
|
invoke-virtual {p2, p3}, Landroid/widget/FrameLayout;->performHapticFeedback(I)Z
|
|
|
|
iget-object p2, p0, Lcom/discord/overlay/views/OverlayBubbleWrap$a;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/overlay/views/OverlayBubbleWrap;->getSpringAnimationX()Landroidx/dynamicanimation/animation/SpringAnimation;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Landroidx/dynamicanimation/animation/SpringAnimation;->cancel()V
|
|
|
|
iget-object p2, p0, Lcom/discord/overlay/views/OverlayBubbleWrap$a;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/overlay/views/OverlayBubbleWrap;->getSpringAnimationY()Landroidx/dynamicanimation/animation/SpringAnimation;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Landroidx/dynamicanimation/animation/SpringAnimation;->cancel()V
|
|
|
|
:cond_2
|
|
iget-object p2, p0, Lcom/discord/overlay/views/OverlayBubbleWrap$a;->b:Lcom/discord/overlay/views/OverlayBubbleWrap;
|
|
|
|
invoke-virtual {p2, p1}, Landroid/widget/FrameLayout;->setPressed(Z)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|