Offset 34, 90 lines modifiedOffset 34, 90 lines modified
34 .method·public·constructor·<init>(II)V34 .method·public·constructor·<init>(II)V
35 ····.locals·235 ····.locals·2
  
36 ····const/high16·v0,·-0x8000000036 ····const/high16·v0,·-0x80000000
  
37 ····const/4·v1,·0x037 ····const/4·v1,·0x0
  
38 ····.line·1247538 ····.line·12390
39 ····invoke-direct·{p0,·p1,·p2,·v0,·v1},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;-><init>(IIILandroid/view/animation/Interpolator;)V39 ····invoke-direct·{p0,·p1,·p2,·v0,·v1},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;-><init>(IIILandroid/view/animation/Interpolator;)V
  
40 ····return-void40 ····return-void
41 .end·method41 .end·method
  
42 .method·public·constructor·<init>(IIILandroid/view/animation/Interpolator;)V42 .method·public·constructor·<init>(IIILandroid/view/animation/Interpolator;)V
43 ····.locals·143 ····.locals·1
  
44 ····.line·1249544 ····.line·12410
45 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V45 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
46 ····const/4·v0,·-0x146 ····const/4·v0,·-0x1
  
47 ····.line·1246047 ····.line·12375
48 ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I48 ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I
  
49 ····const/4·v0,·0x049 ····const/4·v0,·0x0
  
50 ····.line·1246450 ····.line·12379
51 ····iput-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z51 ····iput-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z
  
52 ····.line·1246852 ····.line·12383
53 ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I53 ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I
  
54 ····.line·1249654 ····.line·12411
55 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I55 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I
  
56 ····.line·1249756 ····.line·12412
57 ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I57 ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I
  
58 ····.line·1249858 ····.line·12413
59 ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I59 ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I
  
60 ····.line·1249960 ····.line·12414
61 ····iput-object·p4,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;61 ····iput-object·p4,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;
  
62 ····return-void62 ····return-void
63 .end·method63 .end·method
  
64 .method·private·validate()V64 .method·private·validate()V
65 ····.locals·265 ····.locals·2
  
66 ····.line·1255066 ····.line·12465
67 ····iget-object·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;67 ····iget-object·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;
  
68 ····const/4·v1,·0x168 ····const/4·v1,·0x1
  
69 ····if-eqz·v0,·:cond_169 ····if-eqz·v0,·:cond_1
  
70 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I70 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I
  
71 ····if-lt·v0,·v1,·:cond_071 ····if-lt·v0,·v1,·:cond_0
  
72 ····goto·:goto_072 ····goto·:goto_0
  
73 ····.line·1255173 ····.line·12466
74 ····:cond_074 ····:cond_0
75 ····new-instance·v0,·Ljava/lang/IllegalStateException;75 ····new-instance·v0,·Ljava/lang/IllegalStateException;
  
76 ····const-string·v1,·"If·you·provide·an·interpolator,·you·must·set·a·positive·duration"76 ····const-string·v1,·"If·you·provide·an·interpolator,·you·must·set·a·positive·duration"
  
77 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V77 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
78 ····throw·v078 ····throw·v0
  
79 ····.line·1255379 ····.line·12468
80 ····:cond_180 ····:cond_1
81 ····:goto_081 ····:goto_0
82 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I82 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I
  
83 ····if-lt·v0,·v1,·:cond_283 ····if-lt·v0,·v1,·:cond_2
  
84 ····return-void84 ····return-void
  
85 ····.line·1255485 ····.line·12469
86 ····:cond_286 ····:cond_2
87 ····new-instance·v0,·Ljava/lang/IllegalStateException;87 ····new-instance·v0,·Ljava/lang/IllegalStateException;
  
88 ····const-string·v1,·"Scroll·duration·must·be·a·positive·number"88 ····const-string·v1,·"Scroll·duration·must·be·a·positive·number"
  
89 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V89 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 .end·method125 .end·method
  
  
126 #·virtual·methods126 #·virtual·methods
127 .method·hasJumpTarget()Z127 .method·hasJumpTarget()Z
128 ····.locals·1128 ····.locals·1
  
129 ····.line·12522129 ····.line·12437
130 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I130 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I
  
131 ····if-ltz·v0,·:cond_0131 ····if-ltz·v0,·:cond_0
  
132 ····const/4·v0,·0x1132 ····const/4·v0,·0x1
  
133 ····goto·:goto_0133 ····goto·:goto_0
Offset 144, 112 lines modifiedOffset 144, 112 lines modified
144 ····:goto_0144 ····:goto_0
145 ····return·v0145 ····return·v0
146 .end·method146 .end·method
  
147 .method·public·jumpTo(I)V147 .method·public·jumpTo(I)V
148 ····.locals·0148 ····.locals·0
  
