EmojiViewV2$1.smali
.class Lim/tpelyyftgw/ui/components/EmojiViewV2$1;
.super Ljava/lang/Object;
.source "EmojiViewV2.java"
# interfaces
.implements Lim/tpelyyftgw/ui/ContentPreviewViewer$ContentPreviewViewerDelegate;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/ui/components/EmojiViewV2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/EmojiViewV2;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/EmojiViewV2;
.line 288
iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public canSchedule()Z
.registers 2
.line 301
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->delegate:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$000(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
move-result-object v0
invoke-interface {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;->canSchedule()Z
move-result v0
return v0
.end method
.method public gifAddedOrDeleted()V
.registers 3
.line 328
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->currentAccount:I
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$600(Lim/tpelyyftgw/ui/components/EmojiViewV2;)I
move-result v1
invoke-static {v1}, Lim/tpelyyftgw/messenger/MediaDataController;->getInstance(I)Lim/tpelyyftgw/messenger/MediaDataController;
move-result-object v1
invoke-virtual {v1}, Lim/tpelyyftgw/messenger/MediaDataController;->getRecentGifs()Ljava/util/ArrayList;
move-result-object v1
# setter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->recentGifs:Ljava/util/ArrayList;
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$502(Lim/tpelyyftgw/ui/components/EmojiViewV2;Ljava/util/ArrayList;)Ljava/util/ArrayList;
.line 329
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->gifAdapter:Lim/tpelyyftgw/ui/components/EmojiViewV2$GifAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$200(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$GifAdapter;
move-result-object v0
if-eqz v0, :cond_22
.line 330
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->gifAdapter:Lim/tpelyyftgw/ui/components/EmojiViewV2$GifAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$200(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$GifAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2$GifAdapter;->notifyDataSetChanged()V
.line 332
:cond_22
return-void
.end method
.method public isInScheduleMode()Z
.registers 2
.line 306
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->delegate:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$000(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
move-result-object v0
invoke-interface {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;->isInScheduleMode()Z
move-result v0
return v0
.end method
.method public synthetic needOpen()Z
.registers 2
invoke-static {p0}, Lim/tpelyyftgw/ui/ContentPreviewViewer$ContentPreviewViewerDelegate$-CC;->$default$needOpen(Lim/tpelyyftgw/ui/ContentPreviewViewer$ContentPreviewViewerDelegate;)Z
move-result v0
return v0
.end method
.method public needSend()Z
.registers 2
.line 296
const/4 v0, 0x1
return v0
.end method
.method public openSet(Lim/tpelyyftgw/tgnet/TLRPC$InputStickerSet;Z)V
.registers 5
.param p1, "set" # Lim/tpelyyftgw/tgnet/TLRPC$InputStickerSet;
.param p2, "clearsInputField" # Z
.line 311
if-nez p1, :cond_3
.line 312
return-void
.line 314
:cond_3
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->delegate:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$000(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, v1, p1}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;->onShowStickerSet(Lim/tpelyyftgw/tgnet/TLRPC$StickerSet;Lim/tpelyyftgw/tgnet/TLRPC$InputStickerSet;)V
.line 315
return-void
.end method
.method public sendGif(Ljava/lang/Object;ZI)V
.registers 11
.param p1, "gif" # Ljava/lang/Object;
.param p2, "notify" # Z
.param p3, "scheduleDate" # I
.line 319
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->gifGridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$100(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->gifAdapter:Lim/tpelyyftgw/ui/components/EmojiViewV2$GifAdapter;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$200(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$GifAdapter;
move-result-object v1
if-ne v0, v1, :cond_22
.line 320
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->delegate:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$000(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
move-result-object v1
const/4 v2, 0x0
const-string v4, "gif"
move-object v3, p1
move v5, p2
move v6, p3
invoke-interface/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;->onGifSelected(Landroid/view/View;Ljava/lang/Object;Ljava/lang/Object;ZI)V
goto :goto_4b
.line 321
:cond_22
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->gifGridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$100(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->gifSearchAdapter:Lim/tpelyyftgw/ui/components/EmojiViewV2$GifSearchAdapter;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$300(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$GifSearchAdapter;
move-result-object v1
if-ne v0, v1, :cond_4b
.line 322
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->delegate:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$000(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
move-result-object v1
const/4 v2, 0x0
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->gifSearchAdapter:Lim/tpelyyftgw/ui/components/EmojiViewV2$GifSearchAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$300(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$GifSearchAdapter;
move-result-object v0
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2$GifSearchAdapter;->access$400(Lim/tpelyyftgw/ui/components/EmojiViewV2$GifSearchAdapter;)Lim/tpelyyftgw/tgnet/TLRPC$User;
move-result-object v4
move-object v3, p1
move v5, p2
move v6, p3
invoke-interface/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;->onGifSelected(Landroid/view/View;Ljava/lang/Object;Ljava/lang/Object;ZI)V
.line 324
:cond_4b
:goto_4b
return-void
.end method
.method public sendSticker(Lim/tpelyyftgw/tgnet/TLRPC$Document;Ljava/lang/Object;ZI)V
.registers 12
.param p1, "sticker" # Lim/tpelyyftgw/tgnet/TLRPC$Document;
.param p2, "parent" # Ljava/lang/Object;
.param p3, "notify" # Z
.param p4, "scheduleDate" # I
.line 291
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$1;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2;->delegate:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$000(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;
move-result-object v1
const/4 v2, 0x0
move-object v3, p1
move-object v4, p2
move v5, p3
move v6, p4
invoke-interface/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiViewDelegate;->onStickerSelected(Landroid/view/View;Lim/tpelyyftgw/tgnet/TLRPC$Document;Ljava/lang/Object;ZI)V
.line 292
return-void
.end method