| | | |
Offset 34, 90 lines modified | Offset 34, 90 lines modified |
34 | .method·public·constructor·<init>(II)V | 34 | .method·public·constructor·<init>(II)V |
35 | ····.locals·2 | 35 | ····.locals·2 |
| |
36 | ····const/high16·v0,·-0x80000000 | 36 | ····const/high16·v0,·-0x80000000 |
| |
37 | ····const/4·v1,·0x0 | 37 | ····const/4·v1,·0x0 |
| |
38 | ····.line·12475 | 38 | ····.line·12390 |
39 | ····invoke-direct·{p0,·p1,·p2,·v0,·v1},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;-><init>(IIILandroid/view/animation/Interpolator;)V | 39 | ····invoke-direct·{p0,·p1,·p2,·v0,·v1},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;-><init>(IIILandroid/view/animation/Interpolator;)V |
| |
40 | ····return-void | 40 | ····return-void |
41 | .end·method | 41 | .end·method |
| |
42 | .method·public·constructor·<init>(IIILandroid/view/animation/Interpolator;)V | 42 | .method·public·constructor·<init>(IIILandroid/view/animation/Interpolator;)V |
43 | ····.locals·1 | 43 | ····.locals·1 |
| |
44 | ····.line·12495 | 44 | ····.line·12410 |
45 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 45 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
46 | ····const/4·v0,·-0x1 | 46 | ····const/4·v0,·-0x1 |
| |
47 | ····.line·12460 | 47 | ····.line·12375 |
48 | ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I | 48 | ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I |
| |
49 | ····const/4·v0,·0x0 | 49 | ····const/4·v0,·0x0 |
| |
50 | ····.line·12464 | 50 | ····.line·12379 |
51 | ····iput-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z | 51 | ····iput-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z |
| |
52 | ····.line·12468 | 52 | ····.line·12383 |
53 | ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I | 53 | ····iput·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I |
| |
54 | ····.line·12496 | 54 | ····.line·12411 |
55 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I | 55 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I |
| |
56 | ····.line·12497 | 56 | ····.line·12412 |
57 | ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I | 57 | ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I |
| |
58 | ····.line·12498 | 58 | ····.line·12413 |
59 | ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I | 59 | ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I |
| |
60 | ····.line·12499 | 60 | ····.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-void | 62 | ····return-void |
63 | .end·method | 63 | .end·method |
| |
64 | .method·private·validate()V | 64 | .method·private·validate()V |
65 | ····.locals·2 | 65 | ····.locals·2 |
| |
66 | ····.line·12550 | 66 | ····.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,·0x1 | 68 | ····const/4·v1,·0x1 |
| |
69 | ····if-eqz·v0,·:cond_1 | 69 | ····if-eqz·v0,·:cond_1 |
| |
70 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I | 70 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I |
| |
71 | ····if-lt·v0,·v1,·:cond_0 | 71 | ····if-lt·v0,·v1,·:cond_0 |
| |
72 | ····goto·:goto_0 | 72 | ····goto·:goto_0 |
| |
73 | ····.line·12551 | 73 | ····.line·12466 |
74 | ····:cond_0 | 74 | ····: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;)V | 77 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
78 | ····throw·v0 | 78 | ····throw·v0 |
| |
79 | ····.line·12553 | 79 | ····.line·12468 |
80 | ····:cond_1 | 80 | ····:cond_1 |
81 | ····:goto_0 | 81 | ····:goto_0 |
82 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I | 82 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I |
| |
83 | ····if-lt·v0,·v1,·:cond_2 | 83 | ····if-lt·v0,·v1,·:cond_2 |
| |
84 | ····return-void | 84 | ····return-void |
| |
85 | ····.line·12554 | 85 | ····.line·12469 |
86 | ····:cond_2 | 86 | ····: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;)V | 89 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
Offset 125, 15 lines modified | Offset 125, 15 lines modified |
125 | .end·method | 125 | .end·method |
| |
| |
126 | #·virtual·methods | 126 | #·virtual·methods |
127 | .method·hasJumpTarget()Z | 127 | .method·hasJumpTarget()Z |
128 | ····.locals·1 | 128 | ····.locals·1 |
| |
129 | ····.line·12522 | 129 | ····.line·12437 |
130 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I | 130 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I |
| |
131 | ····if-ltz·v0,·:cond_0 | 131 | ····if-ltz·v0,·:cond_0 |
| |
132 | ····const/4·v0,·0x1 | 132 | ····const/4·v0,·0x1 |
| |
133 | ····goto·:goto_0 | 133 | ····goto·:goto_0 |
Offset 144, 112 lines modified | Offset 144, 112 lines modified |
144 | ····:goto_0 | 144 | ····:goto_0 |
145 | ····return·v0 | 145 | ····return·v0 |
146 | .end·method | 146 | .end·method |
| |
147 | .method·public·jumpTo(I)V | 147 | .method·public·jumpTo(I)V |
148 | ····.locals·0 | 148 | ····.locals·0 |
| |
149 | ····.line·12518 | 149 | ····.line·12433 |
150 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I | 150 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I |
| |
151 | ····return-void | 151 | ····return-void |
152 | .end·method | 152 | .end·method |
| |
153 | .method·runIfNecessary(Landroidx/recyclerview/widget/RecyclerView;)V | 153 | .method·runIfNecessary(Landroidx/recyclerview/widget/RecyclerView;)V |
154 | ····.locals·5 | 154 | ····.locals·5 |
| |
155 | ····.line·12526 | 155 | ····.line·12441 |
156 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I | 156 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I |
| |
157 | ····const/4·v1,·0x0 | 157 | ····const/4·v1,·0x0 |
| |
158 | ····if-ltz·v0,·:cond_0 | 158 | ····if-ltz·v0,·:cond_0 |
| |
159 | ····const/4·v2,·-0x1 | 159 | ····const/4·v2,·-0x1 |
| |
160 | ····.line·12528 | 160 | ····.line·12443 |
161 | ····iput·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I | 161 | ····iput·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mJumpToPosition:I |
| |
162 | ····.line·12529 | 162 | ····.line·12444 |
163 | ····invoke-virtual·{p1,·v0},·Landroidx/recyclerview/widget/RecyclerView;->jumpToPositionForSmoothScroller(I)V | 163 | ····invoke-virtual·{p1,·v0},·Landroidx/recyclerview/widget/RecyclerView;->jumpToPositionForSmoothScroller(I)V |
| |
164 | ····.line·12530 | 164 | ····.line·12445 |
165 | ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z | 165 | ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z |
| |
166 | ····return-void | 166 | ····return-void |
| |
167 | ····.line·12533 | 167 | ····.line·12448 |
168 | ····:cond_0 | 168 | ····:cond_0 |
169 | ····iget-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z | 169 | ····iget-boolean·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z |
| |
170 | ····if-eqz·v0,·:cond_2 | 170 | ····if-eqz·v0,·:cond_2 |
| |
171 | ····.line·12534 | 171 | ····.line·12449 |
172 | ····invoke-direct·{p0},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->validate()V | 172 | ····invoke-direct·{p0},·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->validate()V |
| |
173 | ····.line·12535 | 173 | ····.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:I | 175 | ····iget·v0,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I |
| |
176 | ····iget·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I | 176 | ····iget·v2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I |
| |
177 | ····iget·v3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I | 177 | ····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;)V | 179 | ····invoke-virtual·{p1,·v0,·v2,·v3,·v4},·Landroidx/recyclerview/widget/RecyclerView$ViewFlinger;->smoothScrollBy(IIILandroid/view/animation/Interpolator;)V |
| |
180 | ····.line·12536 | 180 | ····.line·12451 |
181 | ····iget·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I | 181 | ····iget·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I |
| |
182 | ····add-int/lit8·p1,·p1,·0x1 | 182 | ····add-int/lit8·p1,·p1,·0x1 |
| |
183 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I | 183 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I |
| |
184 | ····const/16·v0,·0xa | 184 | ····const/16·v0,·0xa |
| |
185 | ····if-le·p1,·v0,·:cond_1 | 185 | ····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·12540 | 188 | ····.line·12455 |
189 | ····invoke-static·{p1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | 189 | ····invoke-static·{p1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
| |
190 | ····.line·12543 | 190 | ····.line·12458 |
191 | ····:cond_1 | 191 | ····:cond_1 |
192 | ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z | 192 | ····iput-boolean·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z |
| |
193 | ····goto·:goto_0 | 193 | ····goto·:goto_0 |
| |
194 | ····.line·12545 | 194 | ····.line·12460 |
195 | ····:cond_2 | 195 | ····:cond_2 |
196 | ····iput·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I | 196 | ····iput·v1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mConsecutiveUpdates:I |
| |
197 | ····:goto_0 | 197 | ····:goto_0 |
198 | ····return-void | 198 | ····return-void |
199 | .end·method | 199 | .end·method |
| |
200 | .method·public·update(IIILandroid/view/animation/Interpolator;)V | 200 | .method·public·update(IIILandroid/view/animation/Interpolator;)V |
201 | ····.locals·0 | 201 | ····.locals·0 |
| |
202 | ····.line·12615 | 202 | ····.line·12530 |
203 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I | 203 | ····iput·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDx:I |
| |
204 | ····.line·12616 | 204 | ····.line·12531 |
205 | ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I | 205 | ····iput·p2,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDy:I |
| |
206 | ····.line·12617 | 206 | ····.line·12532 |
207 | ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I | 207 | ····iput·p3,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mDuration:I |
| |
208 | ····.line·12618 | 208 | ····.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,·0x1 | 210 | ····const/4·p1,·0x1 |
| |
211 | ····.line·12619 | 211 | ····.line·12534 |
212 | ····iput-boolean·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z | 212 | ····iput-boolean·p1,·p0,·Landroidx/recyclerview/widget/RecyclerView$SmoothScroller$Action;->mChanged:Z |
| |
213 | ····return-void | 213 | ····return-void |
214 | .end·method | 214 | .end·method |