Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -22,21 +22,21 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field private mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||||
.field public mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||||
|
||||
.field private mPendingInitialRun:Z
|
||||
.field public mPendingInitialRun:Z
|
||||
|
||||
.field private mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
.field public mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
.field private final mRecyclingAction:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;
|
||||
.field public final mRecyclingAction:Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;
|
||||
|
||||
.field private mRunning:Z
|
||||
.field public mRunning:Z
|
||||
|
||||
.field private mStarted:Z
|
||||
.field public mStarted:Z
|
||||
|
||||
.field private mTargetPosition:I
|
||||
.field public mTargetPosition:I
|
||||
|
||||
.field private mTargetView:Landroid/view/View;
|
||||
.field public mTargetView:Landroid/view/View;
|
||||
|
||||
|
||||
# direct methods
|
||||
|
@ -64,6 +64,8 @@
|
|||
# virtual methods
|
||||
.method public computeScrollVectorForPosition(I)Landroid/graphics/PointF;
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||||
|
||||
|
@ -82,11 +84,11 @@
|
|||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
const-string p1, "You should override computeScrollVectorForPosition when the LayoutManager does not implement "
|
||||
|
||||
const-string v0, "You should override computeScrollVectorForPosition when the LayoutManager does not implement "
|
||||
invoke-static {p1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
move-result-object p1
|
||||
|
||||
const-class v0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$ScrollVectorProvider;
|
||||
|
||||
|
@ -151,6 +153,8 @@
|
|||
|
||||
.method public getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mLayoutManager:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
||||
|
||||
|
@ -193,24 +197,24 @@
|
|||
return v0
|
||||
.end method
|
||||
|
||||
.method protected normalize(Landroid/graphics/PointF;)V
|
||||
.locals 3
|
||||
.method public normalize(Landroid/graphics/PointF;)V
|
||||
.locals 2
|
||||
.param p1 # Landroid/graphics/PointF;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget v0, p1, Landroid/graphics/PointF;->x:F
|
||||
|
||||
iget v1, p1, Landroid/graphics/PointF;->x:F
|
||||
|
||||
mul-float v0, v0, v1
|
||||
mul-float v0, v0, v0
|
||||
|
||||
iget v1, p1, Landroid/graphics/PointF;->y:F
|
||||
|
||||
iget v2, p1, Landroid/graphics/PointF;->y:F
|
||||
mul-float v1, v1, v1
|
||||
|
||||
mul-float v1, v1, v2
|
||||
add-float/2addr v1, v0
|
||||
|
||||
add-float/2addr v0, v1
|
||||
|
||||
float-to-double v0, v0
|
||||
float-to-double v0, v1
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
||||
|
||||
|
@ -233,15 +237,11 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method onAnimation(II)V
|
||||
.method public onAnimation(II)V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
iget-boolean v1, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mRunning:Z
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget v1, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mTargetPosition:I
|
||||
|
||||
const/4 v2, -0x1
|
||||
|
@ -355,7 +355,7 @@
|
|||
:goto_0
|
||||
iget-boolean v1, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mRunning:Z
|
||||
|
||||
if-eqz v1, :cond_7
|
||||
if-eqz v1, :cond_6
|
||||
|
||||
iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
||||
|
||||
|
@ -373,7 +373,7 @@
|
|||
|
||||
invoke-virtual {p2, v0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->runIfNecessary(Landroidx/recyclerview/widget/RecyclerView;)V
|
||||
|
||||
if-eqz p1, :cond_7
|
||||
if-eqz p1, :cond_6
|
||||
|
||||
iget-boolean p1, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mRunning:Z
|
||||
|
||||
|
@ -387,16 +387,11 @@
|
|||
|
||||
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;->postOnAnimation()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_6
|
||||
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->stop()V
|
||||
|
||||
:cond_7
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method protected onChildAttachedToWindow(Landroid/view/View;)V
|
||||
.method public onChildAttachedToWindow(Landroid/view/View;)V
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->getChildPosition(Landroid/view/View;)I
|
||||
|
@ -415,16 +410,44 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method protected abstract onSeekTargetStep(IILandroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;)V
|
||||
.method public abstract onSeekTargetStep(IILandroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;)V
|
||||
.param p1 # I
|
||||
.annotation build Landroidx/annotation/Px;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # I
|
||||
.annotation build Landroidx/annotation/Px;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroidx/recyclerview/widget/RecyclerView$State;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p4 # Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.end method
|
||||
|
||||
.method protected abstract onStart()V
|
||||
.method public abstract onStart()V
|
||||
.end method
|
||||
|
||||
.method protected abstract onStop()V
|
||||
.method public abstract onStop()V
|
||||
.end method
|
||||
|
||||
.method protected abstract onTargetFound(Landroid/view/View;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;)V
|
||||
.method public abstract onTargetFound(Landroid/view/View;Landroidx/recyclerview/widget/RecyclerView$State;Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;)V
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/recyclerview/widget/RecyclerView$State;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.end method
|
||||
|
||||
.method public setTargetPosition(I)V
|
||||
|
@ -435,18 +458,22 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method start(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
||||
.method public start(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView;->mViewFlinger:Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;->stop()V
|
||||
|
||||
iget-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mStarted:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
const-string v0, "An instance of "
|
||||
|
||||
const-string v1, "An instance of "
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
|
@ -495,13 +522,11 @@
|
|||
|
||||
if-eq p1, p2, :cond_1
|
||||
|
||||
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
iget-object p2, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
||||
|
||||
iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
||||
iget-object p2, p2, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$State;
|
||||
|
||||
iget p2, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mTargetPosition:I
|
||||
|
||||
iput p2, p1, Landroidx/recyclerview/widget/RecyclerView$State;->mTargetPosition:I
|
||||
iput p1, p2, Landroidx/recyclerview/widget/RecyclerView$State;->mTargetPosition:I
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -541,7 +566,7 @@
|
|||
throw p1
|
||||
.end method
|
||||
|
||||
.method protected final stop()V
|
||||
.method public final stop()V
|
||||
.locals 3
|
||||
|
||||
iget-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->mRunning:Z
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue