EmojiView$9.smali
.class Lim/tpelyyftgw/ui/components/EmojiView$9;
.super Ljava/lang/Object;
.source "EmojiView.java"
# interfaces
.implements Lim/tpelyyftgw/ui/components/ScrollSlidingTabStrip$ScrollSlidingTabStripDelegate;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/EmojiView;-><init>(ZZLandroid/content/Context;ZLim/tpelyyftgw/tgnet/TLRPC$ChatFull;)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/EmojiView;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/EmojiView;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/EmojiView;
.line 1112
iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmojiView$9;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onPageSelected(I)V
.registers 5
.param p1, "page" # I
.line 1115
sget-object v0, Lim/tpelyyftgw/messenger/Emoji;->recentEmoji:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_1d
.line 1116
if-nez p1, :cond_1b
.line 1117
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$9;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
# getter for: Lim/tpelyyftgw/ui/components/EmojiView;->emojiLayoutManager:Landroidx/recyclerview/widget/GridLayoutManager;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$2100(Lim/tpelyyftgw/ui/components/EmojiView;)Landroidx/recyclerview/widget/GridLayoutManager;
move-result-object v0
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmojiView$9;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
# getter for: Lim/tpelyyftgw/ui/components/EmojiView;->needEmojiSearch:Z
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmojiView;->access$2200(Lim/tpelyyftgw/ui/components/EmojiView;)Z
move-result v2
invoke-virtual {v0, v2, v1}, Landroidx/recyclerview/widget/GridLayoutManager;->scrollToPositionWithOffset(II)V
.line 1118
return-void
.line 1120
:cond_1b
add-int/lit8 p1, p1, -0x1
.line 1123
:cond_1d
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$9;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
# getter for: Lim/tpelyyftgw/ui/components/EmojiView;->emojiGridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$3500(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->stopScroll()V
.line 1124
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$9;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
# getter for: Lim/tpelyyftgw/ui/components/EmojiView;->emojiLayoutManager:Landroidx/recyclerview/widget/GridLayoutManager;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$2100(Lim/tpelyyftgw/ui/components/EmojiView;)Landroidx/recyclerview/widget/GridLayoutManager;
move-result-object v0
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmojiView$9;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
# getter for: Lim/tpelyyftgw/ui/components/EmojiView;->emojiAdapter:Lim/tpelyyftgw/ui/components/EmojiView$EmojiGridAdapter;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmojiView;->access$3800(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/EmojiView$EmojiGridAdapter;
move-result-object v2
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmojiView$EmojiGridAdapter;->access$5000(Lim/tpelyyftgw/ui/components/EmojiView$EmojiGridAdapter;)Landroid/util/SparseIntArray;
move-result-object v2
invoke-virtual {v2, p1}, Landroid/util/SparseIntArray;->get(I)I
move-result v2
invoke-virtual {v0, v2, v1}, Landroidx/recyclerview/widget/GridLayoutManager;->scrollToPositionWithOffset(II)V
.line 1125
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$9;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
const/4 v2, 0x0
# invokes: Lim/tpelyyftgw/ui/components/EmojiView;->checkEmojiTabY(Landroid/view/View;I)V
invoke-static {v0, v2, v1}, Lim/tpelyyftgw/ui/components/EmojiView;->access$4400(Lim/tpelyyftgw/ui/components/EmojiView;Landroid/view/View;I)V
.line 1126
return-void
.end method