mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
105 lines
2.6 KiB
Smali
105 lines
2.6 KiB
Smali
.class Landroidx/emoji2/viewsintegration/EmojiTextWatcher$InitCallbackImpl;
|
|
.super Landroidx/emoji2/text/EmojiCompat$InitCallback;
|
|
.source "EmojiTextWatcher.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/emoji2/viewsintegration/EmojiTextWatcher;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = "InitCallbackImpl"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final mViewRef:Ljava/lang/ref/Reference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/Reference<",
|
|
"Landroid/widget/EditText;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/widget/EditText;)V
|
|
.locals 1
|
|
|
|
.line 145
|
|
invoke-direct {p0}, Landroidx/emoji2/text/EmojiCompat$InitCallback;-><init>()V
|
|
|
|
.line 146
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object v0, p0, Landroidx/emoji2/viewsintegration/EmojiTextWatcher$InitCallbackImpl;->mViewRef:Ljava/lang/ref/Reference;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onInitialized()V
|
|
.locals 1
|
|
|
|
.line 151
|
|
invoke-super {p0}, Landroidx/emoji2/text/EmojiCompat$InitCallback;->onInitialized()V
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/viewsintegration/EmojiTextWatcher$InitCallbackImpl;->mViewRef:Ljava/lang/ref/Reference;
|
|
|
|
.line 152
|
|
invoke-virtual {v0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/EditText;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 156
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/widget/EditText;->getHandler()Landroid/os/Handler;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 160
|
|
:cond_1
|
|
invoke-virtual {v0, p0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public run()V
|
|
.locals 1
|
|
|
|
iget-object p0, p0, Landroidx/emoji2/viewsintegration/EmojiTextWatcher$InitCallbackImpl;->mViewRef:Ljava/lang/ref/Reference;
|
|
|
|
.line 165
|
|
invoke-virtual {p0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroid/widget/EditText;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 166
|
|
invoke-static {p0, v0}, Landroidx/emoji2/viewsintegration/EmojiTextWatcher;->processTextOnEnablingEvent(Landroid/widget/EditText;I)V
|
|
|
|
return-void
|
|
.end method
|