87 lines
1.8 KiB
Smali
87 lines
1.8 KiB
Smali
.class final Lcom/vk/extensions/ViewExtKt$c;
|
|
.super Ljava/lang/Object;
|
|
.source "ViewExt.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnKeyListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vk/extensions/ViewExtKt;->a(Landroid/view/View;ZLkotlin/jvm/b/Functions;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lkotlin/jvm/b/Functions;
|
|
|
|
.field final synthetic b:Z
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lkotlin/jvm/b/Functions;Z)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/vk/extensions/ViewExtKt$c;->a:Lkotlin/jvm/b/Functions;
|
|
|
|
iput-boolean p2, p0, Lcom/vk/extensions/ViewExtKt$c;->b:Z
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onKey(Landroid/view/View;ILandroid/view/KeyEvent;)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x4
|
|
|
|
if-eq p2, p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const-string p1, "event"
|
|
|
|
.line 1
|
|
invoke-static {p3, p1}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I
|
|
|
|
move-result p1
|
|
|
|
const/4 p2, 0x1
|
|
|
|
if-ne p1, p2, :cond_1
|
|
|
|
.line 2
|
|
iget-object p1, p0, Lcom/vk/extensions/ViewExtKt$c;->a:Lkotlin/jvm/b/Functions;
|
|
|
|
invoke-interface {p1}, Lkotlin/jvm/b/Functions;->invoke()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
.line 3
|
|
:cond_1
|
|
iget-boolean p1, p0, Lcom/vk/extensions/ViewExtKt$c;->b:Z
|
|
|
|
return p1
|
|
.end method
|