Changes of com.discord v889
This commit is contained in:
parent
978663884f
commit
dc8b0b8647
7005 changed files with 392258 additions and 379599 deletions
|
@ -15,13 +15,13 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_color_filter:I = 0x7f0600ba
|
||||
.field public static final notification_action_color_filter:I = 0x7f0600b5
|
||||
|
||||
.field public static final notification_icon_bg_color:I = 0x7f0600bb
|
||||
.field public static final notification_icon_bg_color:I = 0x7f0600b6
|
||||
|
||||
.field public static final ripple_material_light:I = 0x7f0600fd
|
||||
.field public static final ripple_material_light:I = 0x7f0600f8
|
||||
|
||||
.field public static final secondary_text_default_material_light:I = 0x7f0600ff
|
||||
.field public static final secondary_text_default_material_light:I = 0x7f0600fa
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -15,49 +15,49 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final compat_button_inset_horizontal_material:I = 0x7f070079
|
||||
.field public static final compat_button_inset_horizontal_material:I = 0x7f070076
|
||||
|
||||
.field public static final compat_button_inset_vertical_material:I = 0x7f07007a
|
||||
.field public static final compat_button_inset_vertical_material:I = 0x7f070077
|
||||
|
||||
.field public static final compat_button_padding_horizontal_material:I = 0x7f07007b
|
||||
.field public static final compat_button_padding_horizontal_material:I = 0x7f070078
|
||||
|
||||
.field public static final compat_button_padding_vertical_material:I = 0x7f07007c
|
||||
.field public static final compat_button_padding_vertical_material:I = 0x7f070079
|
||||
|
||||
.field public static final compat_control_corner_material:I = 0x7f07007d
|
||||
.field public static final compat_control_corner_material:I = 0x7f07007a
|
||||
|
||||
.field public static final compat_notification_large_icon_max_height:I = 0x7f07007e
|
||||
.field public static final compat_notification_large_icon_max_height:I = 0x7f07007b
|
||||
|
||||
.field public static final compat_notification_large_icon_max_width:I = 0x7f07007f
|
||||
.field public static final compat_notification_large_icon_max_width:I = 0x7f07007c
|
||||
|
||||
.field public static final notification_action_icon_size:I = 0x7f070109
|
||||
.field public static final notification_action_icon_size:I = 0x7f070105
|
||||
|
||||
.field public static final notification_action_text_size:I = 0x7f07010a
|
||||
.field public static final notification_action_text_size:I = 0x7f070106
|
||||
|
||||
.field public static final notification_big_circle_margin:I = 0x7f07010b
|
||||
.field public static final notification_big_circle_margin:I = 0x7f070107
|
||||
|
||||
.field public static final notification_content_margin_start:I = 0x7f07010c
|
||||
.field public static final notification_content_margin_start:I = 0x7f070108
|
||||
|
||||
.field public static final notification_large_icon_height:I = 0x7f07010d
|
||||
.field public static final notification_large_icon_height:I = 0x7f070109
|
||||
|
||||
.field public static final notification_large_icon_width:I = 0x7f07010e
|
||||
.field public static final notification_large_icon_width:I = 0x7f07010a
|
||||
|
||||
.field public static final notification_main_column_padding_top:I = 0x7f07010f
|
||||
.field public static final notification_main_column_padding_top:I = 0x7f07010b
|
||||
|
||||
.field public static final notification_media_narrow_margin:I = 0x7f070110
|
||||
.field public static final notification_media_narrow_margin:I = 0x7f07010c
|
||||
|
||||
.field public static final notification_right_icon_size:I = 0x7f070111
|
||||
.field public static final notification_right_icon_size:I = 0x7f07010d
|
||||
|
||||
.field public static final notification_right_side_padding_top:I = 0x7f070112
|
||||
.field public static final notification_right_side_padding_top:I = 0x7f07010e
|
||||
|
||||
.field public static final notification_small_icon_background_padding:I = 0x7f070113
|
||||
.field public static final notification_small_icon_background_padding:I = 0x7f07010f
|
||||
|
||||
.field public static final notification_small_icon_size_as_large:I = 0x7f070114
|
||||
.field public static final notification_small_icon_size_as_large:I = 0x7f070110
|
||||
|
||||
.field public static final notification_subtext_size:I = 0x7f070115
|
||||
.field public static final notification_subtext_size:I = 0x7f070111
|
||||
|
||||
.field public static final notification_top_pad:I = 0x7f070116
|
||||
.field public static final notification_top_pad:I = 0x7f070112
|
||||
|
||||
.field public static final notification_top_pad_large_text:I = 0x7f070117
|
||||
.field public static final notification_top_pad_large_text:I = 0x7f070113
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -15,29 +15,29 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_background:I = 0x7f0803b5
|
||||
.field public static final notification_action_background:I = 0x7f0803ad
|
||||
|
||||
.field public static final notification_bg:I = 0x7f0803b6
|
||||
.field public static final notification_bg:I = 0x7f0803ae
|
||||
|
||||
.field public static final notification_bg_low:I = 0x7f0803b7
|
||||
.field public static final notification_bg_low:I = 0x7f0803af
|
||||
|
||||
.field public static final notification_bg_low_normal:I = 0x7f0803b8
|
||||
.field public static final notification_bg_low_normal:I = 0x7f0803b0
|
||||
|
||||
.field public static final notification_bg_low_pressed:I = 0x7f0803b9
|
||||
.field public static final notification_bg_low_pressed:I = 0x7f0803b1
|
||||
|
||||
.field public static final notification_bg_normal:I = 0x7f0803ba
|
||||
.field public static final notification_bg_normal:I = 0x7f0803b2
|
||||
|
||||
.field public static final notification_bg_normal_pressed:I = 0x7f0803bb
|
||||
.field public static final notification_bg_normal_pressed:I = 0x7f0803b3
|
||||
|
||||
.field public static final notification_icon_background:I = 0x7f0803bc
|
||||
.field public static final notification_icon_background:I = 0x7f0803b4
|
||||
|
||||
.field public static final notification_template_icon_bg:I = 0x7f0803bd
|
||||
.field public static final notification_template_icon_bg:I = 0x7f0803b5
|
||||
|
||||
.field public static final notification_template_icon_low_bg:I = 0x7f0803be
|
||||
.field public static final notification_template_icon_low_bg:I = 0x7f0803b6
|
||||
|
||||
.field public static final notification_tile_bg:I = 0x7f0803bf
|
||||
.field public static final notification_tile_bg:I = 0x7f0803b7
|
||||
|
||||
.field public static final notify_panel_notification_icon_bg:I = 0x7f0803c0
|
||||
.field public static final notify_panel_notification_icon_bg:I = 0x7f0803b8
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -31,45 +31,45 @@
|
|||
|
||||
.field public static final chronometer:I = 0x7f0a01b2
|
||||
|
||||
.field public static final forever:I = 0x7f0a0279
|
||||
.field public static final forever:I = 0x7f0a0278
|
||||
|
||||
.field public static final icon:I = 0x7f0a030b
|
||||
.field public static final icon:I = 0x7f0a0309
|
||||
|
||||
.field public static final icon_group:I = 0x7f0a030c
|
||||
.field public static final icon_group:I = 0x7f0a030a
|
||||
|
||||
.field public static final info:I = 0x7f0a0321
|
||||
.field public static final info:I = 0x7f0a031f
|
||||
|
||||
.field public static final italic:I = 0x7f0a034e
|
||||
.field public static final italic:I = 0x7f0a034c
|
||||
|
||||
.field public static final line1:I = 0x7f0a0391
|
||||
.field public static final line1:I = 0x7f0a038f
|
||||
|
||||
.field public static final line3:I = 0x7f0a0392
|
||||
.field public static final line3:I = 0x7f0a0390
|
||||
|
||||
.field public static final normal:I = 0x7f0a0413
|
||||
.field public static final normal:I = 0x7f0a0411
|
||||
|
||||
.field public static final notification_background:I = 0x7f0a041a
|
||||
.field public static final notification_background:I = 0x7f0a0418
|
||||
|
||||
.field public static final notification_main_column:I = 0x7f0a041b
|
||||
.field public static final notification_main_column:I = 0x7f0a0419
|
||||
|
||||
.field public static final notification_main_column_container:I = 0x7f0a041c
|
||||
.field public static final notification_main_column_container:I = 0x7f0a041a
|
||||
|
||||
.field public static final right_icon:I = 0x7f0a04c0
|
||||
.field public static final right_icon:I = 0x7f0a04be
|
||||
|
||||
.field public static final right_side:I = 0x7f0a04c1
|
||||
.field public static final right_side:I = 0x7f0a04bf
|
||||
|
||||
.field public static final tag_transition_group:I = 0x7f0a0659
|
||||
.field public static final tag_transition_group:I = 0x7f0a0661
|
||||
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a065a
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a0662
|
||||
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a065b
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a0663
|
||||
|
||||
.field public static final text:I = 0x7f0a0660
|
||||
.field public static final text:I = 0x7f0a0668
|
||||
|
||||
.field public static final text2:I = 0x7f0a0661
|
||||
.field public static final text2:I = 0x7f0a0669
|
||||
|
||||
.field public static final time:I = 0x7f0a066f
|
||||
.field public static final time:I = 0x7f0a0677
|
||||
|
||||
.field public static final title:I = 0x7f0a0670
|
||||
.field public static final title:I = 0x7f0a0678
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_overflow:I = 0x7f120ec6
|
||||
.field public static final status_bar_notification_info_overflow:I = 0x7f120ed8
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -15,19 +15,19 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final TextAppearance_Compat_Notification:I = 0x7f130180
|
||||
.field public static final TextAppearance_Compat_Notification:I = 0x7f13017f
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f130181
|
||||
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f130180
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f130183
|
||||
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f130182
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f130186
|
||||
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f130185
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f130188
|
||||
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f130187
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1302f9
|
||||
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1302f3
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1302fa
|
||||
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1302f4
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -287,10 +287,6 @@
|
|||
|
||||
int-to-float p2, p2
|
||||
|
||||
int-to-float p3, p3
|
||||
|
||||
div-float/2addr p2, p3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
|
@ -304,11 +300,11 @@
|
|||
|
||||
int-to-float p2, p4
|
||||
|
||||
:goto_0
|
||||
int-to-float p3, p3
|
||||
|
||||
div-float/2addr p2, p3
|
||||
|
||||
:goto_0
|
||||
iget-object p3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p3, p1, p2}, Landroidx/drawerlayout/widget/DrawerLayout;->setDrawerViewOffset(Landroid/view/View;F)V
|
||||
|
|
|
@ -643,7 +643,7 @@
|
|||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getOpacity()I
|
||||
|
||||
|
@ -659,9 +659,6 @@
|
|||
|
||||
:cond_0
|
||||
return v0
|
||||
|
||||
:cond_1
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method private hasPeekingDrawer()Z
|
||||
|
@ -1498,8 +1495,6 @@
|
|||
|
||||
move-result v4
|
||||
|
||||
or-int/2addr v3, v4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
|
@ -1517,9 +1512,9 @@
|
|||
|
||||
move-result v4
|
||||
|
||||
:goto_1
|
||||
or-int/2addr v3, v4
|
||||
|
||||
:goto_1
|
||||
iput-boolean v1, v5, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->isPeeking:Z
|
||||
|
||||
:cond_2
|
||||
|
@ -2964,11 +2959,11 @@
|
|||
|
||||
iget-boolean v0, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDrawStatusBarBackground:Z
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
|
@ -2976,7 +2971,7 @@
|
|||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-lt v0, v1, :cond_1
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLastInsets:Ljava/lang/Object;
|
||||
|
||||
|
@ -2993,13 +2988,8 @@
|
|||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-lez v0, :cond_2
|
||||
if-lez v0, :cond_1
|
||||
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mStatusBarBackground:Landroid/graphics/drawable/Drawable;
|
||||
|
||||
|
@ -3013,7 +3003,7 @@
|
|||
|
||||
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
|
||||
|
||||
:cond_2
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -3042,20 +3032,28 @@
|
|||
|
||||
const/4 v3, 0x0
|
||||
|
||||
packed-switch v0, :pswitch_data_0
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
goto :goto_1
|
||||
if-eq v0, v2, :cond_1
|
||||
|
||||
:pswitch_0
|
||||
const/4 p1, 0x2
|
||||
|
||||
const/4 v4, 0x3
|
||||
|
||||
if-eq v0, p1, :cond_0
|
||||
|
||||
if-eq v0, v4, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLeftDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/customview/widget/ViewDragHelper;->checkTouchSlop(I)Z
|
||||
invoke-virtual {p1, v4}, Landroidx/customview/widget/ViewDragHelper;->checkTouchSlop(I)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
iget-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLeftCallback:Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;
|
||||
|
||||
|
@ -3065,18 +3063,22 @@
|
|||
|
||||
invoke-virtual {p1}, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->removeCallbacks()V
|
||||
|
||||
goto :goto_1
|
||||
goto :goto_0
|
||||
|
||||
:pswitch_1
|
||||
:cond_1
|
||||
invoke-virtual {p0, v2}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawers(Z)V
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mChildrenCanceledTouch:Z
|
||||
|
||||
goto :goto_1
|
||||
:cond_2
|
||||
:goto_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:pswitch_2
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
||||
|
||||
move-result v0
|
||||
|
@ -3095,7 +3097,7 @@
|
|||
|
||||
cmpl-float v4, v4, v5
|
||||
|
||||
if-lez v4, :cond_0
|
||||
if-lez v4, :cond_4
|
||||
|
||||
iget-object v4, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLeftDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
|
@ -3107,63 +3109,49 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->isContentView(Landroid/view/View;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
:cond_4
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
:goto_1
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mChildrenCanceledTouch:Z
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_2
|
||||
if-nez v1, :cond_3
|
||||
if-nez v1, :cond_6
|
||||
|
||||
if-nez p1, :cond_3
|
||||
if-nez p1, :cond_6
|
||||
|
||||
invoke-direct {p0}, Landroidx/drawerlayout/widget/DrawerLayout;->hasPeekingDrawer()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_3
|
||||
if-nez p1, :cond_6
|
||||
|
||||
iget-boolean p1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mChildrenCanceledTouch:Z
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
if-eqz p1, :cond_5
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_2
|
||||
:cond_5
|
||||
return v3
|
||||
|
||||
:cond_3
|
||||
:cond_6
|
||||
:goto_3
|
||||
return v2
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x0
|
||||
:pswitch_2
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
:pswitch_1
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
|
||||
|
@ -3807,10 +3795,6 @@
|
|||
|
||||
invoke-virtual {v12, v2, v13}, Landroid/view/View;->measure(II)V
|
||||
|
||||
move/from16 v15, p1
|
||||
|
||||
move/from16 v13, p2
|
||||
|
||||
goto/16 :goto_8
|
||||
|
||||
:cond_a
|
||||
|
@ -3941,7 +3925,7 @@
|
|||
|
||||
invoke-virtual {v12, v2, v5}, Landroid/view/View;->measure(II)V
|
||||
|
||||
goto :goto_8
|
||||
goto :goto_9
|
||||
|
||||
:cond_11
|
||||
new-instance v1, Ljava/lang/IllegalStateException;
|
||||
|
@ -3973,11 +3957,12 @@
|
|||
throw v1
|
||||
|
||||
:cond_12
|
||||
:goto_8
|
||||
move/from16 v15, p1
|
||||
|
||||
move/from16 v13, p2
|
||||
|
||||
:goto_8
|
||||
:goto_9
|
||||
add-int/lit8 v9, v9, 0x1
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
@ -4201,19 +4186,30 @@
|
|||
|
||||
and-int/lit16 v0, v0, 0xff
|
||||
|
||||
const/4 v1, 0x3
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x1
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
if-eq v0, v1, :cond_2
|
||||
if-eq v0, v1, :cond_1
|
||||
|
||||
packed-switch v0, :pswitch_data_0
|
||||
const/4 p1, 0x3
|
||||
|
||||
goto :goto_1
|
||||
if-eq v0, p1, :cond_0
|
||||
|
||||
:pswitch_0
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawers(Z)V
|
||||
|
||||
iput-boolean v2, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
|
||||
iput-boolean v2, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mChildrenCanceledTouch:Z
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
||||
|
||||
move-result v0
|
||||
|
@ -4222,37 +4218,37 @@
|
|||
|
||||
move-result p1
|
||||
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLeftDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
iget-object v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLeftDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
float-to-int v4, v0
|
||||
|
||||
float-to-int v5, p1
|
||||
|
||||
invoke-virtual {v1, v4, v5}, Landroidx/customview/widget/ViewDragHelper;->findTopChildUnder(II)Landroid/view/View;
|
||||
invoke-virtual {v3, v4, v5}, Landroidx/customview/widget/ViewDragHelper;->findTopChildUnder(II)Landroid/view/View;
|
||||
|
||||
move-result-object v1
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
if-eqz v3, :cond_3
|
||||
|
||||
invoke-virtual {p0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->isContentView(Landroid/view/View;)Z
|
||||
invoke-virtual {p0, v3}, Landroidx/drawerlayout/widget/DrawerLayout;->isContentView(Landroid/view/View;)Z
|
||||
|
||||
move-result v1
|
||||
move-result v3
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
if-eqz v3, :cond_3
|
||||
|
||||
iget v1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mInitialMotionX:F
|
||||
iget v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mInitialMotionX:F
|
||||
|
||||
sub-float/2addr v0, v1
|
||||
sub-float/2addr v0, v3
|
||||
|
||||
iget v1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mInitialMotionY:F
|
||||
iget v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mInitialMotionY:F
|
||||
|
||||
sub-float/2addr p1, v1
|
||||
sub-float/2addr p1, v3
|
||||
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLeftDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
iget-object v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mLeftDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/customview/widget/ViewDragHelper;->getTouchSlop()I
|
||||
invoke-virtual {v3}, Landroidx/customview/widget/ViewDragHelper;->getTouchSlop()I
|
||||
|
||||
move-result v1
|
||||
move-result v3
|
||||
|
||||
mul-float v0, v0, v0
|
||||
|
||||
|
@ -4260,19 +4256,19 @@
|
|||
|
||||
add-float/2addr v0, p1
|
||||
|
||||
mul-int v1, v1, v1
|
||||
mul-int v3, v3, v3
|
||||
|
||||
int-to-float p1, v1
|
||||
int-to-float p1, v3
|
||||
|
||||
cmpg-float p1, v0, p1
|
||||
|
||||
if-gez p1, :cond_1
|
||||
if-gez p1, :cond_3
|
||||
|
||||
invoke-virtual {p0}, Landroidx/drawerlayout/widget/DrawerLayout;->findOpenDrawer()Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerLockMode(Landroid/view/View;)I
|
||||
|
||||
|
@ -4280,28 +4276,27 @@
|
|||
|
||||
const/4 v0, 0x2
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
if-ne p1, v0, :cond_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
:cond_2
|
||||
const/4 p1, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x1
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawers(Z)V
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:pswitch_1
|
||||
:cond_3
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawers(Z)V
|
||||
|
||||
iput-boolean v2, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
||||
|
||||
move-result v0
|
||||
|
@ -4314,27 +4309,12 @@
|
|||
|
||||
iput p1, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mInitialMotionY:F
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
iput-boolean v2, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mChildrenCanceledTouch:Z
|
||||
iput-boolean v2, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mChildrenCanceledTouch:Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p0, v2}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawers(Z)V
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mDisallowInterceptRequested:Z
|
||||
|
||||
iput-boolean v3, p0, Landroidx/drawerlayout/widget/DrawerLayout;->mChildrenCanceledTouch:Z
|
||||
|
||||
:goto_1
|
||||
return v2
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x0
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
:goto_2
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public openDrawer(I)V
|
||||
|
@ -4746,39 +4726,39 @@
|
|||
invoke-virtual {p2}, Landroidx/customview/widget/ViewDragHelper;->cancel()V
|
||||
|
||||
:cond_5
|
||||
packed-switch p1, :pswitch_data_0
|
||||
const/4 p2, 0x1
|
||||
|
||||
if-eq p1, p2, :cond_7
|
||||
|
||||
const/4 p2, 0x2
|
||||
|
||||
if-eq p1, p2, :cond_6
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:pswitch_0
|
||||
:cond_6
|
||||
invoke-virtual {p0, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->findDrawerWithGravity(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_6
|
||||
if-eqz p1, :cond_8
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->openDrawer(Landroid/view/View;)V
|
||||
|
||||
return-void
|
||||
|
||||
:pswitch_1
|
||||
:cond_7
|
||||
invoke-virtual {p0, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->findDrawerWithGravity(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_6
|
||||
if-eqz p1, :cond_8
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawer(Landroid/view/View;)V
|
||||
|
||||
:cond_6
|
||||
:cond_8
|
||||
:goto_2
|
||||
return-void
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x1
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method public setDrawerLockMode(ILandroid/view/View;)V
|
||||
|
@ -4906,8 +4886,6 @@
|
|||
|
||||
invoke-virtual {p0}, Landroidx/drawerlayout/widget/DrawerLayout;->invalidate()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
return-void
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue