139 lines
3.4 KiB
Smali
139 lines
3.4 KiB
Smali
.class final Lcom/vk/webapp/VkUiConnectFragment$showTipIfNeeded$$inlined$let$lambda$1;
|
|
.super Lkotlin/jvm/internal/Lambda;
|
|
.source "VkUiConnectFragment.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/b/Functions;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vk/webapp/VkUiConnectFragment;->Y5()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/Lambda;",
|
|
"Lkotlin/jvm/b/Functions<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic $moreBtn:Landroid/view/View;
|
|
|
|
.field final synthetic this$0:Lcom/vk/webapp/VkUiConnectFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/view/View;Lcom/vk/webapp/VkUiConnectFragment;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/vk/webapp/VkUiConnectFragment$showTipIfNeeded$$inlined$let$lambda$1;->$moreBtn:Landroid/view/View;
|
|
|
|
iput-object p2, p0, Lcom/vk/webapp/VkUiConnectFragment$showTipIfNeeded$$inlined$let$lambda$1;->this$0:Lcom/vk/webapp/VkUiConnectFragment;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/vk/webapp/VkUiConnectFragment$showTipIfNeeded$$inlined$let$lambda$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 4
|
|
|
|
.line 2
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 3
|
|
iget-object v1, p0, Lcom/vk/webapp/VkUiConnectFragment$showTipIfNeeded$$inlined$let$lambda$1;->$moreBtn:Landroid/view/View;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->getGlobalVisibleRect(Landroid/graphics/Rect;)Z
|
|
|
|
.line 4
|
|
iget v1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
const/high16 v2, 0x40800000 # 4.0f
|
|
|
|
invoke-static {v2}, Lcom/vk/core/util/Screen;->a(F)I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v1, v3
|
|
|
|
iput v1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 5
|
|
iget v1, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
invoke-static {v2}, Lcom/vk/core/util/Screen;->a(F)I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
iput v1, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
.line 6
|
|
new-instance v1, Lcom/vk/hints/HintsManager$e;
|
|
|
|
const-string v2, "vkapp:add_to_favorite"
|
|
|
|
invoke-direct {v1, v2, v0}, Lcom/vk/hints/HintsManager$e;-><init>(Ljava/lang/String;Landroid/graphics/Rect;)V
|
|
|
|
.line 7
|
|
iget-object v0, p0, Lcom/vk/webapp/VkUiConnectFragment$showTipIfNeeded$$inlined$let$lambda$1;->this$0:Lcom/vk/webapp/VkUiConnectFragment;
|
|
|
|
invoke-virtual {v0}, Lme/grishka/appkit/fragments/AppKitFragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {v0}, Lcom/vk/core/util/ContextExtKt;->e(Landroid/content/Context;)Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, v2
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {v1, v0}, Lcom/vk/hints/HintsManager$c;->a(Landroid/app/Activity;)Lcom/vk/core/util/Dismissable;
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V
|
|
|
|
throw v2
|
|
.end method
|