| | | |
Offset 3, 75 lines modified | Offset 3, 92 lines modified |
3 | .source·"FastScroller.java" | 3 | .source·"FastScroller.java" |
| |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Landroid/view/View$OnTouchListener; | 5 | .implements·Landroid/view/View$OnTouchListener; |
| |
| |
6 | #·instance·fields | 6 | #·instance·fields |
7 | .field·private·mIsDragging:Z | 7 | .field·private·mClickActionThreshold:I |
| |
8 | .field·private·mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 8 | .field·private·mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
9 | .field·private·mScrollThumb:Landroid/view/View; | 9 | .field·private·mScrollThumb:Landroid/view/View; |
| |
10 | .field·private·mScrollTrackView:Landroid/view/View; | 10 | .field·private·mScrollTrackView:Landroid/view/View; |
| |
11 | .field·private·mTouchDownY:F | 11 | .field·private·mTouchDownY:F |
| |
| |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method·constructor·<init>(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)V | 13 | .method·constructor·<init>(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)V |
14 | ····.locals·1 | 14 | ····.locals·1 |
| |
15 | ····.line·46 | 15 | ····.line·47 |
16 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 16 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
17 | ····const/high16·v0,·-0x40800000····#·-1.0f | 17 | ····const/high16·v0,·-0x40800000····#·-1.0f |
| |
18 | ····.line·38 | 18 | ····.line·39 |
19 | ····iput·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F | 19 | ····iput·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F |
| |
20 | ····.line·47 | 20 | ····.line·48 |
21 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 21 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
22 | ····.line·48 | 22 | ····.line·49 |
23 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; | 23 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; |
| |
24 | ····.line·49 | 24 | ····.line·50 |
25 | ····sget·p1,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_thumb:I | 25 | ····sget·p2,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_thumb:I |
| |
| 26 | ····invoke-static·{p3,·p2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
| 27 | ····move-result-object·p2 |
| |
| 28 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; |
| |
| 29 | ····.line·52 |
| 30 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
26 | ····invoke-static·{p3,·p1},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 31 | ····move-result-object·p1 |
| |
| 32 | ····.line·51 |
| 33 | ····invoke-static·{p1},·Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration; |
| |
27 | ····move-result-object·p1 | 34 | ····move-result-object·p1 |
| |
28 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; | 35 | ····.line·52 |
| 36 | ····invoke-virtual·{p1},·Landroid/view/ViewConfiguration;->getScaledTouchSlop()I |
| |
| 37 | ····move-result·p1 |
| |
| 38 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mClickActionThreshold:I |
| |
29 | ····return-void | 39 | ····return-void |
30 | .end·method | 40 | .end·method |
| |
31 | .method·private·calculateScrollDistance(F)I | 41 | .method·private·calculateScrollDistance(F)I |
32 | ····.locals·5 | 42 | ····.locals·5 |
| |
33 | ····.line·107 | 43 | ····.line·112 |
34 | ····invoke-direct·{p0},·Lcom/android/car/ui/recyclerview/FastScroller;->getVerticalRange()[I | 44 | ····invoke-direct·{p0},·Lcom/android/car/ui/recyclerview/FastScroller;->getVerticalRange()[I |
| |
35 | ····move-result-object·v0 | 45 | ····move-result-object·v0 |
| |
36 | ····const/4·v1,·0x1 | 46 | ····const/4·v1,·0x1 |
| |
37 | ····.line·108 | 47 | ····.line·113 |
38 | ····aget·v1,·v0,·v1 | 48 | ····aget·v1,·v0,·v1 |
| |
39 | ····const/4·v2,·0x0 | 49 | ····const/4·v2,·0x0 |
| |
40 | ····aget·v0,·v0,·v2 | 50 | ····aget·v0,·v0,·v2 |
| |
41 | ····sub-int/2addr·v1,·v0 | 51 | ····sub-int/2addr·v1,·v0 |
| |
42 | ····.line·110 | 52 | ····.line·115 |
43 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; | 53 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; |
| |
44 | ····invoke-virtual·{v0},·Landroid/view/View;->getY()F | 54 | ····invoke-virtual·{v0},·Landroid/view/View;->getY()F |
| |
45 | ····move-result·v0 | 55 | ····move-result·v0 |
| |
46 | ····iget-object·v3,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; | 56 | ····iget-object·v3,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; |
Offset 95, 18 lines modified | Offset 112, 18 lines modified |
95 | ····:cond_0 | 112 | ····:cond_0 |
96 | ····sub-float/2addr·p1,·v0 | 113 | ····sub-float/2addr·p1,·v0 |
| |
97 | ····int-to-float·v0,·v1 | 114 | ····int-to-float·v0,·v1 |
| |
98 | ····div-float/2addr·p1,·v0 | 115 | ····div-float/2addr·p1,·v0 |
| |
99 | ····.line·117 | 116 | ····.line·122 |
100 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 117 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
101 | ····.line·118 | 118 | ····.line·123 |
102 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollRange()I | 119 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollRange()I |
| |
103 | ····move-result·v0 | 120 | ····move-result·v0 |
| |
104 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 121 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
105 | ····invoke-virtual·{v1},·Landroid/view/ViewGroup;->getHeight()I | 122 | ····invoke-virtual·{v1},·Landroid/view/ViewGroup;->getHeight()I |
Offset 117, 28 lines modified | Offset 134, 14 lines modified |
| |
117 | ····int-to-float·v0,·v0 | 134 | ····int-to-float·v0,·v0 |
| |
118 | ····mul-float/2addr·p1,·v0 | 135 | ····mul-float/2addr·p1,·v0 |
| |
119 | ····float-to-int·p1,·p1 | 136 | ····float-to-int·p1,·p1 |
| |
120 | ····.line·120 | |
121 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | |
| |
122 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollOffset()I | |
| |
123 | ····move-result·v0 | |
| |
124 | ····add-int/2addr·v0,·p1 | |
| |
125 | ····if-gez·v0,·:cond_1 | |
| |
126 | ····return·v2 | |
| |
127 | ····:cond_1 | |
128 | ····return·p1 | 137 | ····return·p1 |
129 | .end·method | 138 | .end·method |
| |
130 | .method·private·getVerticalRange()[I | 139 | .method·private·getVerticalRange()[I |
131 | ····.locals·4 | 140 | ····.locals·4 |
| |
132 | ····const/4·v0,·0x2 | 141 | ····const/4·v0,·0x2 |
Offset 199, 25 lines modified | Offset 202, 54 lines modified |
199 | ····const/4·v0,·0x1 | 202 | ····const/4·v0,·0x1 |
| |
200 | ····aput·v2,·v1,·v0 | 203 | ····aput·v2,·v1,·v0 |
| |
201 | ····return-object·v1 | 204 | ····return-object·v1 |
202 | .end·method | 205 | .end·method |
| |
| 206 | .method·private·isClick(FF)Z |
| 207 | ····.locals·0 |
| |
| 208 | ····sub-float/2addr·p1,·p2 |
| |
| 209 | ····.line·101 |
| 210 | ····invoke-static·{p1},·Ljava/lang/Math;->abs(F)F |
| |
| 211 | ····move-result·p1 |
| |
| 212 | ····iget·p2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mClickActionThreshold:I |
| |
| 213 | ····int-to-float·p2,·p2 |
| |
| 214 | ····cmpg-float·p1,·p1,·p2 |
| |
| 215 | ····if-gez·p1,·:cond_0 |
| |
| 216 | ····const/4·p1,·0x1 |
| |
| 217 | ····goto·:goto_0 |
| |
| 218 | ····:cond_0 |
| 219 | ····const/4·p1,·0x0 |
| |
| 220 | ····:goto_0 |
| 221 | ····return·p1 |
| 222 | .end·method |
| |
203 | .method·private·verticalScrollTo(F)V | 223 | .method·private·verticalScrollTo(F)V |
204 | ····.locals·2 | 224 | ····.locals·2 |
| |
205 | ····.line·100 | 225 | ····.line·105 |
206 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/FastScroller;->calculateScrollDistance(F)I | 226 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/FastScroller;->calculateScrollDistance(F)I |
| |
207 | ····move-result·p1 | 227 | ····move-result·p1 |
| |
208 | ····if-eqz·p1,·:cond_0 | 228 | ····if-eqz·p1,·:cond_0 |
| |
209 | ····.line·102 | 229 | ····.line·107 |
210 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 230 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
211 | ····const/4·v1,·0x0 | 231 | ····const/4·v1,·0x0 |
| |
212 | ····invoke-virtual·{v0,·v1,·p1},·Landroidx/recyclerview/widget/RecyclerView;->scrollBy(II)V | 232 | ····invoke-virtual·{v0,·v1,·p1},·Landroidx/recyclerview/widget/RecyclerView;->scrollBy(II)V |
| |
213 | ····:cond_0 | 233 | ····:cond_0 |
Offset 225, 76 lines modified | Offset 257, 82 lines modified |
225 | .end·method | 257 | .end·method |
| |
| |
226 | #·virtual·methods | 258 | #·virtual·methods |
227 | .method·enable()V | 259 | .method·enable()V |
228 | ····.locals·1 | 260 | ····.locals·1 |
| |
229 | ····.line·53 | 261 | ····.line·56 |
230 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 262 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
231 | ····if-eqz·v0,·:cond_0 | 263 | ····if-eqz·v0,·:cond_0 |
| |
232 | ····.line·54 | 264 | ····.line·57 |
233 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; | 265 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; |
| |
234 | ····invoke-virtual·{v0,·p0},·Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V | 266 | ····invoke-virtual·{v0,·p0},·Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V |
| |
235 | ····:cond_0 | 267 | ····:cond_0 |
236 | ····return-void | 268 | ····return-void |
237 | .end·method | 269 | .end·method |
| |
238 | .method·public·onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z | 270 | .method·public·onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z |
239 | ····.locals·3 | 271 | ····.locals·3 |
| |
240 | ····.line·60 | 272 | ····.line·63 |
241 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getAction()I | 273 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getAction()I |
| |
242 | ····move-result·p1 | 274 | ····move-result·p1 |
| |
243 | ····const/4·v0,·0x1 | 275 | ····const/4·v0,·0x1 |
| |
244 | ····if-eqz·p1,·:cond_3 | 276 | ····if-eqz·p1,·:cond_4 |
| |
245 | ····const/4·v1,·0x2 | 277 | ····const/4·v1,·0x2 |
| |
246 | ····if-eq·p1,·v1,·:cond_0 | 278 | ····if-eq·p1,·v1,·:cond_1 |
| |
247 | ····const/high16·p1,·-0x40800000····#·-1.0f | 279 | ····.line·89 |
| 280 | ····iget·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F |
| |
248 | ····.line·88 | 281 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F |
249 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F | |
| |
250 | ····.line·92 | 282 | ····move-result·v1 |
251 | ····iget-boolean·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mIsDragging:Z | |
| 283 | ····invoke-direct·{p0,·p1,·v1},·Lcom/android/car/ui/recyclerview/FastScroller;->isClick(FF)Z |
| |
| 284 | ····move-result·p1 |
| |
252 | ····if-nez·p1,·:cond_4 | 285 | ····if-eqz·p1,·:cond_0 |
| |
253 | ····.line·93 | 286 | ····.line·90 |
254 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F | 287 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F |
| |
255 | ····move-result·p1 | 288 | ····move-result·p1 |
| |
256 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; | 289 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; |
| |
257 | ····invoke-virtual·{p2},·Landroid/view/View;->getY()F | 290 | ····invoke-virtual·{p2},·Landroid/view/View;->getY()F |
| |
258 | ····move-result·p2 | 291 | ····move-result·p2 |
| |
259 | ····add-float/2addr·p1,·p2 | 292 | ····add-float/2addr·p1,·p2 |
| |
260 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/FastScroller;->verticalScrollTo(F)V | 293 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/FastScroller;->verticalScrollTo(F)V |
| |
261 | ····goto·:goto_1 | |
| |
262 | ····.line·66 | |
263 | ····:cond_0 | 294 | ····:cond_0 |
264 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mIsDragging:Z | 295 | ····const/high16·p1,·-0x40800000····#·-1.0f |
| |
| 296 | ····.line·92 |
| 297 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F |
| |
265 | ····.line·67 | 298 | ····goto·:goto_1 |
| |
| 299 | ····.line·68 |
| 300 | ····:cond_1 |
266 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; | 301 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; |
| |
267 | ····invoke-virtual·{p1},·Landroid/view/View;->getY()F | 302 | ····invoke-virtual·{p1},·Landroid/view/View;->getY()F |
| |
268 | ····move-result·p1 | 303 | ····move-result·p1 |
| |
269 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; | 304 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; |
Offset 303, 32 lines modified | Offset 341, 32 lines modified |
| |
303 | ····move-result·v1 | 341 | ····move-result·v1 |
| |
304 | ····int-to-float·v1,·v1 | 342 | ····int-to-float·v1,·v1 |
| |
305 | ····add-float/2addr·p1,·v1 | 343 | ····add-float/2addr·p1,·v1 |
| |
306 | ····.line·70 | 344 | ····.line·71 |
307 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F | 345 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F |
| |
308 | ····move-result·v1 | 346 | ····move-result·v1 |
| |
309 | ····iget-object·v2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; | 347 | ····iget-object·v2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; |
| |
310 | ····invoke-virtual·{v2},·Landroid/view/View;->getY()F | 348 | ····invoke-virtual·{v2},·Landroid/view/View;->getY()F |
| |
311 | ····move-result·v2 | 349 | ····move-result·v2 |
| |
312 | ····add-float/2addr·v1,·v2 | 350 | ····add-float/2addr·v1,·v2 |
| |
313 | ····cmpg-float·p1,·v1,·p1 | 351 | ····cmpg-float·p1,·v1,·p1 |
| |
314 | ····if-gez·p1,·:cond_2 | 352 | ····if-gez·p1,·:cond_3 |
| |
315 | ····.line·71 | 353 | ····.line·72 |
316 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F | 354 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F |
| |
317 | ····move-result·p1 | 355 | ····move-result·p1 |
| |
318 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; | 356 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollTrackView:Landroid/view/View; |
| |
319 | ····invoke-virtual·{v1},·Landroid/view/View;->getY()F | 357 | ····invoke-virtual·{v1},·Landroid/view/View;->getY()F |
Offset 341, 20 lines modified | Offset 379, 20 lines modified |
| |
341 | ····invoke-virtual·{v1},·Landroid/view/View;->getY()F | 379 | ····invoke-virtual·{v1},·Landroid/view/View;->getY()F |
| |
342 | ····move-result·v1 | 380 | ····move-result·v1 |
| |
343 | ····cmpl-float·p1,·p1,·v1 | 381 | ····cmpl-float·p1,·p1,·v1 |
| |
344 | ····if-gtz·p1,·:cond_1 | 382 | ····if-gtz·p1,·:cond_2 |
| |
345 | ····goto·:goto_0 | 383 | ····goto·:goto_0 |
| |
346 | ····.line·76 | 384 | ····.line·77 |
347 | ····:cond_1 | 385 | ····:cond_2 |
348 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; | 386 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; |
| |
349 | ····invoke-virtual·{p1},·Landroid/view/View;->getY()F | 387 | ····invoke-virtual·{p1},·Landroid/view/View;->getY()F |
| |
350 | ····move-result·p1 | 388 | ····move-result·p1 |
| |
351 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; | 389 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mScrollThumb:Landroid/view/View; |
Offset 367, 50 lines modified | Offset 405, 44 lines modified |
| |
367 | ····const/high16·v2,·0x40000000····#·2.0f | 405 | ····const/high16·v2,·0x40000000····#·2.0f |
| |
368 | ····div-float/2addr·v1,·v2 | 406 | ····div-float/2addr·v1,·v2 |
| |
369 | ····add-float/2addr·p1,·v1 | 407 | ····add-float/2addr·p1,·v1 |
| |
370 | ····.line·83 | 408 | ····.line·84 |
371 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F | 409 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F |
| |
372 | ····move-result·v1 | 410 | ····move-result·v1 |
| |
373 | ····iget·v2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F | 411 | ····iget·v2,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F |
| |
374 | ····sub-float/2addr·v1,·v2 | 412 | ····sub-float/2addr·v1,·v2 |
| |
375 | ····add-float/2addr·p1,·v1 | 413 | ····add-float/2addr·p1,·v1 |
| |
376 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/FastScroller;->verticalScrollTo(F)V | 414 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/FastScroller;->verticalScrollTo(F)V |
| |
377 | ····.line·84 | 415 | ····.line·85 |
378 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F | 416 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F |
| |
379 | ····move-result·p1 | 417 | ····move-result·p1 |
| |
380 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F | 418 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F |
| |
381 | ····goto·:goto_1 | 419 | ····goto·:goto_1 |
| |
382 | ····:cond_2 | 420 | ····:cond_3 |
383 | ····:goto_0 | 421 | ····:goto_0 |
384 | ····return·v0 | 422 | ····return·v0 |
| |
385 | ····.line·62 | 423 | ····.line·65 |
386 | ····:cond_3 | 424 | ····:cond_4 |
387 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F | 425 | ····invoke-virtual·{p2},·Landroid/view/MotionEvent;->getY()F |
| |
388 | ····move-result·p1 | 426 | ····move-result·p1 |
| |
389 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F | 427 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mTouchDownY:F |
| |
390 | ····const/4·p1,·0x0 | |
| |
391 | ····.line·63 | |
392 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/recyclerview/FastScroller;->mIsDragging:Z | |
| |
393 | ····:cond_4 | |
394 | ····:goto_1 | 428 | ····:goto_1 |
395 | ····return·v0 | 429 | ····return·v0 |
396 | .end·method | 430 | .end·method |