EmojiViewV2$EmojiSearchAdapter$3.smali
.class Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;
.super Ljava/lang/Object;
.source "EmojiViewV2.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->search(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;)V
.registers 2
.param p1, "this$1" # Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
.line 4119
iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 8
.line 4122
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$4200(Lim/tpelyyftgw/ui/components/EmojiViewV2;)Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;
move-result-object v0
# getter for: Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->progressDrawable:Lim/tpelyyftgw/ui/components/CloseProgressDrawable2;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;->access$10000(Lim/tpelyyftgw/ui/components/EmojiViewV2$SearchField;)Lim/tpelyyftgw/ui/components/CloseProgressDrawable2;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/CloseProgressDrawable2;->startAnimation()V
.line 4123
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->access$10100(Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;)Ljava/lang/String;
move-result-object v0
.line 4124
.local v0, "query":Ljava/lang/String;
invoke-static {}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getCurrentKeyboardLanguage()[Ljava/lang/String;
move-result-object v1
.line 4125
.local v1, "newLanguage":[Ljava/lang/String;
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
iget-object v2, v2, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$4900(Lim/tpelyyftgw/ui/components/EmojiViewV2;)[Ljava/lang/String;
move-result-object v2
invoke-static {v2, v1}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_36
.line 4126
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
iget-object v2, v2, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$600(Lim/tpelyyftgw/ui/components/EmojiViewV2;)I
move-result v2
invoke-static {v2}, Lim/tpelyyftgw/messenger/MediaDataController;->getInstance(I)Lim/tpelyyftgw/messenger/MediaDataController;
move-result-object v2
invoke-virtual {v2, v1}, Lim/tpelyyftgw/messenger/MediaDataController;->fetchNewEmojiKeywords([Ljava/lang/String;)V
.line 4128
:cond_36
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
iget-object v2, v2, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
invoke-static {v2, v1}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$4902(Lim/tpelyyftgw/ui/components/EmojiViewV2;[Ljava/lang/String;)[Ljava/lang/String;
.line 4129
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
iget-object v2, v2, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$600(Lim/tpelyyftgw/ui/components/EmojiViewV2;)I
move-result v2
invoke-static {v2}, Lim/tpelyyftgw/messenger/MediaDataController;->getInstance(I)Lim/tpelyyftgw/messenger/MediaDataController;
move-result-object v2
iget-object v3, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
iget-object v3, v3, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->this$0:Lim/tpelyyftgw/ui/components/EmojiViewV2;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/EmojiViewV2;->access$4900(Lim/tpelyyftgw/ui/components/EmojiViewV2;)[Ljava/lang/String;
move-result-object v3
iget-object v4, p0, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;->this$1:Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;
invoke-static {v4}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;->access$10100(Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter;)Ljava/lang/String;
move-result-object v4
const/4 v5, 0x0
new-instance v6, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3$1;
invoke-direct {v6, p0, v0}, Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3$1;-><init>(Lim/tpelyyftgw/ui/components/EmojiViewV2$EmojiSearchAdapter$3;Ljava/lang/String;)V
invoke-virtual {v2, v3, v4, v5, v6}, Lim/tpelyyftgw/messenger/MediaDataController;->getEmojiSuggestions([Ljava/lang/String;Ljava/lang/String;ZLim/tpelyyftgw/messenger/MediaDataController$KeywordResultCallback;)V
.line 4144
return-void
.end method