SearchView$AutoCompleteTextViewReflector.smali
.class Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v7/widget/SearchView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "AutoCompleteTextViewReflector"
.end annotation
# instance fields
.field private doAfterTextChanged:Ljava/lang/reflect/Method;
.field private doBeforeTextChanged:Ljava/lang/reflect/Method;
.field private ensureImeVisible:Ljava/lang/reflect/Method;
.field private showSoftInputUnchecked:Ljava/lang/reflect/Method;
# direct methods
.method constructor <init>()V
.registers 6
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
:try_start_3
const-class v0, Landroid/widget/AutoCompleteTextView;
const-string/jumbo v1, "doBeforeTextChanged"
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/Class;
invoke-virtual {v0, v1, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
iput-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doBeforeTextChanged:Ljava/lang/reflect/Method;
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doBeforeTextChanged:Ljava/lang/reflect/Method;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Ljava/lang/reflect/Method;->setAccessible(Z)V
:try_end_17
.catch Ljava/lang/NoSuchMethodException; {:try_start_3 .. :try_end_17} :catch_49
:goto_17
:try_start_17
const-class v0, Landroid/widget/AutoCompleteTextView;
const-string/jumbo v1, "doAfterTextChanged"
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/Class;
invoke-virtual {v0, v1, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
iput-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doAfterTextChanged:Ljava/lang/reflect/Method;
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doAfterTextChanged:Ljava/lang/reflect/Method;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Ljava/lang/reflect/Method;->setAccessible(Z)V
:try_end_2b
.catch Ljava/lang/NoSuchMethodException; {:try_start_17 .. :try_end_2b} :catch_47
:goto_2b
:try_start_2b
const-class v0, Landroid/widget/AutoCompleteTextView;
const-string/jumbo v1, "ensureImeVisible"
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Class;
const/4 v3, 0x0
sget-object v4, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
aput-object v4, v2, v3
invoke-virtual {v0, v1, v2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
iput-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->ensureImeVisible:Ljava/lang/reflect/Method;
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->ensureImeVisible:Ljava/lang/reflect/Method;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Ljava/lang/reflect/Method;->setAccessible(Z)V
:try_end_44
.catch Ljava/lang/NoSuchMethodException; {:try_start_2b .. :try_end_44} :catch_45
:goto_44
return-void
:catch_45
move-exception v0
goto :goto_44
:catch_47
move-exception v0
goto :goto_2b
:catch_49
move-exception v0
goto :goto_17
.end method
# virtual methods
.method doAfterTextChanged(Landroid/widget/AutoCompleteTextView;)V
.registers 4
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doAfterTextChanged:Ljava/lang/reflect/Method;
if-eqz v0, :cond_c
:try_start_4
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doAfterTextChanged:Ljava/lang/reflect/Method;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_c
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_c} :catch_d
:cond_c
:goto_c
return-void
:catch_d
move-exception v0
goto :goto_c
.end method
.method doBeforeTextChanged(Landroid/widget/AutoCompleteTextView;)V
.registers 4
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doBeforeTextChanged:Ljava/lang/reflect/Method;
if-eqz v0, :cond_c
:try_start_4
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->doBeforeTextChanged:Ljava/lang/reflect/Method;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_c
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_c} :catch_d
:cond_c
:goto_c
return-void
:catch_d
move-exception v0
goto :goto_c
.end method
.method ensureImeVisible(Landroid/widget/AutoCompleteTextView;Z)V
.registers 7
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->ensureImeVisible:Ljava/lang/reflect/Method;
if-eqz v0, :cond_13
:try_start_4
iget-object v0, p0, Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;->ensureImeVisible:Ljava/lang/reflect/Method;
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v3
aput-object v3, v1, v2
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_13
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_13} :catch_14
:cond_13
:goto_13
return-void
:catch_14
move-exception v0
goto :goto_13
.end method