Changes of com.discord v823
This commit is contained in:
parent
50139b7f2b
commit
204ebe7067
28411 changed files with 2982405 additions and 1720152 deletions
49
com.discord/smali/androidx/asynclayoutinflater/R$attr.smali
Normal file
49
com.discord/smali/androidx/asynclayoutinflater/R$attr.smali
Normal file
|
@ -0,0 +1,49 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$attr;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "attr"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final alpha:I = 0x7f040030
|
||||
|
||||
.field public static final font:I = 0x7f04012c
|
||||
|
||||
.field public static final fontProviderAuthority:I = 0x7f04012e
|
||||
|
||||
.field public static final fontProviderCerts:I = 0x7f04012f
|
||||
|
||||
.field public static final fontProviderFetchStrategy:I = 0x7f040130
|
||||
|
||||
.field public static final fontProviderFetchTimeout:I = 0x7f040131
|
||||
|
||||
.field public static final fontProviderPackage:I = 0x7f040132
|
||||
|
||||
.field public static final fontProviderQuery:I = 0x7f040133
|
||||
|
||||
.field public static final fontStyle:I = 0x7f040134
|
||||
|
||||
.field public static final fontVariationSettings:I = 0x7f040135
|
||||
|
||||
.field public static final fontWeight:I = 0x7f040136
|
||||
|
||||
.field public static final ttcIndex:I = 0x7f0403a4
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
33
com.discord/smali/androidx/asynclayoutinflater/R$color.smali
Normal file
33
com.discord/smali/androidx/asynclayoutinflater/R$color.smali
Normal file
|
@ -0,0 +1,33 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$color;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "color"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_color_filter:I = 0x7f0600ba
|
||||
|
||||
.field public static final notification_icon_bg_color:I = 0x7f0600bb
|
||||
|
||||
.field public static final ripple_material_light:I = 0x7f0600f9
|
||||
|
||||
.field public static final secondary_text_default_material_light:I = 0x7f0600fb
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
69
com.discord/smali/androidx/asynclayoutinflater/R$dimen.smali
Normal file
69
com.discord/smali/androidx/asynclayoutinflater/R$dimen.smali
Normal file
|
@ -0,0 +1,69 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$dimen;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "dimen"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final compat_button_inset_horizontal_material:I = 0x7f070074
|
||||
|
||||
.field public static final compat_button_inset_vertical_material:I = 0x7f070075
|
||||
|
||||
.field public static final compat_button_padding_horizontal_material:I = 0x7f070076
|
||||
|
||||
.field public static final compat_button_padding_vertical_material:I = 0x7f070077
|
||||
|
||||
.field public static final compat_control_corner_material:I = 0x7f070078
|
||||
|
||||
.field public static final compat_notification_large_icon_max_height:I = 0x7f070079
|
||||
|
||||
.field public static final compat_notification_large_icon_max_width:I = 0x7f07007a
|
||||
|
||||
.field public static final notification_action_icon_size:I = 0x7f070106
|
||||
|
||||
.field public static final notification_action_text_size:I = 0x7f070107
|
||||
|
||||
.field public static final notification_big_circle_margin:I = 0x7f070108
|
||||
|
||||
.field public static final notification_content_margin_start:I = 0x7f070109
|
||||
|
||||
.field public static final notification_large_icon_height:I = 0x7f07010a
|
||||
|
||||
.field public static final notification_large_icon_width:I = 0x7f07010b
|
||||
|
||||
.field public static final notification_main_column_padding_top:I = 0x7f07010c
|
||||
|
||||
.field public static final notification_media_narrow_margin:I = 0x7f07010d
|
||||
|
||||
.field public static final notification_right_icon_size:I = 0x7f07010e
|
||||
|
||||
.field public static final notification_right_side_padding_top:I = 0x7f07010f
|
||||
|
||||
.field public static final notification_small_icon_background_padding:I = 0x7f070110
|
||||
|
||||
.field public static final notification_small_icon_size_as_large:I = 0x7f070111
|
||||
|
||||
.field public static final notification_subtext_size:I = 0x7f070112
|
||||
|
||||
.field public static final notification_top_pad:I = 0x7f070113
|
||||
|
||||
.field public static final notification_top_pad_large_text:I = 0x7f070114
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,49 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$drawable;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "drawable"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_background:I = 0x7f080381
|
||||
|
||||
.field public static final notification_bg:I = 0x7f080382
|
||||
|
||||
.field public static final notification_bg_low:I = 0x7f080383
|
||||
|
||||
.field public static final notification_bg_low_normal:I = 0x7f080384
|
||||
|
||||
.field public static final notification_bg_low_pressed:I = 0x7f080385
|
||||
|
||||
.field public static final notification_bg_normal:I = 0x7f080386
|
||||
|
||||
.field public static final notification_bg_normal_pressed:I = 0x7f080387
|
||||
|
||||
.field public static final notification_icon_background:I = 0x7f080388
|
||||
|
||||
.field public static final notification_template_icon_bg:I = 0x7f080389
|
||||
|
||||
.field public static final notification_template_icon_low_bg:I = 0x7f08038a
|
||||
|
||||
.field public static final notification_tile_bg:I = 0x7f08038b
|
||||
|
||||
.field public static final notify_panel_notification_icon_bg:I = 0x7f08038c
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
81
com.discord/smali/androidx/asynclayoutinflater/R$id.smali
Normal file
81
com.discord/smali/androidx/asynclayoutinflater/R$id.smali
Normal file
|
@ -0,0 +1,81 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$id;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "id"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final action_container:I = 0x7f0a0018
|
||||
|
||||
.field public static final action_divider:I = 0x7f0a001a
|
||||
|
||||
.field public static final action_image:I = 0x7f0a001b
|
||||
|
||||
.field public static final action_text:I = 0x7f0a0021
|
||||
|
||||
.field public static final actions:I = 0x7f0a0022
|
||||
|
||||
.field public static final async:I = 0x7f0a0047
|
||||
|
||||
.field public static final blocking:I = 0x7f0a0094
|
||||
|
||||
.field public static final chronometer:I = 0x7f0a0193
|
||||
|
||||
.field public static final forever:I = 0x7f0a0238
|
||||
|
||||
.field public static final icon:I = 0x7f0a02c9
|
||||
|
||||
.field public static final icon_group:I = 0x7f0a02ca
|
||||
|
||||
.field public static final info:I = 0x7f0a02df
|
||||
|
||||
.field public static final italic:I = 0x7f0a030b
|
||||
|
||||
.field public static final line1:I = 0x7f0a034b
|
||||
|
||||
.field public static final line3:I = 0x7f0a034c
|
||||
|
||||
.field public static final normal:I = 0x7f0a03c9
|
||||
|
||||
.field public static final notification_background:I = 0x7f0a03d0
|
||||
|
||||
.field public static final notification_main_column:I = 0x7f0a03d1
|
||||
|
||||
.field public static final notification_main_column_container:I = 0x7f0a03d2
|
||||
|
||||
.field public static final right_icon:I = 0x7f0a0437
|
||||
|
||||
.field public static final right_side:I = 0x7f0a0438
|
||||
|
||||
.field public static final tag_transition_group:I = 0x7f0a05ae
|
||||
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a05af
|
||||
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a05b0
|
||||
|
||||
.field public static final text:I = 0x7f0a05b5
|
||||
|
||||
.field public static final text2:I = 0x7f0a05b6
|
||||
|
||||
.field public static final time:I = 0x7f0a05c4
|
||||
|
||||
.field public static final title:I = 0x7f0a05c5
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,27 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$integer;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "integer"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_maxnum:I = 0x7f0b0010
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,37 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$layout;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "layout"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action:I = 0x7f0d003f
|
||||
|
||||
.field public static final notification_action_tombstone:I = 0x7f0d0040
|
||||
|
||||
.field public static final notification_template_custom_big:I = 0x7f0d0047
|
||||
|
||||
.field public static final notification_template_icon_group:I = 0x7f0d0048
|
||||
|
||||
.field public static final notification_template_part_chronometer:I = 0x7f0d004c
|
||||
|
||||
.field public static final notification_template_part_time:I = 0x7f0d004d
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,27 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$string;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "string"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_overflow:I = 0x7f120d6d
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
39
com.discord/smali/androidx/asynclayoutinflater/R$style.smali
Normal file
39
com.discord/smali/androidx/asynclayoutinflater/R$style.smali
Normal file
|
@ -0,0 +1,39 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$style;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "style"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final TextAppearance_Compat_Notification:I = 0x7f13017e
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f13017f
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f130181
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f130184
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f130186
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1302ef
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1302f0
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
202
com.discord/smali/androidx/asynclayoutinflater/R$styleable.smali
Normal file
202
com.discord/smali/androidx/asynclayoutinflater/R$styleable.smali
Normal file
|
@ -0,0 +1,202 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R$styleable;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "styleable"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ColorStateListItem:[I
|
||||
|
||||
.field public static final ColorStateListItem_alpha:I = 0x2
|
||||
|
||||
.field public static final ColorStateListItem_android_alpha:I = 0x1
|
||||
|
||||
.field public static final ColorStateListItem_android_color:I = 0x0
|
||||
|
||||
.field public static final FontFamily:[I
|
||||
|
||||
.field public static final FontFamilyFont:[I
|
||||
|
||||
.field public static final FontFamilyFont_android_font:I = 0x0
|
||||
|
||||
.field public static final FontFamilyFont_android_fontStyle:I = 0x2
|
||||
|
||||
.field public static final FontFamilyFont_android_fontVariationSettings:I = 0x4
|
||||
|
||||
.field public static final FontFamilyFont_android_fontWeight:I = 0x1
|
||||
|
||||
.field public static final FontFamilyFont_android_ttcIndex:I = 0x3
|
||||
|
||||
.field public static final FontFamilyFont_font:I = 0x5
|
||||
|
||||
.field public static final FontFamilyFont_fontStyle:I = 0x6
|
||||
|
||||
.field public static final FontFamilyFont_fontVariationSettings:I = 0x7
|
||||
|
||||
.field public static final FontFamilyFont_fontWeight:I = 0x8
|
||||
|
||||
.field public static final FontFamilyFont_ttcIndex:I = 0x9
|
||||
|
||||
.field public static final FontFamily_fontProviderAuthority:I = 0x0
|
||||
|
||||
.field public static final FontFamily_fontProviderCerts:I = 0x1
|
||||
|
||||
.field public static final FontFamily_fontProviderFetchStrategy:I = 0x2
|
||||
|
||||
.field public static final FontFamily_fontProviderFetchTimeout:I = 0x3
|
||||
|
||||
.field public static final FontFamily_fontProviderPackage:I = 0x4
|
||||
|
||||
.field public static final FontFamily_fontProviderQuery:I = 0x5
|
||||
|
||||
.field public static final GradientColor:[I
|
||||
|
||||
.field public static final GradientColorItem:[I
|
||||
|
||||
.field public static final GradientColorItem_android_color:I = 0x0
|
||||
|
||||
.field public static final GradientColorItem_android_offset:I = 0x1
|
||||
|
||||
.field public static final GradientColor_android_centerColor:I = 0x7
|
||||
|
||||
.field public static final GradientColor_android_centerX:I = 0x3
|
||||
|
||||
.field public static final GradientColor_android_centerY:I = 0x4
|
||||
|
||||
.field public static final GradientColor_android_endColor:I = 0x1
|
||||
|
||||
.field public static final GradientColor_android_endX:I = 0xa
|
||||
|
||||
.field public static final GradientColor_android_endY:I = 0xb
|
||||
|
||||
.field public static final GradientColor_android_gradientRadius:I = 0x5
|
||||
|
||||
.field public static final GradientColor_android_startColor:I = 0x0
|
||||
|
||||
.field public static final GradientColor_android_startX:I = 0x8
|
||||
|
||||
.field public static final GradientColor_android_startY:I = 0x9
|
||||
|
||||
.field public static final GradientColor_android_tileMode:I = 0x6
|
||||
|
||||
.field public static final GradientColor_android_type:I = 0x2
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_0
|
||||
|
||||
sput-object v0, Landroidx/asynclayoutinflater/R$styleable;->ColorStateListItem:[I
|
||||
|
||||
const/4 v0, 0x6
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_1
|
||||
|
||||
sput-object v0, Landroidx/asynclayoutinflater/R$styleable;->FontFamily:[I
|
||||
|
||||
const/16 v0, 0xa
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_2
|
||||
|
||||
sput-object v0, Landroidx/asynclayoutinflater/R$styleable;->FontFamilyFont:[I
|
||||
|
||||
const/16 v0, 0xc
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_3
|
||||
|
||||
sput-object v0, Landroidx/asynclayoutinflater/R$styleable;->GradientColor:[I
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_4
|
||||
|
||||
sput-object v0, Landroidx/asynclayoutinflater/R$styleable;->GradientColorItem:[I
|
||||
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x10101a5
|
||||
0x101031f
|
||||
0x7f040030
|
||||
.end array-data
|
||||
|
||||
:array_1
|
||||
.array-data 4
|
||||
0x7f04012e
|
||||
0x7f04012f
|
||||
0x7f040130
|
||||
0x7f040131
|
||||
0x7f040132
|
||||
0x7f040133
|
||||
.end array-data
|
||||
|
||||
:array_2
|
||||
.array-data 4
|
||||
0x1010532
|
||||
0x1010533
|
||||
0x101053f
|
||||
0x101056f
|
||||
0x1010570
|
||||
0x7f04012c
|
||||
0x7f040134
|
||||
0x7f040135
|
||||
0x7f040136
|
||||
0x7f0403a4
|
||||
.end array-data
|
||||
|
||||
:array_3
|
||||
.array-data 4
|
||||
0x101019d
|
||||
0x101019e
|
||||
0x10101a1
|
||||
0x10101a2
|
||||
0x10101a3
|
||||
0x10101a4
|
||||
0x1010201
|
||||
0x101020b
|
||||
0x1010510
|
||||
0x1010511
|
||||
0x1010512
|
||||
0x1010513
|
||||
.end array-data
|
||||
|
||||
:array_4
|
||||
.array-data 4
|
||||
0x10101a5
|
||||
0x1010514
|
||||
.end array-data
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
29
com.discord/smali/androidx/asynclayoutinflater/R.smali
Normal file
29
com.discord/smali/androidx/asynclayoutinflater/R.smali
Normal file
|
@ -0,0 +1,29 @@
|
|||
.class public final Landroidx/asynclayoutinflater/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/asynclayoutinflater/R$styleable;,
|
||||
Landroidx/asynclayoutinflater/R$style;,
|
||||
Landroidx/asynclayoutinflater/R$string;,
|
||||
Landroidx/asynclayoutinflater/R$layout;,
|
||||
Landroidx/asynclayoutinflater/R$integer;,
|
||||
Landroidx/asynclayoutinflater/R$id;,
|
||||
Landroidx/asynclayoutinflater/R$drawable;,
|
||||
Landroidx/asynclayoutinflater/R$dimen;,
|
||||
Landroidx/asynclayoutinflater/R$color;,
|
||||
Landroidx/asynclayoutinflater/R$attr;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,83 @@
|
|||
.class Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$1;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/Handler$Callback;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$1;->this$0:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public handleMessage(Landroid/os/Message;)Z
|
||||
.locals 4
|
||||
|
||||
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;
|
||||
|
||||
iget-object v0, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->view:Landroid/view/View;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$1;->this$0:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
iget-object v0, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mInflater:Landroid/view/LayoutInflater;
|
||||
|
||||
iget v1, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->resid:I
|
||||
|
||||
iget-object v2, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->parent:Landroid/view/ViewGroup;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->view:Landroid/view/View;
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->callback:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;
|
||||
|
||||
iget-object v1, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->view:Landroid/view/View;
|
||||
|
||||
iget v2, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->resid:I
|
||||
|
||||
iget-object v3, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->parent:Landroid/view/ViewGroup;
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;->onInflateFinished(Landroid/view/View;ILandroid/view/ViewGroup;)V
|
||||
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$1;->this$0:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
iget-object v0, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mInflateThread:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->releaseRequest(Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;)V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -0,0 +1,113 @@
|
|||
.class Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;
|
||||
.super Landroid/view/LayoutInflater;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "BasicInflater"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final sClassPrefixList:[Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
new-array v0, v0, [Ljava/lang/String;
|
||||
|
||||
const-string v1, "android.widget."
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const-string v1, "android.webkit."
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const-string v1, "android.app."
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
sput-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->sClassPrefixList:[Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>(Landroid/content/Context;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroid/view/LayoutInflater;-><init>(Landroid/content/Context;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;
|
||||
|
||||
invoke-direct {v0, p1}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;-><init>(Landroid/content/Context;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method protected onCreateView(Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/ClassNotFoundException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->sClassPrefixList:[Ljava/lang/String;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_1
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p0, p1, v3, p2}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;->createView(Ljava/lang/String;Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
|
||||
|
||||
move-result-object v3
|
||||
:try_end_0
|
||||
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
return-object v3
|
||||
|
||||
:catch_0
|
||||
:cond_0
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-super {p0, p1, p2}, Landroid/view/LayoutInflater;->onCreateView(Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,35 @@
|
|||
.class Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "InflateRequest"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field callback:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;
|
||||
|
||||
.field inflater:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
.field parent:Landroid/view/ViewGroup;
|
||||
|
||||
.field resid:I
|
||||
|
||||
.field view:Landroid/view/View;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,232 @@
|
|||
.class Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
.super Ljava/lang/Thread;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
name = "InflateThread"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final sInstance:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mQueue:Ljava/util/concurrent/ArrayBlockingQueue;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/concurrent/ArrayBlockingQueue<",
|
||||
"Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private mRequestPool:Landroidx/core/util/Pools$SynchronizedPool;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/core/util/Pools$SynchronizedPool<",
|
||||
"Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
invoke-direct {v0}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->sInstance:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->start()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Thread;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/concurrent/ArrayBlockingQueue;
|
||||
|
||||
const/16 v1, 0xa
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/concurrent/ArrayBlockingQueue;-><init>(I)V
|
||||
|
||||
iput-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->mQueue:Ljava/util/concurrent/ArrayBlockingQueue;
|
||||
|
||||
new-instance v0, Landroidx/core/util/Pools$SynchronizedPool;
|
||||
|
||||
invoke-direct {v0, v1}, Landroidx/core/util/Pools$SynchronizedPool;-><init>(I)V
|
||||
|
||||
iput-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->mRequestPool:Landroidx/core/util/Pools$SynchronizedPool;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static getInstance()Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->sInstance:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public enqueue(Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;)V
|
||||
.locals 2
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->mQueue:Ljava/util/concurrent/ArrayBlockingQueue;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/concurrent/ArrayBlockingQueue;->put(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-void
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
new-instance v0, Ljava/lang/RuntimeException;
|
||||
|
||||
const-string v1, "Failed to enqueue async inflate request"
|
||||
|
||||
invoke-direct {v0, v1, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public obtainRequest()Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->mRequestPool:Landroidx/core/util/Pools$SynchronizedPool;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/core/util/Pools$SynchronizedPool;->acquire()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;
|
||||
|
||||
invoke-direct {v0}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;-><init>()V
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public releaseRequest(Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;)V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->callback:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;
|
||||
|
||||
iput-object v0, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->inflater:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
iput-object v0, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->parent:Landroid/view/ViewGroup;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput v1, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->resid:I
|
||||
|
||||
iput-object v0, p1, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->view:Landroid/view/View;
|
||||
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->mRequestPool:Landroidx/core/util/Pools$SynchronizedPool;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/core/util/Pools$SynchronizedPool;->release(Ljava/lang/Object;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public run()V
|
||||
.locals 0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p0}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->runInner()V
|
||||
|
||||
goto :goto_0
|
||||
.end method
|
||||
|
||||
.method public runInner()V
|
||||
.locals 5
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->mQueue:Ljava/util/concurrent/ArrayBlockingQueue;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/ArrayBlockingQueue;->take()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:try_start_1
|
||||
iget-object v2, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->inflater:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
iget-object v2, v2, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mInflater:Landroid/view/LayoutInflater;
|
||||
|
||||
iget v3, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->resid:I
|
||||
|
||||
iget-object v4, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->parent:Landroid/view/ViewGroup;
|
||||
|
||||
invoke-virtual {v2, v3, v4, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iput-object v2, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->view:Landroid/view/View;
|
||||
:try_end_1
|
||||
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v2
|
||||
|
||||
const-string v3, "AsyncLayoutInflater"
|
||||
|
||||
const-string v4, "Failed to inflate resource in the background! Retrying on the UI thread"
|
||||
|
||||
invoke-static {v3, v4, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:goto_0
|
||||
iget-object v2, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->inflater:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
iget-object v2, v2, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mHandler:Landroid/os/Handler;
|
||||
|
||||
invoke-static {v2, v1, v0}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V
|
||||
|
||||
return-void
|
||||
|
||||
:catch_1
|
||||
move-exception v0
|
||||
|
||||
const-string v1, "AsyncLayoutInflater"
|
||||
|
||||
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,30 @@
|
|||
.class public interface abstract Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "OnInflateFinishedListener"
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onInflateFinished(Landroid/view/View;ILandroid/view/ViewGroup;)V
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # I
|
||||
.annotation build Landroidx/annotation/LayoutRes;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroid/view/ViewGroup;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.end method
|
|
@ -0,0 +1,118 @@
|
|||
.class public final Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;,
|
||||
Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;,
|
||||
Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;,
|
||||
Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final TAG:Ljava/lang/String; = "AsyncLayoutInflater"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field mHandler:Landroid/os/Handler;
|
||||
|
||||
.field private mHandlerCallback:Landroid/os/Handler$Callback;
|
||||
|
||||
.field mInflateThread:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
.field mInflater:Landroid/view/LayoutInflater;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/Context;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/content/Context;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$1;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$1;-><init>(Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mHandlerCallback:Landroid/os/Handler$Callback;
|
||||
|
||||
new-instance v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;
|
||||
|
||||
invoke-direct {v0, p1}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$BasicInflater;-><init>(Landroid/content/Context;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mInflater:Landroid/view/LayoutInflater;
|
||||
|
||||
new-instance p1, Landroid/os/Handler;
|
||||
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mHandlerCallback:Landroid/os/Handler$Callback;
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/os/Handler;-><init>(Landroid/os/Handler$Callback;)V
|
||||
|
||||
iput-object p1, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mHandler:Landroid/os/Handler;
|
||||
|
||||
invoke-static {}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->getInstance()Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mInflateThread:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final inflate(ILandroid/view/ViewGroup;Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;)V
|
||||
.locals 1
|
||||
.param p1 # I
|
||||
.annotation build Landroidx/annotation/LayoutRes;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/view/ViewGroup;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/UiThread;
|
||||
.end annotation
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mInflateThread:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->obtainRequest()Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object p0, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->inflater:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;
|
||||
|
||||
iput p1, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->resid:I
|
||||
|
||||
iput-object p2, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->parent:Landroid/view/ViewGroup;
|
||||
|
||||
iput-object p3, v0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;->callback:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$OnInflateFinishedListener;
|
||||
|
||||
iget-object p1, p0, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater;->mInflateThread:Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateThread;->enqueue(Landroidx/asynclayoutinflater/view/AsyncLayoutInflater$InflateRequest;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string p2, "callback argument may not be null!"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue