Changes of com.discord v1325
This commit is contained in:
parent
d9d9f382c9
commit
3cb9e1231d
28086 changed files with 4880345 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
.class public interface abstract Lcom/lytefast/flexinput/InputListener;
|
||||
.super Ljava/lang/Object;
|
||||
.source "InputListener.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onSend(Ljava/lang/String;Ljava/util/List;)Z
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"*>;>;)Z"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
75
com.discord/smali_classes2/com/lytefast/flexinput/R$a.smali
Normal file
75
com.discord/smali_classes2/com/lytefast/flexinput/R$a.smali
Normal file
|
@ -0,0 +1,75 @@
|
|||
.class public final Lcom/lytefast/flexinput/R$a;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final design_appbar_state_list_animator:I = 0x7f020000
|
||||
|
||||
.field public static final design_fab_hide_motion_spec:I = 0x7f020001
|
||||
|
||||
.field public static final design_fab_show_motion_spec:I = 0x7f020002
|
||||
|
||||
.field public static final linear_indeterminate_line1_head_interpolator:I = 0x7f020005
|
||||
|
||||
.field public static final linear_indeterminate_line1_tail_interpolator:I = 0x7f020006
|
||||
|
||||
.field public static final linear_indeterminate_line2_head_interpolator:I = 0x7f020007
|
||||
|
||||
.field public static final linear_indeterminate_line2_tail_interpolator:I = 0x7f020008
|
||||
|
||||
.field public static final mtrl_btn_state_list_anim:I = 0x7f020009
|
||||
|
||||
.field public static final mtrl_btn_unelevated_state_list_anim:I = 0x7f02000a
|
||||
|
||||
.field public static final mtrl_card_state_list_anim:I = 0x7f02000b
|
||||
|
||||
.field public static final mtrl_chip_state_list_anim:I = 0x7f02000c
|
||||
|
||||
.field public static final mtrl_extended_fab_change_size_motion_spec:I = 0x7f02000d
|
||||
|
||||
.field public static final mtrl_extended_fab_hide_motion_spec:I = 0x7f02000e
|
||||
|
||||
.field public static final mtrl_extended_fab_show_motion_spec:I = 0x7f02000f
|
||||
|
||||
.field public static final mtrl_extended_fab_state_list_animator:I = 0x7f020010
|
||||
|
||||
.field public static final mtrl_fab_hide_motion_spec:I = 0x7f020011
|
||||
|
||||
.field public static final mtrl_fab_show_motion_spec:I = 0x7f020012
|
||||
|
||||
.field public static final mtrl_fab_transformation_sheet_collapse_spec:I = 0x7f020013
|
||||
|
||||
.field public static final mtrl_fab_transformation_sheet_expand_spec:I = 0x7f020014
|
||||
|
||||
.field public static final overlay_slide_down_fade_in:I = 0x7f020015
|
||||
|
||||
.field public static final overlay_slide_down_fade_out:I = 0x7f020016
|
||||
|
||||
.field public static final overlay_slide_up_fade_in:I = 0x7f020017
|
||||
|
||||
.field public static final overlay_slide_up_fade_out:I = 0x7f020018
|
||||
|
||||
.field public static final selection_grow:I = 0x7f020019
|
||||
|
||||
.field public static final selection_shrink:I = 0x7f02001a
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
3009
com.discord/smali_classes2/com/lytefast/flexinput/R$b.smali
Normal file
3009
com.discord/smali_classes2/com/lytefast/flexinput/R$b.smali
Normal file
File diff suppressed because it is too large
Load diff
1373
com.discord/smali_classes2/com/lytefast/flexinput/R$c.smali
Normal file
1373
com.discord/smali_classes2/com/lytefast/flexinput/R$c.smali
Normal file
File diff suppressed because it is too large
Load diff
2549
com.discord/smali_classes2/com/lytefast/flexinput/R$d.smali
Normal file
2549
com.discord/smali_classes2/com/lytefast/flexinput/R$d.smali
Normal file
File diff suppressed because it is too large
Load diff
977
com.discord/smali_classes2/com/lytefast/flexinput/R$e.smali
Normal file
977
com.discord/smali_classes2/com/lytefast/flexinput/R$e.smali
Normal file
|
@ -0,0 +1,977 @@
|
|||
.class public final Lcom/lytefast/flexinput/R$e;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "e"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final BOTTOM_END:I = 0x7f0a0001
|
||||
|
||||
.field public static final BOTTOM_START:I = 0x7f0a0002
|
||||
|
||||
.field public static final NO_DEBUG:I = 0x7f0a0006
|
||||
|
||||
.field public static final SHOW_ALL:I = 0x7f0a0008
|
||||
|
||||
.field public static final SHOW_PATH:I = 0x7f0a0009
|
||||
|
||||
.field public static final SHOW_PROGRESS:I = 0x7f0a000a
|
||||
|
||||
.field public static final TOP_END:I = 0x7f0a000c
|
||||
|
||||
.field public static final TOP_START:I = 0x7f0a000d
|
||||
|
||||
.field public static final aac:I = 0x7f0a000e
|
||||
|
||||
.field public static final aacEld:I = 0x7f0a000f
|
||||
|
||||
.field public static final accelerate:I = 0x7f0a0010
|
||||
|
||||
.field public static final accessibility_action_clickable_span:I = 0x7f0a001a
|
||||
|
||||
.field public static final accessibility_custom_action_0:I = 0x7f0a001b
|
||||
|
||||
.field public static final accessibility_custom_action_1:I = 0x7f0a001c
|
||||
|
||||
.field public static final accessibility_custom_action_10:I = 0x7f0a001d
|
||||
|
||||
.field public static final accessibility_custom_action_11:I = 0x7f0a001e
|
||||
|
||||
.field public static final accessibility_custom_action_12:I = 0x7f0a001f
|
||||
|
||||
.field public static final accessibility_custom_action_13:I = 0x7f0a0020
|
||||
|
||||
.field public static final accessibility_custom_action_14:I = 0x7f0a0021
|
||||
|
||||
.field public static final accessibility_custom_action_15:I = 0x7f0a0022
|
||||
|
||||
.field public static final accessibility_custom_action_16:I = 0x7f0a0023
|
||||
|
||||
.field public static final accessibility_custom_action_17:I = 0x7f0a0024
|
||||
|
||||
.field public static final accessibility_custom_action_18:I = 0x7f0a0025
|
||||
|
||||
.field public static final accessibility_custom_action_19:I = 0x7f0a0026
|
||||
|
||||
.field public static final accessibility_custom_action_2:I = 0x7f0a0027
|
||||
|
||||
.field public static final accessibility_custom_action_20:I = 0x7f0a0028
|
||||
|
||||
.field public static final accessibility_custom_action_21:I = 0x7f0a0029
|
||||
|
||||
.field public static final accessibility_custom_action_22:I = 0x7f0a002a
|
||||
|
||||
.field public static final accessibility_custom_action_23:I = 0x7f0a002b
|
||||
|
||||
.field public static final accessibility_custom_action_24:I = 0x7f0a002c
|
||||
|
||||
.field public static final accessibility_custom_action_25:I = 0x7f0a002d
|
||||
|
||||
.field public static final accessibility_custom_action_26:I = 0x7f0a002e
|
||||
|
||||
.field public static final accessibility_custom_action_27:I = 0x7f0a002f
|
||||
|
||||
.field public static final accessibility_custom_action_28:I = 0x7f0a0030
|
||||
|
||||
.field public static final accessibility_custom_action_29:I = 0x7f0a0031
|
||||
|
||||
.field public static final accessibility_custom_action_3:I = 0x7f0a0032
|
||||
|
||||
.field public static final accessibility_custom_action_30:I = 0x7f0a0033
|
||||
|
||||
.field public static final accessibility_custom_action_31:I = 0x7f0a0034
|
||||
|
||||
.field public static final accessibility_custom_action_4:I = 0x7f0a0035
|
||||
|
||||
.field public static final accessibility_custom_action_5:I = 0x7f0a0036
|
||||
|
||||
.field public static final accessibility_custom_action_6:I = 0x7f0a0037
|
||||
|
||||
.field public static final accessibility_custom_action_7:I = 0x7f0a0038
|
||||
|
||||
.field public static final accessibility_custom_action_8:I = 0x7f0a0039
|
||||
|
||||
.field public static final accessibility_custom_action_9:I = 0x7f0a003a
|
||||
|
||||
.field public static final action_bar:I = 0x7f0a003f
|
||||
|
||||
.field public static final action_bar_activity_content:I = 0x7f0a0040
|
||||
|
||||
.field public static final action_bar_container:I = 0x7f0a0041
|
||||
|
||||
.field public static final action_bar_root:I = 0x7f0a0042
|
||||
|
||||
.field public static final action_bar_spinner:I = 0x7f0a0043
|
||||
|
||||
.field public static final action_bar_subtitle:I = 0x7f0a0044
|
||||
|
||||
.field public static final action_bar_title:I = 0x7f0a0046
|
||||
|
||||
.field public static final action_bar_toolbar:I = 0x7f0a0047
|
||||
|
||||
.field public static final action_bar_toolbar_layout:I = 0x7f0a0048
|
||||
|
||||
.field public static final action_btn:I = 0x7f0a0049
|
||||
|
||||
.field public static final action_container:I = 0x7f0a004a
|
||||
|
||||
.field public static final action_context_bar:I = 0x7f0a004b
|
||||
|
||||
.field public static final action_divider:I = 0x7f0a004c
|
||||
|
||||
.field public static final action_image:I = 0x7f0a004d
|
||||
|
||||
.field public static final action_menu_divider:I = 0x7f0a004e
|
||||
|
||||
.field public static final action_menu_presenter:I = 0x7f0a004f
|
||||
|
||||
.field public static final action_mode_bar:I = 0x7f0a0050
|
||||
|
||||
.field public static final action_mode_bar_stub:I = 0x7f0a0051
|
||||
|
||||
.field public static final action_mode_close_button:I = 0x7f0a0052
|
||||
|
||||
.field public static final action_text:I = 0x7f0a0053
|
||||
|
||||
.field public static final actions:I = 0x7f0a0054
|
||||
|
||||
.field public static final activity_chooser_view_content:I = 0x7f0a005e
|
||||
|
||||
.field public static final add:I = 0x7f0a0060
|
||||
|
||||
.field public static final add_content_keyboard_btn:I = 0x7f0a0063
|
||||
|
||||
.field public static final adjust_height:I = 0x7f0a006f
|
||||
|
||||
.field public static final adjust_width:I = 0x7f0a0070
|
||||
|
||||
.field public static final alertTitle:I = 0x7f0a007e
|
||||
|
||||
.field public static final aligned:I = 0x7f0a0090
|
||||
|
||||
.field public static final alphanumeric:I = 0x7f0a0092
|
||||
|
||||
.field public static final animateToEnd:I = 0x7f0a0094
|
||||
|
||||
.field public static final animateToStart:I = 0x7f0a0095
|
||||
|
||||
.field public static final asConfigured:I = 0x7f0a009c
|
||||
|
||||
.field public static final async:I = 0x7f0a009d
|
||||
|
||||
.field public static final auto:I = 0x7f0a00da
|
||||
|
||||
.field public static final autoComplete:I = 0x7f0a00db
|
||||
|
||||
.field public static final autoCompleteToEnd:I = 0x7f0a00dc
|
||||
|
||||
.field public static final autoCompleteToStart:I = 0x7f0a00dd
|
||||
|
||||
.field public static final autoFocus:I = 0x7f0a00de
|
||||
|
||||
.field public static final automatic:I = 0x7f0a00df
|
||||
|
||||
.field public static final back:I = 0x7f0a00e0
|
||||
|
||||
.field public static final barrier:I = 0x7f0a00ed
|
||||
|
||||
.field public static final baseline:I = 0x7f0a00ee
|
||||
|
||||
.field public static final bidirectional:I = 0x7f0a00f1
|
||||
|
||||
.field public static final blocking:I = 0x7f0a00fa
|
||||
|
||||
.field public static final bottom:I = 0x7f0a0122
|
||||
|
||||
.field public static final bounce:I = 0x7f0a0124
|
||||
|
||||
.field public static final buttonPanel:I = 0x7f0a012a
|
||||
|
||||
.field public static final camera1:I = 0x7f0a013c
|
||||
|
||||
.field public static final camera2:I = 0x7f0a013d
|
||||
|
||||
.field public static final camera_container:I = 0x7f0a0140
|
||||
|
||||
.field public static final camera_facing_btn:I = 0x7f0a0141
|
||||
|
||||
.field public static final camera_flash_btn:I = 0x7f0a0142
|
||||
|
||||
.field public static final camera_view:I = 0x7f0a0143
|
||||
|
||||
.field public static final cancel_button:I = 0x7f0a0145
|
||||
|
||||
.field public static final center:I = 0x7f0a0149
|
||||
|
||||
.field public static final centerCrop:I = 0x7f0a014a
|
||||
|
||||
.field public static final centerInside:I = 0x7f0a014b
|
||||
|
||||
.field public static final chain:I = 0x7f0a014e
|
||||
|
||||
.field public static final check:I = 0x7f0a027b
|
||||
|
||||
.field public static final checkbox:I = 0x7f0a027d
|
||||
|
||||
.field public static final checked:I = 0x7f0a027f
|
||||
|
||||
.field public static final chip:I = 0x7f0a0280
|
||||
|
||||
.field public static final chip1:I = 0x7f0a0281
|
||||
|
||||
.field public static final chip2:I = 0x7f0a0282
|
||||
|
||||
.field public static final chip3:I = 0x7f0a0283
|
||||
|
||||
.field public static final chip_group:I = 0x7f0a0284
|
||||
|
||||
.field public static final chip_image:I = 0x7f0a0285
|
||||
|
||||
.field public static final chip_text:I = 0x7f0a0286
|
||||
|
||||
.field public static final chronometer:I = 0x7f0a028a
|
||||
|
||||
.field public static final circle_center:I = 0x7f0a028c
|
||||
|
||||
.field public static final circular:I = 0x7f0a028d
|
||||
|
||||
.field public static final clear_text:I = 0x7f0a028e
|
||||
|
||||
.field public static final cloudy:I = 0x7f0a0294
|
||||
|
||||
.field public static final column:I = 0x7f0a0297
|
||||
|
||||
.field public static final column_reverse:I = 0x7f0a0298
|
||||
|
||||
.field public static final confirm_button:I = 0x7f0a02b1
|
||||
|
||||
.field public static final container:I = 0x7f0a02c7
|
||||
|
||||
.field public static final content:I = 0x7f0a02c8
|
||||
|
||||
.field public static final contentPanel:I = 0x7f0a02c9
|
||||
|
||||
.field public static final content_iv:I = 0x7f0a02ca
|
||||
|
||||
.field public static final content_pager:I = 0x7f0a02cb
|
||||
|
||||
.field public static final content_tabs:I = 0x7f0a02cc
|
||||
|
||||
.field public static final coordinator:I = 0x7f0a02ce
|
||||
|
||||
.field public static final cos:I = 0x7f0a02cf
|
||||
|
||||
.field public static final custom:I = 0x7f0a02f5
|
||||
|
||||
.field public static final customPanel:I = 0x7f0a02f6
|
||||
|
||||
.field public static final cut:I = 0x7f0a02f7
|
||||
|
||||
.field public static final dark:I = 0x7f0a02f8
|
||||
|
||||
.field public static final date_picker_actions:I = 0x7f0a02fa
|
||||
|
||||
.field public static final daylight:I = 0x7f0a02fb
|
||||
|
||||
.field public static final decelerate:I = 0x7f0a02fe
|
||||
|
||||
.field public static final decelerateAndComplete:I = 0x7f0a02ff
|
||||
|
||||
.field public static final decor_content_parent:I = 0x7f0a0300
|
||||
|
||||
.field public static final default_activity_button:I = 0x7f0a0301
|
||||
|
||||
.field public static final deltaRelative:I = 0x7f0a0303
|
||||
|
||||
.field public static final design_bottom_sheet:I = 0x7f0a0306
|
||||
|
||||
.field public static final design_menu_item_action_area:I = 0x7f0a0307
|
||||
|
||||
.field public static final design_menu_item_action_area_stub:I = 0x7f0a0308
|
||||
|
||||
.field public static final design_menu_item_text:I = 0x7f0a0309
|
||||
|
||||
.field public static final design_navigation_view:I = 0x7f0a030a
|
||||
|
||||
.field public static final deviceDefault:I = 0x7f0a0310
|
||||
|
||||
.field public static final dialog_button:I = 0x7f0a0311
|
||||
|
||||
.field public static final dimmer_view:I = 0x7f0a0330
|
||||
|
||||
.field public static final dng:I = 0x7f0a033e
|
||||
|
||||
.field public static final dragDown:I = 0x7f0a033f
|
||||
|
||||
.field public static final dragEnd:I = 0x7f0a0340
|
||||
|
||||
.field public static final dragLeft:I = 0x7f0a0341
|
||||
|
||||
.field public static final dragRight:I = 0x7f0a0342
|
||||
|
||||
.field public static final dragStart:I = 0x7f0a0343
|
||||
|
||||
.field public static final dragUp:I = 0x7f0a0344
|
||||
|
||||
.field public static final draw3x3:I = 0x7f0a0345
|
||||
|
||||
.field public static final draw4x4:I = 0x7f0a0346
|
||||
|
||||
.field public static final drawPhi:I = 0x7f0a0347
|
||||
|
||||
.field public static final dropdown_menu:I = 0x7f0a0348
|
||||
|
||||
.field public static final easeIn:I = 0x7f0a034a
|
||||
|
||||
.field public static final easeInOut:I = 0x7f0a034b
|
||||
|
||||
.field public static final easeOut:I = 0x7f0a034c
|
||||
|
||||
.field public static final edit_query:I = 0x7f0a0370
|
||||
|
||||
.field public static final end:I = 0x7f0a039d
|
||||
|
||||
.field public static final expand_activities_button:I = 0x7f0a03ba
|
||||
|
||||
.field public static final expanded_menu:I = 0x7f0a03bb
|
||||
|
||||
.field public static final exposureCorrection:I = 0x7f0a03c3
|
||||
|
||||
.field public static final fade:I = 0x7f0a03e5
|
||||
|
||||
.field public static final file_name_tv:I = 0x7f0a03fa
|
||||
|
||||
.field public static final file_subtitle_tv:I = 0x7f0a03fb
|
||||
|
||||
.field public static final fill:I = 0x7f0a03fc
|
||||
|
||||
.field public static final filled:I = 0x7f0a03ff
|
||||
|
||||
.field public static final filterControl1:I = 0x7f0a0400
|
||||
|
||||
.field public static final filterControl2:I = 0x7f0a0401
|
||||
|
||||
.field public static final fitBottomStart:I = 0x7f0a0403
|
||||
|
||||
.field public static final fitCenter:I = 0x7f0a0404
|
||||
|
||||
.field public static final fitEnd:I = 0x7f0a0405
|
||||
|
||||
.field public static final fitStart:I = 0x7f0a0406
|
||||
|
||||
.field public static final fitXY:I = 0x7f0a0408
|
||||
|
||||
.field public static final fixed:I = 0x7f0a0409
|
||||
|
||||
.field public static final flex_end:I = 0x7f0a040f
|
||||
|
||||
.field public static final flex_input_attachment_clear_btn:I = 0x7f0a0410
|
||||
|
||||
.field public static final flex_input_attachment_preview_container:I = 0x7f0a0411
|
||||
|
||||
.field public static final flex_input_attachment_preview_list:I = 0x7f0a0412
|
||||
|
||||
.field public static final flex_input_camera_btn:I = 0x7f0a0413
|
||||
|
||||
.field public static final flex_input_cannot_send_text:I = 0x7f0a0414
|
||||
|
||||
.field public static final flex_input_container:I = 0x7f0a0415
|
||||
|
||||
.field public static final flex_input_default_window_insets_handler:I = 0x7f0a0416
|
||||
|
||||
.field public static final flex_input_emoji_btn:I = 0x7f0a0417
|
||||
|
||||
.field public static final flex_input_expand_btn:I = 0x7f0a0418
|
||||
|
||||
.field public static final flex_input_expression_tray_container:I = 0x7f0a0419
|
||||
|
||||
.field public static final flex_input_gallery_btn:I = 0x7f0a041a
|
||||
|
||||
.field public static final flex_input_left_btns_container:I = 0x7f0a041b
|
||||
|
||||
.field public static final flex_input_main_input_container:I = 0x7f0a041c
|
||||
|
||||
.field public static final flex_input_send_btn_container:I = 0x7f0a041d
|
||||
|
||||
.field public static final flex_input_send_btn_image:I = 0x7f0a041e
|
||||
|
||||
.field public static final flex_input_text_input:I = 0x7f0a041f
|
||||
|
||||
.field public static final flex_start:I = 0x7f0a0420
|
||||
|
||||
.field public static final flip:I = 0x7f0a0421
|
||||
|
||||
.field public static final floating:I = 0x7f0a0422
|
||||
|
||||
.field public static final fluorescent:I = 0x7f0a0434
|
||||
|
||||
.field public static final focusCrop:I = 0x7f0a0435
|
||||
|
||||
.field public static final focusMarkerContainer:I = 0x7f0a0436
|
||||
|
||||
.field public static final focusMarkerFill:I = 0x7f0a0437
|
||||
|
||||
.field public static final forever:I = 0x7f0a043a
|
||||
|
||||
.field public static final fragment_container_view_tag:I = 0x7f0a043b
|
||||
|
||||
.field public static final front:I = 0x7f0a0455
|
||||
|
||||
.field public static final ghost_view:I = 0x7f0a0456
|
||||
|
||||
.field public static final ghost_view_holder:I = 0x7f0a0457
|
||||
|
||||
.field public static final glSurface:I = 0x7f0a047b
|
||||
|
||||
.field public static final gl_surface_view:I = 0x7f0a047c
|
||||
|
||||
.field public static final gone:I = 0x7f0a0487
|
||||
|
||||
.field public static final group_divider:I = 0x7f0a048b
|
||||
|
||||
.field public static final guideline:I = 0x7f0a0495
|
||||
|
||||
.field public static final h263:I = 0x7f0a0534
|
||||
|
||||
.field public static final h264:I = 0x7f0a0535
|
||||
|
||||
.field public static final hardware:I = 0x7f0a0536
|
||||
|
||||
.field public static final heAac:I = 0x7f0a0537
|
||||
|
||||
.field public static final header_title:I = 0x7f0a0539
|
||||
|
||||
.field public static final home:I = 0x7f0a053b
|
||||
|
||||
.field public static final honorRequest:I = 0x7f0a054d
|
||||
|
||||
.field public static final icon:I = 0x7f0a054f
|
||||
|
||||
.field public static final icon_frame:I = 0x7f0a0550
|
||||
|
||||
.field public static final icon_group:I = 0x7f0a0551
|
||||
|
||||
.field public static final icon_only:I = 0x7f0a0552
|
||||
|
||||
.field public static final ignore:I = 0x7f0a055b
|
||||
|
||||
.field public static final ignoreRequest:I = 0x7f0a055c
|
||||
|
||||
.field public static final image:I = 0x7f0a055d
|
||||
|
||||
.field public static final incandescent:I = 0x7f0a056d
|
||||
|
||||
.field public static final incoming:I = 0x7f0a056e
|
||||
|
||||
.field public static final info:I = 0x7f0a057e
|
||||
|
||||
.field public static final invisible:I = 0x7f0a0598
|
||||
|
||||
.field public static final italic:I = 0x7f0a05bb
|
||||
|
||||
.field public static final item_check_indicator:I = 0x7f0a05bd
|
||||
|
||||
.field public static final item_touch_helper_previous_elevation:I = 0x7f0a05f9
|
||||
|
||||
.field public static final jpeg:I = 0x7f0a05fd
|
||||
|
||||
.field public static final jumpToEnd:I = 0x7f0a05fe
|
||||
|
||||
.field public static final jumpToStart:I = 0x7f0a05ff
|
||||
|
||||
.field public static final labeled:I = 0x7f0a0606
|
||||
|
||||
.field public static final largeLabel:I = 0x7f0a0608
|
||||
|
||||
.field public static final launch_btn:I = 0x7f0a060a
|
||||
|
||||
.field public static final launch_camera_btn:I = 0x7f0a060b
|
||||
|
||||
.field public static final layout:I = 0x7f0a060c
|
||||
|
||||
.field public static final left:I = 0x7f0a0614
|
||||
|
||||
.field public static final light:I = 0x7f0a0615
|
||||
|
||||
.field public static final line1:I = 0x7f0a0616
|
||||
|
||||
.field public static final line3:I = 0x7f0a0617
|
||||
|
||||
.field public static final linear:I = 0x7f0a0618
|
||||
|
||||
.field public static final list:I = 0x7f0a0619
|
||||
|
||||
.field public static final listMode:I = 0x7f0a061a
|
||||
|
||||
.field public static final list_item:I = 0x7f0a061b
|
||||
|
||||
.field public static final lottie_layer_name:I = 0x7f0a0620
|
||||
|
||||
.field public static final masked:I = 0x7f0a062d
|
||||
|
||||
.field public static final material_clock_display:I = 0x7f0a0633
|
||||
|
||||
.field public static final material_clock_face:I = 0x7f0a0634
|
||||
|
||||
.field public static final material_clock_hand:I = 0x7f0a0635
|
||||
|
||||
.field public static final material_clock_period_am_button:I = 0x7f0a0636
|
||||
|
||||
.field public static final material_clock_period_pm_button:I = 0x7f0a0637
|
||||
|
||||
.field public static final material_clock_period_toggle:I = 0x7f0a0638
|
||||
|
||||
.field public static final material_hour_text_input:I = 0x7f0a0639
|
||||
|
||||
.field public static final material_hour_tv:I = 0x7f0a063a
|
||||
|
||||
.field public static final material_label:I = 0x7f0a063b
|
||||
|
||||
.field public static final material_minute_text_input:I = 0x7f0a063c
|
||||
|
||||
.field public static final material_minute_tv:I = 0x7f0a063d
|
||||
|
||||
.field public static final material_textinput_timepicker:I = 0x7f0a063e
|
||||
|
||||
.field public static final material_timepicker_cancel_button:I = 0x7f0a063f
|
||||
|
||||
.field public static final material_timepicker_container:I = 0x7f0a0640
|
||||
|
||||
.field public static final material_timepicker_edit_text:I = 0x7f0a0641
|
||||
|
||||
.field public static final material_timepicker_mode_button:I = 0x7f0a0642
|
||||
|
||||
.field public static final material_timepicker_ok_button:I = 0x7f0a0643
|
||||
|
||||
.field public static final material_timepicker_view:I = 0x7f0a0644
|
||||
|
||||
.field public static final material_value_index:I = 0x7f0a0645
|
||||
|
||||
.field public static final menu_copy_id:I = 0x7f0a0660
|
||||
|
||||
.field public static final message:I = 0x7f0a067e
|
||||
|
||||
.field public static final middle:I = 0x7f0a0682
|
||||
|
||||
.field public static final mini:I = 0x7f0a0683
|
||||
|
||||
.field public static final mono:I = 0x7f0a0684
|
||||
|
||||
.field public static final month_grid:I = 0x7f0a0685
|
||||
|
||||
.field public static final month_navigation_bar:I = 0x7f0a0686
|
||||
|
||||
.field public static final month_navigation_fragment_toggle:I = 0x7f0a0687
|
||||
|
||||
.field public static final month_navigation_next:I = 0x7f0a0688
|
||||
|
||||
.field public static final month_navigation_previous:I = 0x7f0a0689
|
||||
|
||||
.field public static final month_title:I = 0x7f0a068a
|
||||
|
||||
.field public static final motion_base:I = 0x7f0a068b
|
||||
|
||||
.field public static final mtrl_calendar_day_selector_frame:I = 0x7f0a068c
|
||||
|
||||
.field public static final mtrl_calendar_days_of_week:I = 0x7f0a068d
|
||||
|
||||
.field public static final mtrl_calendar_frame:I = 0x7f0a068e
|
||||
|
||||
.field public static final mtrl_calendar_main_pane:I = 0x7f0a068f
|
||||
|
||||
.field public static final mtrl_calendar_months:I = 0x7f0a0690
|
||||
|
||||
.field public static final mtrl_calendar_selection_frame:I = 0x7f0a0691
|
||||
|
||||
.field public static final mtrl_calendar_text_input_frame:I = 0x7f0a0692
|
||||
|
||||
.field public static final mtrl_calendar_year_selector_frame:I = 0x7f0a0693
|
||||
|
||||
.field public static final mtrl_card_checked_layer_id:I = 0x7f0a0694
|
||||
|
||||
.field public static final mtrl_child_content_container:I = 0x7f0a0695
|
||||
|
||||
.field public static final mtrl_internal_children_alpha_tag:I = 0x7f0a0696
|
||||
|
||||
.field public static final mtrl_motion_snapshot_view:I = 0x7f0a0697
|
||||
|
||||
.field public static final mtrl_picker_fullscreen:I = 0x7f0a0698
|
||||
|
||||
.field public static final mtrl_picker_header:I = 0x7f0a0699
|
||||
|
||||
.field public static final mtrl_picker_header_selection_text:I = 0x7f0a069a
|
||||
|
||||
.field public static final mtrl_picker_header_title_and_selection:I = 0x7f0a069b
|
||||
|
||||
.field public static final mtrl_picker_header_toggle:I = 0x7f0a069c
|
||||
|
||||
.field public static final mtrl_picker_text_input_date:I = 0x7f0a069d
|
||||
|
||||
.field public static final mtrl_picker_text_input_range_end:I = 0x7f0a069e
|
||||
|
||||
.field public static final mtrl_picker_text_input_range_start:I = 0x7f0a069f
|
||||
|
||||
.field public static final mtrl_picker_title_text:I = 0x7f0a06a0
|
||||
|
||||
.field public static final multiply:I = 0x7f0a06a1
|
||||
|
||||
.field public static final navigation_header_container:I = 0x7f0a06b3
|
||||
|
||||
.field public static final none:I = 0x7f0a06c8
|
||||
|
||||
.field public static final normal:I = 0x7f0a06c9
|
||||
|
||||
.field public static final notification_background:I = 0x7f0a06d3
|
||||
|
||||
.field public static final notification_main_column:I = 0x7f0a06d4
|
||||
|
||||
.field public static final notification_main_column_container:I = 0x7f0a06d5
|
||||
|
||||
.field public static final nowrap:I = 0x7f0a06d9
|
||||
|
||||
.field public static final numeric:I = 0x7f0a06e0
|
||||
|
||||
.field public static final off:I = 0x7f0a0709
|
||||
|
||||
.field public static final on:I = 0x7f0a070d
|
||||
|
||||
.field public static final outgoing:I = 0x7f0a070f
|
||||
|
||||
.field public static final outline:I = 0x7f0a0710
|
||||
|
||||
.field public static final packed:I = 0x7f0a071e
|
||||
|
||||
.field public static final page_tabs:I = 0x7f0a071f
|
||||
|
||||
.field public static final parallax:I = 0x7f0a0720
|
||||
|
||||
.field public static final parent:I = 0x7f0a0721
|
||||
|
||||
.field public static final parentPanel:I = 0x7f0a0722
|
||||
|
||||
.field public static final parentRelative:I = 0x7f0a0723
|
||||
|
||||
.field public static final parent_matrix:I = 0x7f0a0724
|
||||
|
||||
.field public static final password_toggle:I = 0x7f0a0735
|
||||
|
||||
.field public static final path:I = 0x7f0a0736
|
||||
|
||||
.field public static final pathRelative:I = 0x7f0a0737
|
||||
|
||||
.field public static final percent:I = 0x7f0a074e
|
||||
|
||||
.field public static final permissions_req_btn:I = 0x7f0a0758
|
||||
|
||||
.field public static final permissions_required_action_btn:I = 0x7f0a0759
|
||||
|
||||
.field public static final permissions_required_text:I = 0x7f0a075a
|
||||
|
||||
.field public static final permissions_view_stub:I = 0x7f0a075b
|
||||
|
||||
.field public static final picture:I = 0x7f0a075c
|
||||
|
||||
.field public static final pin:I = 0x7f0a075d
|
||||
|
||||
.field public static final position:I = 0x7f0a076c
|
||||
|
||||
.field public static final postLayout:I = 0x7f0a076d
|
||||
|
||||
.field public static final progress_circular:I = 0x7f0a07d6
|
||||
|
||||
.field public static final progress_horizontal:I = 0x7f0a07d9
|
||||
|
||||
.field public static final radio:I = 0x7f0a07e9
|
||||
|
||||
.field public static final rectangles:I = 0x7f0a07f0
|
||||
|
||||
.field public static final recycler_view:I = 0x7f0a07f1
|
||||
|
||||
.field public static final restart:I = 0x7f0a07fa
|
||||
|
||||
.field public static final reverse:I = 0x7f0a07fd
|
||||
|
||||
.field public static final reverseSawtooth:I = 0x7f0a07fe
|
||||
|
||||
.field public static final right:I = 0x7f0a0810
|
||||
|
||||
.field public static final right_icon:I = 0x7f0a0811
|
||||
|
||||
.field public static final right_side:I = 0x7f0a0812
|
||||
|
||||
.field public static final rounded:I = 0x7f0a083b
|
||||
|
||||
.field public static final row:I = 0x7f0a083c
|
||||
|
||||
.field public static final row_index_key:I = 0x7f0a083d
|
||||
|
||||
.field public static final row_reverse:I = 0x7f0a083e
|
||||
|
||||
.field public static final save_non_transition_alpha:I = 0x7f0a083f
|
||||
|
||||
.field public static final save_overlay_view:I = 0x7f0a0840
|
||||
|
||||
.field public static final sawtooth:I = 0x7f0a0841
|
||||
|
||||
.field public static final scale:I = 0x7f0a0842
|
||||
|
||||
.field public static final screen:I = 0x7f0a0844
|
||||
|
||||
.field public static final scrollIndicatorDown:I = 0x7f0a084a
|
||||
|
||||
.field public static final scrollIndicatorUp:I = 0x7f0a084b
|
||||
|
||||
.field public static final scrollView:I = 0x7f0a084c
|
||||
|
||||
.field public static final scrollable:I = 0x7f0a084e
|
||||
|
||||
.field public static final search_badge:I = 0x7f0a084f
|
||||
|
||||
.field public static final search_bar:I = 0x7f0a0850
|
||||
|
||||
.field public static final search_button:I = 0x7f0a0851
|
||||
|
||||
.field public static final search_close_btn:I = 0x7f0a0852
|
||||
|
||||
.field public static final search_edit_frame:I = 0x7f0a0853
|
||||
|
||||
.field public static final search_go_btn:I = 0x7f0a0855
|
||||
|
||||
.field public static final search_mag_icon:I = 0x7f0a0856
|
||||
|
||||
.field public static final search_plate:I = 0x7f0a0857
|
||||
|
||||
.field public static final search_src_text:I = 0x7f0a085a
|
||||
|
||||
.field public static final search_voice_btn:I = 0x7f0a0866
|
||||
|
||||
.field public static final seekbar:I = 0x7f0a0867
|
||||
|
||||
.field public static final seekbar_value:I = 0x7f0a0868
|
||||
|
||||
.field public static final select_dialog_listview:I = 0x7f0a0869
|
||||
|
||||
.field public static final selected:I = 0x7f0a086b
|
||||
|
||||
.field public static final selection_indicator:I = 0x7f0a086c
|
||||
|
||||
.field public static final selection_type:I = 0x7f0a086d
|
||||
|
||||
.field public static final shortcut:I = 0x7f0a09d7
|
||||
|
||||
.field public static final sin:I = 0x7f0a09db
|
||||
|
||||
.field public static final slide:I = 0x7f0a09dd
|
||||
|
||||
.field public static final smallLabel:I = 0x7f0a09de
|
||||
|
||||
.field public static final snackbar_action:I = 0x7f0a09df
|
||||
|
||||
.field public static final snackbar_text:I = 0x7f0a09e0
|
||||
|
||||
.field public static final software:I = 0x7f0a09e3
|
||||
|
||||
.field public static final space_around:I = 0x7f0a09e4
|
||||
|
||||
.field public static final space_between:I = 0x7f0a09e5
|
||||
|
||||
.field public static final space_evenly:I = 0x7f0a09e6
|
||||
|
||||
.field public static final spacer:I = 0x7f0a09e7
|
||||
|
||||
.field public static final spinner:I = 0x7f0a09ea
|
||||
|
||||
.field public static final spline:I = 0x7f0a09eb
|
||||
|
||||
.field public static final split_action_bar:I = 0x7f0a09ec
|
||||
|
||||
.field public static final spread:I = 0x7f0a09ed
|
||||
|
||||
.field public static final spread_inside:I = 0x7f0a09ee
|
||||
|
||||
.field public static final square:I = 0x7f0a09ef
|
||||
|
||||
.field public static final src_atop:I = 0x7f0a09f0
|
||||
|
||||
.field public static final src_in:I = 0x7f0a09f1
|
||||
|
||||
.field public static final src_over:I = 0x7f0a09f2
|
||||
|
||||
.field public static final standard:I = 0x7f0a09f4
|
||||
|
||||
.field public static final start:I = 0x7f0a09f5
|
||||
|
||||
.field public static final startHorizontal:I = 0x7f0a09f6
|
||||
|
||||
.field public static final startVertical:I = 0x7f0a09f7
|
||||
|
||||
.field public static final staticLayout:I = 0x7f0a09fd
|
||||
|
||||
.field public static final staticPostLayout:I = 0x7f0a09fe
|
||||
|
||||
.field public static final stereo:I = 0x7f0a0a06
|
||||
|
||||
.field public static final stop:I = 0x7f0a0a3c
|
||||
|
||||
.field public static final stretch:I = 0x7f0a0a41
|
||||
|
||||
.field public static final submenuarrow:I = 0x7f0a0a42
|
||||
|
||||
.field public static final submit_area:I = 0x7f0a0a43
|
||||
|
||||
.field public static final surface:I = 0x7f0a0a4d
|
||||
|
||||
.field public static final surface_view:I = 0x7f0a0a4e
|
||||
|
||||
.field public static final surface_view_root:I = 0x7f0a0a4f
|
||||
|
||||
.field public static final swipeRefreshLayout:I = 0x7f0a0a50
|
||||
|
||||
.field public static final switchWidget:I = 0x7f0a0a51
|
||||
|
||||
.field public static final switchview:I = 0x7f0a0a52
|
||||
|
||||
.field public static final tabMode:I = 0x7f0a0a53
|
||||
|
||||
.field public static final tag_accessibility_actions:I = 0x7f0a0a61
|
||||
|
||||
.field public static final tag_accessibility_clickable_spans:I = 0x7f0a0a62
|
||||
|
||||
.field public static final tag_accessibility_heading:I = 0x7f0a0a63
|
||||
|
||||
.field public static final tag_accessibility_pane_title:I = 0x7f0a0a64
|
||||
|
||||
.field public static final tag_screen_reader_focusable:I = 0x7f0a0a65
|
||||
|
||||
.field public static final tag_transition_group:I = 0x7f0a0a66
|
||||
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a0a67
|
||||
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a0a68
|
||||
|
||||
.field public static final takePicture:I = 0x7f0a0a69
|
||||
|
||||
.field public static final take_photo_btn:I = 0x7f0a0a6a
|
||||
|
||||
.field public static final test_checkbox_android_button_tint:I = 0x7f0a0a6f
|
||||
|
||||
.field public static final test_checkbox_app_button_tint:I = 0x7f0a0a70
|
||||
|
||||
.field public static final test_radiobutton_android_button_tint:I = 0x7f0a0a71
|
||||
|
||||
.field public static final test_radiobutton_app_button_tint:I = 0x7f0a0a72
|
||||
|
||||
.field public static final text:I = 0x7f0a0a73
|
||||
|
||||
.field public static final text2:I = 0x7f0a0a75
|
||||
|
||||
.field public static final textSpacerNoButtons:I = 0x7f0a0a77
|
||||
|
||||
.field public static final textSpacerNoTitle:I = 0x7f0a0a78
|
||||
|
||||
.field public static final text_input_end_icon:I = 0x7f0a0a7b
|
||||
|
||||
.field public static final text_input_start_icon:I = 0x7f0a0a7c
|
||||
|
||||
.field public static final textinput_counter:I = 0x7f0a0a7f
|
||||
|
||||
.field public static final textinput_error:I = 0x7f0a0a80
|
||||
|
||||
.field public static final textinput_helper_text:I = 0x7f0a0a81
|
||||
|
||||
.field public static final textinput_placeholder:I = 0x7f0a0a82
|
||||
|
||||
.field public static final textinput_prefix_text:I = 0x7f0a0a83
|
||||
|
||||
.field public static final textinput_suffix_text:I = 0x7f0a0a84
|
||||
|
||||
.field public static final texture:I = 0x7f0a0a85
|
||||
|
||||
.field public static final texture_view:I = 0x7f0a0a86
|
||||
|
||||
.field public static final thumb_iv:I = 0x7f0a0a88
|
||||
|
||||
.field public static final time:I = 0x7f0a0a8a
|
||||
|
||||
.field public static final title:I = 0x7f0a0a8b
|
||||
|
||||
.field public static final titleDividerNoCustom:I = 0x7f0a0a8c
|
||||
|
||||
.field public static final title_template:I = 0x7f0a0a8d
|
||||
|
||||
.field public static final top:I = 0x7f0a0a94
|
||||
|
||||
.field public static final topPanel:I = 0x7f0a0a95
|
||||
|
||||
.field public static final torch:I = 0x7f0a0a96
|
||||
|
||||
.field public static final touch_outside:I = 0x7f0a0a97
|
||||
|
||||
.field public static final transition_current_scene:I = 0x7f0a0a9a
|
||||
|
||||
.field public static final transition_layout_save:I = 0x7f0a0a9b
|
||||
|
||||
.field public static final transition_position:I = 0x7f0a0a9c
|
||||
|
||||
.field public static final transition_scene_layoutid_cache:I = 0x7f0a0a9d
|
||||
|
||||
.field public static final transition_transform:I = 0x7f0a0a9e
|
||||
|
||||
.field public static final triangle:I = 0x7f0a0aa6
|
||||
|
||||
.field public static final type_iv:I = 0x7f0a0aa9
|
||||
|
||||
.field public static final uikit_chat_guideline:I = 0x7f0a0aad
|
||||
|
||||
.field public static final uikit_sheet_header_guideline:I = 0x7f0a0aae
|
||||
|
||||
.field public static final unchecked:I = 0x7f0a0ab0
|
||||
|
||||
.field public static final uniform:I = 0x7f0a0ab3
|
||||
|
||||
.field public static final unlabeled:I = 0x7f0a0ab4
|
||||
|
||||
.field public static final up:I = 0x7f0a0ab5
|
||||
|
||||
.field public static final video:I = 0x7f0a0b31
|
||||
|
||||
.field public static final view_offset_helper:I = 0x7f0a0b38
|
||||
|
||||
.field public static final view_pager:I = 0x7f0a0b3a
|
||||
|
||||
.field public static final visible:I = 0x7f0a0b4c
|
||||
|
||||
.field public static final visible_removing_fragment_view_tag:I = 0x7f0a0b4d
|
||||
|
||||
.field public static final wide:I = 0x7f0a0b82
|
||||
|
||||
.field public static final withinBounds:I = 0x7f0a0bbe
|
||||
|
||||
.field public static final wrap:I = 0x7f0a0bbf
|
||||
|
||||
.field public static final wrap_content:I = 0x7f0a0bc0
|
||||
|
||||
.field public static final wrap_reverse:I = 0x7f0a0bc1
|
||||
|
||||
.field public static final zero_corner_chip:I = 0x7f0a0bc6
|
||||
|
||||
.field public static final zoom:I = 0x7f0a0bc7
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
313
com.discord/smali_classes2/com/lytefast/flexinput/R$f.smali
Normal file
313
com.discord/smali_classes2/com/lytefast/flexinput/R$f.smali
Normal file
|
@ -0,0 +1,313 @@
|
|||
.class public final Lcom/lytefast/flexinput/R$f;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "f"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final abc_action_bar_title_item:I = 0x7f0d0000
|
||||
|
||||
.field public static final abc_action_bar_up_container:I = 0x7f0d0001
|
||||
|
||||
.field public static final abc_action_menu_item_layout:I = 0x7f0d0002
|
||||
|
||||
.field public static final abc_action_menu_layout:I = 0x7f0d0003
|
||||
|
||||
.field public static final abc_action_mode_bar:I = 0x7f0d0004
|
||||
|
||||
.field public static final abc_action_mode_close_item_material:I = 0x7f0d0005
|
||||
|
||||
.field public static final abc_activity_chooser_view:I = 0x7f0d0006
|
||||
|
||||
.field public static final abc_activity_chooser_view_list_item:I = 0x7f0d0007
|
||||
|
||||
.field public static final abc_alert_dialog_button_bar_material:I = 0x7f0d0008
|
||||
|
||||
.field public static final abc_alert_dialog_material:I = 0x7f0d0009
|
||||
|
||||
.field public static final abc_alert_dialog_title_material:I = 0x7f0d000a
|
||||
|
||||
.field public static final abc_cascading_menu_item_layout:I = 0x7f0d000b
|
||||
|
||||
.field public static final abc_dialog_title_material:I = 0x7f0d000c
|
||||
|
||||
.field public static final abc_expanded_menu_layout:I = 0x7f0d000d
|
||||
|
||||
.field public static final abc_list_menu_item_checkbox:I = 0x7f0d000e
|
||||
|
||||
.field public static final abc_list_menu_item_icon:I = 0x7f0d000f
|
||||
|
||||
.field public static final abc_list_menu_item_layout:I = 0x7f0d0010
|
||||
|
||||
.field public static final abc_list_menu_item_radio:I = 0x7f0d0011
|
||||
|
||||
.field public static final abc_popup_menu_header_item_layout:I = 0x7f0d0012
|
||||
|
||||
.field public static final abc_popup_menu_item_layout:I = 0x7f0d0013
|
||||
|
||||
.field public static final abc_screen_content_include:I = 0x7f0d0014
|
||||
|
||||
.field public static final abc_screen_simple:I = 0x7f0d0015
|
||||
|
||||
.field public static final abc_screen_simple_overlay_action_mode:I = 0x7f0d0016
|
||||
|
||||
.field public static final abc_screen_toolbar:I = 0x7f0d0017
|
||||
|
||||
.field public static final abc_search_dropdown_item_icons_2line:I = 0x7f0d0018
|
||||
|
||||
.field public static final abc_search_view:I = 0x7f0d0019
|
||||
|
||||
.field public static final abc_select_dialog_material:I = 0x7f0d001a
|
||||
|
||||
.field public static final abc_tooltip:I = 0x7f0d001b
|
||||
|
||||
.field public static final cameraview_gl_view:I = 0x7f0d0026
|
||||
|
||||
.field public static final cameraview_layout_focus_marker:I = 0x7f0d0027
|
||||
|
||||
.field public static final cameraview_surface_view:I = 0x7f0d0028
|
||||
|
||||
.field public static final cameraview_texture_view:I = 0x7f0d0029
|
||||
|
||||
.field public static final custom_dialog:I = 0x7f0d0034
|
||||
|
||||
.field public static final design_bottom_navigation_item:I = 0x7f0d0037
|
||||
|
||||
.field public static final design_bottom_sheet_dialog:I = 0x7f0d0038
|
||||
|
||||
.field public static final design_layout_snackbar:I = 0x7f0d0039
|
||||
|
||||
.field public static final design_layout_snackbar_include:I = 0x7f0d003a
|
||||
|
||||
.field public static final design_layout_tab_icon:I = 0x7f0d003b
|
||||
|
||||
.field public static final design_layout_tab_text:I = 0x7f0d003c
|
||||
|
||||
.field public static final design_menu_item_action_area:I = 0x7f0d003d
|
||||
|
||||
.field public static final design_navigation_item:I = 0x7f0d003e
|
||||
|
||||
.field public static final design_navigation_item_header:I = 0x7f0d003f
|
||||
|
||||
.field public static final design_navigation_item_separator:I = 0x7f0d0040
|
||||
|
||||
.field public static final design_navigation_item_subheader:I = 0x7f0d0041
|
||||
|
||||
.field public static final design_navigation_menu:I = 0x7f0d0042
|
||||
|
||||
.field public static final design_navigation_menu_item:I = 0x7f0d0043
|
||||
|
||||
.field public static final design_text_input_end_icon:I = 0x7f0d0044
|
||||
|
||||
.field public static final design_text_input_start_icon:I = 0x7f0d0045
|
||||
|
||||
.field public static final dialog_add_content_pager_with_fab:I = 0x7f0d0046
|
||||
|
||||
.field public static final expand_button:I = 0x7f0d0054
|
||||
|
||||
.field public static final flex_input_widget:I = 0x7f0d0059
|
||||
|
||||
.field public static final fragment_camera:I = 0x7f0d005b
|
||||
|
||||
.field public static final fragment_paged_grid:I = 0x7f0d005c
|
||||
|
||||
.field public static final fragment_recycler_view:I = 0x7f0d005d
|
||||
|
||||
.field public static final image_frame:I = 0x7f0d0069
|
||||
|
||||
.field public static final item_permission_storage:I = 0x7f0d006e
|
||||
|
||||
.field public static final material_chip_input_combo:I = 0x7f0d007b
|
||||
|
||||
.field public static final material_clock_display:I = 0x7f0d007c
|
||||
|
||||
.field public static final material_clock_display_divider:I = 0x7f0d007d
|
||||
|
||||
.field public static final material_clock_period_toggle:I = 0x7f0d007e
|
||||
|
||||
.field public static final material_clock_period_toggle_land:I = 0x7f0d007f
|
||||
|
||||
.field public static final material_clockface_textview:I = 0x7f0d0080
|
||||
|
||||
.field public static final material_clockface_view:I = 0x7f0d0081
|
||||
|
||||
.field public static final material_radial_view_group:I = 0x7f0d0082
|
||||
|
||||
.field public static final material_textinput_timepicker:I = 0x7f0d0083
|
||||
|
||||
.field public static final material_time_chip:I = 0x7f0d0084
|
||||
|
||||
.field public static final material_time_input:I = 0x7f0d0085
|
||||
|
||||
.field public static final material_timepicker:I = 0x7f0d0086
|
||||
|
||||
.field public static final material_timepicker_dialog:I = 0x7f0d0087
|
||||
|
||||
.field public static final material_timepicker_textinput_display:I = 0x7f0d0088
|
||||
|
||||
.field public static final mtrl_alert_dialog:I = 0x7f0d0089
|
||||
|
||||
.field public static final mtrl_alert_dialog_actions:I = 0x7f0d008a
|
||||
|
||||
.field public static final mtrl_alert_dialog_title:I = 0x7f0d008b
|
||||
|
||||
.field public static final mtrl_alert_select_dialog_item:I = 0x7f0d008c
|
||||
|
||||
.field public static final mtrl_alert_select_dialog_multichoice:I = 0x7f0d008d
|
||||
|
||||
.field public static final mtrl_alert_select_dialog_singlechoice:I = 0x7f0d008e
|
||||
|
||||
.field public static final mtrl_calendar_day:I = 0x7f0d008f
|
||||
|
||||
.field public static final mtrl_calendar_day_of_week:I = 0x7f0d0090
|
||||
|
||||
.field public static final mtrl_calendar_days_of_week:I = 0x7f0d0091
|
||||
|
||||
.field public static final mtrl_calendar_horizontal:I = 0x7f0d0092
|
||||
|
||||
.field public static final mtrl_calendar_month:I = 0x7f0d0093
|
||||
|
||||
.field public static final mtrl_calendar_month_labeled:I = 0x7f0d0094
|
||||
|
||||
.field public static final mtrl_calendar_month_navigation:I = 0x7f0d0095
|
||||
|
||||
.field public static final mtrl_calendar_months:I = 0x7f0d0096
|
||||
|
||||
.field public static final mtrl_calendar_vertical:I = 0x7f0d0097
|
||||
|
||||
.field public static final mtrl_calendar_year:I = 0x7f0d0098
|
||||
|
||||
.field public static final mtrl_layout_snackbar:I = 0x7f0d0099
|
||||
|
||||
.field public static final mtrl_layout_snackbar_include:I = 0x7f0d009a
|
||||
|
||||
.field public static final mtrl_picker_actions:I = 0x7f0d009b
|
||||
|
||||
.field public static final mtrl_picker_dialog:I = 0x7f0d009c
|
||||
|
||||
.field public static final mtrl_picker_fullscreen:I = 0x7f0d009d
|
||||
|
||||
.field public static final mtrl_picker_header_dialog:I = 0x7f0d009e
|
||||
|
||||
.field public static final mtrl_picker_header_fullscreen:I = 0x7f0d009f
|
||||
|
||||
.field public static final mtrl_picker_header_selection_text:I = 0x7f0d00a0
|
||||
|
||||
.field public static final mtrl_picker_header_title_text:I = 0x7f0d00a1
|
||||
|
||||
.field public static final mtrl_picker_header_toggle:I = 0x7f0d00a2
|
||||
|
||||
.field public static final mtrl_picker_text_input_date:I = 0x7f0d00a3
|
||||
|
||||
.field public static final mtrl_picker_text_input_date_range:I = 0x7f0d00a4
|
||||
|
||||
.field public static final notification_action:I = 0x7f0d00a5
|
||||
|
||||
.field public static final notification_action_tombstone:I = 0x7f0d00a6
|
||||
|
||||
.field public static final notification_template_custom_big:I = 0x7f0d00ae
|
||||
|
||||
.field public static final notification_template_icon_group:I = 0x7f0d00af
|
||||
|
||||
.field public static final notification_template_part_chronometer:I = 0x7f0d00b3
|
||||
|
||||
.field public static final notification_template_part_time:I = 0x7f0d00b4
|
||||
|
||||
.field public static final preference:I = 0x7f0d00bf
|
||||
|
||||
.field public static final preference_category:I = 0x7f0d00c0
|
||||
|
||||
.field public static final preference_category_material:I = 0x7f0d00c1
|
||||
|
||||
.field public static final preference_dialog_edittext:I = 0x7f0d00c2
|
||||
|
||||
.field public static final preference_dropdown:I = 0x7f0d00c3
|
||||
|
||||
.field public static final preference_dropdown_material:I = 0x7f0d00c4
|
||||
|
||||
.field public static final preference_information:I = 0x7f0d00c5
|
||||
|
||||
.field public static final preference_information_material:I = 0x7f0d00c6
|
||||
|
||||
.field public static final preference_list_fragment:I = 0x7f0d00c7
|
||||
|
||||
.field public static final preference_material:I = 0x7f0d00c8
|
||||
|
||||
.field public static final preference_recyclerview:I = 0x7f0d00c9
|
||||
|
||||
.field public static final preference_widget_checkbox:I = 0x7f0d00ca
|
||||
|
||||
.field public static final preference_widget_seekbar:I = 0x7f0d00cb
|
||||
|
||||
.field public static final preference_widget_seekbar_material:I = 0x7f0d00cc
|
||||
|
||||
.field public static final preference_widget_switch:I = 0x7f0d00cd
|
||||
|
||||
.field public static final preference_widget_switch_compat:I = 0x7f0d00ce
|
||||
|
||||
.field public static final select_dialog_item_material:I = 0x7f0d00de
|
||||
|
||||
.field public static final select_dialog_multichoice_material:I = 0x7f0d00df
|
||||
|
||||
.field public static final select_dialog_singlechoice_material:I = 0x7f0d00e0
|
||||
|
||||
.field public static final support_simple_spinner_dropdown_item:I = 0x7f0d00f2
|
||||
|
||||
.field public static final test_action_chip:I = 0x7f0d00f4
|
||||
|
||||
.field public static final test_chip_zero_corner_radius:I = 0x7f0d00f5
|
||||
|
||||
.field public static final test_design_checkbox:I = 0x7f0d00f6
|
||||
|
||||
.field public static final test_design_radiobutton:I = 0x7f0d00f7
|
||||
|
||||
.field public static final test_reflow_chipgroup:I = 0x7f0d00f8
|
||||
|
||||
.field public static final test_toolbar:I = 0x7f0d00f9
|
||||
|
||||
.field public static final test_toolbar_custom_background:I = 0x7f0d00fa
|
||||
|
||||
.field public static final test_toolbar_elevation:I = 0x7f0d00fb
|
||||
|
||||
.field public static final test_toolbar_surface:I = 0x7f0d00fc
|
||||
|
||||
.field public static final text_view_with_line_height_from_appearance:I = 0x7f0d00fd
|
||||
|
||||
.field public static final text_view_with_line_height_from_layout:I = 0x7f0d00fe
|
||||
|
||||
.field public static final text_view_with_line_height_from_style:I = 0x7f0d00ff
|
||||
|
||||
.field public static final text_view_with_theme_line_height:I = 0x7f0d0100
|
||||
|
||||
.field public static final text_view_without_line_height:I = 0x7f0d0101
|
||||
|
||||
.field public static final view_attachment_preview_item:I = 0x7f0d0116
|
||||
|
||||
.field public static final view_chip_default:I = 0x7f0d0123
|
||||
|
||||
.field public static final view_emoji_item:I = 0x7f0d0129
|
||||
|
||||
.field public static final view_file_item:I = 0x7f0d012b
|
||||
|
||||
.field public static final view_grid_image:I = 0x7f0d012f
|
||||
|
||||
.field public static final view_permissions_required:I = 0x7f0d013c
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
13369
com.discord/smali_classes2/com/lytefast/flexinput/R$g.smali
Normal file
13369
com.discord/smali_classes2/com/lytefast/flexinput/R$g.smali
Normal file
File diff suppressed because it is too large
Load diff
2229
com.discord/smali_classes2/com/lytefast/flexinput/R$h.smali
Normal file
2229
com.discord/smali_classes2/com/lytefast/flexinput/R$h.smali
Normal file
File diff suppressed because it is too large
Load diff
27
com.discord/smali_classes2/com/lytefast/flexinput/R.smali
Normal file
27
com.discord/smali_classes2/com/lytefast/flexinput/R.smali
Normal file
|
@ -0,0 +1,27 @@
|
|||
.class public final Lcom/lytefast/flexinput/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/R$a;,
|
||||
Lcom/lytefast/flexinput/R$b;,
|
||||
Lcom/lytefast/flexinput/R$c;,
|
||||
Lcom/lytefast/flexinput/R$d;,
|
||||
Lcom/lytefast/flexinput/R$e;,
|
||||
Lcom/lytefast/flexinput/R$f;,
|
||||
Lcom/lytefast/flexinput/R$g;,
|
||||
Lcom/lytefast/flexinput/R$h;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,88 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;
|
||||
.super Lf/b/a/c/i;
|
||||
.source "AttachmentPreviewAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x11
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic j:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;Landroid/view/View;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/view/View;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "itemView"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;->j:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
|
||||
invoke-direct {p0, p2}, Lf/b/a/c/i;-><init>(Landroid/view/View;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget p2, Lcom/lytefast/flexinput/R$d;->ic_file_24dp:I
|
||||
|
||||
invoke-static {p1, p2}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p2}, Lcom/facebook/drawee/view/DraweeView;->getHierarchy()Lcom/facebook/drawee/interfaces/DraweeHierarchy;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p2, v0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->o(ILandroid/graphics/drawable/Drawable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast v0, Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string v1, "null cannot be cast to non-null type com.facebook.drawee.view.SimpleDraweeView"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -0,0 +1,272 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
||||
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
.source "AttachmentPreviewAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"+",
|
||||
"Ljava/lang/Object;",
|
||||
">;>",
|
||||
"Landroidx/recyclerview/widget/RecyclerView$Adapter<",
|
||||
"Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter<",
|
||||
"TT;>.a;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/utils/SelectionAggregator<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, v0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter<",
|
||||
"TT;>;+",
|
||||
"Lcom/lytefast/flexinput/utils/SelectionAggregator<",
|
||||
"TT;>;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/16 v5, 0xe
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
invoke-direct/range {v0 .. v6}, Lcom/lytefast/flexinput/utils/SelectionAggregator;-><init>(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
:goto_0
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getItemCount()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->getSize()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
|
||||
.locals 3
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;
|
||||
|
||||
const-string v0, "holder"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
invoke-virtual {v0, p2}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->get(I)Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string v0, "item"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
instance-of v0, p2, Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
move-object v0, p2
|
||||
|
||||
check-cast v0, Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p1, v0, v1, v1}, Lf/b/a/c/i;->c(Lcom/lytefast/flexinput/model/Photo;Ljava/lang/Integer;Ljava/lang/Integer;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget v0, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
|
||||
|
||||
invoke-virtual {p2}, Lcom/lytefast/flexinput/model/Attachment;->getUri()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->b(Landroid/net/Uri;)Lcom/facebook/imagepipeline/request/ImageRequestBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v2, Lf/g/j/d/f;->c:Lf/g/j/d/f;
|
||||
|
||||
iput-object v2, v1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->d:Lf/g/j/d/f;
|
||||
|
||||
new-instance v2, Lf/g/j/d/e;
|
||||
|
||||
invoke-direct {v2, v0, v0}, Lf/g/j/d/e;-><init>(II)V
|
||||
|
||||
iput-object v2, v1, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->c:Lf/g/j/d/e;
|
||||
|
||||
invoke-static {}, Lf/g/g/a/a/b;->a()Lf/g/g/a/a/d;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Lcom/facebook/drawee/view/DraweeView;->getController()Lcom/facebook/drawee/interfaces/DraweeController;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iput-object v2, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->n:Lcom/facebook/drawee/interfaces/DraweeController;
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
iput-boolean v2, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->l:Z
|
||||
|
||||
invoke-virtual {v1}, Lcom/facebook/imagepipeline/request/ImageRequestBuilder;->a()Lcom/facebook/imagepipeline/request/ImageRequest;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iput-object v1, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->b()Lcom/facebook/drawee/controller/AbstractDraweeController;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, v0}, Lcom/facebook/drawee/view/DraweeView;->setController(Lcom/facebook/drawee/interfaces/DraweeController;)V
|
||||
|
||||
:goto_0
|
||||
iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
new-instance v1, Lf/b/a/c/e;
|
||||
|
||||
invoke-direct {v1, p1, p2}, Lf/b/a/c/e;-><init>(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;Lcom/lytefast/flexinput/model/Attachment;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
||||
.locals 2
|
||||
|
||||
const-string p2, "parent"
|
||||
|
||||
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
sget v0, Lcom/lytefast/flexinput/R$f;->view_attachment_preview_item:I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;
|
||||
|
||||
const-string v0, "view"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p2, p0, p1}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;-><init>(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;Landroid/view/View;)V
|
||||
|
||||
return-object p2
|
||||
.end method
|
||||
|
||||
.method public onViewRecycled(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;
|
||||
|
||||
const-string v0, "holder"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onViewRecycled(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
||||
|
||||
invoke-virtual {p1}, Lf/b/a/c/i;->b()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,53 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;
|
||||
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
||||
.source "EmptyListAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x11
|
||||
name = "ViewHolder"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Landroid/view/View;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/EmptyListAdapter;Landroid/view/View;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/view/View;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "itemView"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->access$getActionBtnId$p(Lcom/lytefast/flexinput/adapters/EmptyListAdapter;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "itemView.findViewById(actionBtnId)"
|
||||
|
||||
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;->a:Landroid/view/View;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,143 @@
|
|||
.class public Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
.source "EmptyListAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/recyclerview/widget/RecyclerView$Adapter<",
|
||||
"Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final actionBtnId:I
|
||||
|
||||
.field public final itemLayoutId:I
|
||||
|
||||
.field public final onClickListener:Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(IILandroid/view/View$OnClickListener;)V
|
||||
.locals 1
|
||||
.param p1 # I
|
||||
.annotation build Landroidx/annotation/LayoutRes;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # I
|
||||
.annotation build Landroidx/annotation/IdRes;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const-string v0, "onClickListener"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V
|
||||
|
||||
iput p1, p0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->itemLayoutId:I
|
||||
|
||||
iput p2, p0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->actionBtnId:I
|
||||
|
||||
iput-object p3, p0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->onClickListener:Landroid/view/View$OnClickListener;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$getActionBtnId$p(Lcom/lytefast/flexinput/adapters/EmptyListAdapter;)I
|
||||
.locals 0
|
||||
|
||||
iget p0, p0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->actionBtnId:I
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getItemCount()I
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->onBindViewHolder(Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onBindViewHolder(Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;I)V
|
||||
.locals 0
|
||||
|
||||
const-string p2, "holder"
|
||||
|
||||
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;->a:Landroid/view/View;
|
||||
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->onClickListener:Landroid/view/View$OnClickListener;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;
|
||||
.locals 2
|
||||
|
||||
const-string p2, "parent"
|
||||
|
||||
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iget v0, p0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;->itemLayoutId:I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;
|
||||
|
||||
const-string v0, "view"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p2, p0, p1}, Lcom/lytefast/flexinput/adapters/EmptyListAdapter$ViewHolder;-><init>(Lcom/lytefast/flexinput/adapters/EmptyListAdapter;Landroid/view/View;)V
|
||||
|
||||
return-object p2
|
||||
.end method
|
|
@ -0,0 +1,203 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/FileListAdapter$a;
|
||||
.super Landroid/os/AsyncTask;
|
||||
.source "FileListAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/os/AsyncTask<",
|
||||
"Ljava/io/File;",
|
||||
"Ljava/lang/Boolean;",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"+",
|
||||
"Ljava/io/File;",
|
||||
">;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/FileListAdapter;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "adapter"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$a;->a:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final a(Lcom/lytefast/flexinput/adapters/FileListAdapter$a;Lcom/lytefast/flexinput/model/Attachment;)J
|
||||
.locals 0
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/model/Attachment;->getData()Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Ljava/io/File;
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Ljava/io/File;->lastModified()J
|
||||
|
||||
move-result-wide p0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-wide/16 p0, 0x0
|
||||
|
||||
:goto_0
|
||||
return-wide p0
|
||||
|
||||
:cond_1
|
||||
const/4 p0, 0x0
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 4
|
||||
|
||||
check-cast p1, [Ljava/io/File;
|
||||
|
||||
const-string v0, "rootFiles"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
aget-object p1, p1, v0
|
||||
|
||||
sget-object v0, Lf/b/a/c/h;->d:Lf/b/a/c/h;
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
new-instance v2, Ljava/util/LinkedList;
|
||||
|
||||
invoke-direct {v2}, Ljava/util/LinkedList;-><init>()V
|
||||
|
||||
invoke-virtual {v0, p1}, Lf/b/a/c/h;->a(Ljava/io/File;)Lkotlin/sequences/Sequence;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {v2, p1}, Lf/h/a/f/f/n/f;->addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v2}, Ljava/util/LinkedList;->isEmpty()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_2
|
||||
|
||||
invoke-virtual {v2}, Ljava/util/LinkedList;->remove()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/io/File;
|
||||
|
||||
const-string v3, "file"
|
||||
|
||||
invoke-static {p1, v3}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Ljava/io/File;->isHidden()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p1}, Ljava/io/File;->isDirectory()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
invoke-virtual {v0, p1}, Lf/b/a/c/h;->a(Ljava/io/File;)Lkotlin/sequences/Sequence;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {v2, p1}, Lf/h/a/f/f/n/f;->addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1}, Lf/b/a/e/a;->a(Ljava/io/File;)Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Lf/b/a/c/g;
|
||||
|
||||
invoke-direct {p1, p0}, Lf/b/a/c/g;-><init>(Lcom/lytefast/flexinput/adapters/FileListAdapter$a;)V
|
||||
|
||||
new-instance v0, Lf/b/a/c/f;
|
||||
|
||||
invoke-direct {v0}, Lf/b/a/c/f;-><init>()V
|
||||
|
||||
const-string v2, "$this$then"
|
||||
|
||||
invoke-static {p1, v2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v2, "comparator"
|
||||
|
||||
invoke-static {v0, v2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v2, Lz/j/b;
|
||||
|
||||
invoke-direct {v2, p1, v0}, Lz/j/b;-><init>(Ljava/util/Comparator;Ljava/util/Comparator;)V
|
||||
|
||||
invoke-static {v1, v2}, Lf/h/a/f/f/n/f;->sortWith(Ljava/util/List;Ljava/util/Comparator;)V
|
||||
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public onPostExecute(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
const-string v0, "files"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$a;->a:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
iput-object p1, v0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->b:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,85 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/FileListAdapter$b$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FileListAdapter.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/adapters/FileListAdapter$b;-><init>(Lcom/lytefast/flexinput/adapters/FileListAdapter;Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/FileListAdapter$b;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$a;->d:Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 6
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$a;->d:Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
iget-object v0, v0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
iget-object v1, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->g:Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->c(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v0, v1, v2}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b(Ljava/lang/Object;I)V
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p1, v3, v4}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b(ZZ)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -0,0 +1,78 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;
|
||||
.super Lz/n/c/k;
|
||||
.source "FileListAdapter.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b(ZZ)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/n/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Landroid/animation/AnimatorSet;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $isAnimationRequested:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Z)V
|
||||
.locals 0
|
||||
|
||||
iput-boolean p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;->$isAnimationRequested:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lz/n/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/animation/AnimatorSet;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animation"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/animation/AnimatorSet;->start()V
|
||||
|
||||
iget-boolean v0, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;->$isAnimationRequested:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Landroid/animation/AnimatorSet;->end()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;->a(Landroid/animation/AnimatorSet;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,483 @@
|
|||
.class public Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
||||
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
||||
.source "FileListAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Landroid/animation/AnimatorSet;
|
||||
|
||||
.field public final b:Landroid/animation/AnimatorSet;
|
||||
|
||||
.field public c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
.field public d:Landroid/widget/ImageView;
|
||||
|
||||
.field public e:Landroid/widget/TextView;
|
||||
|
||||
.field public f:Landroid/widget/TextView;
|
||||
|
||||
.field public g:Lcom/lytefast/flexinput/model/Attachment;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"+",
|
||||
"Ljava/io/File;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final synthetic h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/FileListAdapter;Landroid/view/View;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/view/View;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "itemView"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
invoke-direct {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
|
||||
|
||||
sget p1, Lcom/lytefast/flexinput/R$e;->thumb_iv:I
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "itemView.findViewById(R.id.thumb_iv)"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
sget p1, Lcom/lytefast/flexinput/R$e;->type_iv:I
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "itemView.findViewById(R.id.type_iv)"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Landroid/widget/ImageView;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
sget p1, Lcom/lytefast/flexinput/R$e;->file_name_tv:I
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "itemView.findViewById(R.id.file_name_tv)"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Landroid/widget/TextView;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->e:Landroid/widget/TextView;
|
||||
|
||||
sget p1, Lcom/lytefast/flexinput/R$e;->file_subtitle_tv:I
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "itemView.findViewById(R.id.file_subtitle_tv)"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Landroid/widget/TextView;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->f:Landroid/widget/TextView;
|
||||
|
||||
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
const-string v0, "this.itemView"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/View;->setClickable(Z)V
|
||||
|
||||
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$a;
|
||||
|
||||
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$a;-><init>(Lcom/lytefast/flexinput/adapters/FileListAdapter$b;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget v0, Lcom/lytefast/flexinput/R$a;->selection_shrink:I
|
||||
|
||||
invoke-static {p1, v0}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type android.animation.AnimatorSet"
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
check-cast p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a:Landroid/animation/AnimatorSet;
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/animation/AnimatorSet;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget p2, Lcom/lytefast/flexinput/R$a;->selection_grow:I
|
||||
|
||||
invoke-static {p1, p2}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
check-cast p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b:Landroid/animation/AnimatorSet;
|
||||
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/animation/AnimatorSet;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/io/File;)V
|
||||
.locals 16
|
||||
|
||||
move-object/from16 v1, p0
|
||||
|
||||
iget-object v0, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
iget-object v2, v0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->c:Landroid/content/ContentResolver;
|
||||
|
||||
sget-object v3, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
||||
|
||||
const-string v0, "_id"
|
||||
|
||||
const-string v4, "mini_thumb_magic"
|
||||
|
||||
filled-new-array {v0, v4}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
new-array v6, v8, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual/range {p1 .. p1}, Ljava/io/File;->getPath()Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
aput-object v5, v6, v9
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const-string v5, "_data=?"
|
||||
|
||||
invoke-virtual/range {v2 .. v7}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
if-eqz v2, :cond_4
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {v2}, Landroid/database/Cursor;->moveToFirst()Z
|
||||
|
||||
move-result v3
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_2
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
invoke-static {v2, v4}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
:try_start_1
|
||||
invoke-interface {v2, v9}, Landroid/database/Cursor;->getLong(I)J
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
invoke-interface {v2, v8}, Landroid/database/Cursor;->getLong(I)J
|
||||
|
||||
move-result-wide v10
|
||||
|
||||
const-wide/16 v12, 0x0
|
||||
|
||||
cmp-long v3, v10, v12
|
||||
|
||||
if-nez v3, :cond_1
|
||||
|
||||
iget-object v3, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
iget-object v3, v3, Lcom/lytefast/flexinput/adapters/FileListAdapter;->c:Landroid/content/ContentResolver;
|
||||
|
||||
invoke-static {v3, v5, v6, v8, v4}, Landroid/provider/MediaStore$Images$Thumbnails;->getThumbnail(Landroid/content/ContentResolver;JILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
invoke-virtual {v3}, Landroid/graphics/Bitmap;->recycle()V
|
||||
|
||||
:cond_1
|
||||
iget-object v3, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
iget-object v10, v3, Lcom/lytefast/flexinput/adapters/FileListAdapter;->c:Landroid/content/ContentResolver;
|
||||
|
||||
sget-object v11, Landroid/provider/MediaStore$Images$Thumbnails;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
||||
|
||||
filled-new-array {v0}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v12
|
||||
|
||||
const-string v13, "image_id=?"
|
||||
|
||||
new-array v14, v8, [Ljava/lang/String;
|
||||
|
||||
invoke-static {v5, v6}, Ljava/lang/Long;->toString(J)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
aput-object v0, v14, v9
|
||||
|
||||
const/4 v15, 0x0
|
||||
|
||||
invoke-virtual/range {v10 .. v15}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
||||
|
||||
move-result-object v3
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_2
|
||||
|
||||
if-eqz v3, :cond_3
|
||||
|
||||
:try_start_2
|
||||
invoke-interface {v3}, Landroid/database/Cursor;->moveToFirst()Z
|
||||
|
||||
move-result v0
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
:try_start_3
|
||||
invoke-static {v3, v4}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
||||
|
||||
invoke-static {v2, v4}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
:try_start_4
|
||||
invoke-interface {v3, v9}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v5, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-static {}, Lf/g/g/a/a/b;->a()Lf/g/g/a/a/d;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
iget-object v7, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-virtual {v7}, Lcom/facebook/drawee/view/DraweeView;->getController()Lcom/facebook/drawee/interfaces/DraweeController;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
iput-object v7, v6, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->n:Lcom/facebook/drawee/interfaces/DraweeController;
|
||||
|
||||
sget-object v7, Landroid/provider/MediaStore$Images$Thumbnails;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
||||
|
||||
invoke-static {v7, v0}, Landroid/net/Uri;->withAppendedPath(Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v6, v0}, Lf/g/g/a/a/d;->e(Landroid/net/Uri;)Lf/g/g/a/a/d;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-boolean v8, v0, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->k:Z
|
||||
|
||||
invoke-virtual {v0}, Lcom/facebook/drawee/controller/AbstractDraweeControllerBuilder;->b()Lcom/facebook/drawee/controller/AbstractDraweeController;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v5, v0}, Lcom/facebook/drawee/view/DraweeView;->setController(Lcom/facebook/drawee/interfaces/DraweeController;)V
|
||||
:try_end_4
|
||||
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
||||
|
||||
:try_start_5
|
||||
invoke-static {v3, v4}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
:try_end_5
|
||||
.catchall {:try_start_5 .. :try_end_5} :catchall_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
move-object v4, v0
|
||||
|
||||
:try_start_6
|
||||
throw v4
|
||||
:try_end_6
|
||||
.catchall {:try_start_6 .. :try_end_6} :catchall_1
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
move-object v5, v0
|
||||
|
||||
:try_start_7
|
||||
invoke-static {v3, v4}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v5
|
||||
:try_end_7
|
||||
.catchall {:try_start_7 .. :try_end_7} :catchall_2
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
invoke-static {v2, v4}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_2
|
||||
move-exception v0
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
:try_start_8
|
||||
throw v3
|
||||
:try_end_8
|
||||
.catchall {:try_start_8 .. :try_end_8} :catchall_3
|
||||
|
||||
:catchall_3
|
||||
move-exception v0
|
||||
|
||||
move-object v4, v0
|
||||
|
||||
invoke-static {v2, v3}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v4
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final b(ZZ)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
const-string v1, "itemView"
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/view/View;->setSelected(Z)V
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;
|
||||
|
||||
invoke-direct {v0, p2}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;-><init>(Z)V
|
||||
|
||||
const/high16 p2, 0x3f800000 # 1.0f
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
cmpg-float p1, p1, p2
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a:Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;->a(Landroid/animation/AnimatorSet;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
cmpg-float p1, p1, p2
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b:Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;->a(Landroid/animation/AnimatorSet;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,536 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
.source "FileListAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/adapters/FileListAdapter$b;,
|
||||
Lcom/lytefast/flexinput/adapters/FileListAdapter$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/recyclerview/widget/RecyclerView$Adapter<",
|
||||
"Lcom/lytefast/flexinput/adapters/FileListAdapter$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator<",
|
||||
"*-",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"+",
|
||||
"Ljava/io/File;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public b:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"+",
|
||||
"Ljava/io/File;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final c:Landroid/content/ContentResolver;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/ContentResolver;Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/ContentResolver;",
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator<",
|
||||
"*",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Ljava/io/File;",
|
||||
">;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "contentResolver"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "selectionCoordinator"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->c:Landroid/content/ContentResolver;
|
||||
|
||||
const-string p1, "adapter"
|
||||
|
||||
invoke-static {p0, p1}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p0, p2, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->a:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
sget-object p1, Lz/i/l;->d:Lz/i/l;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->b:Ljava/util/List;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getItemCount()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->b:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
|
||||
.locals 8
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
||||
|
||||
const-string v0, "holder"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->b:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
const-string v0, "fileAttachment"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->g:Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
iget-object v0, v0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {v0, p2, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->a(Ljava/lang/Object;I)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p1, v0, v1}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b(ZZ)V
|
||||
|
||||
invoke-virtual {p2}, Lcom/lytefast/flexinput/model/Attachment;->getData()Ljava/lang/Object;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Ljava/io/File;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
iget-object v2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->e:Landroid/widget/TextView;
|
||||
|
||||
invoke-virtual {p2}, Ljava/io/File;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
iget-object v2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->f:Landroid/widget/TextView;
|
||||
|
||||
const-string v3, "$this$getFileSize"
|
||||
|
||||
invoke-static {p2, v3}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Ljava/io/File;->length()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
const/16 v5, 0x400
|
||||
|
||||
int-to-long v5, v5
|
||||
|
||||
div-long/2addr v3, v5
|
||||
|
||||
cmp-long v7, v3, v5
|
||||
|
||||
if-gez v7, :cond_0
|
||||
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {v5, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v3, " KB"
|
||||
|
||||
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
div-long/2addr v3, v5
|
||||
|
||||
cmp-long v7, v3, v5
|
||||
|
||||
if-gez v7, :cond_1
|
||||
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {v5, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v3, " MB"
|
||||
|
||||
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
div-long/2addr v3, v5
|
||||
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {v5, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v3, " GB"
|
||||
|
||||
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object v2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->e:Landroid/widget/TextView;
|
||||
|
||||
invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
iget-object v2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->f:Landroid/widget/TextView;
|
||||
|
||||
invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
:goto_1
|
||||
iget-object v2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-virtual {v2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v2, v0, v3}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Landroid/net/Uri;Ljava/lang/Object;)V
|
||||
|
||||
iget-object v2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
const/16 v3, 0x8
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setVisibility(I)V
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz p2, :cond_4
|
||||
|
||||
iget-object v3, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
if-eqz v3, :cond_3
|
||||
|
||||
invoke-virtual {p2}, Ljava/io/File;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v4, "fileName"
|
||||
|
||||
invoke-static {v3, v4}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/16 v4, 0x2e
|
||||
|
||||
const/4 v5, 0x6
|
||||
|
||||
invoke-static {v3, v4, v1, v1, v5}, Lz/t/p;->lastIndexOf$default(Ljava/lang/CharSequence;CIZI)I
|
||||
|
||||
move-result v4
|
||||
|
||||
add-int/2addr v4, v2
|
||||
|
||||
invoke-virtual {v3, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v4, "(this as java.lang.String).substring(startIndex)"
|
||||
|
||||
invoke-static {v3, v4}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-nez v4, :cond_4
|
||||
|
||||
invoke-static {}, Landroid/webkit/MimeTypeMap;->getSingleton()Landroid/webkit/MimeTypeMap;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, v3}, Landroid/webkit/MimeTypeMap;->getMimeTypeFromExtension(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
throw v0
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-nez v3, :cond_5
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
const/4 v2, 0x0
|
||||
|
||||
:cond_6
|
||||
:goto_3
|
||||
if-eqz v2, :cond_7
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_7
|
||||
iget-object v2, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-static {p2}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
iget-object v4, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
invoke-virtual {v4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v2, v3, v4}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Landroid/net/Uri;Ljava/lang/Object;)V
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
const-string v3, "image"
|
||||
|
||||
invoke-static {v0, v3, v1, v2}, Lz/t/k;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_8
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
sget v2, Lcom/lytefast/flexinput/R$d;->ic_image_24dp:I
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
||||
|
||||
invoke-virtual {p1, p2}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a(Ljava/io/File;)V
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_8
|
||||
const-string v3, "video"
|
||||
|
||||
invoke-static {v0, v3, v1, v2}, Lz/t/k;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_9
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
sget v2, Lcom/lytefast/flexinput/R$d;->ic_movie_24dp:I
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
||||
|
||||
invoke-virtual {p1, p2}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a(Ljava/io/File;)V
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_9
|
||||
const-string v3, "audio"
|
||||
|
||||
invoke-static {v0, v3, v1, v2}, Lz/t/k;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_a
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
sget v2, Lcom/lytefast/flexinput/R$d;->ic_audio_24dp:I
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
||||
|
||||
invoke-virtual {p1, p2}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a(Ljava/io/File;)V
|
||||
|
||||
:cond_a
|
||||
:goto_4
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;ILjava/util/List;)V
|
||||
.locals 4
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
||||
|
||||
const-string v0, "holder"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "payloads"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:cond_0
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
instance-of v3, v1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
move-object v1, v2
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
instance-of v0, v1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
move-object v2, v1
|
||||
|
||||
:goto_1
|
||||
check-cast v2, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
iget-boolean p2, v2, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->b:Z
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
invoke-virtual {p1, p2, p3}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b(ZZ)V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;ILjava/util/List;)V
|
||||
|
||||
:goto_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
||||
.locals 2
|
||||
|
||||
const-string p2, "parent"
|
||||
|
||||
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
sget v0, Lcom/lytefast/flexinput/R$f;->view_file_item:I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
||||
|
||||
const-string v0, "view"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p2, p0, p1}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;-><init>(Lcom/lytefast/flexinput/adapters/FileListAdapter;Landroid/view/View;)V
|
||||
|
||||
return-object p2
|
||||
.end method
|
|
@ -0,0 +1,78 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;
|
||||
.super Lz/n/c/k;
|
||||
.source "PhotoCursorAdapter.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->d(ZZ)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/n/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Landroid/animation/AnimatorSet;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $isAnimationRequested:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Z)V
|
||||
.locals 0
|
||||
|
||||
iput-boolean p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;->$isAnimationRequested:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lz/n/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/animation/AnimatorSet;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "animation"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/animation/AnimatorSet;->start()V
|
||||
|
||||
iget-boolean v0, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;->$isAnimationRequested:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Landroid/animation/AnimatorSet;->end()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;->a(Landroid/animation/AnimatorSet;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,271 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;
|
||||
.super Lf/b/a/c/i;
|
||||
.source "PhotoCursorAdapter.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x11
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final j:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
.field public k:Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
.field public final l:Landroid/animation/AnimatorSet;
|
||||
|
||||
.field public final m:Landroid/animation/AnimatorSet;
|
||||
|
||||
.field public final synthetic n:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Landroid/view/View;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/view/View;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "itemView"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->n:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
invoke-direct {p0, p2}, Lf/b/a/c/i;-><init>(Landroid/view/View;)V
|
||||
|
||||
sget p1, Lcom/lytefast/flexinput/R$e;->item_check_indicator:I
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "itemView.findViewById(R.id.item_check_indicator)"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->j:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
invoke-virtual {p1, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget v0, Lcom/lytefast/flexinput/R$a;->selection_shrink:I
|
||||
|
||||
invoke-static {p1, v0}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type android.animation.AnimatorSet"
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
check-cast p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->l:Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/animation/AnimatorSet;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget p2, Lcom/lytefast/flexinput/R$a;->selection_grow:I
|
||||
|
||||
invoke-static {p1, p2}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
check-cast p1, Landroid/animation/AnimatorSet;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->m:Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/animation/AnimatorSet;->setTarget(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
sget v1, Lcom/lytefast/flexinput/R$e;->content_iv:I
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "itemView.findViewById(R.id.content_iv)"
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final d(ZZ)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
||||
|
||||
const-string v1, "itemView"
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/view/View;->setSelected(Z)V
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;
|
||||
|
||||
invoke-direct {v0, p2}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;-><init>(Z)V
|
||||
|
||||
const/high16 p2, 0x3f800000 # 1.0f
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->j:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
cmpg-float p1, p1, p2
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->l:Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;->a(Landroid/animation/AnimatorSet;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->j:Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
const/16 v1, 0x8
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
cmpg-float p1, p1, p2
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->m:Landroid/animation/AnimatorSet;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a$a;->a(Landroid/animation/AnimatorSet;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onClick(Landroid/view/View;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "v"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->n:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->k:Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p1, v0}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->c(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p1, v0, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b(Ljava/lang/Object;I)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -0,0 +1,86 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;
|
||||
.super Landroid/content/AsyncQueryHandler;
|
||||
.source "PhotoCursorAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b(Landroid/content/ContentResolver;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Landroid/content/ContentResolver;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/ContentResolver;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;->a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
invoke-direct {p0, p2}, Landroid/content/AsyncQueryHandler;-><init>(Landroid/content/ContentResolver;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onQueryComplete(ILjava/lang/Object;Landroid/database/Cursor;)V
|
||||
.locals 0
|
||||
|
||||
const-string p1, "cookie"
|
||||
|
||||
invoke-static {p2, p1}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
if-nez p3, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;->a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
const-string p2, "_id"
|
||||
|
||||
invoke-interface {p3, p2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->c:I
|
||||
|
||||
const-string p2, "_data"
|
||||
|
||||
invoke-interface {p3, p2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->d:I
|
||||
|
||||
const-string p2, "_display_name"
|
||||
|
||||
invoke-interface {p3, p2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->e:I
|
||||
|
||||
iput-object p3, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b:Landroid/database/Cursor;
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;->a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,460 @@
|
|||
.class public final Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
.source "PhotoCursorAdapter.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/recyclerview/widget/RecyclerView$Adapter<",
|
||||
"Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator<",
|
||||
"*",
|
||||
"Lcom/lytefast/flexinput/model/Photo;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public b:Landroid/database/Cursor;
|
||||
|
||||
.field public c:I
|
||||
|
||||
.field public d:I
|
||||
|
||||
.field public e:I
|
||||
|
||||
.field public final f:I
|
||||
|
||||
.field public final g:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/utils/SelectionCoordinator;II)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator<",
|
||||
"*",
|
||||
"Lcom/lytefast/flexinput/model/Photo;",
|
||||
">;II)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "selectionCoordinator"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V
|
||||
|
||||
iput p2, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->f:I
|
||||
|
||||
iput p3, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->g:I
|
||||
|
||||
const-string p2, "adapter"
|
||||
|
||||
invoke-static {p0, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p0, p1, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->a:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->setHasStableIds(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(I)Lcom/lytefast/flexinput/model/Photo;
|
||||
.locals 7
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b:Landroid/database/Cursor;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-interface {v0, p1}, Landroid/database/Cursor;->moveToPosition(I)Z
|
||||
|
||||
iget p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->c:I
|
||||
|
||||
invoke-interface {v0, p1}, Landroid/database/Cursor;->getLong(I)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
sget-object p1, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {p1, v1}, Landroid/net/Uri;->withAppendedPath(Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
new-instance p1, Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
const-string v1, "fileUri"
|
||||
|
||||
invoke-static {v4, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget v1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->e:I
|
||||
|
||||
invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-string v1, "img-"
|
||||
|
||||
invoke-static {v1, v2, v3}, Lf/e/c/a/a;->n(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
move-object v5, v1
|
||||
|
||||
iget v1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->d:I
|
||||
|
||||
invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lcom/lytefast/flexinput/model/Photo;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_1
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final b(Landroid/content/ContentResolver;)V
|
||||
.locals 9
|
||||
|
||||
const-string v0, "contentResolver"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;
|
||||
|
||||
invoke-direct {v1, p0, p1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;-><init>(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Landroid/content/ContentResolver;)V
|
||||
|
||||
sget-object v4, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
||||
|
||||
const-string p1, "_id"
|
||||
|
||||
const-string v0, "_data"
|
||||
|
||||
const-string v2, "_display_name"
|
||||
|
||||
filled-new-array {p1, v0, v2}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const-string v8, "date_added DESC"
|
||||
|
||||
move-object v3, p0
|
||||
|
||||
invoke-virtual/range {v1 .. v8}, Landroid/content/AsyncQueryHandler;->startQuery(ILjava/lang/Object;Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public getItemCount()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b:Landroid/database/Cursor;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-interface {v0}, Landroid/database/Cursor;->getCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public getItemId(I)J
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->a(I)Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/model/Attachment;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-wide/16 v0, -0x1
|
||||
|
||||
:goto_0
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public onAttachedToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "recyclerView"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onAttachedToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "recyclerView.context"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "recyclerView.context.contentResolver"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b(Landroid/content/ContentResolver;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;
|
||||
|
||||
const-string v0, "holder"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->a(I)Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iput-object p2, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->k:Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->n:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iget-object v0, v0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->a:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {v0, p2, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->a(Ljava/lang/Object;I)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p1, v0, v1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->d(ZZ)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->n:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iget v0, v0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->f:I
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->n:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iget v1, v1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->g:I
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1, p2, v0, v1}, Lf/b/a/c/i;->c(Lcom/lytefast/flexinput/model/Photo;Ljava/lang/Integer;Ljava/lang/Integer;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;ILjava/util/List;)V
|
||||
.locals 4
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;
|
||||
|
||||
const-string v0, "holder"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "payloads"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:cond_0
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
instance-of v3, v1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
move-object v1, v2
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
instance-of v0, v1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
move-object v2, v1
|
||||
|
||||
:goto_1
|
||||
check-cast v2, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
iget-boolean p2, v2, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->b:Z
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
invoke-virtual {p1, p2, p3}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;->d(ZZ)V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;ILjava/util/List;)V
|
||||
|
||||
:goto_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
||||
.locals 2
|
||||
|
||||
const-string p2, "parent"
|
||||
|
||||
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
sget v0, Lcom/lytefast/flexinput/R$f;->view_grid_image:I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;
|
||||
|
||||
const-string v0, "view"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p2, p0, p1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;-><init>(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Landroid/view/View;)V
|
||||
|
||||
return-object p2
|
||||
.end method
|
||||
|
||||
.method public onDetachedFromRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "recyclerView"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b:Landroid/database/Cursor;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-interface {v0}, Landroid/database/Cursor;->close()V
|
||||
|
||||
:cond_0
|
||||
invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onDetachedFromRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onViewRecycled(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$a;
|
||||
|
||||
const-string v0, "holder"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->onViewRecycled(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
||||
|
||||
invoke-virtual {p1}, Lf/b/a/c/i;->b()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,24 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/CameraFragment$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CameraFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,73 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/CameraFragment$c$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CameraFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/CameraFragment$c;->onClick(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/lytefast/flexinput/fragment/CameraFragment$c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/CameraFragment$c;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$c$a;->a:Lcom/lytefast/flexinput/fragment/CameraFragment$c;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b()V
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$c$a;->a:Lcom/lytefast/flexinput/fragment/CameraFragment$c;
|
||||
|
||||
iget-object v1, v0, Lcom/lytefast/flexinput/fragment/CameraFragment$c;->d:Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
sget v0, Lcom/lytefast/flexinput/R$g;->permission_media_denied:I
|
||||
|
||||
invoke-virtual {v1, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v0, "getString(R.string.permission_media_denied)"
|
||||
|
||||
invoke-static {v2, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/16 v6, 0xa
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static/range {v1 .. v7}, Lcom/lytefast/flexinput/fragment/CameraFragment;->l(Lcom/lytefast/flexinput/fragment/CameraFragment;Ljava/lang/String;Ljava/lang/Exception;ZLjava/lang/String;ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,59 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/CameraFragment$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CameraFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/CameraFragment;->onResume()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/CameraFragment;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$c;->d:Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 3
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$c;->d:Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/CameraFragment$c$a;
|
||||
|
||||
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/CameraFragment$c$a;-><init>(Lcom/lytefast/flexinput/fragment/CameraFragment$c;)V
|
||||
|
||||
sget-object v1, Lcom/lytefast/flexinput/fragment/CameraFragment;->l:[Ljava/lang/String;
|
||||
|
||||
array-length v2, v1
|
||||
|
||||
invoke-static {v1, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p1, v0, v1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->requestPermissions(Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;[Ljava/lang/String;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,41 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/CameraFragment$d;
|
||||
.super Lf/l/a/a;
|
||||
.source "CameraFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/CameraFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
.field public final synthetic b:Landroid/view/View;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/CameraFragment;Landroid/view/View;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/view/View;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$d;->a:Lcom/lytefast/flexinput/fragment/CameraFragment;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/CameraFragment$d;->b:Landroid/view/View;
|
||||
|
||||
invoke-direct {p0}, Lf/l/a/a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,32 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/FilesFragment$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FilesFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,45 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/FilesFragment$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FilesFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/FilesFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$a;->d:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 0
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$a;->d:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/FilesFragment;->access$requestPermissions(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,66 @@
|
|||
.class public final synthetic Lcom/lytefast/flexinput/fragment/FilesFragment$b;
|
||||
.super Lz/n/c/i;
|
||||
.source "FilesFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/FilesFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1019
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/n/c/i;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
.locals 7
|
||||
|
||||
const-class v3, Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const-string v4, "loadDownloadFolder"
|
||||
|
||||
const-string v5, "loadDownloadFolder()V"
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
invoke-direct/range {v0 .. v6}, Lz/n/c/i;-><init>(ILjava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lz/n/c/c;->receiver:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-static {v0}, Lcom/lytefast/flexinput/fragment/FilesFragment;->access$loadDownloadFolder(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,118 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/FilesFragment$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FilesFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/FilesFragment;->requestPermissions()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;->a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;->a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;->a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
new-instance v2, Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
invoke-static {v1}, Lcom/lytefast/flexinput/fragment/FilesFragment;->access$getSelectionCoordinator$p(Lcom/lytefast/flexinput/fragment/FilesFragment;)Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-static {v3}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-direct {v2, v0, v3}, Lcom/lytefast/flexinput/adapters/FileListAdapter;-><init>(Landroid/content/ContentResolver;Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
|
||||
invoke-static {v1, v2}, Lcom/lytefast/flexinput/fragment/FilesFragment;->access$setAdapter$p(Lcom/lytefast/flexinput/fragment/FilesFragment;Lcom/lytefast/flexinput/adapters/FileListAdapter;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;->a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/fragment/FilesFragment;->getRecyclerView$flexinput_release()Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;->a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-static {v1}, Lcom/lytefast/flexinput/fragment/FilesFragment;->access$getAdapter$p(Lcom/lytefast/flexinput/fragment/FilesFragment;)Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;->a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-static {v0}, Lcom/lytefast/flexinput/fragment/FilesFragment;->access$loadDownloadFolder(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;->a:Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget v1, Lcom/lytefast/flexinput/R$g;->files_permission_reason:I
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,432 @@
|
|||
.class public Lcom/lytefast/flexinput/fragment/FilesFragment;
|
||||
.super Lcom/lytefast/flexinput/fragment/PermissionsFragment;
|
||||
.source "FilesFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/fragment/FilesFragment$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final Companion:Lcom/lytefast/flexinput/fragment/FilesFragment$Companion;
|
||||
|
||||
.field public static final REQUIRED_PERMISSION:Ljava/lang/String; = "android.permission.READ_EXTERNAL_STORAGE"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public adapter:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
.field public recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
.field public selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator<",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Ljava/io/File;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/FilesFragment$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/lytefast/flexinput/fragment/FilesFragment$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/lytefast/flexinput/fragment/FilesFragment;->Companion:Lcom/lytefast/flexinput/fragment/FilesFragment$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$getAdapter$p(Lcom/lytefast/flexinput/fragment/FilesFragment;)Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
.locals 0
|
||||
|
||||
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->adapter:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$getSelectionCoordinator$p(Lcom/lytefast/flexinput/fragment/FilesFragment;)Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.locals 0
|
||||
|
||||
iget-object p0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$loadDownloadFolder(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/lytefast/flexinput/fragment/FilesFragment;->loadDownloadFolder()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$requestPermissions(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/lytefast/flexinput/fragment/FilesFragment;->requestPermissions()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$setAdapter$p(Lcom/lytefast/flexinput/fragment/FilesFragment;Lcom/lytefast/flexinput/adapters/FileListAdapter;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->adapter:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$setSelectionCoordinator$p(Lcom/lytefast/flexinput/fragment/FilesFragment;Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final loadDownloadFolder()V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->adapter:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroid/os/Environment;->DIRECTORY_DOWNLOADS:Ljava/lang/String;
|
||||
|
||||
invoke-static {v0}, Landroid/os/Environment;->getExternalStoragePublicDirectory(Ljava/lang/String;)Ljava/io/File;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->adapter:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
invoke-static {v2}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
const-string v3, "downloadFolder"
|
||||
|
||||
invoke-static {v0, v3}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v3, "root"
|
||||
|
||||
invoke-static {v0, v3}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v3, Lcom/lytefast/flexinput/adapters/FileListAdapter$a;
|
||||
|
||||
invoke-direct {v3, v2}, Lcom/lytefast/flexinput/adapters/FileListAdapter$a;-><init>(Lcom/lytefast/flexinput/adapters/FileListAdapter;)V
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
new-array v2, v2, [Ljava/io/File;
|
||||
|
||||
aput-object v0, v2, v1
|
||||
|
||||
invoke-virtual {v3, v2}, Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final requestPermissions()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/FilesFragment$c;
|
||||
|
||||
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/fragment/FilesFragment$c;-><init>(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
|
||||
const-string v1, "android.permission.READ_EXTERNAL_STORAGE"
|
||||
|
||||
filled-new-array {v1}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->requestPermissions(Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;[Ljava/lang/String;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getRecyclerView$flexinput_release()Landroidx/recyclerview/widget/RecyclerView;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getSwipeRefreshLayout$flexinput_release()Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public newPermissionsRequestAdapter(Landroid/view/View$OnClickListener;)Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "onClickListener"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
|
||||
sget v1, Lcom/lytefast/flexinput/R$f;->item_permission_storage:I
|
||||
|
||||
sget v2, Lcom/lytefast/flexinput/R$e;->permissions_req_btn:I
|
||||
|
||||
invoke-direct {v0, v1, v2, p1}, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;-><init>(IILandroid/view/View$OnClickListener;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.locals 2
|
||||
|
||||
const-string p3, "inflater"
|
||||
|
||||
invoke-static {p1, p3}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p3, Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
invoke-direct {p3, v0, v0, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;-><init>(Landroidx/collection/ArrayMap;Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;I)V
|
||||
|
||||
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getParentFragment()Landroidx/fragment/app/Fragment;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
invoke-virtual {p3}, Landroidx/fragment/app/Fragment;->getParentFragment()Landroidx/fragment/app/Fragment;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p3, v0
|
||||
|
||||
:goto_0
|
||||
instance-of v1, p3, Lf/b/a/b;
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
move-object p3, v0
|
||||
|
||||
:cond_1
|
||||
check-cast p3, Lf/b/a/b;
|
||||
|
||||
if-eqz p3, :cond_2
|
||||
|
||||
invoke-interface {p3}, Lf/b/a/b;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-static {v1}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p3, v1}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->registerSelectionCoordinator(Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
|
||||
:cond_2
|
||||
sget p3, Lcom/lytefast/flexinput/R$f;->fragment_recycler_view:I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p1, p3, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_6
|
||||
|
||||
sget p2, Lcom/lytefast/flexinput/R$e;->list:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
const-string p2, "android.permission.READ_EXTERNAL_STORAGE"
|
||||
|
||||
filled-new-array {p2}, [Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->hasPermissions([Ljava/lang/String;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
new-instance p2, Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
const-string v0, "context.contentResolver"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-direct {p2, p3, v0}, Lcom/lytefast/flexinput/adapters/FileListAdapter;-><init>(Landroid/content/ContentResolver;Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->adapter:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
||||
|
||||
iget-object p3, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
if-eqz p3, :cond_4
|
||||
|
||||
invoke-virtual {p3, p2}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
if-eqz p2, :cond_4
|
||||
|
||||
new-instance p3, Lcom/lytefast/flexinput/fragment/FilesFragment$a;
|
||||
|
||||
invoke-direct {p3, p0}, Lcom/lytefast/flexinput/fragment/FilesFragment$a;-><init>(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
|
||||
invoke-virtual {p0, p3}, Lcom/lytefast/flexinput/fragment/FilesFragment;->newPermissionsRequestAdapter(Landroid/view/View$OnClickListener;)Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
sget p2, Lcom/lytefast/flexinput/R$e;->swipeRefreshLayout:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
if-eqz p2, :cond_5
|
||||
|
||||
new-instance p3, Lcom/lytefast/flexinput/fragment/FilesFragment$b;
|
||||
|
||||
invoke-direct {p3, p0}, Lcom/lytefast/flexinput/fragment/FilesFragment$b;-><init>(Lcom/lytefast/flexinput/fragment/FilesFragment;)V
|
||||
|
||||
new-instance v0, Lf/b/a/a/f;
|
||||
|
||||
invoke-direct {v0, p3}, Lf/b/a/a/f;-><init>(Lkotlin/jvm/functions/Function0;)V
|
||||
|
||||
invoke-virtual {p2, v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setOnRefreshListener(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;)V
|
||||
|
||||
:cond_5
|
||||
move-object v0, p1
|
||||
|
||||
:cond_6
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onDestroyView()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, v0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->c:Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
|
||||
invoke-interface {v0}, Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;->unregister()V
|
||||
|
||||
:cond_0
|
||||
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDestroyView()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onStart()V
|
||||
.locals 0
|
||||
|
||||
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onStart()V
|
||||
|
||||
invoke-direct {p0}, Lcom/lytefast/flexinput/fragment/FilesFragment;->loadDownloadFolder()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setRecyclerView$flexinput_release(Landroidx/recyclerview/widget/RecyclerView;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setSwipeRefreshLayout$flexinput_release(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FilesFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,87 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FlexInputFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e(Lcom/lytefast/flexinput/model/Attachment;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Landroidx/fragment/app/DialogFragment;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/fragment/app/DialogFragment;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;->d:Landroidx/fragment/app/DialogFragment;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final run()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;->d:Landroidx/fragment/app/DialogFragment;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;->d:Landroidx/fragment/app/DialogFragment;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isRemoving()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;->d:Landroidx/fragment/app/DialogFragment;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isDetached()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$b;->d:Landroidx/fragment/app/DialogFragment;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/DialogFragment;->dismiss()V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
sget-object v1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->D:Ljava/lang/String;
|
||||
|
||||
const-string v2, "could not dismiss add content dialog"
|
||||
|
||||
invoke-static {v1, v2, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,78 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/FlexInputFragment$c;
|
||||
.super Lz/n/c/k;
|
||||
.source "FlexInputFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/FlexInputFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/n/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Landroid/text/Editable;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$c;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lz/n/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 3
|
||||
|
||||
check-cast p1, Landroid/text/Editable;
|
||||
|
||||
const-string v0, "it"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$c;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object v0, v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {v0, p1, v2, v1, v2}, Lf/h/a/f/f/n/f;->X(Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;Ljava/lang/String;Ljava/lang/Boolean;ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,73 @@
|
|||
.class public final synthetic Lcom/lytefast/flexinput/fragment/FlexInputFragment$d;
|
||||
.super Lz/n/c/i;
|
||||
.source "FlexInputFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/FlexInputFragment;->onResume()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1019
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/n/c/i;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/lytefast/flexinput/viewmodel/FlexInputState;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
||||
.locals 7
|
||||
|
||||
const-class v3, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const-string v4, "configureUI"
|
||||
|
||||
const-string v5, "configureUI(Lcom/lytefast/flexinput/viewmodel/FlexInputState;)V"
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
invoke-direct/range {v0 .. v6}, Lz/n/c/i;-><init>(ILjava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;
|
||||
|
||||
const-string v0, "p1"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lz/n/c/c;->receiver:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->g(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Lcom/lytefast/flexinput/viewmodel/FlexInputState;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,73 @@
|
|||
.class public final synthetic Lcom/lytefast/flexinput/fragment/FlexInputFragment$e;
|
||||
.super Lz/n/c/i;
|
||||
.source "FlexInputFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/FlexInputFragment;->onResume()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1019
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lz/n/c/i;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lf/b/a/f/a;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
||||
.locals 7
|
||||
|
||||
const-class v3, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const-string v4, "handleEvent"
|
||||
|
||||
const-string v5, "handleEvent(Lcom/lytefast/flexinput/viewmodel/FlexInputEvent;)V"
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
invoke-direct/range {v0 .. v6}, Lz/n/c/i;-><init>(ILjava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lf/b/a/f/a;
|
||||
|
||||
const-string v0, "p1"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lz/n/c/c;->receiver:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->k(Lcom/lytefast/flexinput/fragment/FlexInputFragment;Lf/b/a/f/a;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,32 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/PermissionsFragment$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PermissionsFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/fragment/PermissionsFragment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,22 @@
|
|||
.class public interface abstract Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PermissionsFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/fragment/PermissionsFragment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "PermissionsResultCallback"
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()V
|
||||
.end method
|
||||
|
||||
.method public abstract b()V
|
||||
.end method
|
|
@ -0,0 +1,261 @@
|
|||
.class public Lcom/lytefast/flexinput/fragment/PermissionsFragment;
|
||||
.super Landroidx/fragment/app/Fragment;
|
||||
.source "PermissionsFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;,
|
||||
Lcom/lytefast/flexinput/fragment/PermissionsFragment$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final Companion:Lcom/lytefast/flexinput/fragment/PermissionsFragment$Companion;
|
||||
|
||||
.field public static final PERMISSIONS_REQUEST_CODE:I = 0x9dd
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public permissionRequestCallback:Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/PermissionsFragment$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->Companion:Lcom/lytefast/flexinput/fragment/PermissionsFragment$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/fragment/app/Fragment;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public varargs areAllPermissionsGranted([I)Z
|
||||
.locals 5
|
||||
|
||||
const-string v0, "permissionsAccessList"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
array-length v0, p1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
return v2
|
||||
|
||||
:cond_1
|
||||
array-length v0, p1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_1
|
||||
if-ge v3, v0, :cond_4
|
||||
|
||||
aget v4, p1, v3
|
||||
|
||||
if-nez v4, :cond_2
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_2
|
||||
if-nez v4, :cond_3
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
:goto_3
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public varargs hasPermissions([Ljava/lang/String;)Z
|
||||
.locals 6
|
||||
|
||||
const-string v0, "requiredPermissionList"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
array-length v2, p1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-ge v3, v2, :cond_2
|
||||
|
||||
aget-object v5, p1, v3
|
||||
|
||||
invoke-static {v0, v5}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
|
||||
|
||||
move-result v5
|
||||
|
||||
if-nez v5, :cond_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_1
|
||||
if-nez v4, :cond_1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_3
|
||||
:goto_2
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "permissions"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p2, "grantResults"
|
||||
|
||||
invoke-static {p3, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget p2, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->PERMISSIONS_REQUEST_CODE:I
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eq p1, p2, :cond_0
|
||||
|
||||
iput-object v0, p0, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->permissionRequestCallback:Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->permissionRequestCallback:Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
array-length p2, p3
|
||||
|
||||
invoke-static {p3, p2}, Ljava/util/Arrays;->copyOf([II)[I
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->areAllPermissionsGranted([I)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
invoke-interface {p1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;->a()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-interface {p1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;->b()V
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
iput-object v0, p0, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->permissionRequestCallback:Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final varargs requestPermissions(Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;[Ljava/lang/String;)Z
|
||||
.locals 1
|
||||
|
||||
const-string v0, "callback"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "requiredPermissions"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
array-length v0, p2
|
||||
|
||||
invoke-static {p2, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, v0}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->hasPermissions([Ljava/lang/String;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->permissionRequestCallback:Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
sget p1, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->PERMISSIONS_REQUEST_CODE:I
|
||||
|
||||
invoke-virtual {p0, p2, p1}, Landroidx/fragment/app/Fragment;->requestPermissions([Ljava/lang/String;I)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
invoke-interface {p1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;->a()V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -0,0 +1,32 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/PhotosFragment$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PhotosFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,51 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/PhotosFragment$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PhotosFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/PhotosFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
.field public final synthetic e:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Lcom/lytefast/flexinput/fragment/PhotosFragment;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$a;->d:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$a;->e:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 1
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$a;->e:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$a;->d:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
invoke-static {p1, v0}, Lcom/lytefast/flexinput/fragment/PhotosFragment;->access$requestPermissions(Lcom/lytefast/flexinput/fragment/PhotosFragment;Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,99 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/PhotosFragment$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PhotosFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/PhotosFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Landroid/view/View;
|
||||
|
||||
.field public final synthetic b:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
.field public final synthetic c:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/view/View;Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Lcom/lytefast/flexinput/fragment/PhotosFragment;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;->a:Landroid/view/View;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;->b:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;->c:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onRefresh()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;->c:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
const-string v1, "android.permission.READ_EXTERNAL_STORAGE"
|
||||
|
||||
filled-new-array {v1}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->hasPermissions([Ljava/lang/String;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;->b:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;->a:Landroid/view/View;
|
||||
|
||||
invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "context"
|
||||
|
||||
invoke-static {v1, v2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "context.contentResolver"
|
||||
|
||||
invoke-static {v1, v2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b(Landroid/content/ContentResolver;)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;->c:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/fragment/PhotosFragment;->getSwipeRefreshLayout$flexinput_release()Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,118 @@
|
|||
.class public final Lcom/lytefast/flexinput/fragment/PhotosFragment$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PhotosFragment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/fragment/PhotosFragment;->requestPermissions(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
.field public final synthetic b:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/fragment/PhotosFragment;Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->a:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->b:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->a:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/fragment/PhotosFragment;->getRecyclerView$flexinput_release()Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
new-instance v1, Landroidx/recyclerview/widget/GridLayoutManager;
|
||||
|
||||
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->a:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-virtual {v2}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const/4 v3, 0x3
|
||||
|
||||
invoke-direct {v1, v2, v3}, Landroidx/recyclerview/widget/GridLayoutManager;-><init>(Landroid/content/Context;I)V
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->a:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/fragment/PhotosFragment;->getRecyclerView$flexinput_release()Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->b:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->a:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/fragment/PhotosFragment;->getRecyclerView$flexinput_release()Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->invalidateItemDecorations()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;->a:Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget v1, Lcom/lytefast/flexinput/R$g;->files_permission_reason:I
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,386 @@
|
|||
.class public Lcom/lytefast/flexinput/fragment/PhotosFragment;
|
||||
.super Lcom/lytefast/flexinput/fragment/PermissionsFragment;
|
||||
.source "PhotosFragment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/fragment/PhotosFragment$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final Companion:Lcom/lytefast/flexinput/fragment/PhotosFragment$Companion;
|
||||
|
||||
.field public static final GRID_LAYOUT_SPAN_COUNT:I = 0x3
|
||||
|
||||
.field public static final REQUIRED_PERMISSION:Ljava/lang/String; = "android.permission.READ_EXTERNAL_STORAGE"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
.field public selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator<",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lcom/lytefast/flexinput/model/Photo;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/PhotosFragment$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/lytefast/flexinput/fragment/PhotosFragment$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->Companion:Lcom/lytefast/flexinput/fragment/PhotosFragment$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$requestPermissions(Lcom/lytefast/flexinput/fragment/PhotosFragment;Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Lcom/lytefast/flexinput/fragment/PhotosFragment;->requestPermissions(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final requestPermissions(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lcom/lytefast/flexinput/fragment/PhotosFragment$c;-><init>(Lcom/lytefast/flexinput/fragment/PhotosFragment;Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;)V
|
||||
|
||||
const-string p1, "android.permission.READ_EXTERNAL_STORAGE"
|
||||
|
||||
filled-new-array {p1}, [Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->requestPermissions(Lcom/lytefast/flexinput/fragment/PermissionsFragment$PermissionsResultCallback;[Ljava/lang/String;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getRecyclerView$flexinput_release()Landroidx/recyclerview/widget/RecyclerView;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getSwipeRefreshLayout$flexinput_release()Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public newPermissionsRequestAdapter(Landroid/view/View$OnClickListener;)Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "onClickListener"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
|
||||
sget v1, Lcom/lytefast/flexinput/R$f;->item_permission_storage:I
|
||||
|
||||
sget v2, Lcom/lytefast/flexinput/R$e;->permissions_req_btn:I
|
||||
|
||||
invoke-direct {v0, v1, v2, p1}, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;-><init>(IILandroid/view/View$OnClickListener;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.locals 3
|
||||
|
||||
const-string p3, "inflater"
|
||||
|
||||
invoke-static {p1, p3}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p3, Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
invoke-direct {p3, v0, v0, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;-><init>(Landroidx/collection/ArrayMap;Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;I)V
|
||||
|
||||
iput-object p3, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getParentFragment()Landroidx/fragment/app/Fragment;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
invoke-virtual {p3}, Landroidx/fragment/app/Fragment;->getParentFragment()Landroidx/fragment/app/Fragment;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p3, v0
|
||||
|
||||
:goto_0
|
||||
instance-of v2, p3, Lf/b/a/b;
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
move-object p3, v0
|
||||
|
||||
:cond_1
|
||||
check-cast p3, Lf/b/a/b;
|
||||
|
||||
if-eqz p3, :cond_2
|
||||
|
||||
invoke-interface {p3}, Lf/b/a/b;->b()Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
iget-object v2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-static {v2}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p3, v2}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->registerSelectionCoordinator(Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
|
||||
:cond_2
|
||||
sget p3, Lcom/lytefast/flexinput/R$f;->fragment_recycler_view:I
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {p1, p3, p2, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_9
|
||||
|
||||
sget p2, Lcom/lytefast/flexinput/R$e;->list:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
invoke-virtual {p2}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
invoke-interface {p2}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:cond_3
|
||||
new-instance p2, Landroid/graphics/Point;
|
||||
|
||||
invoke-direct {p2}, Landroid/graphics/Point;-><init>()V
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
invoke-virtual {v0, p2}, Landroid/view/Display;->getSize(Landroid/graphics/Point;)V
|
||||
|
||||
:cond_4
|
||||
iget p2, p2, Landroid/graphics/Point;->x:I
|
||||
|
||||
int-to-float p2, p2
|
||||
|
||||
int-to-float p3, v1
|
||||
|
||||
div-float/2addr p2, p3
|
||||
|
||||
float-to-int p2, p2
|
||||
|
||||
new-instance p3, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-direct {p3, v0, p2, p2}, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;-><init>(Lcom/lytefast/flexinput/utils/SelectionCoordinator;II)V
|
||||
|
||||
const-string p2, "android.permission.READ_EXTERNAL_STORAGE"
|
||||
|
||||
filled-new-array {p2}, [Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p0, p2}, Lcom/lytefast/flexinput/fragment/PermissionsFragment;->hasPermissions([Ljava/lang/String;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_6
|
||||
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
if-eqz p2, :cond_5
|
||||
|
||||
new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager;
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {v0, v2, v1}, Landroidx/recyclerview/widget/GridLayoutManager;-><init>(Landroid/content/Context;I)V
|
||||
|
||||
invoke-virtual {p2, v0}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
||||
|
||||
:cond_5
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
if-eqz p2, :cond_7
|
||||
|
||||
invoke-virtual {p2, p3}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_6
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
if-eqz p2, :cond_7
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/PhotosFragment$a;
|
||||
|
||||
invoke-direct {v0, p3, p0}, Lcom/lytefast/flexinput/fragment/PhotosFragment$a;-><init>(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Lcom/lytefast/flexinput/fragment/PhotosFragment;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lcom/lytefast/flexinput/fragment/PhotosFragment;->newPermissionsRequestAdapter(Landroid/view/View$OnClickListener;)Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p2, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
||||
|
||||
:cond_7
|
||||
:goto_1
|
||||
sget p2, Lcom/lytefast/flexinput/R$e;->swipeRefreshLayout:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
check-cast p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
if-eqz p2, :cond_8
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;
|
||||
|
||||
invoke-direct {v0, p1, p3, p0}, Lcom/lytefast/flexinput/fragment/PhotosFragment$b;-><init>(Landroid/view/View;Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Lcom/lytefast/flexinput/fragment/PhotosFragment;)V
|
||||
|
||||
invoke-virtual {p2, v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setOnRefreshListener(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;)V
|
||||
|
||||
:cond_8
|
||||
move-object v0, p1
|
||||
|
||||
:cond_9
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onDestroyView()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->selectionCoordinator:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-static {v0}, Lz/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v0, v0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->c:Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
|
||||
invoke-interface {v0}, Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;->unregister()V
|
||||
|
||||
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDestroyView()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onPause()V
|
||||
.locals 2
|
||||
|
||||
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onPause()V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setEnabled(Z)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onResume()V
|
||||
.locals 2
|
||||
|
||||
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onResume()V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setEnabled(Z)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setRecyclerView$flexinput_release(Landroidx/recyclerview/widget/RecyclerView;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setSwipeRefreshLayout$flexinput_release(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/fragment/PhotosFragment;->swipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,11 @@
|
|||
.class public interface abstract Lcom/lytefast/flexinput/managers/FileManager;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FileManager.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;
|
||||
.end method
|
||||
|
||||
.method public abstract b()Ljava/io/File;
|
||||
.end method
|
|
@ -0,0 +1,411 @@
|
|||
.class public final Lcom/lytefast/flexinput/model/Attachment$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Attachment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/model/Attachment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/net/Uri;Landroid/content/ContentResolver;)Lcom/lytefast/flexinput/model/Attachment;
|
||||
.locals 10
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/net/Uri;",
|
||||
"Landroid/content/ContentResolver;",
|
||||
")",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "$this$toAttachment"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "resolver"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "$this$getFileName"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "contentResolver"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto/16 :goto_2
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const v2, 0x2ff57c
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eq v1, v2, :cond_5
|
||||
|
||||
const v2, 0x38b73479
|
||||
|
||||
if-eq v1, v2, :cond_1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
const-string v1, "content"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v4, p2
|
||||
|
||||
move-object v5, p1
|
||||
|
||||
invoke-virtual/range {v4 .. v9}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-eqz p2, :cond_4
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {p2}, Landroid/database/Cursor;->moveToFirst()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
const-string v0, "_display_name"
|
||||
|
||||
invoke-interface {p2, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-ltz v0, :cond_3
|
||||
|
||||
invoke-interface {p2, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p1}, Landroid/net/Uri;->getLastPathSegment()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p2, v3}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
invoke-static {p2, v3}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
throw p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
invoke-static {p2, p1}, Lz/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
invoke-virtual {p1}, Landroid/net/Uri;->getLastPathSegment()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
const-string p2, "file"
|
||||
|
||||
invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_6
|
||||
|
||||
new-instance p2, Ljava/io/File;
|
||||
|
||||
invoke-virtual {p1}, Landroid/net/Uri;->getPath()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
invoke-direct {p2, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Ljava/io/File;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
:goto_2
|
||||
invoke-virtual {p1}, Landroid/net/Uri;->getLastPathSegment()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
:cond_7
|
||||
:goto_3
|
||||
if-eqz v3, :cond_8
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_8
|
||||
invoke-virtual {p1}, Landroid/net/Uri;->hashCode()I
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
:goto_4
|
||||
move-object v8, v3
|
||||
|
||||
new-instance p2, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
invoke-virtual {p1}, Landroid/net/Uri;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
int-to-long v5, v0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v4, p2
|
||||
|
||||
move-object v7, p1
|
||||
|
||||
invoke-direct/range {v4 .. v9}, Lcom/lytefast/flexinput/model/Attachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
return-object p2
|
||||
.end method
|
||||
|
||||
.method public final b(Landroidx/core/view/inputmethod/InputContentInfoCompat;Landroid/content/ContentResolver;ZLjava/lang/String;)Lcom/lytefast/flexinput/model/Attachment;
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
||||
"Landroid/content/ContentResolver;",
|
||||
"Z",
|
||||
"Ljava/lang/String;",
|
||||
")",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "$this$toAttachment"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "resolver"
|
||||
|
||||
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "defaultName"
|
||||
|
||||
invoke-static {p4, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroidx/core/view/inputmethod/InputContentInfoCompat;->getContentUri()Landroid/net/Uri;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "fileName"
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
move-object p4, v0
|
||||
|
||||
:cond_0
|
||||
const-string v0, "contentUri.getQueryParam\u2026fileName\") ?: defaultName"
|
||||
|
||||
invoke-static {p4, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget-char v0, Ljava/io/File;->separatorChar:C
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
invoke-static {p4, v0, v1, v2}, Lz/t/p;->substringAfterLast$default(Ljava/lang/String;CLjava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p4
|
||||
|
||||
if-eqz p3, :cond_3
|
||||
|
||||
invoke-virtual {p1}, Landroidx/core/view/inputmethod/InputContentInfoCompat;->getDescription()Landroid/content/ClipDescription;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p3, v0}, Landroid/content/ClipDescription;->getMimeType(I)Ljava/lang/String;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
if-eqz p3, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p1}, Landroidx/core/view/inputmethod/InputContentInfoCompat;->getContentUri()Landroid/net/Uri;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
const-string v0, "mimeType"
|
||||
|
||||
invoke-virtual {p3, v0}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
:goto_0
|
||||
if-eqz p3, :cond_2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p1}, Landroidx/core/view/inputmethod/InputContentInfoCompat;->getContentUri()Landroid/net/Uri;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p2, p3}, Landroid/content/ContentResolver;->getType(Landroid/net/Uri;)Ljava/lang/String;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
:goto_1
|
||||
if-eqz p3, :cond_3
|
||||
|
||||
new-instance p2, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p2, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v0, 0x2e
|
||||
|
||||
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v0, 0x2f
|
||||
|
||||
invoke-static {p3, v0, v1, v2}, Lz/t/p;->substringAfterLast$default(Ljava/lang/String;CLjava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
move-object v4, p2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
move-object v4, p4
|
||||
|
||||
:goto_2
|
||||
new-instance p2, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/core/view/inputmethod/InputContentInfoCompat;->getContentUri()Landroid/net/Uri;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-virtual {p3}, Landroid/net/Uri;->hashCode()I
|
||||
|
||||
move-result p3
|
||||
|
||||
int-to-long v1, p3
|
||||
|
||||
invoke-virtual {p1}, Landroidx/core/view/inputmethod/InputContentInfoCompat;->getContentUri()Landroid/net/Uri;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string p3, "contentUri"
|
||||
|
||||
invoke-static {v3, p3}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v0, p2
|
||||
|
||||
move-object v5, p1
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lcom/lytefast/flexinput/model/Attachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
return-object p2
|
||||
.end method
|
|
@ -0,0 +1,60 @@
|
|||
.class public final Lcom/lytefast/flexinput/model/Attachment$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Attachment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/Parcelable$Creator;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/model/Attachment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Landroid/os/Parcelable$Creator<",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"*>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "parcelIn"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
invoke-direct {v0, p1}, Lcom/lytefast/flexinput/model/Attachment;-><init>(Landroid/os/Parcel;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public newArray(I)[Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
new-array p1, p1, [Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,371 @@
|
|||
.class public Lcom/lytefast/flexinput/model/Attachment;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Attachment.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/Parcelable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/model/Attachment$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Landroid/os/Parcelable;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/os/Parcelable$Creator<",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"*>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static final Companion:Lcom/lytefast/flexinput/model/Attachment$Companion;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final data:Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"TT;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final displayName:Ljava/lang/String;
|
||||
|
||||
.field public final id:J
|
||||
|
||||
.field public final uri:Landroid/net/Uri;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/model/Attachment$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/lytefast/flexinput/model/Attachment$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/lytefast/flexinput/model/Attachment;->Companion:Lcom/lytefast/flexinput/model/Attachment$Companion;
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/model/Attachment$a;
|
||||
|
||||
invoke-direct {v0}, Lcom/lytefast/flexinput/model/Attachment$a;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/lytefast/flexinput/model/Attachment;->CREATOR:Landroid/os/Parcelable$Creator;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(J",
|
||||
"Landroid/net/Uri;",
|
||||
"Ljava/lang/String;",
|
||||
"TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "uri"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "displayName"
|
||||
|
||||
invoke-static {p4, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-wide p1, p0, Lcom/lytefast/flexinput/model/Attachment;->id:J
|
||||
|
||||
iput-object p3, p0, Lcom/lytefast/flexinput/model/Attachment;->uri:Landroid/net/Uri;
|
||||
|
||||
iput-object p4, p0, Lcom/lytefast/flexinput/model/Attachment;->displayName:Ljava/lang/String;
|
||||
|
||||
iput-object p5, p0, Lcom/lytefast/flexinput/model/Attachment;->data:Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 6
|
||||
|
||||
and-int/lit8 p6, p6, 0x8
|
||||
|
||||
if-eqz p6, :cond_0
|
||||
|
||||
const/4 p5, 0x0
|
||||
|
||||
:cond_0
|
||||
move-object v5, p5
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-wide v1, p1
|
||||
|
||||
move-object v3, p3
|
||||
|
||||
move-object v4, p4
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lcom/lytefast/flexinput/model/Attachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/os/Parcel;)V
|
||||
.locals 7
|
||||
|
||||
const-string v0, "parcelIn"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
const-class v0, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroid/net/Uri;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroid/net/Uri;->EMPTY:Landroid/net/Uri;
|
||||
|
||||
const-string v1, "Uri.EMPTY"
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:goto_0
|
||||
move-object v4, v0
|
||||
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const-string p1, ""
|
||||
|
||||
:goto_1
|
||||
move-object v5, p1
|
||||
|
||||
const-string p1, "parcelIn.readString() ?: \"\""
|
||||
|
||||
invoke-static {v5, p1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lcom/lytefast/flexinput/model/Attachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final toAttachment(Landroid/net/Uri;Landroid/content/ContentResolver;)Lcom/lytefast/flexinput/model/Attachment;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/net/Uri;",
|
||||
"Landroid/content/ContentResolver;",
|
||||
")",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/lytefast/flexinput/model/Attachment;->Companion:Lcom/lytefast/flexinput/model/Attachment$Companion;
|
||||
|
||||
invoke-virtual {v0, p0, p1}, Lcom/lytefast/flexinput/model/Attachment$Companion;->a(Landroid/net/Uri;Landroid/content/ContentResolver;)Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final toAttachment(Landroidx/core/view/inputmethod/InputContentInfoCompat;Landroid/content/ContentResolver;ZLjava/lang/String;)Lcom/lytefast/flexinput/model/Attachment;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
||||
"Landroid/content/ContentResolver;",
|
||||
"Z",
|
||||
"Ljava/lang/String;",
|
||||
")",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/lytefast/flexinput/model/Attachment;->Companion:Lcom/lytefast/flexinput/model/Attachment$Companion;
|
||||
|
||||
invoke-virtual {v0, p0, p1, p2, p3}, Lcom/lytefast/flexinput/model/Attachment$Companion;->b(Landroidx/core/view/inputmethod/InputContentInfoCompat;Landroid/content/ContentResolver;ZLjava/lang/String;)Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public describeContents()I
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 6
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v1, p1, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-wide v1, p0, Lcom/lytefast/flexinput/model/Attachment;->id:J
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
iget-wide v3, p1, Lcom/lytefast/flexinput/model/Attachment;->id:J
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-nez v5, :cond_0
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/model/Attachment;->uri:Landroid/net/Uri;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/model/Attachment;->uri:Landroid/net/Uri;
|
||||
|
||||
invoke-static {v1, p1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
:cond_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getData()Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/model/Attachment;->data:Ljava/lang/Object;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getDisplayName()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/model/Attachment;->displayName:Ljava/lang/String;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getId()J
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lcom/lytefast/flexinput/model/Attachment;->id:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final getUri()Landroid/net/Uri;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/model/Attachment;->uri:Landroid/net/Uri;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lcom/lytefast/flexinput/model/Attachment;->id:J
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/model/Attachment;->uri:Landroid/net/Uri;
|
||||
|
||||
invoke-static {v0, v1}, Lt/a/b/b/a;->G(Ljava/lang/Object;Ljava/lang/Object;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public writeToParcel(Landroid/os/Parcel;I)V
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/CallSuper;
|
||||
.end annotation
|
||||
|
||||
const-string v0, "dest"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v0, p0, Lcom/lytefast/flexinput/model/Attachment;->id:J
|
||||
|
||||
invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/model/Attachment;->uri:Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V
|
||||
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/model/Attachment;->displayName:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,60 @@
|
|||
.class public final Lcom/lytefast/flexinput/model/Photo$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Photo.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/Parcelable$Creator;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/model/Photo;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Landroid/os/Parcelable$Creator<",
|
||||
"Lcom/lytefast/flexinput/model/Photo;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "parcel"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
invoke-direct {v0, p1}, Lcom/lytefast/flexinput/model/Photo;-><init>(Landroid/os/Parcel;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public newArray(I)[Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
new-array p1, p1, [Lcom/lytefast/flexinput/model/Photo;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,67 @@
|
|||
.class public final Lcom/lytefast/flexinput/model/Photo;
|
||||
.super Lcom/lytefast/flexinput/model/Attachment;
|
||||
.source "Photo.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/os/Parcelable$Creator<",
|
||||
"Lcom/lytefast/flexinput/model/Photo;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/model/Photo$a;
|
||||
|
||||
invoke-direct {v0}, Lcom/lytefast/flexinput/model/Photo$a;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/lytefast/flexinput/model/Photo;->CREATOR:Landroid/os/Parcelable$Creator;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "uri"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "displayName"
|
||||
|
||||
invoke-static {p4, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct/range {p0 .. p5}, Lcom/lytefast/flexinput/model/Attachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/os/Parcel;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "parcelIn"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0, p1}, Lcom/lytefast/flexinput/model/Attachment;-><init>(Landroid/os/Parcel;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,32 @@
|
|||
.class public final Lcom/lytefast/flexinput/utils/SelectionAggregator$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SelectionAggregator.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,102 @@
|
|||
.class public final Lcom/lytefast/flexinput/utils/SelectionAggregator$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SelectionAggregator.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/utils/SelectionAggregator;->registerSelectionCoordinatorInternal(Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
.field public final synthetic b:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/utils/SelectionAggregator;Lcom/lytefast/flexinput/utils/SelectionCoordinator;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/utils/SelectionAggregator$a;->a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/utils/SelectionAggregator$a;->b:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onItemSelected(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
const-string v0, "item"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionAggregator$a;->a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->access$addItem(Lcom/lytefast/flexinput/utils/SelectionAggregator;Lcom/lytefast/flexinput/model/Attachment;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onItemUnselected(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/model/Attachment;
|
||||
|
||||
const-string v0, "item"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionAggregator$a;->a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->access$removeItem(Lcom/lytefast/flexinput/utils/SelectionAggregator;Lcom/lytefast/flexinput/model/Attachment;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public unregister()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionAggregator$a;->a:Lcom/lytefast/flexinput/utils/SelectionAggregator;
|
||||
|
||||
invoke-virtual {v0}, Lcom/lytefast/flexinput/utils/SelectionAggregator;->getChildSelectionCoordinators()Ljava/util/ArrayList;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/utils/SelectionAggregator$a;->b:Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,44 @@
|
|||
.class public interface abstract Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SelectionCoordinator.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "ItemSelectionListener"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<I:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onItemSelected(Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TI;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract onItemUnselected(Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TI;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract unregister()V
|
||||
.end method
|
|
@ -0,0 +1,28 @@
|
|||
.class public final Lcom/lytefast/flexinput/utils/SelectionCoordinator$RestorationException;
|
||||
.super Ljava/lang/Exception;
|
||||
.source "SelectionCoordinator.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "RestorationException"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "msg"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,156 @@
|
|||
.class public final Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SelectionCoordinator.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"TT;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final b:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/Object;Z)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;Z)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->a:Ljava/lang/Object;
|
||||
|
||||
iput-boolean p2, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->b:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->a:Ljava/lang/Object;
|
||||
|
||||
iget-object v1, p1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->a:Ljava/lang/Object;
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->b:Z
|
||||
|
||||
iget-boolean p1, p1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->b:Z
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->a:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->b:Z
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_1
|
||||
add-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "SelectionEvent(item="
|
||||
|
||||
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->a:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", isSelected="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;->b:Z
|
||||
|
||||
const-string v2, ")"
|
||||
|
||||
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->A(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,257 @@
|
|||
.class public Lcom/lytefast/flexinput/utils/SelectionCoordinator;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SelectionCoordinator.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/lytefast/flexinput/utils/SelectionCoordinator$RestorationException;,
|
||||
Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;,
|
||||
Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<I:",
|
||||
"Ljava/lang/Object;",
|
||||
"T::TI;>",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public a:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/recyclerview/widget/RecyclerView$Adapter<",
|
||||
"*>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final b:Landroidx/collection/ArrayMap;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/collection/ArrayMap<",
|
||||
"TT;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public c:Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener<",
|
||||
"-TI;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
invoke-direct {p0, v0, v0, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator;-><init>(Landroidx/collection/ArrayMap;Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroidx/collection/ArrayMap;Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;I)V
|
||||
.locals 1
|
||||
|
||||
and-int/lit8 p1, p3, 0x1
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance p1, Landroidx/collection/ArrayMap;
|
||||
|
||||
const/4 v0, 0x4
|
||||
|
||||
invoke-direct {p1, v0}, Landroidx/collection/ArrayMap;-><init>(I)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p1, p2
|
||||
|
||||
:goto_0
|
||||
and-int/lit8 p3, p3, 0x2
|
||||
|
||||
if-eqz p3, :cond_1
|
||||
|
||||
new-instance p2, Lf/b/a/e/c;
|
||||
|
||||
invoke-direct {p2}, Lf/b/a/e/c;-><init>()V
|
||||
|
||||
:cond_1
|
||||
const-string p3, "selectedItemPositionMap"
|
||||
|
||||
invoke-static {p1, p3}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p3, "itemSelectionListener"
|
||||
|
||||
invoke-static {p2, p3}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b:Landroidx/collection/ArrayMap;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->c:Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/lang/Object;I)Z
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;I)Z"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b:Landroidx/collection/ArrayMap;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Integer;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eq p2, v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b:Landroidx/collection/ArrayMap;
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final b(Ljava/lang/Object;I)V
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;I)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b:Landroidx/collection/ArrayMap;
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->a:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-direct {v1, p1, v2}, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;-><init>(Ljava/lang/Object;Z)V
|
||||
|
||||
invoke-virtual {v0, p2, v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->c:Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
|
||||
invoke-interface {p2, p1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;->onItemSelected(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final c(Ljava/lang/Object;)Z
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TI;)Z"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->b:Landroidx/collection/ArrayMap;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-static {v0}, Lz/n/c/w;->asMutableMap(Ljava/lang/Object;)Ljava/util/Map;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Integer;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v2, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->a:Landroidx/recyclerview/widget/RecyclerView$Adapter;
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
new-instance v3, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;
|
||||
|
||||
invoke-direct {v3, p1, v1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator$a;-><init>(Ljava/lang/Object;Z)V
|
||||
|
||||
invoke-virtual {v2, v0, v3}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/utils/SelectionCoordinator;->c:Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;
|
||||
|
||||
invoke-interface {v0, p1}, Lcom/lytefast/flexinput/utils/SelectionCoordinator$ItemSelectionListener;->onItemUnselected(Ljava/lang/Object;)V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type kotlin.collections.MutableMap<K, V>"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -0,0 +1,576 @@
|
|||
.class public final Lcom/lytefast/flexinput/viewmodel/FlexInputState;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FlexInputState.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/lang/String;
|
||||
|
||||
.field public final b:Z
|
||||
|
||||
.field public final c:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"Ljava/lang/Object;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final d:Ljava/lang/Integer;
|
||||
|
||||
.field public final e:Z
|
||||
|
||||
.field public final f:Z
|
||||
|
||||
.field public final g:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 9
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/16 v8, 0x7f
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v8}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;-><init>(Ljava/lang/String;ZLjava/util/List;Ljava/lang/Integer;ZZZI)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;ZLjava/util/List;Ljava/lang/Integer;ZZZ)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Z",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"+",
|
||||
"Ljava/lang/Object;",
|
||||
">;>;",
|
||||
"Ljava/lang/Integer;",
|
||||
"ZZZ)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "inputText"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "attachments"
|
||||
|
||||
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a:Ljava/lang/String;
|
||||
|
||||
iput-boolean p2, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b:Z
|
||||
|
||||
iput-object p3, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c:Ljava/util/List;
|
||||
|
||||
iput-object p4, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->d:Ljava/lang/Integer;
|
||||
|
||||
iput-boolean p5, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e:Z
|
||||
|
||||
iput-boolean p6, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->f:Z
|
||||
|
||||
iput-boolean p7, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;ZLjava/util/List;Ljava/lang/Integer;ZZZI)V
|
||||
.locals 7
|
||||
|
||||
and-int/lit8 v0, p8, 0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const-string v0, ""
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object v0, v1
|
||||
|
||||
:goto_0
|
||||
and-int/lit8 v2, p8, 0x2
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
move v2, p2
|
||||
|
||||
:goto_1
|
||||
and-int/lit8 v4, p8, 0x4
|
||||
|
||||
if-eqz v4, :cond_2
|
||||
|
||||
sget-object v1, Lz/i/l;->d:Lz/i/l;
|
||||
|
||||
:cond_2
|
||||
and-int/lit8 v4, p8, 0x8
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
and-int/lit8 v5, p8, 0x10
|
||||
|
||||
if-eqz v5, :cond_3
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
move v5, p5
|
||||
|
||||
:goto_2
|
||||
and-int/lit8 v6, p8, 0x20
|
||||
|
||||
if-eqz v6, :cond_4
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_4
|
||||
move v3, p6
|
||||
|
||||
:goto_3
|
||||
and-int/lit8 v6, p8, 0x40
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_5
|
||||
move v6, p7
|
||||
|
||||
:goto_4
|
||||
move-object p1, p0
|
||||
|
||||
move-object p2, v0
|
||||
|
||||
move p3, v2
|
||||
|
||||
move-object p4, v1
|
||||
|
||||
move-object p5, v4
|
||||
|
||||
move p6, v5
|
||||
|
||||
move p7, v3
|
||||
|
||||
move p8, v6
|
||||
|
||||
invoke-direct/range {p1 .. p8}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;-><init>(Ljava/lang/String;ZLjava/util/List;Ljava/lang/Integer;ZZZ)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(Lcom/lytefast/flexinput/viewmodel/FlexInputState;Ljava/lang/String;ZLjava/util/List;Ljava/lang/Integer;ZZZI)Lcom/lytefast/flexinput/viewmodel/FlexInputState;
|
||||
.locals 8
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
and-int/lit8 v1, p8, 0x1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v1, v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a:Ljava/lang/String;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object v1, p1
|
||||
|
||||
:goto_0
|
||||
and-int/lit8 v2, p8, 0x2
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
iget-boolean v2, v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b:Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
move v2, p2
|
||||
|
||||
:goto_1
|
||||
and-int/lit8 v3, p8, 0x4
|
||||
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
iget-object v3, v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c:Ljava/util/List;
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
move-object v3, p3
|
||||
|
||||
:goto_2
|
||||
and-int/lit8 v4, p8, 0x8
|
||||
|
||||
if-eqz v4, :cond_3
|
||||
|
||||
iget-object v4, v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->d:Ljava/lang/Integer;
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
move-object v4, p4
|
||||
|
||||
:goto_3
|
||||
and-int/lit8 v5, p8, 0x10
|
||||
|
||||
if-eqz v5, :cond_4
|
||||
|
||||
iget-boolean v5, v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e:Z
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
move v5, p5
|
||||
|
||||
:goto_4
|
||||
and-int/lit8 v6, p8, 0x20
|
||||
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
iget-boolean v6, v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->f:Z
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_5
|
||||
move v6, p6
|
||||
|
||||
:goto_5
|
||||
and-int/lit8 v7, p8, 0x40
|
||||
|
||||
if-eqz v7, :cond_6
|
||||
|
||||
iget-boolean v7, v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g:Z
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_6
|
||||
move v7, p7
|
||||
|
||||
:goto_6
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
const-string v0, "inputText"
|
||||
|
||||
invoke-static {v1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "attachments"
|
||||
|
||||
invoke-static {v3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;
|
||||
|
||||
move-object p0, v0
|
||||
|
||||
move-object p1, v1
|
||||
|
||||
move p2, v2
|
||||
|
||||
move-object p3, v3
|
||||
|
||||
move-object p4, v4
|
||||
|
||||
move p5, v5
|
||||
|
||||
move p6, v6
|
||||
|
||||
move p7, v7
|
||||
|
||||
invoke-direct/range {p0 .. p7}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;-><init>(Ljava/lang/String;ZLjava/util/List;Ljava/lang/Integer;ZZZ)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_7
|
||||
const/4 v0, 0x0
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a:Ljava/lang/String;
|
||||
|
||||
iget-object v1, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a:Ljava/lang/String;
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b:Z
|
||||
|
||||
iget-boolean v1, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b:Z
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c:Ljava/util/List;
|
||||
|
||||
iget-object v1, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c:Ljava/util/List;
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->d:Ljava/lang/Integer;
|
||||
|
||||
iget-object v1, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->d:Ljava/lang/Integer;
|
||||
|
||||
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e:Z
|
||||
|
||||
iget-boolean v1, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e:Z
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->f:Z
|
||||
|
||||
iget-boolean v1, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->f:Z
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g:Z
|
||||
|
||||
iget-boolean p1, p1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g:Z
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a:Ljava/lang/String;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v2, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b:Z
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
:cond_1
|
||||
add-int/2addr v0, v2
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v2, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c:Ljava/util/List;
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_1
|
||||
add-int/2addr v0, v2
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v2, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->d:Ljava/lang/Integer;
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v1
|
||||
|
||||
:cond_3
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e:Z
|
||||
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_4
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->f:Z
|
||||
|
||||
if-eqz v1, :cond_5
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_5
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g:Z
|
||||
|
||||
if-eqz v1, :cond_6
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_6
|
||||
move v3, v1
|
||||
|
||||
:goto_2
|
||||
add-int/2addr v0, v3
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "FlexInputState(inputText="
|
||||
|
||||
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", showExpandedButtons="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->b:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", attachments="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->c:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", showContentDialogIndex="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->d:Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", ableToSendMessages="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->e:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", ableToAttachFiles="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->f:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", showExpressionTray="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g:Z
|
||||
|
||||
const-string v2, ")"
|
||||
|
||||
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->A(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,80 @@
|
|||
.class public interface abstract Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FlexInputViewModel.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract hideExpressionTray()Z
|
||||
.end method
|
||||
|
||||
.method public abstract observeEvents()Lrx/Observable;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lrx/Observable<",
|
||||
"Lf/b/a/f/a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract observeState()Lrx/Observable;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lrx/Observable<",
|
||||
"Lcom/lytefast/flexinput/viewmodel/FlexInputState;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract onAttachmentsUpdated(Ljava/util/List;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lcom/lytefast/flexinput/model/Attachment<",
|
||||
"+",
|
||||
"Ljava/lang/Object;",
|
||||
">;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract onCameraButtonClicked()V
|
||||
.end method
|
||||
|
||||
.method public abstract onContentDialogDismissed()V
|
||||
.end method
|
||||
|
||||
.method public abstract onContentDialogPageChanged(I)V
|
||||
.end method
|
||||
|
||||
.method public abstract onExpandButtonClicked()V
|
||||
.end method
|
||||
|
||||
.method public abstract onExpressionTrayButtonClicked()V
|
||||
.end method
|
||||
|
||||
.method public abstract onFlexInputFragmentPause()V
|
||||
.end method
|
||||
|
||||
.method public abstract onGalleryButtonClicked()V
|
||||
.end method
|
||||
|
||||
.method public abstract onInputTextAppended(Ljava/lang/String;)V
|
||||
.end method
|
||||
|
||||
.method public abstract onInputTextChanged(Ljava/lang/String;Ljava/lang/Boolean;)V
|
||||
.end method
|
||||
|
||||
.method public abstract onInputTextClicked()Z
|
||||
.end method
|
||||
|
||||
.method public abstract onSendButtonClicked(Lcom/lytefast/flexinput/InputListener;)V
|
||||
.end method
|
||||
|
||||
.method public abstract onToolTipButtonLongPressed(Landroid/view/View;)Z
|
||||
.end method
|
|
@ -0,0 +1,83 @@
|
|||
.class public final Lcom/lytefast/flexinput/widget/FlexEditText$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FlexEditText.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/core/view/inputmethod/InputConnectionCompat$OnCommitContentListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/lytefast/flexinput/widget/FlexEditText;->onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
|
||||
.field public final synthetic b:Landroid/view/inputmethod/EditorInfo;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/lytefast/flexinput/widget/FlexEditText;Landroid/view/inputmethod/EditorInfo;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/widget/FlexEditText$a;->a:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
|
||||
iput-object p2, p0, Lcom/lytefast/flexinput/widget/FlexEditText$a;->b:Landroid/view/inputmethod/EditorInfo;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onCommitContent(Landroidx/core/view/inputmethod/InputContentInfoCompat;ILandroid/os/Bundle;)Z
|
||||
.locals 2
|
||||
|
||||
sget p3, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/16 v1, 0x19
|
||||
|
||||
if-lt p3, v1, :cond_0
|
||||
|
||||
and-int/2addr p2, v0
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p1}, Landroidx/core/view/inputmethod/InputContentInfoCompat;->requestPermission()V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
iget-object p2, p0, Lcom/lytefast/flexinput/widget/FlexEditText$a;->a:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
|
||||
invoke-virtual {p2}, Lcom/lytefast/flexinput/widget/FlexEditText;->getInputContentHandler()Lkotlin/jvm/functions/Function1;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "inputContentInfo"
|
||||
|
||||
invoke-static {p1, p3}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p2, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
return v0
|
||||
.end method
|
|
@ -0,0 +1,265 @@
|
|||
.class public Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
.super Landroidx/appcompat/widget/AppCompatEditText;
|
||||
.source "FlexEditText.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Lkotlin/jvm/functions/Function1;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public e:Lkotlin/jvm/functions/Function2;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Ljava/lang/Integer;",
|
||||
"-",
|
||||
"Ljava/lang/Integer;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public f:Lkotlin/jvm/functions/Function1;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Ljava/lang/Integer;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/appcompat/widget/AppCompatEditText;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||||
|
||||
new-instance p1, Lf/b/a/g/a;
|
||||
|
||||
invoke-direct {p1, p0}, Lf/b/a/g/a;-><init>(Lcom/lytefast/flexinput/widget/FlexEditText;)V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->d:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getInputContentHandler()Lkotlin/jvm/functions/Function1;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->d:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getOnMaxLinesChangedListener()Lkotlin/jvm/functions/Function1;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Ljava/lang/Integer;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->f:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getOnSelectionChangedListener()Lkotlin/jvm/functions/Function2;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"Ljava/lang/Integer;",
|
||||
"Ljava/lang/Integer;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->e:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "editorInfo"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatEditText;->onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const-string v1, "image/*"
|
||||
|
||||
filled-new-array {v1}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {p1, v1}, Landroidx/core/view/inputmethod/EditorInfoCompat;->setContentMimeTypes(Landroid/view/inputmethod/EditorInfo;[Ljava/lang/String;)V
|
||||
|
||||
new-instance v1, Lcom/lytefast/flexinput/widget/FlexEditText$a;
|
||||
|
||||
invoke-direct {v1, p0, p1}, Lcom/lytefast/flexinput/widget/FlexEditText$a;-><init>(Lcom/lytefast/flexinput/widget/FlexEditText;Landroid/view/inputmethod/EditorInfo;)V
|
||||
|
||||
invoke-static {v0, p1, v1}, Landroidx/core/view/inputmethod/InputConnectionCompat;->createWrapper(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;Landroidx/core/view/inputmethod/InputConnectionCompat$OnCommitContentListener;)Landroid/view/inputmethod/InputConnection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public onSelectionChanged(II)V
|
||||
.locals 1
|
||||
|
||||
invoke-super {p0, p1, p2}, Landroid/widget/EditText;->onSelectionChanged(II)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->e:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lkotlin/Unit;
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setInputContentHandler(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Landroidx/core/view/inputmethod/InputContentInfoCompat;",
|
||||
"Lkotlin/Unit;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "<set-?>"
|
||||
|
||||
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->d:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setMaxLines(I)V
|
||||
.locals 1
|
||||
|
||||
invoke-super {p0, p1}, Landroid/widget/EditText;->setMaxLines(I)V
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->f:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lkotlin/Unit;
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setOnMaxLinesChangedListener(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Ljava/lang/Integer;",
|
||||
"Lkotlin/Unit;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->f:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setOnSelectionChangedListener(Lkotlin/jvm/functions/Function2;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Ljava/lang/Integer;",
|
||||
"-",
|
||||
"Ljava/lang/Integer;",
|
||||
"Lkotlin/Unit;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lcom/lytefast/flexinput/widget/FlexEditText;->e:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue