65 lines
1.4 KiB
Smali
65 lines
1.4 KiB
Smali
.class public Landroidx/appcompat/widget/g;
|
|
.super Ljava/lang/Object;
|
|
.source "AppCompatHintHelper.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;Landroid/view/View;)Landroid/view/inputmethod/InputConnection;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 1
|
|
iget-object v0, p1, Landroid/view/inputmethod/EditorInfo;->hintText:Ljava/lang/CharSequence;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 2
|
|
invoke-virtual {p2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p2
|
|
|
|
.line 3
|
|
:goto_0
|
|
instance-of v0, p2, Landroid/view/View;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 4
|
|
instance-of v0, p2, Landroidx/appcompat/widget/q0;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 5
|
|
check-cast p2, Landroidx/appcompat/widget/q0;
|
|
|
|
invoke-interface {p2}, Landroidx/appcompat/widget/q0;->a()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p1, Landroid/view/inputmethod/EditorInfo;->hintText:Ljava/lang/CharSequence;
|
|
|
|
goto :goto_1
|
|
|
|
.line 6
|
|
:cond_0
|
|
invoke-interface {p2}, Landroid/view/ViewParent;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
return-object p0
|
|
.end method
|