123 lines
2.9 KiB
Smali
123 lines
2.9 KiB
Smali
.class public final Lh2/f;
|
|
.super Ljava/lang/Object;
|
|
.source "EmojiKeyListener.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/text/method/KeyListener;
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x13
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/text/method/KeyListener;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/text/method/KeyListener;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lh2/f;->a:Landroid/text/method/KeyListener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public clearMetaKeyState(Landroid/view/View;Landroid/text/Editable;I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lh2/f;->a:Landroid/text/method/KeyListener;
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Landroid/text/method/KeyListener;->clearMetaKeyState(Landroid/view/View;Landroid/text/Editable;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getInputType()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lh2/f;->a:Landroid/text/method/KeyListener;
|
|
|
|
invoke-interface {v0}, Landroid/text/method/KeyListener;->getInputType()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onKeyDown(Landroid/view/View;Landroid/text/Editable;ILandroid/view/KeyEvent;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {p2, p3, p4}, Landroidx/emoji/text/EmojiCompat;->f(Landroid/text/Editable;ILandroid/view/KeyEvent;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lh2/f;->a:Landroid/text/method/KeyListener;
|
|
|
|
invoke-interface {v0, p1, p2, p3, p4}, Landroid/text/method/KeyListener;->onKeyDown(Landroid/view/View;Landroid/text/Editable;ILandroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public onKeyOther(Landroid/view/View;Landroid/text/Editable;Landroid/view/KeyEvent;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lh2/f;->a:Landroid/text/method/KeyListener;
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Landroid/text/method/KeyListener;->onKeyOther(Landroid/view/View;Landroid/text/Editable;Landroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onKeyUp(Landroid/view/View;Landroid/text/Editable;ILandroid/view/KeyEvent;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lh2/f;->a:Landroid/text/method/KeyListener;
|
|
|
|
invoke-interface {v0, p1, p2, p3, p4}, Landroid/text/method/KeyListener;->onKeyUp(Landroid/view/View;Landroid/text/Editable;ILandroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|