AudioPlayerAlert$2.smali

.class Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;
.super Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem$ActionBarMenuItemSearchListener;
.source "AudioPlayerAlert.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/AudioPlayerAlert;-><init>(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    .line 304
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    invoke-direct {p0}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem$ActionBarMenuItemSearchListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onSearchCollapse()V
    .registers 4

    .line 307
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->avatarContainer:Lim/tpelyyftgw/ui/components/ChatAvatarContainer;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$1900(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/components/ChatAvatarContainer;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/ChatAvatarContainer;->setVisibility(I)V

    .line 308
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->hasOptions:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2000(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Z

    move-result v0

    if-eqz v0, :cond_1c

    .line 309
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->menuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2100(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;

    move-result-object v0

    const/4 v2, 0x4

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setVisibility(I)V

    .line 311
    :cond_1c
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searching:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$400(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Z

    move-result v0

    if-eqz v0, :cond_3e

    .line 312
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # setter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searchWas:Z
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2202(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;Z)Z

    .line 313
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # setter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searching:Z
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$402(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;Z)Z

    .line 314
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->setAllowNestedScroll(Z)V

    .line 315
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->listAdapter:Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2300(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;->search(Ljava/lang/String;)V

    .line 317
    :cond_3e
    return-void
.end method

.method public onSearchExpand()V
    .registers 6

    .line 321
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2500(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Landroidx/recyclerview/widget/LinearLayoutManager;

    move-result-object v1

    invoke-virtual {v1}, Landroidx/recyclerview/widget/LinearLayoutManager;->findLastVisibleItemPosition()I

    move-result v1

    # setter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searchOpenPosition:I
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2402(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;I)I

    .line 322
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2500(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Landroidx/recyclerview/widget/LinearLayoutManager;

    move-result-object v0

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searchOpenPosition:I
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2400(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/LinearLayoutManager;->findViewByPosition(I)Landroid/view/View;

    move-result-object v0

    .line 323
    .local v0, "firstVisView":Landroid/view/View;
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    const/4 v2, 0x0

    if-nez v0, :cond_24

    const/4 v3, 0x0

    goto :goto_28

    :cond_24
    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v3

    :goto_28
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;
    invoke-static {v4}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$500(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;

    move-result-object v4

    invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getPaddingTop()I

    move-result v4

    sub-int/2addr v3, v4

    # setter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searchOpenOffset:I
    invoke-static {v1, v3}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2602(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;I)I

    .line 325
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->avatarContainer:Lim/tpelyyftgw/ui/components/ChatAvatarContainer;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$1900(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/components/ChatAvatarContainer;

    move-result-object v1

    const/16 v3, 0x8

    invoke-virtual {v1, v3}, Lim/tpelyyftgw/ui/components/ChatAvatarContainer;->setVisibility(I)V

    .line 326
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->hasOptions:Z
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2000(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Z

    move-result v1

    if-eqz v1, :cond_52

    .line 327
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->menuItem:Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2100(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;

    move-result-object v1

    invoke-virtual {v1, v3}, Lim/tpelyyftgw/ui/actionbar/ActionBarMenuItem;->setVisibility(I)V

    .line 329
    :cond_52
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    const/4 v3, 0x1

    # setter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searching:Z
    invoke-static {v1, v3}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$402(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;Z)Z

    .line 330
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->setAllowNestedScroll(Z)V

    .line 331
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->listAdapter:Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2300(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;->notifyDataSetChanged()V

    .line 332
    return-void
.end method

.method public onTextChanged(Landroid/widget/EditText;)V
    .registers 4
    .param p1, "editText"    # Landroid/widget/EditText;

    .line 336
    invoke-virtual {p1}, Landroid/widget/EditText;->length()I

    move-result v0

    if-lez v0, :cond_18

    .line 337
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->listAdapter:Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2300(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;

    move-result-object v0

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;->search(Ljava/lang/String;)V

    goto :goto_28

    .line 339
    :cond_18
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    const/4 v1, 0x0

    # setter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->searchWas:Z
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2202(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;Z)Z

    .line 340
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$2;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    # getter for: Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->listAdapter:Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$2300(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$ListAdapter;->search(Ljava/lang/String;)V

    .line 342
    :goto_28
    return-void
.end method