| | | | |
| Offset 31, 15 lines modified | Offset 31, 15 lines modified |
| | |
| 31 | ····return-void | 31 | ····return-void |
| 32 | .end·method | 32 | .end·method |
| | |
| 33 | .method·private·static·clamp(III)I | 33 | .method·private·static·clamp(III)I |
| 34 | ····.locals·0 | 34 | ····.locals·0 |
| | |
| 35 | ····.line·423 | 35 | ····.line·497 |
| 36 | ····invoke-static·{p2,·p0},·Ljava/lang/Math;->min(II)I | 36 | ····invoke-static·{p2,·p0},·Ljava/lang/Math;->min(II)I |
| | |
| 37 | ····move-result·p0 | 37 | ····move-result·p0 |
| | |
| 38 | ····invoke-static·{p1,·p0},·Ljava/lang/Math;->max(II)I | 38 | ····invoke-static·{p1,·p0},·Ljava/lang/Math;->max(II)I |
| | |
| 39 | ····move-result·p0 | 39 | ····move-result·p0 |
| Offset 121, 68 lines modified | Offset 121, 68 lines modified |
| 121 | ····:cond_3 | 121 | ····:cond_3 |
| 122 | ····return-object·v1 | 122 | ····return-object·v1 |
| 123 | .end·method | 123 | .end·method |
| | |
| 124 | .method·private·getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 124 | .method·private·getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| 125 | ····.locals·1 | 125 | ····.locals·1 |
| | |
| 126 | ····.line·405 | 126 | ····.line·479 |
| 127 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mHorizontalHelper:Landroidx/recyclerview/widget/OrientationHelper; | 127 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mHorizontalHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 128 | ····if-eqz·v0,·:cond_0 | 128 | ····if-eqz·v0,·:cond_0 |
| | |
| 129 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 129 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| | |
| 130 | ····move-result-object·v0 | 130 | ····move-result-object·v0 |
| | |
| 131 | ····if-eq·v0,·p1,·:cond_1 | 131 | ····if-eq·v0,·p1,·:cond_1 |
| | |
| 132 | ····.line·406 | 132 | ····.line·480 |
| 133 | ····:cond_0 | 133 | ····:cond_0 |
| 134 | ····invoke-static·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->createHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 134 | ····invoke-static·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->createHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 135 | ····move-result-object·p1 | 135 | ····move-result-object·p1 |
| | |
| 136 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mHorizontalHelper:Landroidx/recyclerview/widget/OrientationHelper; | 136 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mHorizontalHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 137 | ····.line·408 | 137 | ····.line·482 |
| 138 | ····:cond_1 | 138 | ····:cond_1 |
| 139 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mHorizontalHelper:Landroidx/recyclerview/widget/OrientationHelper; | 139 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mHorizontalHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 140 | ····return-object·p1 | 140 | ····return-object·p1 |
| 141 | .end·method | 141 | .end·method |
| | |
| 142 | .method·private·getOrientationHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 142 | .method·private·getOrientationHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| 143 | ····.locals·1 | 143 | ····.locals·1 |
| | |
| 144 | ····.line·390 | 144 | ····.line·464 |
| 145 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z | 145 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z |
| | |
| 146 | ····move-result·v0 | 146 | ····move-result·v0 |
| | |
| 147 | ····if-eqz·v0,·:cond_0 | 147 | ····if-eqz·v0,·:cond_0 |
| | |
| 148 | ····.line·391 | 148 | ····.line·465 |
| 149 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 149 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 150 | ····move-result-object·p1 | 150 | ····move-result-object·p1 |
| | |
| 151 | ····goto·:goto_0 | 151 | ····goto·:goto_0 |
| | |
| 152 | ····.line·392 | 152 | ····.line·466 |
| 153 | ····:cond_0 | 153 | ····:cond_0 |
| 154 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 154 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 155 | ····move-result-object·p1 | 155 | ····move-result-object·p1 |
| | |
| 156 | ····:goto_0 | 156 | ····:goto_0 |
| 157 | ····return-object·p1 | 157 | ····return-object·p1 |
| 158 | .end·method | 158 | .end·method |
| | |
| 159 | .method·private·static·getPercentageVisible(Landroid/view/View;Landroidx/recyclerview/widget/OrientationHelper;)F | 159 | .method·static·getPercentageVisible(Landroid/view/View;Landroidx/recyclerview/widget/OrientationHelper;)F |
| 160 | ····.locals·5 | 160 | ····.locals·5 |
| | |
| 161 | ····.line·250 | 161 | ····.line·250 |
| 162 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I | 162 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I |
| | |
| 163 | ····move-result·v0 | 163 | ····move-result·v0 |
| | |
| Offset 278, 34 lines modified | Offset 278, 34 lines modified |
| | |
| 278 | ····return·v0 | 278 | ····return·v0 |
| 279 | .end·method | 279 | .end·method |
| | |
| 280 | .method·private·getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 280 | .method·private·getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| 281 | ····.locals·1 | 281 | ····.locals·1 |
| | |
| 282 | ····.line·397 | 282 | ····.line·471 |
| 283 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mVerticalHelper:Landroidx/recyclerview/widget/OrientationHelper; | 283 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mVerticalHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 284 | ····if-eqz·v0,·:cond_0 | 284 | ····if-eqz·v0,·:cond_0 |
| | |
| 285 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; | 285 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/OrientationHelper;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| | |
| 286 | ····move-result-object·v0 | 286 | ····move-result-object·v0 |
| | |
| 287 | ····if-eq·v0,·p1,·:cond_1 | 287 | ····if-eq·v0,·p1,·:cond_1 |
| | |
| 288 | ····.line·398 | 288 | ····.line·472 |
| 289 | ····:cond_0 | 289 | ····:cond_0 |
| 290 | ····invoke-static·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 290 | ····invoke-static·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->createVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 291 | ····move-result-object·p1 | 291 | ····move-result-object·p1 |
| | |
| 292 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mVerticalHelper:Landroidx/recyclerview/widget/OrientationHelper; | 292 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mVerticalHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 293 | ····.line·400 | 293 | ····.line·474 |
| 294 | ····:cond_1 | 294 | ····:cond_1 |
| 295 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mVerticalHelper:Landroidx/recyclerview/widget/OrientationHelper; | 295 | ····iget-object·p1,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mVerticalHelper:Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 296 | ····return-object·p1 | 296 | ····return-object·p1 |
| 297 | .end·method | 297 | .end·method |
| | |
| 298 | .method·private·static·isValidSnapView(Landroid/view/View;Landroidx/recyclerview/widget/OrientationHelper;)Z | 298 | .method·private·static·isValidSnapView(Landroid/view/View;Landroidx/recyclerview/widget/OrientationHelper;)Z |
| Offset 527, 27 lines modified | Offset 527, 196 lines modified |
| 527 | ····aput·p2,·p1,·v2 | 527 | ····aput·p2,·p1,·v2 |
| | |
| 528 | ····:cond_4 | 528 | ····:cond_4 |
| 529 | ····:goto_1 | 529 | ····:goto_1 |
| 530 | ····return-object·p1 | 530 | ····return-object·p1 |
| 531 | .end·method | 531 | .end·method |
| | |
| | 532 | .method·computeDistancePerChild(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;Landroidx/recyclerview/widget/OrientationHelper;)F |
| | 533 | ····.locals·10 |
| | |
| | 534 | ····.line·382 |
| | 535 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| | |
| | 536 | ····move-result·v0 |
| | |
| | 537 | ····const/high16·v1,·0x3f800000····#·1.0f |
| | |
| | 538 | ····if-nez·v0,·:cond_0 |
| | |
| | 539 | ····return·v1 |
| | |
| | 540 | ····:cond_0 |
| | 541 | ····const/4·v2,·0x0 |
| | |
| | 542 | ····const/4·v3,·0x0 |
| | |
| | 543 | ····const·v4,·0x7fffffff |
| | |
| | 544 | ····const/high16·v5,·-0x80000000 |
| | |
| | 545 | ····move·v6,·v5 |
| | |
| | 546 | ····move·v5,·v4 |
| | |
| | 547 | ····move-object·v4,·v3 |
| | |
| | 548 | ····:goto_0 |
| | 549 | ····if-ge·v2,·v0,·:cond_4 |
| | |
| | 550 | ····.line·388 |
| | 551 | ····invoke-virtual·{p1,·v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| | |
| | 552 | ····move-result-object·v7 |
| | |
| | 553 | ····.line·389 |
| | 554 | ····invoke-virtual·{p1,·v7},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I |
| | |
| | 555 | ····move-result·v8 |
| | |
| | 556 | ····const/4·v9,·-0x1 |
| | |
| | 557 | ····if-ne·v8,·v9,·:cond_1 |
| | |
| | 558 | ····goto·:goto_1 |
| | |
| | 559 | ····:cond_1 |
| | 560 | ····if-ge·v8,·v5,·:cond_2 |
| | |
| | 561 | ····move-object·v3,·v7 |
| | |
| | 562 | ····move·v5,·v8 |
| | |
| | 563 | ····:cond_2 |
| | 564 | ····if-le·v8,·v6,·:cond_3 |
| | |
| | 565 | ····move-object·v4,·v7 |
| | |
| | 566 | ····move·v6,·v8 |
| | |
| | 567 | ····:cond_3 |
| | 568 | ····:goto_1 |
| | 569 | ····add-int/lit8·v2,·v2,·0x1 |
| | |
| | 570 | ····goto·:goto_0 |
| | |
| | 571 | ····:cond_4 |
| | 572 | ····if-eqz·v3,·:cond_7 |
| | |
| | 573 | ····if-nez·v4,·:cond_5 |
| | |
| | 574 | ····goto·:goto_2 |
| | |
| | 575 | ····.line·405 |
| | 576 | ····:cond_5 |
| | 577 | ····invoke-virtual·{p2,·v3},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I |
| | |
| | 578 | ····move-result·p1 |
| | |
| | 579 | ····.line·406 |
| | 580 | ····invoke-virtual·{p2,·v4},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I |
| | |
| | 581 | ····move-result·v0 |
| | |
| | 582 | ····.line·405 |
| | 583 | ····invoke-static·{p1,·v0},·Ljava/lang/Math;->min(II)I |
| | |
| | 584 | ····move-result·p1 |
| | |
| | 585 | ····.line·407 |
| | 586 | ····invoke-virtual·{p2,·v3},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I |
| | |
| | 587 | ····move-result·v0 |
| | |
| | 588 | ····.line·408 |
| | 589 | ····invoke-virtual·{p2,·v4},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedEnd(Landroid/view/View;)I |
| | |
| | 590 | ····move-result·p2 |
| | |
| | 591 | ····.line·407 |
| | 592 | ····invoke-static·{v0,·p2},·Ljava/lang/Math;->max(II)I |
| | |
| | 593 | ····move-result·p2 |
| | |
| | 594 | ····sub-int/2addr·p2,·p1 |
| | |
| | 595 | ····if-nez·p2,·:cond_6 |
| | |
| | 596 | ····const/4·p1,·0x0 |
| | |
| | 597 | ····return·p1 |
| | |
| | 598 | ····:cond_6 |
| | 599 | ····int-to-float·p1,·p2 |
| | |
| | 600 | ····mul-float/2addr·p1,·v1 |
| | |
| | 601 | ····sub-int/2addr·v6,·v5 |
| | |
| | 602 | ····add-int/lit8·v6,·v6,·0x1 |
| | |
| | 603 | ····int-to-float·p2,·v6 |
| | |
| | 604 | ····div-float/2addr·p1,·p2 |
| | |
| | 605 | ····return·p1 |
| | |
| | 606 | ····:cond_7 |
| | 607 | ····:goto_2 |
| | 608 | ····return·v1 |
| | 609 | .end·method |
| | |
| 532 | .method·protected·createScroller(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/RecyclerView$SmoothScroller; | 610 | .method·protected·createScroller(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/RecyclerView$SmoothScroller; |
| 533 | ····.locals·1 | 611 | ····.locals·1 |
| | |
| 534 | ····.line·293 | 612 | ····.line·293 |
| 535 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiSmoothScroller; | 613 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiSmoothScroller; |
| | |
| 536 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mContext:Landroid/content/Context; | 614 | ····iget-object·v0,·p0,·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->mContext:Landroid/content/Context; |
| | |
| 537 | ····invoke-direct·{p1,·v0},·Lcom/android/car/ui/recyclerview/CarUiSmoothScroller;-><init>(Landroid/content/Context;)V | 615 | ····invoke-direct·{p1,·v0},·Lcom/android/car/ui/recyclerview/CarUiSmoothScroller;-><init>(Landroid/content/Context;)V |
| | |
| 538 | ····return-object·p1 | 616 | ····return-object·p1 |
| 539 | .end·method | 617 | .end·method |
| | |
| | 618 | .method·public·estimateNextPositionDiffForScrollDistance(Landroidx/recyclerview/widget/OrientationHelper;I)I |
| | 619 | ····.locals·1 |
| | |
| | 620 | ····.line·353 |
| | 621 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/OrientationHelper;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| | |
| | 622 | ····move-result-object·v0 |
| | |
| | 623 | ····invoke-virtual·{p0,·v0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->computeDistancePerChild(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;Landroidx/recyclerview/widget/OrientationHelper;)F |
| | |
| | 624 | ····move-result·p1 |
| | |
| | 625 | ····const/4·v0,·0x0 |
| | |
| | 626 | ····cmpg-float·v0,·p1,·v0 |
| | |
| | 627 | ····if-gtz·v0,·:cond_0 |
| | |
| | 628 | ····const/4·p1,·0x0 |
| | |
| | 629 | ····return·p1 |
| | |
| | 630 | ····:cond_0 |
| | 631 | ····int-to-float·p2,·p2 |
| | |
| | 632 | ····div-float/2addr·p2,·p1 |
| | |
| | 633 | ····.line·357 |
| | 634 | ····invoke-static·{p2},·Ljava/lang/Math;->round(F)I |
| | |
| | 635 | ····move-result·p1 |
| | |
| | 636 | ····return·p1 |
| | 637 | .end·method |
| | |
| 540 | .method·public·findSnapView(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroid/view/View; | 638 | .method·public·findSnapView(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroid/view/View; |
| 541 | ····.locals·14 | 639 | ····.locals·14 |
| | |
| 542 | ····.line·105 | 640 | ····.line·105 |
| 543 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I | 641 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| | |
| 544 | ····move-result·v0 | 642 | ····move-result·v0 |
| Offset 776, 80 lines modified | Offset 945, 80 lines modified |
| 776 | .method·public·isAtEnd(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Z | 945 | .method·public·isAtEnd(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Z |
| 777 | ····.locals·5 | 946 | ····.locals·5 |
| | |
| 778 | ····const/4·v0,·0x1 | 947 | ····const/4·v0,·0x1 |
| | |
| 779 | ····if-eqz·p1,·:cond_3 | 948 | ····if-eqz·p1,·:cond_3 |
| | |
| 780 | ····.line·365 | 949 | ····.line·439 |
| 781 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I | 950 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| | |
| 782 | ····move-result·v1 | 951 | ····move-result·v1 |
| | |
| 783 | ····if-nez·v1,·:cond_0 | 952 | ····if-nez·v1,·:cond_0 |
| | |
| 784 | ····goto·:goto_1 | 953 | ····goto·:goto_1 |
| | |
| 785 | ····.line·369 | 954 | ····.line·443 |
| 786 | ····:cond_0 | 955 | ····:cond_0 |
| 787 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I | 956 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| | |
| 788 | ····move-result·v1 | 957 | ····move-result·v1 |
| | |
| 789 | ····.line·371 | 958 | ····.line·445 |
| 790 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z | 959 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z |
| | |
| 791 | ····move-result·v2 | 960 | ····move-result·v2 |
| | |
| 792 | ····if-eqz·v2,·:cond_1 | 961 | ····if-eqz·v2,·:cond_1 |
| | |
| 793 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 962 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 794 | ····move-result-object·v2 | 963 | ····move-result-object·v2 |
| | |
| 795 | ····goto·:goto_0 | 964 | ····goto·:goto_0 |
| | |
| 796 | ····.line·372 | 965 | ····.line·446 |
| 797 | ····:cond_1 | 966 | ····:cond_1 |
| 798 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 967 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 799 | ····move-result-object·v2 | 968 | ····move-result-object·v2 |
| | |
| 800 | ····:goto_0 | 969 | ····:goto_0 |
| 801 | ····sub-int/2addr·v1,·v0 | 970 | ····sub-int/2addr·v1,·v0 |
| | |
| 802 | ····.line·375 | 971 | ····.line·449 |
| 803 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; | 972 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| | |
| 804 | ····move-result-object·v1 | 973 | ····move-result-object·v1 |
| | |
| 805 | ····.line·374 | 974 | ····.line·448 |
| 806 | ····invoke-static·{v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; | 975 | ····invoke-static·{v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; |
| | |
| 807 | ····check-cast·v1,·Landroid/view/View; | 976 | ····check-cast·v1,·Landroid/view/View; |
| | |
| 808 | ····.line·379 | 977 | ····.line·453 |
| 809 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I | 978 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I |
| | |
| 810 | ····move-result·v3 | 979 | ····move-result·v3 |
| | |
| 811 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getItemCount()I | 980 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getItemCount()I |
| | |
| 812 | ····move-result·v4 | 981 | ····move-result·v4 |
| | |
| 813 | ····sub-int/2addr·v4,·v0 | 982 | ····sub-int/2addr·v4,·v0 |
| | |
| 814 | ····if-ne·v3,·v4,·:cond_2 | 983 | ····if-ne·v3,·v4,·:cond_2 |
| | |
| 815 | ····.line·380 | 984 | ····.line·454 |
| 816 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedBottom(Landroid/view/View;)I | 985 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getDecoratedBottom(Landroid/view/View;)I |
| | |
| 817 | ····move-result·p1 | 986 | ····move-result·p1 |
| | |
| 818 | ····.line·381 | 987 | ····.line·455 |
| 819 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I | 988 | ····invoke-virtual·{v2},·Landroidx/recyclerview/widget/OrientationHelper;->getEndAfterPadding()I |
| | |
| 820 | ····move-result·v1 | 989 | ····move-result·v1 |
| | |
| 821 | ····if-gt·p1,·v1,·:cond_2 | 990 | ····if-gt·p1,·v1,·:cond_2 |
| | |
| 822 | ····goto·:goto_1 | 991 | ····goto·:goto_1 |
| Offset 865, 61 lines modified | Offset 1034, 61 lines modified |
| 865 | .method·public·isAtStart(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Z | 1034 | .method·public·isAtStart(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Z |
| 866 | ····.locals·5 | 1035 | ····.locals·5 |
| | |
| 867 | ····const/4·v0,·0x1 | 1036 | ····const/4·v0,·0x1 |
| | |
| 868 | ····if-eqz·p1,·:cond_3 | 1037 | ····if-eqz·p1,·:cond_3 |
| | |
| 869 | ····.line·346 | 1038 | ····.line·420 |
| 870 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I | 1039 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| | |
| 871 | ····move-result·v1 | 1040 | ····move-result·v1 |
| | |
| 872 | ····if-nez·v1,·:cond_0 | 1041 | ····if-nez·v1,·:cond_0 |
| | |
| 873 | ····goto·:goto_1 | 1042 | ····goto·:goto_1 |
| | |
| 874 | ····:cond_0 | 1043 | ····:cond_0 |
| 875 | ····const/4·v1,·0x0 | 1044 | ····const/4·v1,·0x0 |
| | |
| 876 | ····.line·350 | 1045 | ····.line·424 |
| 877 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; | 1046 | ····invoke-virtual·{p1,·v1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| | |
| 878 | ····move-result-object·v2 | 1047 | ····move-result-object·v2 |
| | |
| 879 | ····invoke-static·{v2},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; | 1048 | ····invoke-static·{v2},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; |
| | |
| 880 | ····check-cast·v2,·Landroid/view/View; | 1049 | ····check-cast·v2,·Landroid/view/View; |
| | |
| 881 | ····.line·352 | 1050 | ····.line·426 |
| 882 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z | 1051 | ····invoke-virtual·{p1},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->canScrollVertically()Z |
| | |
| 883 | ····move-result·v3 | 1052 | ····move-result·v3 |
| | |
| 884 | ····if-eqz·v3,·:cond_1 | 1053 | ····if-eqz·v3,·:cond_1 |
| | |
| 885 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 1054 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getVerticalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 886 | ····move-result-object·v3 | 1055 | ····move-result-object·v3 |
| | |
| 887 | ····goto·:goto_0 | 1056 | ····goto·:goto_0 |
| | |
| 888 | ····.line·353 | 1057 | ····.line·427 |
| 889 | ····:cond_1 | 1058 | ····:cond_1 |
| 890 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; | 1059 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/recyclerview/CarUiSnapHelper;->getHorizontalHelper(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)Landroidx/recyclerview/widget/OrientationHelper; |
| | |
| 891 | ····move-result-object·v3 | 1060 | ····move-result-object·v3 |
| | |
| 892 | ····.line·356 | 1061 | ····.line·430 |
| 893 | ····:goto_0 | 1062 | ····:goto_0 |
| 894 | ····invoke-virtual·{v3,·v2},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I | 1063 | ····invoke-virtual·{v3,·v2},·Landroidx/recyclerview/widget/OrientationHelper;->getDecoratedStart(Landroid/view/View;)I |
| | |
| 895 | ····move-result·v4 | 1064 | ····move-result·v4 |
| | |
| 896 | ····.line·357 | 1065 | ····.line·431 |
| 897 | ····invoke-virtual·{v3},·Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I | 1066 | ····invoke-virtual·{v3},·Landroidx/recyclerview/widget/OrientationHelper;->getStartAfterPadding()I |
| | |
| 898 | ····move-result·v3 | 1067 | ····move-result·v3 |
| | |
| 899 | ····if-lt·v4,·v3,·:cond_2 | 1068 | ····if-lt·v4,·v3,·:cond_2 |
| | |
| 900 | ····invoke-virtual·{p1,·v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I | 1069 | ····invoke-virtual·{p1,·v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getPosition(Landroid/view/View;)I |