882 lines
		
	
	
		
			21 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			882 lines
		
	
	
		
			21 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/recyclerview/widget/RecyclerView$z;
 | |
| .super Ljava/lang/Object;
 | |
| .source "RecyclerView.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Ljava/lang/Runnable;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Landroidx/recyclerview/widget/RecyclerView;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x1
 | |
|     name = "z"
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public a:I
 | |
| 
 | |
| .field public b:I
 | |
| 
 | |
| .field public c:Landroid/widget/OverScroller;
 | |
| 
 | |
| .field public d:Landroid/view/animation/Interpolator;
 | |
| 
 | |
| .field public e:Z
 | |
| 
 | |
| .field public f:Z
 | |
| 
 | |
| .field public final synthetic g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroidx/recyclerview/widget/RecyclerView;)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     sget-object v0, Landroidx/recyclerview/widget/RecyclerView;->sQuinticInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->d:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean v1, p0, Landroidx/recyclerview/widget/RecyclerView$z;->e:Z
 | |
| 
 | |
|     .line 4
 | |
|     iput-boolean v1, p0, Landroidx/recyclerview/widget/RecyclerView$z;->f:Z
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v1, Landroid/widget/OverScroller;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-direct {v1, p1, v0}, Landroid/widget/OverScroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V
 | |
| 
 | |
|     iput-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$z;->c:Landroid/widget/OverScroller;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public final a(II)I
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1}, Ljava/lang/Math;->abs(I)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p2}, Ljava/lang/Math;->abs(I)I
 | |
| 
 | |
|     move-result p2
 | |
| 
 | |
|     if-le p1, p2, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     :goto_0
 | |
|     iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/view/ViewGroup;->getWidth()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     invoke-virtual {v1}, Landroid/view/ViewGroup;->getHeight()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     :goto_1
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_2
 | |
|     move p1, p2
 | |
| 
 | |
|     :goto_2
 | |
|     int-to-float p1, p1
 | |
| 
 | |
|     int-to-float p2, v1
 | |
| 
 | |
|     div-float/2addr p1, p2
 | |
| 
 | |
|     const/high16 p2, 0x3f800000    # 1.0f
 | |
| 
 | |
|     add-float/2addr p1, p2
 | |
| 
 | |
|     const/high16 p2, 0x43960000    # 300.0f
 | |
| 
 | |
|     mul-float/2addr p1, p2
 | |
| 
 | |
|     float-to-int p1, p1
 | |
| 
 | |
|     const/16 p2, 0x7d0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {p1, p2}, Ljava/lang/Math;->min(II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public b(II)V
 | |
|     .locals 12
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     const/4 v1, 0x2
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setScrollState(I)V
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 2
 | |
|     iput v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->b:I
 | |
| 
 | |
|     iput v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->a:I
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->d:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     sget-object v1, Landroidx/recyclerview/widget/RecyclerView;->sQuinticInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     if-eq v0, v1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     iput-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$z;->d:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     .line 5
 | |
|     new-instance v0, Landroid/widget/OverScroller;
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v2}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-direct {v0, v2, v1}, Landroid/widget/OverScroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->c:Landroid/widget/OverScroller;
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     iget-object v3, p0, Landroidx/recyclerview/widget/RecyclerView$z;->c:Landroid/widget/OverScroller;
 | |
| 
 | |
|     const/4 v4, 0x0
 | |
| 
 | |
|     const/4 v5, 0x0
 | |
| 
 | |
|     const/high16 v8, -0x80000000
 | |
| 
 | |
|     const v9, 0x7fffffff
 | |
| 
 | |
|     const/high16 v10, -0x80000000
 | |
| 
 | |
|     const v11, 0x7fffffff
 | |
| 
 | |
|     move v6, p1
 | |
| 
 | |
|     move v7, p2
 | |
| 
 | |
