ChatAttachAlert$10.smali
.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;
.super Ljava/lang/Object;
.source "ChatAttachAlert.java"
# interfaces
.implements Lim/tpelyyftgw/ui/components/RecyclerViewItemRangeSelector$RecyclerViewItemRangeSelectorDelegate;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/ChatAttachAlert;-><init>(Landroid/content/Context;Lim/tpelyyftgw/ui/actionbar/BaseFragment;)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/ChatAttachAlert;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/ChatAttachAlert;
.line 1179
iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getItemCount()I
.registers 2
.line 1182
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->getItemCount()I
move-result v0
return v0
.end method
.method public isIndexSelectable(I)Z
.registers 3
.param p1, "index" # I
.line 1202
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->getItemViewType(I)I
move-result v0
if-nez v0, :cond_e
const/4 v0, 0x1
goto :goto_f
:cond_e
const/4 v0, 0x0
:goto_f
return v0
.end method
.method public isSelected(I)Z
.registers 5
.param p1, "index" # I
.line 1196
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->adapter:Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$3200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;
move-result-object v0
invoke-static {v0, p1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;->access$7000(Lim/tpelyyftgw/ui/components/ChatAttachAlert$PhotoAttachAdapter;I)Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
move-result-object v0
.line 1197
.local v0, "entry":Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;
if-eqz v0, :cond_1e
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->selectedPhotos:Ljava/util/HashMap;
invoke-static {}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$100()Ljava/util/HashMap;
move-result-object v1
iget v2, v0, Lim/tpelyyftgw/messenger/MediaController$PhotoEntry;->imageId:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1e
const/4 v1, 0x1
goto :goto_1f
:cond_1e
const/4 v1, 0x0
:goto_1f
return v1
.end method
.method public onStartStopSelection(Z)V
.registers 3
.param p1, "start" # Z
.line 1207
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# setter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->alertOnlyOnce:I
invoke-static {v0, p1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$7102(Lim/tpelyyftgw/ui/components/ChatAttachAlert;I)I
.line 1208
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->gridView:Lim/tpelyyftgw/ui/components/RecyclerListView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->hideSelector()V
.line 1209
return-void
.end method
.method public setSelected(Landroid/view/View;IZ)V
.registers 5
.param p1, "view" # Landroid/view/View;
.param p2, "index" # I
.param p3, "selected" # Z
.line 1187
iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$10;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;
# getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->shouldSelect:Z
invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$6900(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Z
move-result v0
if-ne p3, v0, :cond_14
instance-of v0, p1, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
if-nez v0, :cond_d
goto :goto_14
.line 1190
:cond_d
move-object v0, p1
check-cast v0, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
.line 1191
.local v0, "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;->callDelegate()V
.line 1192
return-void
.line 1188
.end local v0 # "cell":Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
:cond_14
:goto_14
return-void
.end method