AppCompatHintHelper.smali
.class Landroidx/appcompat/widget/AppCompatHintHelper;
.super Ljava/lang/Object;
.source "AppCompatHintHelper.java"
# direct methods
.method private constructor <init>()V
.registers 1
.line 43
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static onCreateInputConnection(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;Landroid/view/View;)Landroid/view/inputmethod/InputConnection;
.registers 4
if-eqz p0, :cond_20
.line 28
iget-object v0, p1, Landroid/view/inputmethod/EditorInfo;->hintText:Ljava/lang/CharSequence;
if-nez v0, :cond_20
.line 31
invoke-virtual {p2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object p2
.line 32
:goto_a
instance-of v0, p2, Landroid/view/View;
if-eqz v0, :cond_20
.line 33
instance-of v0, p2, Landroidx/appcompat/widget/WithHint;
if-eqz v0, :cond_1b
.line 34
check-cast p2, Landroidx/appcompat/widget/WithHint;
invoke-interface {p2}, Landroidx/appcompat/widget/WithHint;->getHint()Ljava/lang/CharSequence;
move-result-object p2
iput-object p2, p1, Landroid/view/inputmethod/EditorInfo;->hintText:Ljava/lang/CharSequence;
goto :goto_20
.line 37
:cond_1b
invoke-interface {p2}, Landroid/view/ViewParent;->getParent()Landroid/view/ViewParent;
move-result-object p2
goto :goto_a
:cond_20
:goto_20
return-object p0
.end method