|     invoke-virtual/range {v3 .. v11}, Landroid/widget/OverScroller;->fling(IIIIIIII)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$z;->d()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public final c()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v0, p0}, Landroid/view/ViewGroup;->removeCallbacks(Ljava/lang/Runnable;)Z
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-static {v0, p0}, Landroidx/core/view/ViewCompat;->p1(Landroid/view/View;Ljava/lang/Runnable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public d()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->e:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->f:Z
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$z;->c()V
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public e(IIILandroid/view/animation/Interpolator;)V
 | |
|     .locals 6
 | |
|     .param p4    # Landroid/view/animation/Interpolator;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/high16 v0, -0x80000000
 | |
| 
 | |
|     if-ne p3, v0, :cond_0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$z;->a(II)I
 | |
| 
 | |
|     move-result p3
 | |
| 
 | |
|     :cond_0
 | |
|     move v5, p3
 | |
| 
 | |
|     if-nez p4, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     sget-object p4, Landroidx/recyclerview/widget/RecyclerView;->sQuinticInterpolator:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$z;->d:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     if-eq p3, p4, :cond_2
 | |
| 
 | |
|     .line 4
 | |
|     iput-object p4, p0, Landroidx/recyclerview/widget/RecyclerView$z;->d:Landroid/view/animation/Interpolator;
 | |
| 
 | |
|     .line 5
 | |
|     new-instance p3, Landroid/widget/OverScroller;
 | |
| 
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-direct {p3, v0, p4}, Landroid/widget/OverScroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V
 | |
| 
 | |
|     iput-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$z;->c:Landroid/widget/OverScroller;
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 p3, 0x0
 | |
| 
 | |
|     .line 6
 | |
|     iput p3, p0, Landroidx/recyclerview/widget/RecyclerView$z;->b:I
 | |
| 
 | |
|     iput p3, p0, Landroidx/recyclerview/widget/RecyclerView$z;->a:I
 | |
| 
 | |
|     .line 7
 | |
|     iget-object p3, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     const/4 p4, 0x2
 | |
| 
 | |
|     invoke-virtual {p3, p4}, Landroidx/recyclerview/widget/RecyclerView;->setScrollState(I)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->c:Landroid/widget/OverScroller;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     move v3, p1
 | |
| 
 | |
|     move v4, p2
 | |
| 
 | |
|     invoke-virtual/range {v0 .. v5}, Landroid/widget/OverScroller;->startScroll(IIIII)V
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$z;->d()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public f()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v0, p0}, Landroid/view/ViewGroup;->removeCallbacks(Ljava/lang/Runnable;)Z
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$z;->c:Landroid/widget/OverScroller;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/widget/OverScroller;->abortAnimation()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public run()V
 | |
|     .locals 22
 | |
| 
 | |
|     move-object/from16 v0, p0
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v2, v1, Landroidx/recyclerview/widget/RecyclerView;->mLayout:Landroidx/recyclerview/widget/RecyclerView$m;
 | |
| 
 | |
|     if-nez v2, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$z;->f()V
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     .line 3
 | |
|     iput-boolean v2, v0, Landroidx/recyclerview/widget/RecyclerView$z;->f:Z
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     iput-boolean v3, v0, Landroidx/recyclerview/widget/RecyclerView$z;->e:Z
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView;->consumePendingUpdateOperations()V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->c:Landroid/widget/OverScroller;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->computeScrollOffset()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eqz v4, :cond_17
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->getCurrX()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->getCurrY()I
 | |
| 
 | |
|     move-result v5
 | |
| 
 | |
|     .line 10
 | |
|     iget v6, v0, Landroidx/recyclerview/widget/RecyclerView$z;->a:I
 | |
| 
 | |
|     sub-int v6, v4, v6
 | |
| 
 | |
|     .line 11
 | |
|     iget v7, v0, Landroidx/recyclerview/widget/RecyclerView$z;->b:I
 | |
| 
 | |
|     sub-int v13, v5, v7
 | |
| 
 | |
|     .line 12
 | |
|     iput v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->a:I
 | |
| 
 | |
|     .line 13
 | |
|     iput v5, v0, Landroidx/recyclerview/widget/RecyclerView$z;->b:I
 | |
| 
 | |
|     .line 14
 | |
