apkfuckery/com.discord/smali/androidx/appcompat/widget/SearchView$5.smali

88 lines
2.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/appcompat/widget/SearchView$5;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "SearchView.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/widget/SearchView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/appcompat/widget/SearchView;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/appcompat/widget/SearchView;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/appcompat/widget/SearchView$5;->this$0:Landroidx/appcompat/widget/SearchView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/appcompat/widget/SearchView$5;->this$0:Landroidx/appcompat/widget/SearchView;
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Landroidx/appcompat/widget/SearchView;->mSearchButton:Landroid/widget/ImageView;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne p1, v1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroidx/appcompat/widget/SearchView;->onSearchClicked()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Landroidx/appcompat/widget/SearchView;->mCloseButton:Landroid/widget/ImageView;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne p1, v1, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroidx/appcompat/widget/SearchView;->onCloseClicked()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_1
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Landroidx/appcompat/widget/SearchView;->mGoButton:Landroid/widget/ImageView;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne p1, v1, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroidx/appcompat/widget/SearchView;->onSubmitQuery()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_2
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Landroidx/appcompat/widget/SearchView;->mVoiceButton:Landroid/widget/ImageView;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne p1, v1, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroidx/appcompat/widget/SearchView;->onVoiceClicked()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_3
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Landroidx/appcompat/widget/SearchView;->mSearchSrcTextView:Landroidx/appcompat/widget/SearchView$SearchAutoComplete;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne p1, v1, :cond_4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroidx/appcompat/widget/SearchView;->forceSuggestionQuery()V
2019-07-24 11:27:29 +00:00
:cond_4
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method