mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
114 lines
2.9 KiB
Smali
114 lines
2.9 KiB
Smali
.class Landroidx/emoji2/viewsintegration/EmojiTransformationMethod;
|
|
.super Ljava/lang/Object;
|
|
.source "EmojiTransformationMethod.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/text/method/TransformationMethod;
|
|
|
|
|
|
# instance fields
|
|
.field private final mTransformationMethod:Landroid/text/method/TransformationMethod;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/text/method/TransformationMethod;)V
|
|
.locals 0
|
|
|
|
.line 38
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/emoji2/viewsintegration/EmojiTransformationMethod;->mTransformationMethod:Landroid/text/method/TransformationMethod;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getOriginalTransformationMethod()Landroid/text/method/TransformationMethod;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/emoji2/viewsintegration/EmojiTransformationMethod;->mTransformationMethod:Landroid/text/method/TransformationMethod;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getTransformation(Ljava/lang/CharSequence;Landroid/view/View;)Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
.line 44
|
|
invoke-virtual {p2}, Landroid/view/View;->isInEditMode()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
iget-object p0, p0, Landroidx/emoji2/viewsintegration/EmojiTransformationMethod;->mTransformationMethod:Landroid/text/method/TransformationMethod;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 49
|
|
invoke-interface {p0, p1, p2}, Landroid/text/method/TransformationMethod;->getTransformation(Ljava/lang/CharSequence;Landroid/view/View;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_1
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 53
|
|
invoke-static {}, Landroidx/emoji2/text/EmojiCompat;->get()Landroidx/emoji2/text/EmojiCompat;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/EmojiCompat;->getLoadState()I
|
|
|
|
move-result p0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
if-eq p0, p2, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
.line 55
|
|
:cond_2
|
|
invoke-static {}, Landroidx/emoji2/text/EmojiCompat;->get()Landroidx/emoji2/text/EmojiCompat;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/EmojiCompat;->process(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_3
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public onFocusChanged(Landroid/view/View;Ljava/lang/CharSequence;ZILandroid/graphics/Rect;)V
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/viewsintegration/EmojiTransformationMethod;->mTransformationMethod:Landroid/text/method/TransformationMethod;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
.line 70
|
|
invoke-interface/range {v0 .. v5}, Landroid/text/method/TransformationMethod;->onFocusChanged(Landroid/view/View;Ljava/lang/CharSequence;ZILandroid/graphics/Rect;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|