Changes of com.discord v1204
This commit is contained in:
parent
3a1c655a31
commit
841ce1180e
17614 changed files with 1364134 additions and 1309304 deletions
|
@ -16,27 +16,29 @@
|
|||
# static fields
|
||||
.field public static final alpha:I = 0x7f040035
|
||||
|
||||
.field public static final font:I = 0x7f040206
|
||||
.field public static final font:I = 0x7f040238
|
||||
|
||||
.field public static final fontProviderAuthority:I = 0x7f040208
|
||||
.field public static final fontProviderAuthority:I = 0x7f04023a
|
||||
|
||||
.field public static final fontProviderCerts:I = 0x7f040209
|
||||
.field public static final fontProviderCerts:I = 0x7f04023b
|
||||
|
||||
.field public static final fontProviderFetchStrategy:I = 0x7f04020a
|
||||
.field public static final fontProviderFetchStrategy:I = 0x7f04023c
|
||||
|
||||
.field public static final fontProviderFetchTimeout:I = 0x7f04020b
|
||||
.field public static final fontProviderFetchTimeout:I = 0x7f04023d
|
||||
|
||||
.field public static final fontProviderPackage:I = 0x7f04020c
|
||||
.field public static final fontProviderPackage:I = 0x7f04023e
|
||||
|
||||
.field public static final fontProviderQuery:I = 0x7f04020d
|
||||
.field public static final fontProviderQuery:I = 0x7f04023f
|
||||
|
||||
.field public static final fontStyle:I = 0x7f04020e
|
||||
.field public static final fontStyle:I = 0x7f040240
|
||||
|
||||
.field public static final fontVariationSettings:I = 0x7f04020f
|
||||
.field public static final fontVariationSettings:I = 0x7f040241
|
||||
|
||||
.field public static final fontWeight:I = 0x7f040210
|
||||
.field public static final fontWeight:I = 0x7f040242
|
||||
|
||||
.field public static final ttcIndex:I = 0x7f04054a
|
||||
.field public static final swipeRefreshLayoutProgressSpinnerBackgroundColor:I = 0x7f0404c1
|
||||
|
||||
.field public static final ttcIndex:I = 0x7f040576
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -14,29 +14,29 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_background:I = 0x7f080551
|
||||
.field public static final notification_action_background:I = 0x7f080525
|
||||
|
||||
.field public static final notification_bg:I = 0x7f080552
|
||||
.field public static final notification_bg:I = 0x7f080526
|
||||
|
||||
.field public static final notification_bg_low:I = 0x7f080553
|
||||
.field public static final notification_bg_low:I = 0x7f080527
|
||||
|
||||
.field public static final notification_bg_low_normal:I = 0x7f080554
|
||||
.field public static final notification_bg_low_normal:I = 0x7f080528
|
||||
|
||||
.field public static final notification_bg_low_pressed:I = 0x7f080555
|
||||
.field public static final notification_bg_low_pressed:I = 0x7f080529
|
||||
|
||||
.field public static final notification_bg_normal:I = 0x7f080556
|
||||
.field public static final notification_bg_normal:I = 0x7f08052a
|
||||
|
||||
.field public static final notification_bg_normal_pressed:I = 0x7f080557
|
||||
.field public static final notification_bg_normal_pressed:I = 0x7f08052b
|
||||
|
||||
.field public static final notification_icon_background:I = 0x7f080558
|
||||
.field public static final notification_icon_background:I = 0x7f08052c
|
||||
|
||||
.field public static final notification_template_icon_bg:I = 0x7f080559
|
||||
.field public static final notification_template_icon_bg:I = 0x7f08052d
|
||||
|
||||
.field public static final notification_template_icon_low_bg:I = 0x7f08055a
|
||||
.field public static final notification_template_icon_low_bg:I = 0x7f08052e
|
||||
|
||||
.field public static final notification_tile_bg:I = 0x7f08055b
|
||||
.field public static final notification_tile_bg:I = 0x7f08052f
|
||||
|
||||
.field public static final notify_panel_notification_icon_bg:I = 0x7f08055c
|
||||
.field public static final notify_panel_notification_icon_bg:I = 0x7f080530
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -14,61 +14,139 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final action_container:I = 0x7f0a0040
|
||||
.field public static final accessibility_action_clickable_span:I = 0x7f0a0012
|
||||
|
||||
.field public static final action_divider:I = 0x7f0a0042
|
||||
.field public static final accessibility_custom_action_0:I = 0x7f0a0013
|
||||
|
||||
.field public static final action_image:I = 0x7f0a0043
|
||||
.field public static final accessibility_custom_action_1:I = 0x7f0a0014
|
||||
|
||||
.field public static final action_text:I = 0x7f0a0049
|
||||
.field public static final accessibility_custom_action_10:I = 0x7f0a0015
|
||||
|
||||
.field public static final actions:I = 0x7f0a004a
|
||||
.field public static final accessibility_custom_action_11:I = 0x7f0a0016
|
||||
|
||||
.field public static final async:I = 0x7f0a0099
|
||||
.field public static final accessibility_custom_action_12:I = 0x7f0a0017
|
||||
|
||||
.field public static final blocking:I = 0x7f0a00f1
|
||||
.field public static final accessibility_custom_action_13:I = 0x7f0a0018
|
||||
|
||||
.field public static final chronometer:I = 0x7f0a025d
|
||||
.field public static final accessibility_custom_action_14:I = 0x7f0a0019
|
||||
|
||||
.field public static final forever:I = 0x7f0a03a1
|
||||
.field public static final accessibility_custom_action_15:I = 0x7f0a001a
|
||||
|
||||
.field public static final icon:I = 0x7f0a04a5
|
||||
.field public static final accessibility_custom_action_16:I = 0x7f0a001b
|
||||
|
||||
.field public static final icon_group:I = 0x7f0a04a7
|
||||
.field public static final accessibility_custom_action_17:I = 0x7f0a001c
|
||||
|
||||
.field public static final info:I = 0x7f0a04c4
|
||||
.field public static final accessibility_custom_action_18:I = 0x7f0a001d
|
||||
|
||||
.field public static final italic:I = 0x7f0a04f7
|
||||
.field public static final accessibility_custom_action_19:I = 0x7f0a001e
|
||||
|
||||
.field public static final line1:I = 0x7f0a0546
|
||||
.field public static final accessibility_custom_action_2:I = 0x7f0a001f
|
||||
|
||||
.field public static final line3:I = 0x7f0a0547
|
||||
.field public static final accessibility_custom_action_20:I = 0x7f0a0020
|
||||
|
||||
.field public static final normal:I = 0x7f0a05e4
|
||||
.field public static final accessibility_custom_action_21:I = 0x7f0a0021
|
||||
|
||||
.field public static final notification_background:I = 0x7f0a05ee
|
||||
.field public static final accessibility_custom_action_22:I = 0x7f0a0022
|
||||
|
||||
.field public static final notification_main_column:I = 0x7f0a05ef
|
||||
.field public static final accessibility_custom_action_23:I = 0x7f0a0023
|
||||
|
||||
.field public static final notification_main_column_container:I = 0x7f0a05f0
|
||||
.field public static final accessibility_custom_action_24:I = 0x7f0a0024
|
||||
|
||||
.field public static final right_icon:I = 0x7f0a0715
|
||||
.field public static final accessibility_custom_action_25:I = 0x7f0a0025
|
||||
|
||||
.field public static final right_side:I = 0x7f0a0716
|
||||
.field public static final accessibility_custom_action_26:I = 0x7f0a0026
|
||||
|
||||
.field public static final tag_transition_group:I = 0x7f0a091c
|
||||
.field public static final accessibility_custom_action_27:I = 0x7f0a0027
|
||||
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a091d
|
||||
.field public static final accessibility_custom_action_28:I = 0x7f0a0028
|
||||
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a091e
|
||||
.field public static final accessibility_custom_action_29:I = 0x7f0a0029
|
||||
|
||||
.field public static final text:I = 0x7f0a0928
|
||||
.field public static final accessibility_custom_action_3:I = 0x7f0a002a
|
||||
|
||||
.field public static final text2:I = 0x7f0a0929
|
||||
.field public static final accessibility_custom_action_30:I = 0x7f0a002b
|
||||
|
||||
.field public static final time:I = 0x7f0a093b
|
||||
.field public static final accessibility_custom_action_31:I = 0x7f0a002c
|
||||
|
||||
.field public static final title:I = 0x7f0a093c
|
||||
.field public static final accessibility_custom_action_4:I = 0x7f0a002d
|
||||
|
||||
.field public static final accessibility_custom_action_5:I = 0x7f0a002e
|
||||
|
||||
.field public static final accessibility_custom_action_6:I = 0x7f0a002f
|
||||
|
||||
.field public static final accessibility_custom_action_7:I = 0x7f0a0030
|
||||
|
||||
.field public static final accessibility_custom_action_8:I = 0x7f0a0031
|
||||
|
||||
.field public static final accessibility_custom_action_9:I = 0x7f0a0032
|
||||
|
||||
.field public static final action_container:I = 0x7f0a0042
|
||||
|
||||
.field public static final action_divider:I = 0x7f0a0044
|
||||
|
||||
.field public static final action_image:I = 0x7f0a0045
|
||||
|
||||
.field public static final action_text:I = 0x7f0a004b
|
||||
|
||||
.field public static final actions:I = 0x7f0a004c
|
||||
|
||||
.field public static final async:I = 0x7f0a009b
|
||||
|
||||
.field public static final blocking:I = 0x7f0a00f3
|
||||
|
||||
.field public static final chronometer:I = 0x7f0a0264
|
||||
|
||||
.field public static final dialog_button:I = 0x7f0a02c3
|
||||
|
||||
.field public static final forever:I = 0x7f0a03b9
|
||||
|
||||
.field public static final icon:I = 0x7f0a04c4
|
||||
|
||||
.field public static final icon_group:I = 0x7f0a04c6
|
||||
|
||||
.field public static final info:I = 0x7f0a04e4
|
||||
|
||||
.field public static final italic:I = 0x7f0a0517
|
||||
|
||||
.field public static final line1:I = 0x7f0a0567
|
||||
|
||||
.field public static final line3:I = 0x7f0a0568
|
||||
|
||||
.field public static final normal:I = 0x7f0a0607
|
||||
|
||||
.field public static final notification_background:I = 0x7f0a0611
|
||||
|
||||
.field public static final notification_main_column:I = 0x7f0a0612
|
||||
|
||||
.field public static final notification_main_column_container:I = 0x7f0a0613
|
||||
|
||||
.field public static final right_icon:I = 0x7f0a073b
|
||||
|
||||
.field public static final right_side:I = 0x7f0a073c
|
||||
|
||||
.field public static final tag_accessibility_actions:I = 0x7f0a093f
|
||||
|
||||
.field public static final tag_accessibility_clickable_spans:I = 0x7f0a0940
|
||||
|
||||
.field public static final tag_accessibility_heading:I = 0x7f0a0941
|
||||
|
||||
.field public static final tag_accessibility_pane_title:I = 0x7f0a0942
|
||||
|
||||
.field public static final tag_screen_reader_focusable:I = 0x7f0a0943
|
||||
|
||||
.field public static final tag_transition_group:I = 0x7f0a0944
|
||||
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a0945
|
||||
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a0946
|
||||
|
||||
.field public static final text:I = 0x7f0a0951
|
||||
|
||||
.field public static final text2:I = 0x7f0a0952
|
||||
|
||||
.field public static final time:I = 0x7f0a0965
|
||||
|
||||
.field public static final title:I = 0x7f0a0966
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -14,17 +14,19 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action:I = 0x7f0d0091
|
||||
.field public static final custom_dialog:I = 0x7f0d0032
|
||||
|
||||
.field public static final notification_action_tombstone:I = 0x7f0d0092
|
||||
.field public static final notification_action:I = 0x7f0d0093
|
||||
|
||||
.field public static final notification_template_custom_big:I = 0x7f0d009a
|
||||
.field public static final notification_action_tombstone:I = 0x7f0d0094
|
||||
|
||||
.field public static final notification_template_icon_group:I = 0x7f0d009b
|
||||
.field public static final notification_template_custom_big:I = 0x7f0d009c
|
||||
|
||||
.field public static final notification_template_part_chronometer:I = 0x7f0d009f
|
||||
.field public static final notification_template_icon_group:I = 0x7f0d009d
|
||||
|
||||
.field public static final notification_template_part_time:I = 0x7f0d00a0
|
||||
.field public static final notification_template_part_chronometer:I = 0x7f0d00a1
|
||||
|
||||
.field public static final notification_template_part_time:I = 0x7f0d00a2
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_overflow:I = 0x7f121455
|
||||
.field public static final status_bar_notification_info_overflow:I = 0x7f121476
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -14,19 +14,19 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final TextAppearance_Compat_Notification:I = 0x7f130225
|
||||
.field public static final TextAppearance_Compat_Notification:I = 0x7f130224
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f130226
|
||||
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f130225
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f130228
|
||||
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f130227
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f13022b
|
||||
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f13022a
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f13022d
|
||||
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f13022c
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1303df
|
||||
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1303de
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1303e0
|
||||
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1303df
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -90,10 +90,14 @@
|
|||
|
||||
.field public static final GradientColor_android_type:I = 0x2
|
||||
|
||||
.field public static final SwipeRefreshLayout:[I
|
||||
|
||||
.field public static final SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
.locals 3
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
|
@ -135,9 +139,19 @@
|
|||
|
||||
sput-object v0, Landroidx/swiperefreshlayout/R$styleable;->GradientColorItem:[I
|
||||
|
||||
return-void
|
||||
const/4 v0, 0x1
|
||||
|
||||
nop
|
||||
new-array v0, v0, [I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const v2, 0x7f0404c1
|
||||
|
||||
aput v2, v0, v1
|
||||
|
||||
sput-object v0, Landroidx/swiperefreshlayout/R$styleable;->SwipeRefreshLayout:[I
|
||||
|
||||
return-void
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
|
@ -148,12 +162,12 @@
|
|||
|
||||
:array_1
|
||||
.array-data 4
|
||||
0x7f040208
|
||||
0x7f040209
|
||||
0x7f04020a
|
||||
0x7f04020b
|
||||
0x7f04020c
|
||||
0x7f04020d
|
||||
0x7f04023a
|
||||
0x7f04023b
|
||||
0x7f04023c
|
||||
0x7f04023d
|
||||
0x7f04023e
|
||||
0x7f04023f
|
||||
.end array-data
|
||||
|
||||
:array_2
|
||||
|
@ -163,11 +177,11 @@
|
|||
0x101053f
|
||||
0x101056f
|
||||
0x1010570
|
||||
0x7f040206
|
||||
0x7f04020e
|
||||
0x7f04020f
|
||||
0x7f040210
|
||||
0x7f04054a
|
||||
0x7f040238
|
||||
0x7f040240
|
||||
0x7f040241
|
||||
0x7f040242
|
||||
0x7f040576
|
||||
.end array-data
|
||||
|
||||
:array_3
|
||||
|
|
|
@ -9,34 +9,34 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
accessFlags = 0x9
|
||||
name = "OvalShadow"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mRadialGradient:Landroid/graphics/RadialGradient;
|
||||
.field public mCircleImageView:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
.field public mShadowPaint:Landroid/graphics/Paint;
|
||||
|
||||
.field public final synthetic this$0:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
.field public mShadowRadius:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/swiperefreshlayout/widget/CircleImageView;I)V
|
||||
.locals 1
|
||||
|
||||
iput-object p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->this$0:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroid/graphics/drawable/shapes/OvalShape;-><init>()V
|
||||
|
||||
new-instance v0, Landroid/graphics/Paint;
|
||||
iput-object p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mCircleImageView:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V
|
||||
new-instance p1, Landroid/graphics/Paint;
|
||||
|
||||
iput-object v0, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowPaint:Landroid/graphics/Paint;
|
||||
invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
|
||||
|
||||
iput p2, p1, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
iput-object p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowPaint:Landroid/graphics/Paint;
|
||||
|
||||
iput p2, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowRadius:I
|
||||
|
||||
invoke-virtual {p0}, Landroid/graphics/drawable/shapes/OvalShape;->rect()Landroid/graphics/RectF;
|
||||
|
||||
|
@ -54,41 +54,37 @@
|
|||
.end method
|
||||
|
||||
.method private updateRadialGradient(I)V
|
||||
.locals 8
|
||||
.locals 9
|
||||
|
||||
new-instance v7, Landroid/graphics/RadialGradient;
|
||||
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowPaint:Landroid/graphics/Paint;
|
||||
|
||||
const/4 v0, 0x2
|
||||
new-instance v8, Landroid/graphics/RadialGradient;
|
||||
|
||||
div-int/2addr p1, v0
|
||||
const/4 v1, 0x2
|
||||
|
||||
int-to-float v2, p1
|
||||
|
||||
iget-object p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->this$0:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
iget p1, p1, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
div-int/2addr p1, v1
|
||||
|
||||
int-to-float v3, p1
|
||||
|
||||
new-array v4, v0, [I
|
||||
iget p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowRadius:I
|
||||
|
||||
fill-array-data v4, :array_0
|
||||
int-to-float v4, p1
|
||||
|
||||
sget-object v6, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;
|
||||
new-array v5, v1, [I
|
||||
|
||||
const/4 v5, 0x0
|
||||
fill-array-data v5, :array_0
|
||||
|
||||
move-object v0, v7
|
||||
sget-object v7, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;
|
||||
|
||||
move v1, v2
|
||||
const/4 v6, 0x0
|
||||
|
||||
invoke-direct/range {v0 .. v6}, Landroid/graphics/RadialGradient;-><init>(FFF[I[FLandroid/graphics/Shader$TileMode;)V
|
||||
move-object v1, v8
|
||||
|
||||
iput-object v7, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mRadialGradient:Landroid/graphics/RadialGradient;
|
||||
move v2, v3
|
||||
|
||||
iget-object p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowPaint:Landroid/graphics/Paint;
|
||||
invoke-direct/range {v1 .. v7}, Landroid/graphics/RadialGradient;-><init>(FFF[I[FLandroid/graphics/Shader$TileMode;)V
|
||||
|
||||
invoke-virtual {p1, v7}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;
|
||||
invoke-virtual {v0, v8}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;
|
||||
|
||||
return-void
|
||||
|
||||
|
@ -106,33 +102,31 @@
|
|||
.method public draw(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->this$0:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mCircleImageView:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
invoke-virtual {v0}, Landroid/widget/ImageView;->getWidth()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->this$0:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
div-int/lit8 v0, v0, 0x2
|
||||
|
||||
iget-object v1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mCircleImageView:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
invoke-virtual {v1}, Landroid/widget/ImageView;->getHeight()I
|
||||
|
||||
move-result v1
|
||||
|
||||
div-int/lit8 v0, v0, 0x2
|
||||
div-int/lit8 v1, v1, 0x2
|
||||
|
||||
int-to-float v2, v0
|
||||
|
||||
div-int/lit8 v1, v1, 0x2
|
||||
|
||||
int-to-float v1, v1
|
||||
|
||||
iget-object v3, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowPaint:Landroid/graphics/Paint;
|
||||
|
||||
invoke-virtual {p1, v2, v1, v2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V
|
||||
|
||||
iget-object v3, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->this$0:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
iget v3, v3, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
iget v3, p0, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;->mShadowRadius:I
|
||||
|
||||
sub-int/2addr v0, v3
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final DEFAULT_BACKGROUND_COLOR:I = -0x50506
|
||||
|
||||
.field public static final FILL_SHADOW_COLOR:I = 0x3d000000
|
||||
|
||||
.field public static final KEY_SHADOW_COLOR:I = 0x1e000000
|
||||
|
@ -26,13 +28,15 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public mBackgroundColor:I
|
||||
|
||||
.field public mListener:Landroid/view/animation/Animation$AnimationListener;
|
||||
|
||||
.field public mShadowRadius:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/Context;I)V
|
||||
.method public constructor <init>(Landroid/content/Context;)V
|
||||
.locals 5
|
||||
|
||||
invoke-direct {p0, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
|
||||
|
@ -71,6 +75,28 @@
|
|||
|
||||
iput v2, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
sget-object v3, Landroidx/swiperefreshlayout/R$styleable;->SwipeRefreshLayout:[I
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/content/Context;->obtainStyledAttributes([I)Landroid/content/res/TypedArray;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
sget v3, Landroidx/swiperefreshlayout/R$styleable;->SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor:I
|
||||
|
||||
const v4, -0x50506
|
||||
|
||||
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getColor(II)I
|
||||
|
||||
move-result v3
|
||||
|
||||
iput v3, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mBackgroundColor:I
|
||||
|
||||
invoke-virtual {v2}, Landroid/content/res/TypedArray;->recycle()V
|
||||
|
||||
invoke-direct {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->elevationSupported()Z
|
||||
|
||||
move-result v2
|
||||
|
@ -94,27 +120,27 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;
|
||||
new-instance p1, Landroid/graphics/drawable/ShapeDrawable;
|
||||
|
||||
iget v2, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
new-instance v2, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;
|
||||
|
||||
invoke-direct {p1, p0, v2}, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;-><init>(Landroidx/swiperefreshlayout/widget/CircleImageView;I)V
|
||||
iget v3, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
|
||||
new-instance v2, Landroid/graphics/drawable/ShapeDrawable;
|
||||
invoke-direct {v2, p0, v3}, Landroidx/swiperefreshlayout/widget/CircleImageView$OvalShadow;-><init>(Landroidx/swiperefreshlayout/widget/CircleImageView;I)V
|
||||
|
||||
invoke-direct {v2, p1}, Landroid/graphics/drawable/ShapeDrawable;-><init>(Landroid/graphics/drawable/shapes/Shape;)V
|
||||
invoke-direct {p1, v2}, Landroid/graphics/drawable/ShapeDrawable;-><init>(Landroid/graphics/drawable/shapes/Shape;)V
|
||||
|
||||
const/4 p1, 0x1
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-virtual {v2}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;
|
||||
invoke-virtual {p1}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {p0, p1, v3}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
|
||||
invoke-virtual {p0, v2, v3}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
|
||||
|
||||
invoke-virtual {v2}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;
|
||||
invoke-virtual {p1}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;
|
||||
|
||||
move-result-object p1
|
||||
move-result-object v2
|
||||
|
||||
iget v3, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
|
||||
|
@ -126,20 +152,22 @@
|
|||
|
||||
const/high16 v4, 0x1e000000
|
||||
|
||||
invoke-virtual {p1, v3, v1, v0, v4}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
|
||||
invoke-virtual {v2, v3, v1, v0, v4}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
|
||||
|
||||
iget p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
|
||||
invoke-virtual {p0, p1, p1, p1, p1}, Landroid/widget/ImageView;->setPadding(IIII)V
|
||||
invoke-virtual {p0, v0, v0, v0, v0}, Landroid/widget/ImageView;->setPadding(IIII)V
|
||||
|
||||
move-object v0, v2
|
||||
move-object v0, p1
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v0}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/graphics/Paint;->setColor(I)V
|
||||
iget v1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mBackgroundColor:I
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/graphics/Paint;->setColor(I)V
|
||||
|
||||
invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->setBackground(Landroid/view/View;Landroid/graphics/drawable/Drawable;)V
|
||||
|
||||
|
@ -156,6 +184,14 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public getBackgroundColor()I
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mBackgroundColor:I
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public onAnimationEnd()V
|
||||
.locals 2
|
||||
|
||||
|
@ -262,22 +298,8 @@
|
|||
|
||||
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V
|
||||
|
||||
iput p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mBackgroundColor:I
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setBackgroundColorRes(I)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, p1}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/swiperefreshlayout/widget/CircleImageView;->setBackgroundColor(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# annotations
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -0,0 +1,76 @@
|
|||
.class public Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SwipeRefreshLayout.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/Parcelable$Creator;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Landroid/os/Parcelable$Creator<",
|
||||
"Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;",
|
||||
">;"
|
||||
}
|
||||
.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;)Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
|
||||
invoke-direct {v0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;-><init>(Landroid/os/Parcel;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState$1;->createFromParcel(Landroid/os/Parcel;)Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public newArray(I)[Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
.locals 0
|
||||
|
||||
new-array p1, p1, [Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic newArray(I)[Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState$1;->newArray(I)[Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,92 @@
|
|||
.class public Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
.super Landroid/view/View$BaseSavedState;
|
||||
.source "SwipeRefreshLayout.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "SavedState"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/os/Parcelable$Creator<",
|
||||
"Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mRefreshing:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState$1;
|
||||
|
||||
invoke-direct {v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState$1;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;->CREATOR:Landroid/os/Parcelable$Creator;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/os/Parcel;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroid/view/View$BaseSavedState;-><init>(Landroid/os/Parcel;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readByte()B
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
iput-boolean p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;->mRefreshing:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/os/Parcelable;Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroid/view/View$BaseSavedState;-><init>(Landroid/os/Parcelable;)V
|
||||
|
||||
iput-boolean p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;->mRefreshing:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public writeToParcel(Landroid/os/Parcel;I)V
|
||||
.locals 0
|
||||
|
||||
invoke-super {p0, p1, p2}, Landroid/view/View$BaseSavedState;->writeToParcel(Landroid/os/Parcel;I)V
|
||||
|
||||
iget-boolean p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;->mRefreshing:Z
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeByte(B)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -3,6 +3,10 @@
|
|||
.source "SwipeRefreshLayout.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/core/view/NestedScrollingParent3;
|
||||
.implements Landroidx/core/view/NestedScrollingParent2;
|
||||
.implements Landroidx/core/view/NestedScrollingChild3;
|
||||
.implements Landroidx/core/view/NestedScrollingChild2;
|
||||
.implements Landroidx/core/view/NestedScrollingParent;
|
||||
.implements Landroidx/core/view/NestedScrollingChild;
|
||||
|
||||
|
@ -11,7 +15,8 @@
|
|||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnChildScrollUpCallback;,
|
||||
Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;
|
||||
Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;,
|
||||
Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
@ -23,8 +28,6 @@
|
|||
|
||||
.field public static final ANIMATE_TO_TRIGGER_DURATION:I = 0xc8
|
||||
|
||||
.field public static final CIRCLE_BG_LIGHT:I = -0x50506
|
||||
|
||||
.field public static final CIRCLE_DIAMETER:I = 0x28
|
||||
.annotation build Landroidx/annotation/VisibleForTesting;
|
||||
.end annotation
|
||||
|
@ -87,6 +90,8 @@
|
|||
|
||||
.field public final mDecelerateInterpolator:Landroid/view/animation/DecelerateInterpolator;
|
||||
|
||||
.field public mEnableLegacyRequestDisallowInterceptTouch:Z
|
||||
|
||||
.field public mFrom:I
|
||||
|
||||
.field public mInitialDownY:F
|
||||
|
@ -105,6 +110,8 @@
|
|||
|
||||
.field public final mNestedScrollingParentHelper:Landroidx/core/view/NestedScrollingParentHelper;
|
||||
|
||||
.field public final mNestedScrollingV2ConsumedCompat:[I
|
||||
|
||||
.field public mNotify:Z
|
||||
|
||||
.field public mOriginalOffsetTop:I
|
||||
|
@ -212,9 +219,13 @@
|
|||
|
||||
iput-object v2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mParentScrollConsumed:[I
|
||||
|
||||
new-array v2, v1, [I
|
||||
|
||||
iput-object v2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mParentOffsetInWindow:[I
|
||||
|
||||
new-array v1, v1, [I
|
||||
|
||||
iput-object v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mParentOffsetInWindow:[I
|
||||
iput-object v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mNestedScrollingV2ConsumedCompat:[I
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
||||
|
@ -446,7 +457,7 @@
|
|||
.end method
|
||||
|
||||
.method private createProgressView()V
|
||||
.locals 3
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
|
@ -454,9 +465,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v2, -0x50506
|
||||
|
||||
invoke-direct {v0, v1, v2}, Landroidx/swiperefreshlayout/widget/CircleImageView;-><init>(Landroid/content/Context;I)V
|
||||
invoke-direct {v0, v1}, Landroidx/swiperefreshlayout/widget/CircleImageView;-><init>(Landroid/content/Context;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mCircleView:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
||||
|
@ -1245,6 +1254,63 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public dispatchNestedPreScroll(II[I[II)Z
|
||||
.locals 0
|
||||
|
||||
if-nez p5, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->dispatchNestedPreScroll(II[I[I)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public dispatchNestedScroll(IIII[II[I)V
|
||||
.locals 8
|
||||
.param p5 # [I
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p7 # [I
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
if-nez p6, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mNestedScrollingChildHelper:Landroidx/core/view/NestedScrollingChildHelper;
|
||||
|
||||
move v1, p1
|
||||
|
||||
move v2, p2
|
||||
|
||||
move v3, p3
|
||||
|
||||
move v4, p4
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
move v6, p6
|
||||
|
||||
move-object v7, p7
|
||||
|
||||
invoke-virtual/range {v0 .. v7}, Landroidx/core/view/NestedScrollingChildHelper;->dispatchNestedScroll(IIII[II[I)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public dispatchNestedScroll(IIII[I)Z
|
||||
.locals 6
|
||||
|
||||
|
@ -1267,6 +1333,42 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public dispatchNestedScroll(IIII[II)Z
|
||||
.locals 7
|
||||
|
||||
if-nez p6, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mNestedScrollingChildHelper:Landroidx/core/view/NestedScrollingChildHelper;
|
||||
|
||||
move v1, p1
|
||||
|
||||
move v2, p2
|
||||
|
||||
move v3, p3
|
||||
|
||||
move v4, p4
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
move v6, p6
|
||||
|
||||
invoke-virtual/range {v0 .. v6}, Landroidx/core/view/NestedScrollingChildHelper;->dispatchNestedScroll(IIII[II)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public getChildDrawingOrder(II)I
|
||||
.locals 1
|
||||
|
||||
|
@ -1340,6 +1442,28 @@
|
|||
return v0
|
||||
.end method
|
||||
|
||||
.method public hasNestedScrollingParent(I)Z
|
||||
.locals 0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->hasNestedScrollingParent()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public isNestedScrollingEnabled()Z
|
||||
.locals 1
|
||||
|
||||
|
@ -1818,8 +1942,6 @@
|
|||
|
||||
float-to-int v1, v1
|
||||
|
||||
sub-int v1, p3, v1
|
||||
|
||||
aput v1, p4, v0
|
||||
|
||||
iput p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mTotalUnconsumed:F
|
||||
|
@ -1908,10 +2030,88 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNestedScroll(Landroid/view/View;IIII)V
|
||||
.locals 6
|
||||
.method public onNestedPreScroll(Landroid/view/View;II[II)V
|
||||
.locals 0
|
||||
|
||||
iget-object v5, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mParentOffsetInWindow:[I
|
||||
if-nez p5, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onNestedPreScroll(Landroid/view/View;II[I)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNestedScroll(Landroid/view/View;IIII)V
|
||||
.locals 8
|
||||
|
||||
iget-object v7, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mNestedScrollingV2ConsumedCompat:[I
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
move v2, p2
|
||||
|
||||
move v3, p3
|
||||
|
||||
move v4, p4
|
||||
|
||||
move v5, p5
|
||||
|
||||
invoke-virtual/range {v0 .. v7}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onNestedScroll(Landroid/view/View;IIIII[I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNestedScroll(Landroid/view/View;IIIII)V
|
||||
.locals 8
|
||||
|
||||
iget-object v7, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mNestedScrollingV2ConsumedCompat:[I
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
move v2, p2
|
||||
|
||||
move v3, p3
|
||||
|
||||
move v4, p4
|
||||
|
||||
move v5, p5
|
||||
|
||||
move v6, p6
|
||||
|
||||
invoke-virtual/range {v0 .. v7}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onNestedScroll(Landroid/view/View;IIIII[I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNestedScroll(Landroid/view/View;IIIII[I)V
|
||||
.locals 11
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p7 # [I
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
move-object v8, p0
|
||||
|
||||
if-eqz p6, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v9, 0x1
|
||||
|
||||
aget v10, p7, v9
|
||||
|
||||
iget-object v5, v8, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mParentOffsetInWindow:[I
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
|
@ -1921,41 +2121,63 @@
|
|||
|
||||
move v3, p4
|
||||
|
||||
move v4, p5
|
||||
move/from16 v4, p5
|
||||
|
||||
invoke-virtual/range {v0 .. v5}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->dispatchNestedScroll(IIII[I)Z
|
||||
move/from16 v6, p6
|
||||
|
||||
iget-object p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mParentOffsetInWindow:[I
|
||||
move-object/from16 v7, p7
|
||||
|
||||
const/4 p2, 0x1
|
||||
invoke-virtual/range {v0 .. v7}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->dispatchNestedScroll(IIII[II[I)V
|
||||
|
||||
aget p1, p1, p2
|
||||
aget v0, p7, v9
|
||||
|
||||
add-int/2addr p5, p1
|
||||
sub-int/2addr v0, v10
|
||||
|
||||
if-gez p5, :cond_0
|
||||
sub-int v0, p5, v0
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v1, v8, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mParentOffsetInWindow:[I
|
||||
|
||||
aget v1, v1, v9
|
||||
|
||||
add-int v1, p5, v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
move v1, v0
|
||||
|
||||
:goto_0
|
||||
if-gez v1, :cond_2
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->canChildScrollUp()Z
|
||||
|
||||
move-result p1
|
||||
move-result v2
|
||||
|
||||
if-nez p1, :cond_0
|
||||
if-nez v2, :cond_2
|
||||
|
||||
iget p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mTotalUnconsumed:F
|
||||
iget v2, v8, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mTotalUnconsumed:F
|
||||
|
||||
invoke-static {p5}, Ljava/lang/Math;->abs(I)I
|
||||
invoke-static {v1}, Ljava/lang/Math;->abs(I)I
|
||||
|
||||
move-result p2
|
||||
move-result v1
|
||||
|
||||
int-to-float p2, p2
|
||||
int-to-float v1, v1
|
||||
|
||||
add-float/2addr p1, p2
|
||||
add-float/2addr v2, v1
|
||||
|
||||
iput p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mTotalUnconsumed:F
|
||||
iput v2, v8, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mTotalUnconsumed:F
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->moveSpinner(F)V
|
||||
invoke-direct {p0, v2}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->moveSpinner(F)V
|
||||
|
||||
:cond_0
|
||||
aget v1, p7, v9
|
||||
|
||||
add-int/2addr v1, v0
|
||||
|
||||
aput v1, p7, v9
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -1981,6 +2203,51 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
|
||||
.locals 0
|
||||
|
||||
if-nez p4, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onRestoreInstanceState(Landroid/os/Parcelable;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View$BaseSavedState;->getSuperState()Landroid/os/Parcelable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-super {p0, v0}, Landroid/view/ViewGroup;->onRestoreInstanceState(Landroid/os/Parcelable;)V
|
||||
|
||||
iget-boolean p1, p1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;->mRefreshing:Z
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onSaveInstanceState()Landroid/os/Parcelable;
|
||||
.locals 3
|
||||
|
||||
invoke-super {p0}, Landroid/view/ViewGroup;->onSaveInstanceState()Landroid/os/Parcelable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;
|
||||
|
||||
iget-boolean v2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mRefreshing:Z
|
||||
|
||||
invoke-direct {v1, v0, v2}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$SavedState;-><init>(Landroid/os/Parcelable;Z)V
|
||||
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
|
||||
.locals 0
|
||||
|
||||
|
@ -2013,6 +2280,23 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;II)Z
|
||||
.locals 0
|
||||
|
||||
if-nez p4, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public onStopNestedScroll(Landroid/view/View;)V
|
||||
.locals 2
|
||||
|
||||
|
@ -2042,6 +2326,17 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public onStopNestedScroll(Landroid/view/View;I)V
|
||||
.locals 0
|
||||
|
||||
if-nez p2, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onStopNestedScroll(Landroid/view/View;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
||||
.locals 5
|
||||
|
||||
|
@ -2116,7 +2411,7 @@
|
|||
:cond_2
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onSecondaryPointerUp(Landroid/view/MotionEvent;)V
|
||||
|
||||
goto :goto_0
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_3
|
||||
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I
|
||||
|
@ -2185,6 +2480,12 @@
|
|||
|
||||
if-lez v0, :cond_8
|
||||
|
||||
invoke-virtual {p0}, Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {v0, v1}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->moveSpinner(F)V
|
||||
|
||||
goto :goto_0
|
||||
|
@ -2258,19 +2559,35 @@
|
|||
|
||||
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mTarget:Landroid/view/View;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-static {v0}, Landroidx/core/view/ViewCompat;->isNestedScrollingEnabled(Landroid/view/View;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mEnableLegacyRequestDisallowInterceptTouch:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-interface {v0, p1}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-super {p0, p1}, Landroid/view/ViewGroup;->requestDisallowInterceptTouchEvent(Z)V
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
@ -2434,6 +2751,16 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public setLegacyRequestDisallowInterceptTouchEventEnabled(Z)V
|
||||
.locals 0
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
iput-boolean p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mEnableLegacyRequestDisallowInterceptTouch:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setNestedScrollingEnabled(Z)V
|
||||
.locals 1
|
||||
|
||||
|
@ -2709,6 +3036,28 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public startNestedScroll(II)Z
|
||||
.locals 0
|
||||
|
||||
if-nez p2, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->startNestedScroll(I)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public startScaleDownAnimation(Landroid/view/animation/Animation$AnimationListener;)V
|
||||
.locals 3
|
||||
|
||||
|
@ -2748,3 +3097,14 @@
|
|||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public stopNestedScroll(I)V
|
||||
.locals 0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->stopNestedScroll()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue