EmojiView$15.smali
.class Lim/tpelyyftgw/ui/components/EmojiView$15;
.super Lim/tpelyyftgw/ui/components/RecyclerListView;
.source "EmojiView.java"
# 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 ignoreLayout:Z
.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;Landroid/content/Context;)V
.registers 3
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/EmojiView;
.param p2, "context" # Landroid/content/Context;
.line 1312
iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/components/RecyclerListView;-><init>(Landroid/content/Context;)V
return-void
.end method
# virtual methods
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
.registers 6
.param p1, "event" # Landroid/view/MotionEvent;
.line 1318
invoke-static {}, Lim/tpelyyftgw/ui/ContentPreviewViewer;->getInstance()Lim/tpelyyftgw/ui/ContentPreviewViewer;
move-result-object v0
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmojiView;->access$5700(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/EmojiView;->getMeasuredHeight()I
move-result v2
iget-object v3, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/EmojiView;->access$5100(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/ContentPreviewViewer$ContentPreviewViewerDelegate;
move-result-object v3
invoke-virtual {v0, p1, v1, v2, v3}, Lim/tpelyyftgw/ui/ContentPreviewViewer;->onInterceptTouchEvent(Landroid/view/MotionEvent;Lim/tpelyyftgw/ui/components/RecyclerListView;ILim/tpelyyftgw/ui/ContentPreviewViewer$ContentPreviewViewerDelegate;)Z
move-result v0
.line 1319
.local v0, "result":Z
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result v1
if-nez v1, :cond_25
if-eqz v0, :cond_23
goto :goto_25
:cond_23
const/4 v1, 0x0
goto :goto_26
:cond_25
:goto_25
const/4 v1, 0x1
:goto_26
return v1
.end method
.method protected onLayout(ZIIII)V
.registers 9
.param p1, "changed" # Z
.param p2, "l" # I
.param p3, "t" # I
.param p4, "r" # I
.param p5, "b" # I
.line 1333
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$5800(Lim/tpelyyftgw/ui/components/EmojiView;)Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_28
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$5900(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/EmojiView$StickersGridAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmojiView$StickersGridAdapter;->getItemCount()I
move-result v0
if-lez v0, :cond_28
.line 1334
iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->ignoreLayout:Z
.line 1335
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$6000(Lim/tpelyyftgw/ui/components/EmojiView;)Landroidx/recyclerview/widget/GridLayoutManager;
move-result-object v0
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;->scrollToPositionWithOffset(II)V
.line 1336
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0, v2}, Lim/tpelyyftgw/ui/components/EmojiView;->access$5802(Lim/tpelyyftgw/ui/components/EmojiView;Z)Z
.line 1337
iput-boolean v2, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->ignoreLayout:Z
.line 1339
:cond_28
invoke-super/range {p0 .. p5}, Lim/tpelyyftgw/ui/components/RecyclerListView;->onLayout(ZIIII)V
.line 1340
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/EmojiView;->access$6100(Lim/tpelyyftgw/ui/components/EmojiView;Z)V
.line 1341
return-void
.end method
.method public requestLayout()V
.registers 2
.line 1345
iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->ignoreLayout:Z
if-eqz v0, :cond_5
.line 1346
return-void
.line 1348
:cond_5
invoke-super {p0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->requestLayout()V
.line 1349
return-void
.end method
.method public setVisibility(I)V
.registers 3
.param p1, "visibility" # I
.line 1324
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$1000(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
if-eqz v0, :cond_1a
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmojiView$15;->this$0:Lim/tpelyyftgw/ui/components/EmojiView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmojiView;->access$1000(Lim/tpelyyftgw/ui/components/EmojiView;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getVisibility()I
move-result v0
if-nez v0, :cond_1a
.line 1325
const/16 v0, 0x8
invoke-super {p0, v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVisibility(I)V
.line 1326
return-void
.line 1328
:cond_1a
invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVisibility(I)V
.line 1329
return-void
.end method