149 ····.line·12518149 ····.line·12433
150 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I150 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I
  
151 ····return-void151 ····return-void
152 .end·method152 .end·method
  
153 .method·runIfNecessary(Landroidx/recyclerview/widget/RecyclerView;)V153 .method·runIfNecessary(Landroidx/recyclerview/widget/RecyclerView;)V
154 ····.locals·5154 ····.locals·5
  
155 ····.line·12526155 ····.line·12441
156 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I156 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I
  
157 ····const/4·v1,·0x0157 ····const/4·v1,·0x0
  
158 ····if-ltz·v0,·:cond_0158 ····if-ltz·v0,·:cond_0
  
159 ····const/4·v2,·-0x1159 ····const/4·v2,·-0x1
  
160 ····.line·12528160 ····.line·12443
161 ····iput·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I161 ····iput·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I
  
162 ····.line·12529162 ····.line·12444
163 ····invoke-virtual·{p1,·v0},·Landroidx/recyclerview/widget/RecyclerView;->jumpToPositionForSmoothScroller(I)V163 ····invoke-virtual·{p1,·v0},·Landroidx/recyclerview/widget/RecyclerView;->jumpToPositionForSmoothScroller(I)V
  
164 ····.line·12530164 ····.line·12445
165 ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z165 ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z
  
166 ····return-void166 ····return-void
  
167 ····.line·12533167 ····.line·12448
168 ····:cond_0168 ····:cond_0
169 ····iget-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z169 ····iget-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z
  
170 ····if-eqz·v0,·:cond_2170 ····if-eqz·v0,·:cond_2
  
171 ····.line·12534171 ····.line·12449
172 ····invoke-direct·{p0},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->validate()V172 ····invoke-direct·{p0},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->validate()V
  
173 ····.line·12535173 ····.line·12450
174 ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView;->mViewFlinger:Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;174 ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView;->mViewFlinger:Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;
  
175 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I175 ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I
  
176 ····iget·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I176 ····iget·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I
  
177 ····iget·v3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I177 ····iget·v3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I
  
178 ····iget-object·v4,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;178 ····iget-object·v4,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;
  
179 ····invoke-virtual·{p1,·v0,·v2,·v3,·v4},·Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;->smoothScrollBy(IIILandroid/view/animation/Interpolator;)V179 ····invoke-virtual·{p1,·v0,·v2,·v3,·v4},·Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;->smoothScrollBy(IIILandroid/view/animation/Interpolator;)V
  
180 ····.line·12536180 ····.line·12451
181 ····iget·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I181 ····iget·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I
  
182 ····add-int/lit8·p1,·p1,·0x1182 ····add-int/lit8·p1,·p1,·0x1
  
183 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I183 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I
  
184 ····const/16·v0,·0xa184 ····const/16·v0,·0xa
  
185 ····if-le·p1,·v0,·:cond_1185 ····if-le·p1,·v0,·:cond_1
  
186 ····const-string·p1,·"RecyclerView"186 ····const-string·p1,·"RecyclerView"
  
187 ····const-string·v0,·"Smooth·Scroll·action·is·being·updated·too·frequently.·Make·sure·you·are·not·changing·it·unless·necessary"187 ····const-string·v0,·"Smooth·Scroll·action·is·being·updated·too·frequently.·Make·sure·you·are·not·changing·it·unless·necessary"
  
188 ····.line·12540188 ····.line·12455
189 ····invoke-static·{p1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I189 ····invoke-static·{p1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
  
190 ····.line·12543190 ····.line·12458
191 ····:cond_1191 ····:cond_1
192 ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z192 ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z
  
193 ····goto·:goto_0193 ····goto·:goto_0
  
194 ····.line·12545194 ····.line·12460
195 ····:cond_2195 ····:cond_2
196 ····iput·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I196 ····iput·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I
  
197 ····:goto_0197 ····:goto_0
198 ····return-void198 ····return-void
199 .end·method199 .end·method
  
200 .method·public·update(IIILandroid/view/animation/Interpolator;)V200 .method·public·update(IIILandroid/view/animation/Interpolator;)V
201 ····.locals·0201 ····.locals·0
  
202 ····.line·12615202 ····.line·12530
203 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I203 ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I
  
204 ····.line·12616204 ····.line·12531
205 ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I205 ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I
  
206 ····.line·12617206 ····.line·12532
207 ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I207 ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I
  
208 ····.line·12618208 ····.line·12533
209 ····iput-object·p4,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;209 ····iput-object·p4,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mInterpolator:Landroid/view/animation/Interpolator;
  
210 ····const/4·p1,·0x1210 ····const/4·p1,·0x1
  
211 ····.line·12619211 ····.line·12534
212 ····iput-boolean·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z212 ····iput-boolean·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z
  
213 ····return-void213 ····return-void
214 .end·method214 .end·method