Files
rr3-apk/smali_classes2/com/firemint/realracing/CheatView$CheatEditText.smali
supermegamestre 4bbd74a497 First Upload
Just the APK
Force update disabled, will only work offline.
2026-01-26 00:26:29 -03:00

88 lines
2.4 KiB
Smali

.class Lcom/firemint/realracing/CheatView$CheatEditText;
.super Landroid/widget/EditText;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/firemint/realracing/CheatView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "CheatEditText"
.end annotation
# instance fields
.field private m_cheatListener:Lcom/firemint/realracing/CheatView$CheatListener;
.field final synthetic this$0:Lcom/firemint/realracing/CheatView;
# direct methods
.method public constructor <init>(Lcom/firemint/realracing/CheatView;Landroid/content/Context;Lcom/firemint/realracing/CheatView$CheatListener;)V
.locals 0
iput-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->this$0:Lcom/firemint/realracing/CheatView;
.line 30
invoke-direct {p0, p2}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V
iput-object p3, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->m_cheatListener:Lcom/firemint/realracing/CheatView$CheatListener;
return-void
.end method
# virtual methods
.method public onKeyPreIme(ILandroid/view/KeyEvent;)Z
.locals 2
const/4 v0, 0x4
const/4 v1, 0x1
if-ne p1, v0, :cond_0
iget-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->this$0:Lcom/firemint/realracing/CheatView;
const-string p2, "Consume the back key before it gets to the keyboard"
.line 39
invoke-virtual {p1, p2}, Lcom/firemint/realracing/CheatView;->Log(Ljava/lang/String;)V
iget-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->m_cheatListener:Lcom/firemint/realracing/CheatView$CheatListener;
const/4 p2, 0x0
const-string v0, ""
.line 40
invoke-interface {p1, p2, v0}, Lcom/firemint/realracing/CheatView$CheatListener;->onInputDone(ZLjava/lang/CharSequence;)V
return v1
:cond_0
const/16 v0, 0x52
if-ne p1, v0, :cond_1
iget-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->this$0:Lcom/firemint/realracing/CheatView;
const-string p2, "Consume the menu key before it gets to the keyboard"
.line 46
invoke-virtual {p1, p2}, Lcom/firemint/realracing/CheatView;->Log(Ljava/lang/String;)V
return v1
.line 50
:cond_1
invoke-super {p0, p1, p2}, Landroid/view/View;->onKeyPreIme(ILandroid/view/KeyEvent;)Z
move-result p1
return p1
.end method