Changes of com.discord v889
This commit is contained in:
parent
978663884f
commit
dc8b0b8647
7005 changed files with 392258 additions and 379599 deletions
|
@ -1284,8 +1284,6 @@
|
|||
|
||||
add-int/lit8 p2, p2, 0x1
|
||||
|
||||
return p2
|
||||
|
||||
:cond_2
|
||||
return p2
|
||||
.end method
|
||||
|
@ -1399,7 +1397,7 @@
|
|||
.end method
|
||||
|
||||
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
|
||||
.locals 3
|
||||
.locals 4
|
||||
|
||||
invoke-direct {p0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->ensureTarget()V
|
||||
|
||||
|
@ -1422,21 +1420,21 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_6
|
||||
if-eqz v1, :cond_9
|
||||
|
||||
iget-boolean v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mReturningToStart:Z
|
||||
|
||||
if-nez v1, :cond_6
|
||||
if-nez v1, :cond_9
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->canChildScrollUp()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_6
|
||||
if-nez v1, :cond_9
|
||||
|
||||
iget-boolean v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mRefreshing:Z
|
||||
|
||||
if-nez v1, :cond_6
|
||||
if-nez v1, :cond_9
|
||||
|
||||
iget-boolean v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mNestedScrollInProgress:Z
|
||||
|
||||
|
@ -1445,20 +1443,37 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v3, -0x1
|
||||
|
||||
if-eq v0, v1, :cond_6
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
if-eq v0, v1, :cond_3
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
if-eq v0, v1, :cond_6
|
||||
|
||||
const/4 v1, 0x6
|
||||
|
||||
if-eq v0, v1, :cond_5
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
||||
packed-switch v0, :pswitch_data_0
|
||||
if-eq v0, v1, :cond_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:pswitch_0
|
||||
:cond_2
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onSecondaryPointerUp(Landroid/view/MotionEvent;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mActivePointerId:I
|
||||
|
||||
if-ne v0, v1, :cond_2
|
||||
if-ne v0, v3, :cond_4
|
||||
|
||||
sget-object p1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->LOG_TAG:Ljava/lang/String;
|
||||
|
||||
|
@ -1468,16 +1483,16 @@
|
|||
|
||||
return v2
|
||||
|
||||
:cond_2
|
||||
:cond_4
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->findPointerIndex(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-gez v0, :cond_3
|
||||
if-gez v0, :cond_5
|
||||
|
||||
return v2
|
||||
|
||||
:cond_3
|
||||
:cond_5
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getY(I)F
|
||||
|
||||
move-result p1
|
||||
|
@ -1486,14 +1501,14 @@
|
|||
|
||||
goto :goto_0
|
||||
|
||||
:pswitch_1
|
||||
:cond_6
|
||||
iput-boolean v2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mIsBeingDragged:Z
|
||||
|
||||
iput v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mActivePointerId:I
|
||||
iput v3, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mActivePointerId:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:pswitch_2
|
||||
:cond_7
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mOriginalOffsetTop:I
|
||||
|
||||
iget-object v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mCircleView:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
|
@ -1520,38 +1535,25 @@
|
|||
|
||||
move-result v0
|
||||
|
||||
if-gez v0, :cond_4
|
||||
if-gez v0, :cond_8
|
||||
|
||||
return v2
|
||||
|
||||
:cond_4
|
||||
:cond_8
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getY(I)F
|
||||
|
||||
move-result p1
|
||||
|
||||
iput p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mInitialDownY:F
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_5
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onSecondaryPointerUp(Landroid/view/MotionEvent;)V
|
||||
|
||||
:goto_0
|
||||
iget-boolean p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mIsBeingDragged:Z
|
||||
|
||||
return p1
|
||||
|
||||
:cond_6
|
||||
:cond_9
|
||||
:goto_1
|
||||
return v2
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x0
|
||||
:pswitch_2
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
:pswitch_1
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method protected onLayout(ZIIII)V
|
||||
|
@ -2039,7 +2041,7 @@
|
|||
.end method
|
||||
|
||||
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
||||
.locals 4
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I
|
||||
|
||||
|
@ -2060,21 +2062,21 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_8
|
||||
if-eqz v1, :cond_e
|
||||
|
||||
iget-boolean v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mReturningToStart:Z
|
||||
|
||||
if-nez v1, :cond_8
|
||||
if-nez v1, :cond_e
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->canChildScrollUp()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_8
|
||||
if-nez v1, :cond_e
|
||||
|
||||
iget-boolean v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mRefreshing:Z
|
||||
|
||||
if-nez v1, :cond_8
|
||||
if-nez v1, :cond_e
|
||||
|
||||
iget-boolean v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mNestedScrollInProgress:Z
|
||||
|
||||
|
@ -2083,24 +2085,43 @@
|
|||
goto/16 :goto_1
|
||||
|
||||
:cond_1
|
||||
const/high16 v1, 0x3f000000 # 0.5f
|
||||
const/4 v1, 0x1
|
||||
|
||||
packed-switch v0, :pswitch_data_0
|
||||
if-eqz v0, :cond_c
|
||||
|
||||
const/high16 v3, 0x3f000000 # 0.5f
|
||||
|
||||
if-eq v0, v1, :cond_9
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
if-eq v0, v4, :cond_6
|
||||
|
||||
const/4 v3, 0x3
|
||||
|
||||
if-eq v0, v3, :cond_5
|
||||
|
||||
const/4 v3, 0x5
|
||||
|
||||
if-eq v0, v3, :cond_3
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
if-eq v0, v2, :cond_2
|
||||
|
||||
:pswitch_0
|
||||
goto/16 :goto_0
|
||||
|
||||
:pswitch_1
|
||||
:cond_2
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->onSecondaryPointerUp(Landroid/view/MotionEvent;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:pswitch_2
|
||||
:cond_3
|
||||
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-gez v0, :cond_2
|
||||
if-gez v0, :cond_4
|
||||
|
||||
sget-object p1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->LOG_TAG:Ljava/lang/String;
|
||||
|
||||
|
@ -2110,7 +2131,7 @@
|
|||
|
||||
return v2
|
||||
|
||||
:cond_2
|
||||
:cond_4
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getPointerId(I)I
|
||||
|
||||
move-result p1
|
||||
|
@ -2119,17 +2140,17 @@
|
|||
|
||||
goto :goto_0
|
||||
|
||||
:pswitch_3
|
||||
:cond_5
|
||||
return v2
|
||||
|
||||
:pswitch_4
|
||||
:cond_6
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mActivePointerId:I
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->findPointerIndex(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-gez v0, :cond_3
|
||||
if-gez v0, :cond_7
|
||||
|
||||
sget-object p1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->LOG_TAG:Ljava/lang/String;
|
||||
|
||||
|
@ -2139,7 +2160,7 @@
|
|||
|
||||
return v2
|
||||
|
||||
:cond_3
|
||||
:cond_7
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getY(I)F
|
||||
|
||||
move-result p1
|
||||
|
@ -2148,35 +2169,35 @@
|
|||
|
||||
iget-boolean v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mIsBeingDragged:Z
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_d
|
||||
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mInitialMotionY:F
|
||||
|
||||
sub-float/2addr p1, v0
|
||||
|
||||
mul-float p1, p1, v1
|
||||
mul-float p1, p1, v3
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpl-float v0, p1, v0
|
||||
|
||||
if-lez v0, :cond_4
|
||||
if-lez v0, :cond_8
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->moveSpinner(F)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
:cond_8
|
||||
return v2
|
||||
|
||||
:pswitch_5
|
||||
:cond_9
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mActivePointerId:I
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->findPointerIndex(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-gez v0, :cond_5
|
||||
if-gez v0, :cond_a
|
||||
|
||||
sget-object p1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->LOG_TAG:Ljava/lang/String;
|
||||
|
||||
|
@ -2186,10 +2207,10 @@
|
|||
|
||||
return v2
|
||||
|
||||
:cond_5
|
||||
iget-boolean v3, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mIsBeingDragged:Z
|
||||
:cond_a
|
||||
iget-boolean v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mIsBeingDragged:Z
|
||||
|
||||
if-eqz v3, :cond_6
|
||||
if-eqz v1, :cond_b
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getY(I)F
|
||||
|
||||
|
@ -2199,20 +2220,20 @@
|
|||
|
||||
sub-float/2addr p1, v0
|
||||
|
||||
mul-float p1, p1, v1
|
||||
mul-float p1, p1, v3
|
||||
|
||||
iput-boolean v2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mIsBeingDragged:Z
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->finishSpinner(F)V
|
||||
|
||||
:cond_6
|
||||
:cond_b
|
||||
const/4 p1, -0x1
|
||||
|
||||
iput p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mActivePointerId:I
|
||||
|
||||
return v2
|
||||
|
||||
:pswitch_6
|
||||
:cond_c
|
||||
invoke-virtual {p1, v2}, Landroid/view/MotionEvent;->getPointerId(I)I
|
||||
|
||||
move-result p1
|
||||
|
@ -2221,28 +2242,13 @@
|
|||
|
||||
iput-boolean v2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mIsBeingDragged:Z
|
||||
|
||||
:cond_7
|
||||
:cond_d
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
return v1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_8
|
||||
:cond_e
|
||||
:goto_1
|
||||
return v2
|
||||
|
||||
nop
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x0
|
||||
:pswitch_6
|
||||
:pswitch_5
|
||||
:pswitch_4
|
||||
:pswitch_3
|
||||
:pswitch_0
|
||||
:pswitch_2
|
||||
:pswitch_1
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method public requestDisallowInterceptTouchEvent(Z)V
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue