| | | |
Offset 23, 41 lines modified | Offset 23, 43 lines modified |
| |
23 | .field·private·mScrollThumb:Landroid/view/View; | 23 | .field·private·mScrollThumb:Landroid/view/View; |
| |
24 | .field·private·mScrollTrack:Landroid/view/View; | 24 | .field·private·mScrollTrack:Landroid/view/View; |
| |
25 | .field·private·mScrollView:Landroid/view/View; | 25 | .field·private·mScrollView:Landroid/view/View; |
| |
| 26 | .field·private·mScrollbarThumbMinHeight:I |
| |
26 | .field·private·mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; | 27 | .field·private·mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; |
| |
27 | .field·private·mUpButton:Landroid/view/View; | 28 | .field·private·mUpButton:Landroid/view/View; |
| |
| |
28 | #·direct·methods | 29 | #·direct·methods |
29 | .method·constructor·<init>()V | 30 | .method·constructor·<init>()V |
30 | ····.locals·1 | 31 | ····.locals·1 |
| |
31 | ····.line·41 | 32 | ····.line·41 |
32 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 33 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
33 | ····.line·54 | 34 | ····.line·56 |
34 | ····new-instance·v0,·Landroid/view/animation/AccelerateDecelerateInterpolator; | 35 | ····new-instance·v0,·Landroid/view/animation/AccelerateDecelerateInterpolator; |
| |
35 | ····invoke-direct·{v0},·Landroid/view/animation/AccelerateDecelerateInterpolator;-><init>()V | 36 | ····invoke-direct·{v0},·Landroid/view/animation/AccelerateDecelerateInterpolator;-><init>()V |
| |
36 | ····iput-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mPaginationInterpolator:Landroid/view/animation/Interpolator; | 37 | ····iput-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mPaginationInterpolator:Landroid/view/animation/Interpolator; |
| |
37 | ····.line·56 | 38 | ····.line·58 |
38 | ····new-instance·v0,·Landroid/os/Handler; | 39 | ····new-instance·v0,·Landroid/os/Handler; |
| |
39 | ····invoke-direct·{v0},·Landroid/os/Handler;-><init>()V | 40 | ····invoke-direct·{v0},·Landroid/os/Handler;-><init>()V |
| |
40 | ····iput-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mHandler:Landroid/os/Handler; | 41 | ····iput-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mHandler:Landroid/os/Handler; |
| |
41 | ····.line·239 | 42 | ····.line·242 |
42 | ····new-instance·v0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar$1; | 43 | ····new-instance·v0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar$1; |
| |
43 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar$1;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V | 44 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar$1;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V |
| |
44 | ····iput-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerViewOnScrollListener:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener; | 45 | ····iput-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerViewOnScrollListener:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener; |
| |
45 | ····return-void | 46 | ····return-void |
Offset 77, 73 lines modified | Offset 79, 81 lines modified |
| |
77 | ····int-to-float·p2,·p2 | 79 | ····int-to-float·p2,·p2 |
| |
78 | ····int-to-float·p1,·p1 | 80 | ····int-to-float·p1,·p1 |
| |
79 | ····div-float/2addr·p2,·p1 | 81 | ····div-float/2addr·p2,·p1 |
| |
80 | ····.line·204 | 82 | ····.line·208 |
81 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; | 83 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; |
| |
82 | ····invoke-virtual·{p1},·Landroid/view/View;->getHeight()I | 84 | ····invoke-virtual·{p1},·Landroid/view/View;->getHeight()I |
| |
83 | ····move-result·p1 | 85 | ····move-result·p1 |
| |
84 | ····int-to-float·p1,·p1 | 86 | ····int-to-float·p1,·p1 |
| |
85 | ····mul-float/2addr·p2,·p1 | 87 | ····mul-float/2addr·p2,·p1 |
| |
86 | ····invoke-static·{p2},·Ljava/lang/Math;->round(F)I | 88 | ····invoke-static·{p2},·Ljava/lang/Math;->round(F)I |
| |
87 | ····move-result·p1 | 89 | ····move-result·p1 |
| |
| 90 | ····iget·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollbarThumbMinHeight:I |
| |
| 91 | ····invoke-static·{p1,·p2},·Ljava/lang/Math;->max(II)I |
| |
| 92 | ····move-result·p1 |
| |
88 | ····return·p1 | 93 | ····return·p1 |
89 | .end·method | 94 | .end·method |
| |
90 | .method·private·calculateScrollThumbOffset(III)I | 95 | .method·private·calculateScrollThumbOffset(III)I |
91 | ····.locals·2 | 96 | ····.locals·2 |
| |
92 | ····.line·224 | 97 | ····.line·227 |
93 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; | 98 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; |
| |
94 | ····invoke-virtual·{v0},·Landroid/view/View;->getTop()I | 99 | ····invoke-virtual·{v0},·Landroid/view/View;->getTop()I |
| |
95 | ····move-result·v0 | 100 | ····move-result·v0 |
| |
96 | ····.line·225 | 101 | ····.line·228 |
97 | ····invoke-direct·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->isDownEnabled()Z | 102 | ····invoke-direct·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->isDownEnabled()Z |
| |
98 | ····move-result·v1 | 103 | ····move-result·v1 |
| |
99 | ····if-eqz·v1,·:cond_0 | 104 | ····if-eqz·v1,·:cond_0 |
| |
100 | ····int-to-float·p2,·p2 | 105 | ····int-to-float·p2,·p2 |
| |
101 | ····int-to-float·p1,·p1 | 106 | ····int-to-float·p1,·p1 |
| |
102 | ····div-float/2addr·p2,·p1 | 107 | ····div-float/2addr·p2,·p1 |
| |
103 | ····.line·226 | 108 | ····.line·229 |
104 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; | 109 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; |
| |
105 | ····invoke-virtual·{p1},·Landroid/view/View;->getHeight()I | 110 | ····invoke-virtual·{p1},·Landroid/view/View;->getHeight()I |
| |
106 | ····move-result·p1 | 111 | ····move-result·p1 |
| |
| 112 | ····sub-int/2addr·p1,·p3 |
| |
107 | ····int-to-float·p1,·p1 | 113 | ····int-to-float·p1,·p1 |
| |
108 | ····mul-float/2addr·p2,·p1 | 114 | ····mul-float/2addr·p2,·p1 |
| |
109 | ····invoke-static·{p2},·Ljava/lang/Math;->round(F)I | 115 | ····invoke-static·{p2},·Ljava/lang/Math;->round(F)I |
| |
110 | ····move-result·p1 | 116 | ····move-result·p1 |
| |
111 | ····goto·:goto_0 | 117 | ····goto·:goto_0 |
| |
112 | ····.line·227 | 118 | ····.line·230 |
113 | ····:cond_0 | 119 | ····:cond_0 |
114 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; | 120 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; |
| |
115 | ····invoke-virtual·{p1},·Landroid/view/View;->getHeight()I | 121 | ····invoke-virtual·{p1},·Landroid/view/View;->getHeight()I |
| |
116 | ····move-result·p1 | 122 | ····move-result·p1 |
| |
Offset 154, 44 lines modified | Offset 164, 44 lines modified |
| |
154 | ····return·v0 | 164 | ····return·v0 |
155 | .end·method | 165 | .end·method |
| |
156 | .method·private·getOrientationHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 166 | .method·private·getOrientationHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
157 | ····.locals·1 | 167 | ····.locals·1 |
| |
158 | ····.line·248 | 168 | ····.line·251 |
159 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mOrientationHelper:Landroidx/recyclerview/widget/OrientationHelper; | 169 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mOrientationHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| |
160 | ····if-eqz·v0,·:cond_0 | 170 | ····if-eqz·v0,·:cond_0 |
| |
161 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 171 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
162 | ····move-result-object·v0 | 172 | ····move-result-object·v0 |
| |
163 | ····if-eq·v0,·p1,·:cond_1 | 173 | ····if-eq·v0,·p1,·:cond_1 |
| |
164 | ····.line·250 | 174 | ····.line·253 |
165 | ····:cond_0 | 175 | ····:cond_0 |
166 | ····invoke-static·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 176 | ····invoke-static·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| |
167 | ····move-result-object·p1 | 177 | ····move-result-object·p1 |
| |
168 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mOrientationHelper:Landroidx/recyclerview/widget/OrientationHelper; | 178 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mOrientationHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| |
169 | ····.line·252 | 179 | ····.line·255 |
170 | ····:cond_1 | 180 | ····:cond_1 |
171 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mOrientationHelper:Landroidx/recyclerview/widget/OrientationHelper; | 181 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mOrientationHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| |
172 | ····return-object·p1 | 182 | ····return-object·p1 |
173 | .end·method | 183 | .end·method |
| |
174 | .method·private·isDownEnabled()Z | 184 | .method·private·isDownEnabled()Z |
175 | ····.locals·1 | 185 | ····.locals·1 |
| |
176 | ····.line·150 | 186 | ····.line·154 |
177 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; | 187 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; |
| |
178 | ····invoke-virtual·{v0},·Landroid/view/View;->isEnabled()Z | 188 | ····invoke-virtual·{v0},·Landroid/view/View;->isEnabled()Z |
| |
179 | ····move-result·v0 | 189 | ····move-result·v0 |
| |
180 | ····return·v0 | 190 | ····return·v0 |
Offset 204, 86 lines modified | Offset 214, 86 lines modified |
| |
204 | ····return-void | 214 | ····return-void |
205 | .end·method | 215 | .end·method |
| |
206 | .method·private·synthetic·lambda$initialize$0(Landroid/view/View;)V | 216 | .method·private·synthetic·lambda$initialize$0(Landroid/view/View;)V |
207 | ····.locals·0 | 217 | ····.locals·0 |
| |
208 | ····.line·74 | 218 | ····.line·78 |
209 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->pageUp()V | 219 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->pageUp()V |
| |
210 | ····return-void | 220 | ····return-void |
211 | .end·method | 221 | .end·method |
| |
212 | .method·private·synthetic·lambda$initialize$1(Landroid/view/View;)V | 222 | .method·private·synthetic·lambda$initialize$1(Landroid/view/View;)V |
213 | ····.locals·0 | 223 | ····.locals·0 |
| |
214 | ····.line·80 | 224 | ····.line·84 |
215 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->pageDown()V | 225 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->pageDown()V |
| |
216 | ····return-void | 226 | ····return-void |
217 | .end·method | 227 | .end·method |
| |
218 | .method·private·synthetic·lambda$initialize$2(Landroid/view/View;IIIIIIII)V | 228 | .method·private·synthetic·lambda$initialize$2(Landroid/view/View;IIIIIIII)V |
219 | ····.locals·0 | 229 | ····.locals·0 |
| |
220 | ····.line·106 | 230 | ····.line·110 |
221 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mHandler:Landroid/os/Handler; | 231 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mHandler:Landroid/os/Handler; |
| |
222 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$8vQl6fixN4bSs-CT-YNHzqnXe1s; | 232 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$8vQl6fixN4bSs-CT-YNHzqnXe1s; |
| |
223 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$8vQl6fixN4bSs-CT-YNHzqnXe1s;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V | 233 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$8vQl6fixN4bSs-CT-YNHzqnXe1s;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V |
| |
224 | ····invoke-virtual·{p1,·p2},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z | 234 | ····invoke-virtual·{p1,·p2},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z |
| |
225 | ····return-void | 235 | ····return-void |
226 | .end·method | 236 | .end·method |
| |
227 | .method·private·moveY(Landroid/view/View;F)V | 237 | .method·private·moveY(Landroid/view/View;F)V |
228 | ····.locals·2 | 238 | ····.locals·2 |
| |
229 | ····.line·232 | 239 | ····.line·235 |
230 | ····invoke-virtual·{p1},·Landroid/view/View;->animate()Landroid/view/ViewPropertyAnimator; | 240 | ····invoke-virtual·{p1},·Landroid/view/View;->animate()Landroid/view/ViewPropertyAnimator; |
| |
231 | ····move-result-object·p1 | 241 | ····move-result-object·p1 |
| |
232 | ····.line·233 | 242 | ····.line·236 |
233 | ····invoke-virtual·{p1,·p2},·Landroid/view/ViewPropertyAnimator;->y(F)Landroid/view/ViewPropertyAnimator; | 243 | ····invoke-virtual·{p1,·p2},·Landroid/view/ViewPropertyAnimator;->y(F)Landroid/view/ViewPropertyAnimator; |
| |
234 | ····move-result-object·p1 | 244 | ····move-result-object·p1 |
| |
235 | ····const-wide/16·v0,·0x0 | 245 | ····const-wide/16·v0,·0x0 |
| |
236 | ····.line·234 | 246 | ····.line·237 |
237 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/view/ViewPropertyAnimator;->setDuration(J)Landroid/view/ViewPropertyAnimator; | 247 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/view/ViewPropertyAnimator;->setDuration(J)Landroid/view/ViewPropertyAnimator; |
| |
238 | ····move-result-object·p1 | 248 | ····move-result-object·p1 |
| |
239 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mPaginationInterpolator:Landroid/view/animation/Interpolator; | 249 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mPaginationInterpolator:Landroid/view/animation/Interpolator; |
| |
240 | ····.line·235 | 250 | ····.line·238 |
241 | ····invoke-virtual·{p1,·p2},·Landroid/view/ViewPropertyAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)Landroid/view/ViewPropertyAnimator; | 251 | ····invoke-virtual·{p1,·p2},·Landroid/view/ViewPropertyAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)Landroid/view/ViewPropertyAnimator; |
| |
242 | ····move-result-object·p1 | 252 | ····move-result-object·p1 |
| |
243 | ····.line·236 | 253 | ····.line·239 |
244 | ····invoke-virtual·{p1},·Landroid/view/ViewPropertyAnimator;->start()V | 254 | ····invoke-virtual·{p1},·Landroid/view/ViewPropertyAnimator;->start()V |
| |
245 | ····return-void | 255 | ····return-void |
246 | .end·method | 256 | .end·method |
| |
247 | .method·private·setDownEnabled(Z)V | 257 | .method·private·setDownEnabled(Z)V |
248 | ····.locals·1 | 258 | ····.locals·1 |
| |
249 | ····.line·140 | 259 | ····.line·144 |
250 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; | 260 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; |
| |
251 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setEnabled(Z)V | 261 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setEnabled(Z)V |
| |
252 | ····.line·141 | 262 | ····.line·145 |
253 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; | 263 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; |
| |
254 | ····if-eqz·p1,·:cond_0 | 264 | ····if-eqz·p1,·:cond_0 |
| |
255 | ····const/high16·p1,·0x3f800000····#·1.0f | 265 | ····const/high16·p1,·0x3f800000····#·1.0f |
| |
256 | ····goto·:goto_0 | 266 | ····goto·:goto_0 |
Offset 296, 26 lines modified | Offset 306, 26 lines modified |
| |
296 | ····return-void | 306 | ····return-void |
297 | .end·method | 307 | .end·method |
| |
298 | .method·private·setParameters(III)V | 308 | .method·private·setParameters(III)V |
299 | ····.locals·2 | 309 | ····.locals·2 |
| |
300 | ····.line·171 | 310 | ····.line·175 |
301 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 311 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
302 | ····invoke-virtual·{v0},·Landroid/view/View;->isLaidOut()Z | 312 | ····invoke-virtual·{v0},·Landroid/view/View;->isLaidOut()Z |
| |
303 | ····move-result·v0 | 313 | ····move-result·v0 |
| |
304 | ····if-nez·v0,·:cond_0 | 314 | ····if-nez·v0,·:cond_0 |
| |
305 | ····return-void | 315 | ····return-void |
| |
306 | ····.line·176 | 316 | ····.line·180 |
307 | ····:cond_0 | 317 | ····:cond_0 |
308 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 318 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
309 | ····invoke-virtual·{v0},·Landroid/view/View;->getVisibility()I | 319 | ····invoke-virtual·{v0},·Landroid/view/View;->getVisibility()I |
| |
310 | ····move-result·v0 | 320 | ····move-result·v0 |
| |
Offset 323, 46 lines modified | Offset 333, 46 lines modified |
| |
323 | ····if-eq·v0,·v1,·:cond_3 | 333 | ····if-eq·v0,·v1,·:cond_3 |
| |
324 | ····if-nez·p1,·:cond_1 | 334 | ····if-nez·p1,·:cond_1 |
| |
325 | ····goto·:goto_0 | 335 | ····goto·:goto_0 |
| |
326 | ····.line·180 | 336 | ····.line·184 |
327 | ····:cond_1 | 337 | ····:cond_1 |
328 | ····invoke-direct·{p0,·p1,·p3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->calculateScrollThumbLength(II)I | 338 | ····invoke-direct·{p0,·p1,·p3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->calculateScrollThumbLength(II)I |
| |
329 | ····move-result·p3 | 339 | ····move-result·p3 |
| |
330 | ····.line·181 | 340 | ····.line·185 |
331 | ····invoke-direct·{p0,·p1,·p2,·p3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->calculateScrollThumbOffset(III)I | 341 | ····invoke-direct·{p0,·p1,·p2,·p3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->calculateScrollThumbOffset(III)I |
| |
332 | ····move-result·p1 | 342 | ····move-result·p1 |
| |
333 | ····.line·184 | 343 | ····.line·188 |
334 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; | 344 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; |
| |
335 | ····invoke-virtual·{p2},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; | 345 | ····invoke-virtual·{p2},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; |
| |
336 | ····move-result-object·p2 | 346 | ····move-result-object·p2 |
| |
337 | ····.line·186 | 347 | ····.line·190 |
338 | ····iget·v0,·p2,·Landroid/view/ViewGroup$LayoutParams;->height:I | 348 | ····iget·v0,·p2,·Landroid/view/ViewGroup$LayoutParams;->height:I |
| |
339 | ····if-eq·v0,·p3,·:cond_2 | 349 | ····if-eq·v0,·p3,·:cond_2 |
| |
340 | ····.line·187 | 350 | ····.line·191 |
341 | ····iput·p3,·p2,·Landroid/view/ViewGroup$LayoutParams;->height:I | 351 | ····iput·p3,·p2,·Landroid/view/ViewGroup$LayoutParams;->height:I |
| |
342 | ····.line·188 | 352 | ····.line·192 |
343 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; | 353 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; |
| |
344 | ····invoke-virtual·{p2},·Landroid/view/View;->requestLayout()V | 354 | ····invoke-virtual·{p2},·Landroid/view/View;->requestLayout()V |
| |
345 | ····.line·191 | 355 | ····.line·195 |
346 | ····:cond_2 | 356 | ····:cond_2 |
347 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; | 357 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; |
| |
348 | ····int-to-float·p1,·p1 | 358 | ····int-to-float·p1,·p1 |
| |
349 | ····invoke-direct·{p0,·p2,·p1},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->moveY(Landroid/view/View;F)V | 359 | ····invoke-direct·{p0,·p2,·p1},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->moveY(Landroid/view/View;F)V |
| |
Offset 370, 20 lines modified | Offset 380, 20 lines modified |
370 | ····:goto_0 | 380 | ····:goto_0 |
371 | ····return-void | 381 | ····return-void |
372 | .end·method | 382 | .end·method |
| |
373 | .method·private·setUpEnabled(Z)V | 383 | .method·private·setUpEnabled(Z)V |
374 | ····.locals·1 | 384 | ····.locals·1 |
| |
375 | ····.line·130 | 385 | ····.line·134 |
376 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; | 386 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; |
| |
377 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setEnabled(Z)V | 387 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setEnabled(Z)V |
| |
378 | ····.line·131 | 388 | ····.line·135 |
379 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; | 389 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; |
| |
380 | ····if-eqz·p1,·:cond_0 | 390 | ····if-eqz·p1,·:cond_0 |
| |
381 | ····const/high16·p1,·0x3f800000····#·1.0f | 391 | ····const/high16·p1,·0x3f800000····#·1.0f |
| |
382 | ····goto·:goto_0 | 392 | ····goto·:goto_0 |
Offset 396, 385 lines modified | Offset 406, 403 lines modified |
| |
396 | ····return-void | 406 | ····return-void |
397 | .end·method | 407 | .end·method |
| |
398 | .method·private·updatePaginationButtons()V | 408 | .method·private·updatePaginationButtons()V |
399 | ····.locals·4 | 409 | ····.locals·4 |
| |
400 | ····.line·377 | 410 | ····.line·383 |
401 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->isAtStart()Z | 411 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->isAtStart()Z |
| |
402 | ····move-result·v0 | 412 | ····move-result·v0 |
| |
403 | ····.line·378 | 413 | ····.line·384 |
404 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->isAtEnd()Z | 414 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->isAtEnd()Z |
| |
405 | ····move-result·v1 | 415 | ····move-result·v1 |
| |
406 | ····.line·379 | 416 | ····.line·385 |
407 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 417 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
408 | ····move-result-object·v2 | 418 | ····move-result-object·v2 |
| |
409 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 419 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
410 | ····move-result-object·v2 | 420 | ····move-result-object·v2 |
| |
411 | ····xor-int/lit8·v3,·v0,·0x1 | 421 | ····xor-int/lit8·v3,·v0,·0x1 |
| |
412 | ····.line·382 | 422 | ····.line·388 |
413 | ····invoke-direct·{p0,·v3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setUpEnabled(Z)V | 423 | ····invoke-direct·{p0,·v3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setUpEnabled(Z)V |
| |
414 | ····xor-int/lit8·v3,·v1,·0x1 | 424 | ····xor-int/lit8·v3,·v1,·0x1 |
| |
415 | ····.line·383 | 425 | ····.line·389 |
416 | ····invoke-direct·{p0,·v3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setDownEnabled(Z)V | 426 | ····invoke-direct·{p0,·v3},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setDownEnabled(Z)V |
| |
417 | ····if-eqz·v0,·:cond_0 | 427 | ····if-eqz·v0,·:cond_0 |
| |
418 | ····if-nez·v1,·:cond_2 | 428 | ····if-nez·v1,·:cond_2 |
| |
419 | ····:cond_0 | 429 | ····:cond_0 |
420 | ····if-eqz·v2,·:cond_2 | 430 | ····if-eqz·v2,·:cond_2 |
| |
421 | ····.line·384 | 431 | ····.line·390 |
422 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getItemCount()I | 432 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getItemCount()I |
| |
423 | ····move-result·v0 | 433 | ····move-result·v0 |
| |
424 | ····if-nez·v0,·:cond_1 | 434 | ····if-nez·v0,·:cond_1 |
| |
425 | ····goto·:goto_0 | 435 | ····goto·:goto_0 |
| |
426 | ····.line·387 | 436 | ····.line·393 |
427 | ····:cond_1 | 437 | ····:cond_1 |
428 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 438 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
429 | ····const/4·v1,·0x0 | 439 | ····const/4·v1,·0x0 |
| |
430 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V | 440 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V |
| |
431 | ····goto·:goto_1 | 441 | ····goto·:goto_1 |
| |
432 | ····.line·385 | 442 | ····.line·391 |
433 | ····:cond_2 | 443 | ····:cond_2 |
434 | ····:goto_0 | 444 | ····:goto_0 |
435 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 445 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
436 | ····const/4·v1,·0x4 | 446 | ····const/4·v1,·0x4 |
| |
437 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V | 447 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V |
| |
438 | ····:goto_1 | 448 | ····:goto_1 |
439 | ····if-nez·v2,·:cond_3 | 449 | ····if-nez·v2,·:cond_3 |
| |
440 | ····return-void | 450 | ····return-void |
| |
441 | ····.line·394 | 451 | ····.line·400 |
442 | ····:cond_3 | 452 | ····:cond_3 |
443 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z | 453 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z |
| |
444 | ····move-result·v0 | 454 | ····move-result·v0 |
| |
445 | ····if-eqz·v0,·:cond_4 | 455 | ····if-eqz·v0,·:cond_4 |
| |
446 | ····.line·396 | 456 | ····.line·402 |
447 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 457 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
448 | ····move-result-object·v0 | 458 | ····move-result-object·v0 |
| |
449 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollRange()I | 459 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollRange()I |
| |
450 | ····move-result·v0 | 460 | ····move-result·v0 |
| |
451 | ····.line·397 | 461 | ····.line·403 |
452 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 462 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
453 | ····move-result-object·v1 | 463 | ····move-result-object·v1 |
| |
454 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollOffset()I | 464 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollOffset()I |
| |
455 | ····move-result·v1 | 465 | ····move-result·v1 |
| |
456 | ····.line·398 | 466 | ····.line·404 |
457 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 467 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
458 | ····move-result-object·v2 | 468 | ····move-result-object·v2 |
| |
459 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollExtent()I | 469 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollExtent()I |
| |
460 | ····move-result·v2 | 470 | ····move-result·v2 |
| |
461 | ····.line·395 | 471 | ····.line·401 |
462 | ····invoke-direct·{p0,·v0,·v1,·v2},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setParameters(III)V | 472 | ····invoke-direct·{p0,·v0,·v1,·v2},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setParameters(III)V |
| |
463 | ····goto·:goto_2 | 473 | ····goto·:goto_2 |
| |
464 | ····.line·401 | 474 | ····.line·407 |
465 | ····:cond_4 | 475 | ····:cond_4 |
466 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 476 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
467 | ····move-result-object·v0 | 477 | ····move-result-object·v0 |
| |
468 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeHorizontalScrollRange()I | 478 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeHorizontalScrollRange()I |
| |
469 | ····move-result·v0 | 479 | ····move-result·v0 |
| |
470 | ····.line·402 | 480 | ····.line·408 |
471 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 481 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
472 | ····move-result-object·v1 | 482 | ····move-result-object·v1 |
| |
473 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->computeHorizontalScrollOffset()I | 483 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->computeHorizontalScrollOffset()I |
| |
474 | ····move-result·v1 | 484 | ····move-result·v1 |
| |
475 | ····.line·403 | 485 | ····.line·409 |
476 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 486 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
477 | ····move-result-object·v2 | 487 | ····move-result-object·v2 |
| |
478 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView;->computeHorizontalScrollExtent()I | 488 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/RecyclerView;->computeHorizontalScrollExtent()I |
| |
479 | ····move-result·v2 | 489 | ····move-result·v2 |
| |
480 | ····.line·400 | 490 | ····.line·406 |
481 | ····invoke-direct·{p0,·v0,·v1,·v2},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setParameters(III)V | 491 | ····invoke-direct·{p0,·v0,·v1,·v2},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->setParameters(III)V |
| |
482 | ····.line·406 | 492 | ····.line·412 |
483 | ····:goto_2 | 493 | ····:goto_2 |
484 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 494 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
485 | ····invoke-virtual·{v0},·Landroid/view/View;->invalidate()V | 495 | ····invoke-virtual·{v0},·Landroid/view/View;->invalidate()V |
| |
486 | ····return-void | 496 | ····return-void |
487 | .end·method | 497 | .end·method |
| |
| |
488 | #·virtual·methods | 498 | #·virtual·methods |
489 | .method·public·getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 499 | .method·public·getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
490 | ····.locals·1 | 500 | ····.locals·1 |
| |
491 | ····.line·110 | 501 | ····.line·114 |
492 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 502 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
493 | ····return-object·v0 | 503 | ····return-object·v0 |
494 | .end·method | 504 | .end·method |
| |
495 | .method·public·initialize(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;)V | 505 | .method·public·initialize(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;)V |
496 | ····.locals·3 | 506 | ····.locals·3 |
| |
497 | ····.line·62 | 507 | ····.line·64 |
498 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 508 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
499 | ····.line·64 | 509 | ····.line·66 |
500 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 510 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
501 | ····.line·66 | 511 | ····.line·68 |
502 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 512 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
503 | ····move-result-object·p2 | 513 | ····move-result-object·p2 |
| |
504 | ····invoke-virtual·{p2},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 514 | ····invoke-virtual·{p2},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
505 | ····move-result-object·p2 | 515 | ····move-result-object·p2 |
| |
506 | ····.line·68 | 516 | ····.line·70 |
507 | ····sget·v0,·Lcom/android/car/ui/R$dimen;->car_ui_button_disabled_alpha:I | 517 | ····sget·v0,·Lcom/android/car/ui/R$dimen;->car_ui_button_disabled_alpha:I |
| |
508 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->getFloat(Landroid/content/res/Resources;I)F | 518 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->getFloat(Landroid/content/res/Resources;I)F |
| |
509 | ····move-result·p2 | 519 | ····move-result·p2 |
| |
510 | ····iput·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mButtonDisabledAlpha:F | 520 | ····iput·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mButtonDisabledAlpha:F |
| |
511 | ····.line·70 | 521 | ····.line·71 |
| 522 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
| 523 | ····move-result-object·p2 |
| |
| 524 | ····invoke-virtual·{p2},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
| 525 | ····move-result-object·p2 |
| |
| 526 | ····sget·v0,·Lcom/android/car/ui/R$dimen;->car_ui_scrollbar_min_thumb_height:I |
| |
| 527 | ····.line·72 |
| 528 | ····invoke-virtual·{p2,·v0},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I |
| |
| 529 | ····move-result·p2 |
| |
| 530 | ····iput·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollbarThumbMinHeight:I |
| |
| 531 | ····.line·74 |
512 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 532 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
513 | ····move-result-object·p2 | 533 | ····move-result-object·p2 |
| |
514 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerViewOnScrollListener:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener; | 534 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerViewOnScrollListener:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener; |
| |
515 | ····invoke-virtual·{p2,·v0},·Landroidx/recyclerview/widget/RecyclerView;->addOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V | 535 | ····invoke-virtual·{p2,·v0},·Landroidx/recyclerview/widget/RecyclerView;->addOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V |
| |
516 | ····.line·71 | 536 | ····.line·75 |
517 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 537 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
518 | ····move-result-object·p2 | 538 | ····move-result-object·p2 |
| |
519 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView;->getRecycledViewPool()Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool; | 539 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView;->getRecycledViewPool()Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool; |
| |
520 | ····move-result-object·p2 | 540 | ····move-result-object·p2 |
| |
521 | ····const/4·v0,·0x0 | 541 | ····const/4·v0,·0x0 |
| |
522 | ····const/16·v1,·0xc | 542 | ····const/16·v1,·0xc |
| |
523 | ····invoke-virtual·{p2,·v0,·v1},·Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool;->setMaxRecycledViews(II)V | 543 | ····invoke-virtual·{p2,·v0,·v1},·Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool;->setMaxRecycledViews(II)V |
| |
524 | ····.line·73 | 544 | ····.line·77 |
525 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 545 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
526 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_page_up:I | 546 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_page_up:I |
| |
527 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 547 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
528 | ····move-result-object·p2 | 548 | ····move-result-object·p2 |
| |
529 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; | 549 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; |
| |
530 | ····.line·74 | 550 | ····.line·78 |
531 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$ougX9W0-wDNQIsw8jl5lSk437JM; | 551 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$ougX9W0-wDNQIsw8jl5lSk437JM; |
| |
532 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$ougX9W0-wDNQIsw8jl5lSk437JM;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V | 552 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$ougX9W0-wDNQIsw8jl5lSk437JM;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V |
| |
533 | ····.line·75 | 553 | ····.line·79 |
534 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; | 554 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; |
| |
535 | ····invoke-virtual·{v0,·p2},·Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V | 555 | ····invoke-virtual·{v0,·p2},·Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V |
| |
536 | ····.line·76 | 556 | ····.line·80 |
537 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; | 557 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mUpButton:Landroid/view/View; |
| |
538 | ····new-instance·v1,·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener; | 558 | ····new-instance·v1,·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener; |
| |
539 | ····.line·77 | 559 | ····.line·81 |
540 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 560 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
541 | ····move-result-object·v2 | 561 | ····move-result-object·v2 |
| |
542 | ····invoke-direct·{v1,·v2,·p2},·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener;-><init>(Landroid/content/Context;Landroid/view/View$OnClickListener;)V | 562 | ····invoke-direct·{v1,·v2,·p2},·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener;-><init>(Landroid/content/Context;Landroid/view/View$OnClickListener;)V |
| |
543 | ····.line·76 | 563 | ····.line·80 |
544 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V | 564 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V |
| |
545 | ····.line·79 | 565 | ····.line·83 |
546 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 566 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
547 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_page_down:I | 567 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_page_down:I |
| |
548 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 568 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
549 | ····move-result-object·p2 | 569 | ····move-result-object·p2 |
| |
550 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; | 570 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; |
| |
551 | ····.line·80 | 571 | ····.line·84 |
552 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$aefeBYoqe3QtKEgRWHADVIqkTDg; | 572 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$aefeBYoqe3QtKEgRWHADVIqkTDg; |
| |
553 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$aefeBYoqe3QtKEgRWHADVIqkTDg;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V | 573 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$aefeBYoqe3QtKEgRWHADVIqkTDg;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V |
| |
554 | ····.line·81 | 574 | ····.line·85 |
555 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; | 575 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; |
| |
556 | ····invoke-virtual·{v0,·p2},·Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V | 576 | ····invoke-virtual·{v0,·p2},·Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V |
| |
557 | ····.line·82 | 577 | ····.line·86 |
558 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; | 578 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mDownButton:Landroid/view/View; |
| |
559 | ····new-instance·v1,·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener; | 579 | ····new-instance·v1,·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener; |
| |
560 | ····.line·83 | 580 | ····.line·87 |
561 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 581 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
562 | ····move-result-object·v2 | 582 | ····move-result-object·v2 |
| |
563 | ····invoke-direct·{v1,·v2,·p2},·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener;-><init>(Landroid/content/Context;Landroid/view/View$OnClickListener;)V | 583 | ····invoke-direct·{v1,·v2,·p2},·Lcom/android/car/ui/recyclerview/OnContinuousScrollListener;-><init>(Landroid/content/Context;Landroid/view/View$OnClickListener;)V |
| |
564 | ····.line·82 | 584 | ····.line·86 |
565 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V | 585 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V |
| |
566 | ····.line·85 | 586 | ····.line·89 |
567 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 587 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
568 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_track:I | 588 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_track:I |
| |
569 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 589 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
570 | ····move-result-object·p2 | 590 | ····move-result-object·p2 |
| |
571 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; | 591 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; |
| |
572 | ····.line·86 | 592 | ····.line·90 |
573 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 593 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
574 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_thumb:I | 594 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_scrollbar_thumb:I |
| |
575 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 595 | ····invoke-static·{p2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
576 | ····move-result-object·p2 | 596 | ····move-result-object·p2 |
| |
577 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; | 597 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollThumb:Landroid/view/View; |
| |
578 | ····.line·88 | 598 | ····.line·92 |
579 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper; | 599 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper; |
| |
580 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 600 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
581 | ····move-result-object·p1 | 601 | ····move-result-object·p1 |
| |
582 | ····invoke-direct·{p2,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;-><init>(Landroid/content/Context;)V | 602 | ····invoke-direct·{p2,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;-><init>(Landroid/content/Context;)V |
| |
583 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; | 603 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; |
| |
584 | ····.line·89 | 604 | ····.line·93 |
585 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 605 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
586 | ····move-result-object·p1 | 606 | ····move-result-object·p1 |
| |
587 | ····const/4·p2,·0x0 | 607 | ····const/4·p2,·0x0 |
| |
588 | ····invoke-virtual·{p1,·p2},·Landroidx/recyclerview/widget/RecyclerView;->setOnFlingListener(Landroidx/recyclerview/widget/RecyclerView$OnFlingListener;)V | 608 | ····invoke-virtual·{p1,·p2},·Landroidx/recyclerview/widget/RecyclerView;->setOnFlingListener(Landroidx/recyclerview/widget/RecyclerView$OnFlingListener;)V |
| |
589 | ····.line·90 | 609 | ····.line·94 |
590 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; | 610 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; |
| |
591 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 611 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
592 | ····move-result-object·p2 | 612 | ····move-result-object·p2 |
| |
593 | ····invoke-virtual·{p1,·p2},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->attachToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V | 613 | ····invoke-virtual·{p1,·p2},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->attachToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V |
| |
594 | ····.line·93 | 614 | ····.line·97 |
595 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/FastScroller; | 615 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/FastScroller; |
| |
596 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 616 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
597 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; | 617 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollTrack:Landroid/view/View; |
| |
598 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 618 | ····iget-object·v1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
599 | ····invoke-direct·{p1,·p2,·v0,·v1},·Lcom/android/car/ui/recyclerview/FastScroller;-><init>(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)V | 619 | ····invoke-direct·{p1,·p2,·v0,·v1},·Lcom/android/car/ui/recyclerview/FastScroller;-><init>(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;Landroid/view/View;)V |
| |
600 | ····.line·94 | 620 | ····.line·98 |
601 | ····invoke-virtual·{p1},·Lcom/android/car/ui/recyclerview/FastScroller;->enable()V | 621 | ····invoke-virtual·{p1},·Lcom/android/car/ui/recyclerview/FastScroller;->enable()V |
| |
602 | ····.line·96 | 622 | ····.line·100 |
603 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 623 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
604 | ····const/4·p2,·0x4 | 624 | ····const/4·p2,·0x4 |
| |
605 | ····invoke-virtual·{p1,·p2},·Landroid/view/View;->setVisibility(I)V | 625 | ····invoke-virtual·{p1,·p2},·Landroid/view/View;->setVisibility(I)V |
| |
606 | ····.line·97 | 626 | ····.line·101 |
607 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; | 627 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mScrollView:Landroid/view/View; |
| |
608 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$MgGXBm2I-0F9RprZkrtHA57cGvc; | 628 | ····new-instance·p2,·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$MgGXBm2I-0F9RprZkrtHA57cGvc; |
| |
609 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$MgGXBm2I-0F9RprZkrtHA57cGvc;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V | 629 | ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/recyclerview/-$$Lambda$DefaultScrollBar$MgGXBm2I-0F9RprZkrtHA57cGvc;-><init>(Lcom/android/car/ui/recyclerview/DefaultScrollBar;)V |
| |
610 | ····invoke-virtual·{p1,·p2},·Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V | 630 | ····invoke-virtual·{p1,·p2},·Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V |
| |
611 | ····return-void | 631 | ····return-void |
612 | .end·method | 632 | .end·method |
| |
613 | .method·isAtEnd()Z | 633 | .method·isAtEnd()Z |
614 | ····.locals·2 | 634 | ····.locals·2 |
| |
615 | ····.line·416 | 635 | ····.line·422 |
616 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; | 636 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; |
| |
617 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 637 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
618 | ····move-result-object·v1 | 638 | ····move-result-object·v1 |
| |
619 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 639 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
Offset 787, 15 lines modified | Offset 815, 15 lines modified |
| |
787 | ····return·v0 | 815 | ····return·v0 |
788 | .end·method | 816 | .end·method |
| |
789 | .method·isAtStart()Z | 817 | .method·isAtStart()Z |
790 | ····.locals·2 | 818 | ····.locals·2 |
| |
791 | ····.line·411 | 819 | ····.line·417 |
792 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; | 820 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mSnapHelper:Lcom/android/car/ui/recyclerview/CarUiSnapHelper; |
| |
793 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 821 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
794 | ····move-result-object·v1 | 822 | ····move-result-object·v1 |
| |
795 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 823 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
Offset 830, 60 lines modified | Offset 858, 60 lines modified |
| |
830 | ····invoke-direct/range·{p0·..·p9},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->lambda$initialize$2(Landroid/view/View;IIIIIIII)V | 858 | ····invoke-direct/range·{p0·..·p9},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->lambda$initialize$2(Landroid/view/View;IIIIIIII)V |
| |
831 | ····return-void | 859 | ····return-void |
832 | .end·method | 860 | .end·method |
| |
833 | .method·pageDown()V | 861 | .method·pageDown()V |
834 | ····.locals·7 | 862 | ····.locals·8 |
| |
835 | ····.line·314 | 863 | ····.line·317 |
836 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 864 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
837 | ····move-result-object·v0 | 865 | ····move-result-object·v0 |
| |
838 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 866 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
839 | ····move-result-object·v0 | 867 | ····move-result-object·v0 |
| |
840 | ····if-eqz·v0,·:cond_6 | 868 | ····if-eqz·v0,·:cond_6 |
| |
841 | ····.line·315 | 869 | ····.line·318 |
842 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 870 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
843 | ····move-result-object·v0 | 871 | ····move-result-object·v0 |
| |
844 | ····invoke-virtual·{v0},·Landroid/view/ViewGroup;->getChildCount()I | 872 | ····invoke-virtual·{v0},·Landroid/view/ViewGroup;->getChildCount()I |
| |
845 | ····move-result·v0 | 873 | ····move-result·v0 |
| |
846 | ····if-nez·v0,·:cond_0 | 874 | ····if-nez·v0,·:cond_0 |
| |
847 | ····goto/16·:goto_2 | 875 | ····goto/16·:goto_2 |
| |
848 | ····.line·320 | 876 | ····.line·323 |
849 | ····:cond_0 | 877 | ····:cond_0 |
850 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 878 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
851 | ····move-result-object·v0 | 879 | ····move-result-object·v0 |
| |
852 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 880 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
853 | ····move-result-object·v0 | 881 | ····move-result-object·v0 |
| |
854 | ····invoke-direct·{p0,·v0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getOrientationHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 882 | ····invoke-direct·{p0,·v0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getOrientationHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| |
855 | ····move-result-object·v0 | 883 | ····move-result-object·v0 |
| |
856 | ····.line·321 | 884 | ····.line·324 |
857 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getTotalSpace()I | 885 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getTotalSpace()I |
| |
858 | ····move-result·v1 | 886 | ····move-result·v1 |
| |
859 | ····.line·325 | 887 | ····.line·328 |
860 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 888 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
861 | ····move-result-object·v2 | 889 | ····move-result-object·v2 |
| |
862 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 890 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
863 | ····move-result-object·v3 | 891 | ····move-result-object·v3 |
Offset 894, 15 lines modified | Offset 922, 15 lines modified |
| |
894 | ····add-int/lit8·v3,·v3,·-0x1 | 922 | ····add-int/lit8·v3,·v3,·-0x1 |
| |
895 | ····invoke-virtual·{v2,·v3},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 923 | ····invoke-virtual·{v2,·v3},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
| |
896 | ····move-result-object·v2 | 924 | ····move-result-object·v2 |
| |
897 | ····.line·326 | 925 | ····.line·329 |
898 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 926 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
899 | ····move-result-object·v3 | 927 | ····move-result-object·v3 |
| |
900 | ····invoke-virtual·{v3},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 928 | ····invoke-virtual·{v3},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
901 | ····move-result-object·v3 | 929 | ····move-result-object·v3 |
Offset 911, 235 lines modified | Offset 939, 256 lines modified |
| |
911 | ····invoke-virtual·{v3,·v2,·v4,·v4},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isViewPartiallyVisible(Landroid/view/View;ZZ)Z | 939 | ····invoke-virtual·{v3,·v2,·v4,·v4},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->isViewPartiallyVisible(Landroid/view/View;ZZ)Z |
| |
912 | ····move-result·v3 | 940 | ····move-result·v3 |
| |
913 | ····if-eqz·v3,·:cond_1 | 941 | ····if-eqz·v3,·:cond_1 |
| |
914 | ····.line·328 | 942 | ····.line·331 |
915 | ····invoke-virtual·{v0,·v2},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I | 943 | ····invoke-virtual·{v0,·v2},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I |
| |
916 | ····move-result·v2 | 944 | ····move-result·v3 |
| |
| 945 | ····.line·332 |
| 946 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I |
| |
| 947 | ····move-result·v5 |
| |
917 | ····if-gtz·v2,·:cond_2 | 948 | ····sub-int/2addr·v3,·v5 |
| |
| 949 | ····if-gtz·v3,·:cond_2 |
| |
918 | ····:cond_1 | 950 | ····:cond_1 |
919 | ····move·v2,·v1 | 951 | ····move·v3,·v1 |
| |
920 | ····.line·340 | 952 | ····.line·344 |
921 | ····:cond_2 | 953 | ····:cond_2 |
922 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 954 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
923 | ····move-result-object·v3 | 955 | ····move-result-object·v5 |
| |
924 | ····invoke-virtual·{v3},·Landroid/view/ViewGroup;->getChildCount()I | 956 | ····invoke-virtual·{v5},·Landroid/view/ViewGroup;->getChildCount()I |
| |
925 | ····move-result·v3 | 957 | ····move-result·v5 |
| |
926 | ····add-int/lit8·v3,·v3,·-0x1 | 958 | ····add-int/lit8·v5,·v5,·-0x1 |
| |
927 | ····:goto_0 | 959 | ····:goto_0 |
928 | ····if-ltz·v3,·:cond_5 | 960 | ····if-ltz·v5,·:cond_5 |
| |
929 | ····.line·345 | 961 | ····.line·349 |
930 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 962 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
931 | ····move-result-object·v5 | 963 | ····move-result-object·v6 |
| |
932 | ····invoke-virtual·{v5,·v3},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 964 | ····invoke-virtual·{v6,·v5},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
| |
933 | ····move-result-object·v5 | 965 | ····move-result-object·v6 |
| |
934 | ····.line·346 | 966 | ····.line·350 |
935 | ····invoke-virtual·{v5},·Landroid/view/View;->getHeight()I | 967 | ····invoke-virtual·{v6},·Landroid/view/View;->getHeight()I |
| |
936 | ····move-result·v6 | 968 | ····move-result·v7 |
| |
937 | ····if-le·v6,·v1,·:cond_4 | 969 | ····if-le·v7,·v1,·:cond_4 |
| |
938 | ····.line·347 | 970 | ····.line·351 |
939 | ····invoke-virtual·{v0,·v5},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I | 971 | ····invoke-virtual·{v0,·v6},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I |
| |
940 | ····move-result·v3 | 972 | ····move-result·v5 |
| |
941 | ····if-lez·v3,·:cond_3 | 973 | ····.line·352 |
| 974 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I |
| |
942 | ····.line·349 | 975 | ····move-result·v7 |
943 | ····invoke-virtual·{v0,·v5},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I | |
| |
944 | ····move-result·v2 | 976 | ····sub-int/2addr·v5,·v7 |
| |
| 977 | ····if-lez·v5,·:cond_3 |
| |
| 978 | ····.line·354 |
| 979 | ····invoke-virtual·{v0,·v2},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I |
| |
| 980 | ····move-result·v1 |
| |
| 981 | ····.line·355 |
| 982 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I |
| |
| 983 | ····move-result·v0 |
| |
| 984 | ····sub-int·v3,·v1,·v0 |
| |
945 | ····goto·:goto_1 | 985 | ····goto·:goto_1 |
| |
946 | ····.line·350 | 986 | ····.line·356 |
947 | ····:cond_3 | 987 | ····:cond_3 |
948 | ····invoke-virtual·{v0,·v5},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I | 988 | ····invoke-virtual·{v0,·v6},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I |
| |
949 | ····move-result·v3 | 989 | ····move-result·v2 |
| |
950 | ····if-ge·v1,·v3,·:cond_5 | 990 | ····if-ge·v1,·v2,·:cond_5 |
| |
951 | ····.line·351 | 991 | ····.line·357 |
952 | ····invoke-virtual·{v0,·v5},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I | 992 | ····invoke-virtual·{v0,·v6},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I |
| |
953 | ····move-result·v3 | 993 | ····move-result·v2 |
| |
954 | ····mul-int/lit8·v6,·v1,·0x2 | 994 | ····mul-int/lit8·v5,·v1,·0x2 |
| |
955 | ····if-ge·v3,·v6,·:cond_5 | 995 | ····if-ge·v2,·v5,·:cond_5 |
| |
956 | ····.line·354 | 996 | ····.line·360 |
957 | ····invoke-virtual·{v0,·v5},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I | 997 | ····invoke-virtual·{v0,·v6},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I |
| |
958 | ····move-result·v0 | 998 | ····move-result·v0 |
| |
959 | ····sub-int·v2,·v0,·v1 | 999 | ····sub-int·v3,·v0,·v1 |
| |
960 | ····goto·:goto_1 | 1000 | ····goto·:goto_1 |
| |
961 | ····:cond_4 | 1001 | ····:cond_4 |
962 | ····add-int/lit8·v3,·v3,·-0x1 | 1002 | ····add-int/lit8·v5,·v5,·-0x1 |
| |
963 | ····goto·:goto_0 | 1003 | ····goto·:goto_0 |
| |
964 | ····.line·362 | 1004 | ····.line·368 |
965 | ····:cond_5 | 1005 | ····:cond_5 |
966 | ····:goto_1 | 1006 | ····:goto_1 |
967 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; | 1007 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView; |
| |
968 | ····invoke-virtual·{v0,·v4,·v2},·Landroidx/recyclerview/widget/RecyclerView;->smoothScrollBy(II)V | 1008 | ····invoke-virtual·{v0,·v4,·v3},·Landroidx/recyclerview/widget/RecyclerView;->smoothScrollBy(II)V |
| |
969 | ····:cond_6 | 1009 | ····:cond_6 |
970 | ····:goto_2 | 1010 | ····:goto_2 |
971 | ····return-void | 1011 | ····return-void |
972 | .end·method | 1012 | .end·method |
| |
973 | .method·pageUp()V | 1013 | .method·pageUp()V |
974 | ····.locals·6 | 1014 | ····.locals·6 |
| |
975 | ····.line·265 | 1015 | ····.line·268 |
976 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 1016 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
977 | ····move-result-object·v0 | 1017 | ····move-result-object·v0 |
| |
978 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollOffset()I | 1018 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->computeVerticalScrollOffset()I |
| |
979 | ····move-result·v0 | 1019 | ····move-result·v0 |
| |
980 | ····.line·266 | 1020 | ····.line·269 |
981 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 1021 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
982 | ····move-result-object·v1 | 1022 | ····move-result-object·v1 |
| |
983 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 1023 | ····invoke-virtual·{v1},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
984 | ····move-result-object·v1 | 1024 | ····move-result-object·v1 |
| |
985 | ····if-eqz·v1,·:cond_4 | 1025 | ····if-eqz·v1,·:cond_4 |
| |
986 | ····.line·267 | 1026 | ····.line·270 |
987 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 1027 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
988 | ····move-result-object·v1 | 1028 | ····move-result-object·v1 |
| |
989 | ····invoke-virtual·{v1},·Landroid/view/ViewGroup;->getChildCount()I | 1029 | ····invoke-virtual·{v1},·Landroid/view/ViewGroup;->getChildCount()I |
| |
990 | ····move-result·v1 | 1030 | ····move-result·v1 |
| |
991 | ····if-eqz·v1,·:cond_4 | 1031 | ····if-eqz·v1,·:cond_4 |
| |
992 | ····if-nez·v0,·:cond_0 | 1032 | ····if-nez·v0,·:cond_0 |
| |
993 | ····goto·:goto_2 | 1033 | ····goto·:goto_2 |
| |
994 | ····.line·274 | 1034 | ····.line·277 |
995 | ····:cond_0 | 1035 | ····:cond_0 |
996 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; | 1036 | ····invoke-virtual·{p0},·Lcom/android/car/ui/recyclerview/DefaultScrollBar;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView; |
| |
997 | ····move-result-object·v0 | 1037 | ····move-result-object·v0 |
| |
998 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 1038 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
Max diff block lines reached; 3769/39172 bytes (9.62%) of diff not shown.
|