|     iget-object v7, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v10, v7, Landroidx/recyclerview/widget/RecyclerView;->mReusableIntPair:[I
 | |
| 
 | |
|     aput v2, v10, v2
 | |
| 
 | |
|     .line 15
 | |
|     aput v2, v10, v3
 | |
| 
 | |
|     const/4 v11, 0x0
 | |
| 
 | |
|     const/4 v12, 0x1
 | |
| 
 | |
|     move v8, v6
 | |
| 
 | |
|     move v9, v13
 | |
| 
 | |
|     .line 16
 | |
|     invoke-virtual/range {v7 .. v12}, Landroidx/recyclerview/widget/RecyclerView;->dispatchNestedPreScroll(II[I[II)Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eqz v4, :cond_1
 | |
| 
 | |
|     .line 17
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v4, v4, Landroidx/recyclerview/widget/RecyclerView;->mReusableIntPair:[I
 | |
| 
 | |
|     aget v5, v4, v2
 | |
| 
 | |
|     sub-int/2addr v6, v5
 | |
| 
 | |
|     .line 18
 | |
|     aget v4, v4, v3
 | |
| 
 | |
|     sub-int/2addr v13, v4
 | |
| 
 | |
|     .line 19
 | |
|     :cond_1
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v4}, Landroid/view/ViewGroup;->getOverScrollMode()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     const/4 v5, 0x2
 | |
| 
 | |
|     if-eq v4, v5, :cond_2
 | |
| 
 | |
|     .line 20
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v4, v6, v13}, Landroidx/recyclerview/widget/RecyclerView;->considerReleasingGlowsOnScroll(II)V
 | |
| 
 | |
|     .line 21
 | |
|     :cond_2
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v7, v4, Landroidx/recyclerview/widget/RecyclerView;->mAdapter:Landroidx/recyclerview/widget/RecyclerView$Adapter;
 | |
| 
 | |
|     if-eqz v7, :cond_5
 | |
| 
 | |
|     .line 22
 | |
|     iget-object v7, v4, Landroidx/recyclerview/widget/RecyclerView;->mReusableIntPair:[I
 | |
| 
 | |
|     aput v2, v7, v2
 | |
| 
 | |
|     .line 23
 | |
|     aput v2, v7, v3
 | |
| 
 | |
|     .line 24
 | |
|     invoke-virtual {v4, v6, v13, v7}, Landroidx/recyclerview/widget/RecyclerView;->scrollStep(II[I)V
 | |
| 
 | |
|     .line 25
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v7, v4, Landroidx/recyclerview/widget/RecyclerView;->mReusableIntPair:[I
 | |
| 
 | |
|     aget v8, v7, v2
 | |
| 
 | |
|     .line 26
 | |
|     aget v7, v7, v3
 | |
| 
 | |
|     sub-int/2addr v6, v8
 | |
| 
 | |
|     sub-int/2addr v13, v7
 | |
| 
 | |
|     .line 27
 | |
|     iget-object v4, v4, Landroidx/recyclerview/widget/RecyclerView;->mLayout:Landroidx/recyclerview/widget/RecyclerView$m;
 | |
| 
 | |
|     iget-object v4, v4, Landroidx/recyclerview/widget/RecyclerView$m;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$w;
 | |
| 
 | |
|     if-eqz v4, :cond_6
 | |
| 
 | |
|     .line 28
 | |
|     invoke-virtual {v4}, Landroidx/recyclerview/widget/RecyclerView$w;->isPendingInitialRun()Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-nez v9, :cond_6
 | |
| 
 | |
|     .line 29
 | |
|     invoke-virtual {v4}, Landroidx/recyclerview/widget/RecyclerView$w;->isRunning()Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-eqz v9, :cond_6
 | |
| 
 | |
|     .line 30
 | |
|     iget-object v9, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v9, v9, Landroidx/recyclerview/widget/RecyclerView;->mState:Landroidx/recyclerview/widget/RecyclerView$x;
 | |
| 
 | |
|     invoke-virtual {v9}, Landroidx/recyclerview/widget/RecyclerView$x;->d()I
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-nez v9, :cond_3
 | |
| 
 | |
|     .line 31
 | |
|     invoke-virtual {v4}, Landroidx/recyclerview/widget/RecyclerView$w;->stop()V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 32
 | |
|     :cond_3
 | |
|     invoke-virtual {v4}, Landroidx/recyclerview/widget/RecyclerView$w;->getTargetPosition()I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-lt v10, v9, :cond_4
 | |
| 
 | |
|     sub-int/2addr v9, v3
 | |
| 
 | |
|     .line 33
 | |
|     invoke-virtual {v4, v9}, Landroidx/recyclerview/widget/RecyclerView$w;->setTargetPosition(I)V
 | |
| 
 | |
|     .line 34
 | |
|     invoke-virtual {v4, v8, v7}, Landroidx/recyclerview/widget/RecyclerView$w;->onAnimation(II)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 35
 | |
|     :cond_4
 | |
|     invoke-virtual {v4, v8, v7}, Landroidx/recyclerview/widget/RecyclerView$w;->onAnimation(II)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_5
 | |
|     move v7, v2
 | |
| 
 | |
|     move v8, v7
 | |
| 
 | |
|     .line 36
 | |
|     :cond_6
 | |
|     :goto_0
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v4, v4, Landroidx/recyclerview/widget/RecyclerView;->mItemDecorations:Ljava/util/ArrayList;
 | |
| 
 | |
|     invoke-virtual {v4}, Ljava/util/ArrayList;->isEmpty()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-nez v4, :cond_7
 | |
| 
 | |
|     .line 37
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v4}, Landroid/view/ViewGroup;->invalidate()V
 | |
| 
 | |
|     .line 38
 | |
|     :cond_7
 | |
|     iget-object v14, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v4, v14, Landroidx/recyclerview/widget/RecyclerView;->mReusableIntPair:[I
 | |
| 
 | |
|     aput v2, v4, v2
 | |
| 
 | |
|     .line 39
 | |
|     aput v2, v4, v3
 | |
| 
 | |
|     const/16 v19, 0x0
 | |
| 
 | |
|     const/16 v20, 0x1
 | |
| 
 | |
|     move v15, v8
 | |
| 
 | |
|     move/from16 v16, v7
 | |
| 
 | |
|     move/from16 v17, v6
 | |
| 
 | |
|     move/from16 v18, v13
 | |
| 
 | |
|     move-object/from16 v21, v4
 | |
| 
 | |
|     .line 40
 | |
|     invoke-virtual/range {v14 .. v21}, Landroidx/recyclerview/widget/RecyclerView;->dispatchNestedScroll(IIII[II[I)V
 | |
| 
 | |
|     .line 41
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v9, v4, Landroidx/recyclerview/widget/RecyclerView;->mReusableIntPair:[I
 | |
| 
 | |
|     aget v10, v9, v2
 | |
| 
 | |
|     sub-int/2addr v6, v10
 | |
| 
 | |
|     .line 42
 | |
|     aget v9, v9, v3
 | |
| 
 | |
|     sub-int/2addr v13, v9
 | |
| 
 | |
|     if-nez v8, :cond_8
 | |
| 
 | |
|     if-eqz v7, :cond_9
 | |
| 
 | |
|     .line 43
 | |
|     :cond_8
 | |
|     invoke-virtual {v4, v8, v7}, Landroidx/recyclerview/widget/RecyclerView;->dispatchOnScrolled(II)V
 | |
| 
 | |
|     .line 44
 | |
|     :cond_9
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-static {v4}, Landroidx/recyclerview/widget/RecyclerView;->access$200(Landroidx/recyclerview/widget/RecyclerView;)Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-nez v4, :cond_a
 | |
| 
 | |
|     .line 45
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v4}, Landroid/view/ViewGroup;->invalidate()V
 | |
| 
 | |
|     .line 46
 | |
|     :cond_a
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->getCurrX()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->getFinalX()I
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-ne v4, v9, :cond_b
 | |
| 
 | |
|     move v4, v3
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_b
 | |
|     move v4, v2
 | |
| 
 | |
|     .line 47
 | |
|     :goto_1
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->getCurrY()I
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->getFinalY()I
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-ne v9, v10, :cond_c
 | |
| 
 | |
|     move v9, v3
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_c
 | |
|     move v9, v2
 | |
| 
 | |
|     .line 48
 | |
|     :goto_2
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->isFinished()Z
 | |
| 
 | |
|     move-result v10
 | |
| 
 | |
|     if-nez v10, :cond_f
 | |
| 
 | |
|     if-nez v4, :cond_d
 | |
| 
 | |
|     if-eqz v6, :cond_e
 | |
| 
 | |
|     :cond_d
 | |
|     if-nez v9, :cond_f
 | |
| 
 | |
|     if-eqz v13, :cond_e
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_e
 | |
|     move v4, v2
 | |
| 
 | |
|     goto :goto_4
 | |
| 
 | |
|     :cond_f
 | |
|     :goto_3
 | |
|     move v4, v3
 | |
| 
 | |
|     .line 49
 | |
|     :goto_4
 | |
|     iget-object v9, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v9, v9, Landroidx/recyclerview/widget/RecyclerView;->mLayout:Landroidx/recyclerview/widget/RecyclerView$m;
 | |
| 
 | |
|     iget-object v9, v9, Landroidx/recyclerview/widget/RecyclerView$m;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$w;
 | |
| 
 | |
|     if-eqz v9, :cond_10
 | |
| 
 | |
|     .line 50
 | |
|     invoke-virtual {v9}, Landroidx/recyclerview/widget/RecyclerView$w;->isPendingInitialRun()Z
 | |
| 
 | |
|     move-result v9
 | |
| 
 | |
|     if-eqz v9, :cond_10
 | |
| 
 | |
|     move v9, v3
 | |
| 
 | |
|     goto :goto_5
 | |
| 
 | |
|     :cond_10
 | |
|     move v9, v2
 | |
| 
 | |
|     :goto_5
 | |
|     if-nez v9, :cond_16
 | |
| 
 | |
|     if-eqz v4, :cond_16
 | |
| 
 | |
|     .line 51
 | |
|     iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v4}, Landroid/view/ViewGroup;->getOverScrollMode()I
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eq v4, v5, :cond_15
 | |
| 
 | |
|     .line 52
 | |
|     invoke-virtual {v1}, Landroid/widget/OverScroller;->getCurrVelocity()F
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     float-to-int v1, v1
 | |
| 
 | |
|     if-gez v6, :cond_11
 | |
| 
 | |
|     neg-int v4, v1
 | |
| 
 | |
|     goto :goto_6
 | |
| 
 | |
|     :cond_11
 | |
|     if-lez v6, :cond_12
 | |
| 
 | |
|     move v4, v1
 | |
| 
 | |
|     goto :goto_6
 | |
| 
 | |
|     :cond_12
 | |
|     move v4, v2
 | |
| 
 | |
|     :goto_6
 | |
|     if-gez v13, :cond_13
 | |
| 
 | |
|     neg-int v1, v1
 | |
| 
 | |
|     goto :goto_7
 | |
| 
 | |
|     :cond_13
 | |
|     if-lez v13, :cond_14
 | |
| 
 | |
|     goto :goto_7
 | |
| 
 | |
|     :cond_14
 | |
|     move v1, v2
 | |
| 
 | |
|     .line 53
 | |
|     :goto_7
 | |
|     iget-object v5, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v5, v4, v1}, Landroidx/recyclerview/widget/RecyclerView;->absorbGlows(II)V
 | |
| 
 | |
|     .line 54
 | |
|     :cond_15
 | |
|     sget-boolean v1, Landroidx/recyclerview/widget/RecyclerView;->ALLOW_THREAD_GAP_WORK:Z
 | |
| 
 | |
|     if-eqz v1, :cond_17
 | |
| 
 | |
|     .line 55
 | |
|     iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mPrefetchRegistry:Landroidx/recyclerview/widget/n$b;
 | |
| 
 | |
|     invoke-virtual {v1}, Landroidx/recyclerview/widget/n$b;->b()V
 | |
| 
 | |
|     goto :goto_8
 | |
| 
 | |
|     .line 56
 | |
|     :cond_16
 | |
|     invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$z;->d()V
 | |
| 
 | |
|     .line 57
 | |
|     iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v4, v1, Landroidx/recyclerview/widget/RecyclerView;->mGapWorker:Landroidx/recyclerview/widget/n;
 | |
| 
 | |
|     if-eqz v4, :cond_17
 | |
| 
 | |
|     .line 58
 | |
|     invoke-virtual {v4, v1, v8, v7}, Landroidx/recyclerview/widget/n;->f(Landroidx/recyclerview/widget/RecyclerView;II)V
 | |
| 
 | |
|     .line 59
 | |
|     :cond_17
 | |
|     :goto_8
 | |
|     iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView;->mLayout:Landroidx/recyclerview/widget/RecyclerView$m;
 | |
| 
 | |
|     iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView$m;->mSmoothScroller:Landroidx/recyclerview/widget/RecyclerView$w;
 | |
| 
 | |
|     if-eqz v1, :cond_18
 | |
| 
 | |
|     .line 60
 | |
|     invoke-virtual {v1}, Landroidx/recyclerview/widget/RecyclerView$w;->isPendingInitialRun()Z
 | |
| 
 | |
|     move-result v4
 | |
| 
 | |
|     if-eqz v4, :cond_18
 | |
| 
 | |
|     .line 61
 | |
|     invoke-virtual {v1, v2, v2}, Landroidx/recyclerview/widget/RecyclerView$w;->onAnimation(II)V
 | |
| 
 | |
|     .line 62
 | |
|     :cond_18
 | |
|     iput-boolean v2, v0, Landroidx/recyclerview/widget/RecyclerView$z;->e:Z
 | |
| 
 | |
|     .line 63
 | |
|     iget-boolean v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->f:Z
 | |
| 
 | |
|     if-eqz v1, :cond_19
 | |
| 
 | |
|     .line 64
 | |
|     invoke-virtual/range {p0 .. p0}, Landroidx/recyclerview/widget/RecyclerView$z;->c()V
 | |
| 
 | |
|     goto :goto_9
 | |
| 
 | |
|     .line 65
 | |
|     :cond_19
 | |
|     iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Landroidx/recyclerview/widget/RecyclerView;->setScrollState(I)V
 | |
| 
 | |
|     .line 66
 | |
|     iget-object v1, v0, Landroidx/recyclerview/widget/RecyclerView$z;->g:Landroidx/recyclerview/widget/RecyclerView;
 | |
| 
 | |
|     invoke-virtual {v1, v3}, Landroidx/recyclerview/widget/RecyclerView;->stopNestedScroll(I)V
 | |
| 
 | |
|     :goto_9
 | |
|     return-void
 | |
| .end method
 |