| | | |
Offset 3438, 47 lines modified | Offset 3438, 30 lines modified |
| |
3438 | ····move-result·v2 | 3438 | ····move-result·v2 |
| |
3439 | ····return·v2 | 3439 | ····return·v2 |
3440 | .end·method | 3440 | .end·method |
| |
3441 | .method·protected·migrateScreen(I)V | 3441 | .method·protected·migrateScreen(I)V |
3442 | ····.locals·25 | 3442 | ····.locals·20 |
3443 | ····.param·p1,·"screenId"····#·I | 3443 | ····.param·p1,·"screenId"····#·I |
| |
3444 | ····.line·263 | 3444 | ····.line·263 |
3445 | ····move-object/from16·v6,·p0 | 3445 | ····move-object/from16·v6,·p0 |
| |
3446 | ····move/from16·v7,·p1 | 3446 | ····const/4·v7,·0x0 |
| |
3447 | ····const/4·v8,·0x0 | |
| |
3448 | ····const/4·v9,·0x1 | |
| |
3449 | ····if-nez·v7,·:cond_0 | |
| |
3450 | ····.line·264 | |
3451 | ····move·v0,·v9 | |
| |
3452 | ····goto·:goto_0 | |
| |
3453 | ····:cond_0 | |
3454 | ····move·v0,·v8 | |
| |
3455 | ····:goto_0 | |
3456 | ····move·v15,·v0 | |
| |
3457 | ····.line·266 | 3447 | ····.line·266 |
3458 | ····.local·v15,·"startY":I | 3448 | ····.local·v7,·"startY":I |
3459 | ····invoke-virtual/range·{p0·..·p1},·Lcom/android/launcher3/model/GridSizeMigrationTask;->loadWorkspaceEntries(I)Ljava/util/ArrayList; | 3449 | ····invoke-virtual/range·{p0·..·p1},·Lcom/android/launcher3/model/GridSizeMigrationTask;->loadWorkspaceEntries(I)Ljava/util/ArrayList; |
| |
3460 | ····move-result-object·v16 | 3450 | ····move-result-object·v8 |
| |
3461 | ····.line·268 | 3451 | ····.line·268 |
3462 | ····.local·v16,·"items":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3452 | ····.local·v8,·"items":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3463 | ····const·v0,·0x7fffffff | 3453 | ····const·v0,·0x7fffffff |
| |
3464 | ····.line·269 | 3454 | ····.line·269 |
3465 | ····.local·v0,·"removedCol":I | 3455 | ····.local·v0,·"removedCol":I |
3466 | ····const·v1,·0x7fffffff | 3456 | ····const·v1,·0x7fffffff |
| |
3467 | ····.line·276 | 3457 | ····.line·276 |
Offset 3487, 295 lines modified | Offset 3470, 298 lines modified |
| |
3487 | ····.line·277 | 3470 | ····.line·277 |
3488 | ····.local·v2,·"removeWt":F | 3471 | ····.local·v2,·"removeWt":F |
3489 | ····const·v3,·0x7f7fffff····#·Float.MAX_VALUE | 3472 | ····const·v3,·0x7f7fffff····#·Float.MAX_VALUE |
| |
3490 | ····.line·278 | 3473 | ····.line·278 |
3491 | ····.local·v3,·"moveWt":F | 3474 | ····.local·v3,·"moveWt":F |
3492 | ····const/4·v10,·0x2 | 3475 | ····const/4·v9,·0x2 |
| |
3493 | ····new-array·v14,·v10,·[F | 3476 | ····new-array·v10,·v9,·[F |
| |
3494 | ····.line·279 | 3477 | ····.line·279 |
3495 | ····.local·v14,·"outLoss":[F | 3478 | ····.local·v10,·"outLoss":[F |
3496 | ····const/4·v4,·0x0 | 3479 | ····const/4·v4,·0x0 |
| |
3497 | ····.line·282 | 3480 | ····.line·282 |
3498 | ····.local·v4,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3481 | ····.local·v4,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3499 | ····const/4·v5,·0x0 | 3482 | ····const/4·v5,·0x0 |
| |
3500 | ····move·v11,·v5 | 3483 | ····move·v11,·v5 |
| |
3501 | ····.local·v11,·"x":I | 3484 | ····.local·v11,·"x":I |
3502 | ····:goto_1 | 3485 | ····:goto_0 |
3503 | ····iget·v5,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mSrcX:I | 3486 | ····iget·v5,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mSrcX:I |
| |
3504 | ····if-ge·v11,·v5,·:cond_8 | 3487 | ····const/4·v12,·0x0 |
| |
| 3488 | ····const/4·v13,·0x1 |
| |
| 3489 | ····if-ge·v11,·v5,·:cond_7 |
| |
3505 | ····.line·285 | 3490 | ····.line·285 |
3506 | ····iget·v5,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mSrcY:I | 3491 | ····iget·v5,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mSrcY:I |
| |
3507 | ····sub-int/2addr·v5,·v9 | 3492 | ····sub-int/2addr·v5,·v13 |
| |
3508 | ····move·v12,·v0 | 3493 | ····move·v14,·v0 |
| |
3509 | ····move·v13,·v1 | 3494 | ····move·v15,·v1 |
| |
3510 | ····move/from16·v17,·v2 | 3495 | ····move/from16·v16,·v2 |
| |
3511 | ····move/from16·v18,·v3 | 3496 | ····move/from16·v17,·v3 |
| |
3512 | ····move-object/from16·v19,·v4 | 3497 | ····move-object/from16·v18,·v4 |
| |
3513 | ····.end·local·v0····#·"removedCol":I | 3498 | ····.end·local·v0····#·"removedCol":I |
3514 | ····.end·local·v1····#·"removedRow":I | 3499 | ····.end·local·v1····#·"removedRow":I |
3515 | ····.end·local·v2····#·"removeWt":F | 3500 | ····.end·local·v2····#·"removeWt":F |
3516 | ····.end·local·v3····#·"moveWt":F | 3501 | ····.end·local·v3····#·"moveWt":F |
3517 | ····.end·local·v4····#·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3502 | ····.end·local·v4····#·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3518 | ····.local·v5,·"y":I | 3503 | ····.local·v5,·"y":I |
3519 | ····.local·v12,·"removedCol":I | 3504 | ····.local·v14,·"removedCol":I |
3520 | ····.local·v13,·"removedRow":I | 3505 | ····.local·v15,·"removedRow":I |
3521 | ····.local·v17,·"removeWt":F | 3506 | ····.local·v16,·"removeWt":F |
3522 | ····.local·v18,·"moveWt":F | 3507 | ····.local·v17,·"moveWt":F |
3523 | ····.local·v19,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3508 | ····.local·v18,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3524 | ····:goto_2 | 3509 | ····:goto_1 |
3525 | ····if-lt·v5,·v15,·:cond_6 | 3510 | ····if-lt·v5,·v7,·:cond_5 |
| |
3526 | ····.line·288 | 3511 | ····.line·288 |
3527 | ····invoke-static/range·{v16·..·v16},·Lcom/android/launcher3/model/GridSizeMigrationTask;->deepCopy(Ljava/util/ArrayList;)Ljava/util/ArrayList; | 3512 | ····invoke-static·{v8},·Lcom/android/launcher3/model/GridSizeMigrationTask;->deepCopy(Ljava/util/ArrayList;)Ljava/util/ArrayList; |
| |
3528 | ····move-result-object·v4 | 3513 | ····move-result-object·v4 |
| |
3529 | ····move-object/from16·v0,·p0 | 3514 | ····move-object/from16·v0,·p0 |
| |
3530 | ····move·v1,·v11 | 3515 | ····move·v1,·v11 |
| |
3531 | ····move·v2,·v5 | 3516 | ····move·v2,·v5 |
| |
3532 | ····move·v3,·v15 | 3517 | ····move·v3,·v7 |
| |
3533 | ····move/from16·v20,·v5 | 3518 | ····move/from16·v19,·v5 |
| |
3534 | ····.end·local·v5····#·"y":I | 3519 | ····.end·local·v5····#·"y":I |
3535 | ····.local·v20,·"y":I | 3520 | ····.local·v19,·"y":I |
3536 | ····move-object·v5,·v14 | 3521 | ····move-object·v5,·v10 |
| |
3537 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/launcher3/model/GridSizeMigrationTask;->tryRemove(IIILjava/util/ArrayList;[F)Ljava/util/ArrayList; | 3522 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/launcher3/model/GridSizeMigrationTask;->tryRemove(IIILjava/util/ArrayList;[F)Ljava/util/ArrayList; |
| |
3538 | ····move-result-object·v0 | 3523 | ····move-result-object·v0 |
| |
3539 | ····.line·291 | 3524 | ····.line·291 |
3540 | ····.local·v0,·"itemsOnScreen":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3525 | ····.local·v0,·"itemsOnScreen":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3541 | ····aget·v1,·v14,·v8 | 3526 | ····aget·v1,·v10,·v12 |
| |
3542 | ····cmpg-float·v1,·v1,·v17 | 3527 | ····cmpg-float·v1,·v1,·v16 |
| |
3543 | ····if-ltz·v1,·:cond_1 | 3528 | ····if-ltz·v1,·:cond_0 |
| |
3544 | ····aget·v1,·v14,·v8 | 3529 | ····aget·v1,·v10,·v12 |
| |
3545 | ····cmpl-float·v1,·v1,·v17 | 3530 | ····cmpl-float·v1,·v1,·v16 |
| |
3546 | ····if-nez·v1,·:cond_4 | 3531 | ····if-nez·v1,·:cond_3 |
| |
3547 | ····aget·v1,·v14,·v9 | 3532 | ····aget·v1,·v10,·v13 |
| |
3548 | ····cmpg-float·v1,·v1,·v18 | 3533 | ····cmpg-float·v1,·v1,·v17 |
| |
3549 | ····if-gez·v1,·:cond_4 | 3534 | ····if-gez·v1,·:cond_3 |
| |
3550 | ····.line·293 | 3535 | ····.line·293 |
3551 | ····:cond_1 | 3536 | ····:cond_0 |
3552 | ····aget·v1,·v14,·v8 | 3537 | ····aget·v1,·v10,·v12 |
| |
3553 | ····.line·294 | 3538 | ····.line·294 |
3554 | ····.end·local·v17····#·"removeWt":F | 3539 | ····.end·local·v16····#·"removeWt":F |
3555 | ····.local·v1,·"removeWt":F | 3540 | ····.local·v1,·"removeWt":F |
3556 | ····aget·v2,·v14,·v9 | 3541 | ····aget·v2,·v10,·v13 |
| |
3557 | ····.line·295 | 3542 | ····.line·295 |
3558 | ····.end·local·v18····#·"moveWt":F | 3543 | ····.end·local·v17····#·"moveWt":F |
3559 | ····.local·v2,·"moveWt":F | 3544 | ····.local·v2,·"moveWt":F |
3560 | ····iget-boolean·v3,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveX:Z | 3545 | ····iget-boolean·v3,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveX:Z |
| |
3561 | ····if-eqz·v3,·:cond_2 | 3546 | ····if-eqz·v3,·:cond_1 |
| |
3562 | ····move·v3,·v11 | 3547 | ····move·v3,·v11 |
| |
3563 | ····goto·:goto_3 | 3548 | ····goto·:goto_2 |
| |
3564 | ····:cond_2 | 3549 | ····:cond_1 |
3565 | ····move·v3,·v12 | 3550 | ····move·v3,·v14 |
| |
3566 | ····.line·296 | 3551 | ····.line·296 |
3567 | ····.end·local·v12····#·"removedCol":I | 3552 | ····.end·local·v14····#·"removedCol":I |
3568 | ····.local·v3,·"removedCol":I | 3553 | ····.local·v3,·"removedCol":I |
3569 | ····:goto_3 | 3554 | ····:goto_2 |
3570 | ····iget-boolean·v4,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveY:Z | 3555 | ····iget-boolean·v4,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveY:Z |
| |
3571 | ····if-eqz·v4,·:cond_3 | 3556 | ····if-eqz·v4,·:cond_2 |
| |
3572 | ····move/from16·v5,·v20 | 3557 | ····move/from16·v5,·v19 |
| |
3573 | ····goto·:goto_4 | 3558 | ····goto·:goto_3 |
| |
3574 | ····:cond_3 | 3559 | ····:cond_2 |
3575 | ····move·v5,·v13 | 3560 | ····move·v5,·v15 |
| |
3576 | ····:goto_4 | 3561 | ····:goto_3 |
3577 | ····move·v4,·v5 | 3562 | ····move·v4,·v5 |
| |
3578 | ····.line·297 | 3563 | ····.line·297 |
3579 | ····.end·local·v13····#·"removedRow":I | 3564 | ····.end·local·v15····#·"removedRow":I |
3580 | ····.local·v4,·"removedRow":I | 3565 | ····.local·v4,·"removedRow":I |
3581 | ····move-object·v5,·v0 | 3566 | ····move-object·v5,·v0 |
| |
3582 | ····move/from16·v17,·v1 | 3567 | ····move/from16·v16,·v1 |
| |
3583 | ····move/from16·v18,·v2 | 3568 | ····move/from16·v17,·v2 |
| |
3584 | ····move·v12,·v3 | 3569 | ····move·v14,·v3 |
| |
3585 | ····move·v13,·v4 | 3570 | ····move·v15,·v4 |
| |
3586 | ····move-object/from16·v19,·v5 | 3571 | ····move-object/from16·v18,·v5 |
| |
3587 | ····.line·301 | 3572 | ····.line·301 |
3588 | ····.end·local·v1····#·"removeWt":F | 3573 | ····.end·local·v1····#·"removeWt":F |
3589 | ····.end·local·v2····#·"moveWt":F | 3574 | ····.end·local·v2····#·"moveWt":F |
3590 | ····.end·local·v3····#·"removedCol":I | 3575 | ····.end·local·v3····#·"removedCol":I |
3591 | ····.end·local·v4····#·"removedRow":I | 3576 | ····.end·local·v4····#·"removedRow":I |
3592 | ····.restart·local·v12····#·"removedCol":I | 3577 | ····.restart·local·v14····#·"removedCol":I |
3593 | ····.restart·local·v13····#·"removedRow":I | 3578 | ····.restart·local·v15····#·"removedRow":I |
3594 | ····.restart·local·v17····#·"removeWt":F | 3579 | ····.restart·local·v16····#·"removeWt":F |
3595 | ····.restart·local·v18····#·"moveWt":F | 3580 | ····.restart·local·v17····#·"moveWt":F |
3596 | ····:cond_4 | 3581 | ····:cond_3 |
3597 | ····iget-boolean·v1,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveY:Z | 3582 | ····iget-boolean·v1,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveY:Z |
| |
3598 | ····if-nez·v1,·:cond_5 | 3583 | ····if-nez·v1,·:cond_4 |
| |
3599 | ····.line·302 | 3584 | ····.line·302 |
3600 | ····move·v0,·v12 | 3585 | ····move·v0,·v14 |
| |
3601 | ····move·v1,·v13 | 3586 | ····move·v1,·v15 |
| |
3602 | ····move/from16·v2,·v17 | 3587 | ····move/from16·v2,·v16 |
| |
3603 | ····move/from16·v3,·v18 | 3588 | ····move/from16·v3,·v17 |
| |
3604 | ····move-object/from16·v4,·v19 | 3589 | ····move-object/from16·v4,·v18 |
| |
3605 | ····goto·:goto_5 | 3590 | ····goto·:goto_4 |
| |
3606 | ····.line·285 | 3591 | ····.line·285 |
3607 | ····.end·local·v0····#·"itemsOnScreen":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3592 | ····.end·local·v0····#·"itemsOnScreen":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3608 | ····:cond_5 | 3593 | ····:cond_4 |
3609 | ····add-int/lit8·v5,·v20,·-0x1 | 3594 | ····add-int/lit8·v5,·v19,·-0x1 |
| |
3610 | ····.end·local·v20····#·"y":I | 3595 | ····.end·local·v19····#·"y":I |
3611 | ····.restart·local·v5····#·"y":I | 3596 | ····.restart·local·v5····#·"y":I |
3612 | ····goto·:goto_2 | 3597 | ····goto·:goto_1 |
| |
3613 | ····:cond_6 | 3598 | ····:cond_5 |
3614 | ····move/from16·v20,·v5 | 3599 | ····move/from16·v19,·v5 |
| |
3615 | ····.end·local·v5····#·"y":I | 3600 | ····.end·local·v5····#·"y":I |
3616 | ····.restart·local·v20····#·"y":I | 3601 | ····.restart·local·v19····#·"y":I |
3617 | ····move·v0,·v12 | 3602 | ····move·v0,·v14 |
| |
3618 | ····move·v1,·v13 | 3603 | ····move·v1,·v15 |
| |
3619 | ····move/from16·v2,·v17 | 3604 | ····move/from16·v2,·v16 |
| |
3620 | ····move/from16·v3,·v18 | 3605 | ····move/from16·v3,·v17 |
| |
3621 | ····move-object/from16·v4,·v19 | 3606 | ····move-object/from16·v4,·v18 |
| |
3622 | ····.line·306 | 3607 | ····.line·306 |
3623 | ····.end·local·v12····#·"removedCol":I | 3608 | ····.end·local·v14····#·"removedCol":I |
3624 | ····.end·local·v13····#·"removedRow":I | 3609 | ····.end·local·v15····#·"removedRow":I |
3625 | ····.end·local·v17····#·"removeWt":F | 3610 | ····.end·local·v16····#·"removeWt":F |
3626 | ····.end·local·v18····#·"moveWt":F | 3611 | ····.end·local·v17····#·"moveWt":F |
3627 | ····.end·local·v19····#·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3612 | ····.end·local·v18····#·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3628 | ····.end·local·v20····#·"y":I | 3613 | ····.end·local·v19····#·"y":I |
3629 | ····.local·v0,·"removedCol":I | 3614 | ····.local·v0,·"removedCol":I |
3630 | ····.local·v1,·"removedRow":I | 3615 | ····.local·v1,·"removedRow":I |
3631 | ····.local·v2,·"removeWt":F | 3616 | ····.local·v2,·"removeWt":F |
3632 | ····.local·v3,·"moveWt":F | 3617 | ····.local·v3,·"moveWt":F |
3633 | ····.local·v4,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3618 | ····.local·v4,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3634 | ····:goto_5 | 3619 | ····:goto_4 |
3635 | ····iget-boolean·v5,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveX:Z | 3620 | ····iget-boolean·v5,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mShouldRemoveX:Z |
| |
3636 | ····if-nez·v5,·:cond_7 | 3621 | ····if-nez·v5,·:cond_6 |
| |
3637 | ····.line·307 | 3622 | ····.line·307 |
3638 | ····move/from16·v17,·v0 | 3623 | ····move·v11,·v0 |
| |
3639 | ····move/from16·v18,·v1 | 3624 | ····move·v14,·v1 |
| |
3640 | ····move/from16·v19,·v2 | 3625 | ····move·v15,·v2 |
| |
3641 | ····move/from16·v20,·v3 | 3626 | ····move/from16·v16,·v3 |
| |
3642 | ····move-object/from16·v21,·v4 | 3627 | ····move-object/from16·v17,·v4 |
| |
3643 | ····goto·:goto_6 | 3628 | ····goto·:goto_5 |
| |
3644 | ····.line·282 | 3629 | ····.line·282 |
3645 | ····:cond_7 | 3630 | ····:cond_6 |
3646 | ····add-int/lit8·v11,·v11,·0x1 | 3631 | ····add-int/lit8·v11,·v11,·0x1 |
| |
3647 | ····goto·:goto_1 | 3632 | ····goto·:goto_0 |
| |
3648 | ····:cond_8 | 3633 | ····:cond_7 |
3649 | ····move/from16·v17,·v0 | 3634 | ····move·v11,·v0 |
| |
3650 | ····move/from16·v18,·v1 | 3635 | ····move·v14,·v1 |
| |
3651 | ····move/from16·v19,·v2 | 3636 | ····move·v15,·v2 |
| |
3652 | ····move/from16·v20,·v3 | 3637 | ····move/from16·v16,·v3 |
| |
3653 | ····move-object/from16·v21,·v4 | 3638 | ····move-object/from16·v17,·v4 |
| |
3654 | ····.line·312 | 3639 | ····.line·312 |
3655 | ····.end·local·v0····#·"removedCol":I | 3640 | ····.end·local·v0····#·"removedCol":I |
3656 | ····.end·local·v1····#·"removedRow":I | 3641 | ····.end·local·v1····#·"removedRow":I |
3657 | ····.end·local·v2····#·"removeWt":F | 3642 | ····.end·local·v2····#·"removeWt":F |
3658 | ····.end·local·v3····#·"moveWt":F | 3643 | ····.end·local·v3····#·"moveWt":F |
3659 | ····.end·local·v4····#·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3644 | ····.end·local·v4····#·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3660 | ····.end·local·v11····#·"x":I | 3645 | ····.local·v11,·"removedCol":I |
3661 | ····.local·v17,·"removedCol":I | 3646 | ····.local·v14,·"removedRow":I |
3662 | ····.local·v18,·"removedRow":I | 3647 | ····.local·v15,·"removeWt":F |
3663 | ····.local·v19,·"removeWt":F | 3648 | ····.local·v16,·"moveWt":F |
3664 | ····.local·v20,·"moveWt":F | 3649 | ····.local·v17,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3665 | ····.local·v21,·"finalItems":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3650 | ····:goto_5 |
3666 | ····:goto_6 | |
3667 | ····const/4·v0,·0x3 | 3651 | ····const/4·v0,·0x3 |
| |
3668 | ····new-array·v0,·v0,·[Ljava/lang/Object; | 3652 | ····new-array·v0,·v0,·[Ljava/lang/Object; |
| |
3669 | ····.line·313 | 3653 | ····.line·313 |
3670 | ····invoke-static/range·{v18·..·v18},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 3654 | ····invoke-static·{v14},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
3671 | ····move-result-object·v1 | 3655 | ····move-result-object·v1 |
| |
3672 | ····aput-object·v1,·v0,·v8 | 3656 | ····aput-object·v1,·v0,·v12 |
| |
3673 | ····invoke-static/range·{v17·..·v17},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 3657 | ····invoke-static·{v11},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
3674 | ····move-result-object·v1 | 3658 | ····move-result-object·v1 |
| |
3675 | ····aput-object·v1,·v0,·v9 | 3659 | ····aput-object·v1,·v0,·v13 |
| |
3676 | ····invoke-static/range·{p1·..·p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 3660 | ····invoke-static/range·{p1·..·p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
3677 | ····move-result-object·v1 | 3661 | ····move-result-object·v1 |
| |
3678 | ····aput-object·v1,·v0,·v10 | 3662 | ····aput-object·v1,·v0,·v9 |
| |
3679 | ····.line·312 | 3663 | ····.line·312 |
3680 | ····const-string·v1,·"Removing·row·%d,·column·%d·on·screen·%d" | 3664 | ····const-string·v1,·"Removing·row·%d,·column·%d·on·screen·%d" |
| |
3681 | ····invoke-static·{v1,·v0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 3665 | ····invoke-static·{v1,·v0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
3682 | ····move-result-object·v0 | 3666 | ····move-result-object·v0 |
Offset 3785, 112 lines modified | Offset 3771, 112 lines modified |
3785 | ····invoke-static·{v1,·v0},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I | 3771 | ····invoke-static·{v1,·v0},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
3786 | ····.line·316 | 3772 | ····.line·316 |
3787 | ····new-instance·v0,·Lcom/android/launcher3/util/IntSparseArrayMap; | 3773 | ····new-instance·v0,·Lcom/android/launcher3/util/IntSparseArrayMap; |
| |
3788 | ····invoke-direct·{v0},·Lcom/android/launcher3/util/IntSparseArrayMap;-><init>()V | 3774 | ····invoke-direct·{v0},·Lcom/android/launcher3/util/IntSparseArrayMap;-><init>()V |
| |
3789 | ····move-object·v8,·v0 | 3775 | ····move-object·v9,·v0 |
| |
3790 | ····.line·317 | 3776 | ····.line·317 |
3791 | ····.local·v8,·"itemMap":Lcom/android/launcher3/util/IntSparseArrayMap;,·"Lcom/android/launcher3/util/IntSparseArrayMap<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" | 3777 | ····.local·v9,·"itemMap":Lcom/android/launcher3/util/IntSparseArrayMap;,·"Lcom/android/launcher3/util/IntSparseArrayMap<Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;>;" |
3792 | ····invoke-static/range·{v16·..·v16},·Lcom/android/launcher3/model/GridSizeMigrationTask;->deepCopy(Ljava/util/ArrayList;)Ljava/util/ArrayList; | 3778 | ····invoke-static·{v8},·Lcom/android/launcher3/model/GridSizeMigrationTask;->deepCopy(Ljava/util/ArrayList;)Ljava/util/ArrayList; |
| |
3793 | ····move-result-object·v0 | 3779 | ····move-result-object·v0 |
| |
3794 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; | 3780 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
| |
3795 | ····move-result-object·v0 | 3781 | ····move-result-object·v0 |
| |
3796 | ····:goto_7 | 3782 | ····:goto_6 |
3797 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z | 3783 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z |
| |
3798 | ····move-result·v1 | 3784 | ····move-result·v1 |
| |
3799 | ····if-eqz·v1,·:cond_9 | 3785 | ····if-eqz·v1,·:cond_8 |
| |
3800 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 3786 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
3801 | ····move-result-object·v1 | 3787 | ····move-result-object·v1 |
| |
3802 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3788 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
| |
3803 | ····.line·318 | 3789 | ····.line·318 |
3804 | ····.local·v1,·"e":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3790 | ····.local·v1,·"e":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3805 | ····iget·v2,·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->id:I | 3791 | ····iget·v2,·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->id:I |
| |
3806 | ····invoke-virtual·{v8,·v2,·v1},·Lcom/android/launcher3/util/IntSparseArrayMap;->put(ILjava/lang/Object;)V | 3792 | ····invoke-virtual·{v9,·v2,·v1},·Lcom/android/launcher3/util/IntSparseArrayMap;->put(ILjava/lang/Object;)V |
| |
3807 | ····.line·319 | 3793 | ····.line·319 |
3808 | ····.end·local·v1····#·"e":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3794 | ····.end·local·v1····#·"e":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3809 | ····goto·:goto_7 | 3795 | ····goto·:goto_6 |
| |
3810 | ····.line·321 | 3796 | ····.line·321 |
3811 | ····:cond_9 | 3797 | ····:cond_8 |
3812 | ····invoke-virtual/range·{v21·..·v21},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; | 3798 | ····invoke-virtual/range·{v17·..·v17},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
| |
3813 | ····move-result-object·v0 | 3799 | ····move-result-object·v0 |
| |
3814 | ····:goto_8 | 3800 | ····:goto_7 |
3815 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z | 3801 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z |
| |
3816 | ····move-result·v1 | 3802 | ····move-result·v1 |
| |
3817 | ····if-eqz·v1,·:cond_b | 3803 | ····if-eqz·v1,·:cond_a |
| |
3818 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 3804 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
3819 | ····move-result-object·v1 | 3805 | ····move-result-object·v1 |
| |
3820 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3806 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
| |
3821 | ····.line·322 | 3807 | ····.line·322 |
3822 | ····.local·v1,·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3808 | ····.local·v1,·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3823 | ····iget·v2,·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->id:I | 3809 | ····iget·v2,·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->id:I |
| |
3824 | ····invoke-virtual·{v8,·v2},·Lcom/android/launcher3/util/IntSparseArrayMap;->get(I)Ljava/lang/Object; | 3810 | ····invoke-virtual·{v9,·v2},·Lcom/android/launcher3/util/IntSparseArrayMap;->get(I)Ljava/lang/Object; |
| |
3825 | ····move-result-object·v2 | 3811 | ····move-result-object·v2 |
| |
3826 | ····check-cast·v2,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3812 | ····check-cast·v2,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
| |
3827 | ····.line·323 | 3813 | ····.line·323 |
3828 | ····.local·v2,·"org":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3814 | ····.local·v2,·"org":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3829 | ····iget·v3,·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->id:I | 3815 | ····iget·v3,·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->id:I |
| |
3830 | ····invoke-virtual·{v8,·v3},·Lcom/android/launcher3/util/IntSparseArrayMap;->remove(I)V | 3816 | ····invoke-virtual·{v9,·v3},·Lcom/android/launcher3/util/IntSparseArrayMap;->remove(I)V |
| |
3831 | ····.line·326 | 3817 | ····.line·326 |
3832 | ····invoke-virtual·{v1,·v2},·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->columnsSame(Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;)Z | 3818 | ····invoke-virtual·{v1,·v2},·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->columnsSame(Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;)Z |
| |
3833 | ····move-result·v3 | 3819 | ····move-result·v3 |
| |
3834 | ····if-nez·v3,·:cond_a | 3820 | ····if-nez·v3,·:cond_9 |
| |
3835 | ····.line·327 | 3821 | ····.line·327 |
3836 | ····invoke-virtual·{v6,·v1},·Lcom/android/launcher3/model/GridSizeMigrationTask;->update(Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;)V | 3822 | ····invoke-virtual·{v6,·v1},·Lcom/android/launcher3/model/GridSizeMigrationTask;->update(Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;)V |
| |
3837 | ····.line·329 | 3823 | ····.line·329 |
3838 | ····.end·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3824 | ····.end·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3839 | ····.end·local·v2····#·"org":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3825 | ····.end·local·v2····#·"org":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3840 | ····:cond_a | 3826 | ····:cond_9 |
3841 | ····goto·:goto_8 | 3827 | ····goto·:goto_7 |
| |
3842 | ····.line·332 | 3828 | ····.line·332 |
3843 | ····:cond_b | 3829 | ····:cond_a |
3844 | ····invoke-virtual·{v8},·Lcom/android/launcher3/util/IntSparseArrayMap;->iterator()Ljava/util/Iterator; | 3830 | ····invoke-virtual·{v9},·Lcom/android/launcher3/util/IntSparseArrayMap;->iterator()Ljava/util/Iterator; |
| |
3845 | ····move-result-object·v0 | 3831 | ····move-result-object·v0 |
| |
3846 | ····:goto_9 | 3832 | ····:goto_8 |
3847 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z | 3833 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z |
| |
3848 | ····move-result·v1 | 3834 | ····move-result·v1 |
| |
3849 | ····if-eqz·v1,·:cond_c | 3835 | ····if-eqz·v1,·:cond_b |
| |
3850 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 3836 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
3851 | ····move-result-object·v1 | 3837 | ····move-result-object·v1 |
| |
3852 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3838 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
| |
Offset 3898, 29 lines modified | Offset 3884, 29 lines modified |
3898 | ····.restart·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3884 | ····.restart·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3899 | ····iget-object·v2,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; | 3885 | ····iget-object·v2,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; |
| |
3900 | ····invoke-virtual·{v2,·v1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 3886 | ····invoke-virtual·{v2,·v1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
| |
3901 | ····.line·334 | 3887 | ····.line·334 |
3902 | ····.end·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3888 | ····.end·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3903 | ····goto·:goto_9 | 3889 | ····goto·:goto_8 |
| |
3904 | ····.line·336 | 3890 | ····.line·336 |
3905 | ····:cond_c | 3891 | ····:cond_b |
3906 | ····iget-object·v0,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; | 3892 | ····iget-object·v0,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; |
| |
3907 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->isEmpty()Z | 3893 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->isEmpty()Z |
| |
3908 | ····move-result·v0 | 3894 | ····move-result·v0 |
| |
3909 | ····if-nez·v0,·:cond_f | 3895 | ····if-nez·v0,·:cond_f |
| |
3910 | ····const/16·v22,·0x0 | 3896 | ····const/4·v12,·0x0 |
| |
3911 | ····cmpl-float·v0,·v19,·v22 | 3897 | ····cmpl-float·v0,·v15,·v12 |
| |
3912 | ····if-nez·v0,·:cond_f | 3898 | ····if-nez·v0,·:cond_f |
| |
3913 | ····.line·338 | 3899 | ····.line·338 |
3914 | ····new-instance·v0,·Lcom/android/launcher3/util/GridOccupancy; | 3900 | ····new-instance·v0,·Lcom/android/launcher3/util/GridOccupancy; |
| |
3915 | ····iget·v1,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mTrgX:I | 3901 | ····iget·v1,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mTrgX:I |
Offset 3929, 162 lines modified | Offset 3915, 151 lines modified |
| |
3929 | ····invoke-direct·{v0,·v1,·v2},·Lcom/android/launcher3/util/GridOccupancy;-><init>(II)V | 3915 | ····invoke-direct·{v0,·v1,·v2},·Lcom/android/launcher3/util/GridOccupancy;-><init>(II)V |
| |
3930 | ····move-object·v5,·v0 | 3916 | ····move-object·v5,·v0 |
| |
3931 | ····.line·339 | 3917 | ····.line·339 |
3932 | ····.local·v5,·"occupied":Lcom/android/launcher3/util/GridOccupancy; | 3918 | ····.local·v5,·"occupied":Lcom/android/launcher3/util/GridOccupancy; |
3933 | ····const/4·v11,·0x0 | 3919 | ····const/4·v1,·0x0 |
| |
3934 | ····const/4·v12,·0x0 | |
| |
3935 | ····iget·v13,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mTrgX:I | 3920 | ····const/4·v2,·0x0 |
| |
3936 | ····const/4·v0,·0x1 | 3921 | ····iget·v3,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mTrgX:I |
| |
3937 | ····move-object·v10,·v5 | 3922 | ····const/16·v18,·0x1 |
| |
3938 | ····move-object/from16·v23,·v14 | 3923 | ····move·v4,·v7 |
| |
3939 | ····.end·local·v14····#·"outLoss":[F | 3924 | ····move-object·v12,·v5 |
3940 | ····.local·v23,·"outLoss":[F | |
3941 | ····move·v14,·v15 | |
| |
3942 | ····move/from16·v24,·v15 | 3925 | ····.end·local·v5····#·"occupied":Lcom/android/launcher3/util/GridOccupancy; |
| 3926 | ····.local·v12,·"occupied":Lcom/android/launcher3/util/GridOccupancy; |
3943 | ····.end·local·v15····#·"startY":I | 3927 | ····move/from16·v5,·v18 |
3944 | ····.local·v24,·"startY":I | |
3945 | ····move·v15,·v0 | |
| |
3946 | ····invoke-virtual/range·{v10·..·v15},·Lcom/android/launcher3/util/GridOccupancy;->markCells(IIIIZ)V | 3928 | ····invoke-virtual/range·{v0·..·v5},·Lcom/android/launcher3/util/GridOccupancy;->markCells(IIIIZ)V |
| |
3947 | ····.line·340 | 3929 | ····.line·340 |
3948 | ····invoke-virtual/range·{v21·..·v21},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; | 3930 | ····invoke-virtual/range·{v17·..·v17},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
| |
3949 | ····move-result-object·v0 | 3931 | ····move-result-object·v0 |
| |
3950 | ····:goto_a | 3932 | ····:goto_9 |
3951 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z | 3933 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z |
| |
3952 | ····move-result·v1 | 3934 | ····move-result·v1 |
| |
3953 | ····if-eqz·v1,·:cond_d | 3935 | ····if-eqz·v1,·:cond_c |
| |
3954 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 3936 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
3955 | ····move-result-object·v1 | 3937 | ····move-result-object·v1 |
| |
3956 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3938 | ····check-cast·v1,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
| |
3957 | ····.line·341 | 3939 | ····.line·341 |
3958 | ····.restart·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3940 | ····.restart·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3959 | ····invoke-virtual·{v5,·v1,·v9},·Lcom/android/launcher3/util/GridOccupancy;->markCells(Lcom/android/launcher3/model/data/ItemInfo;Z)V | 3941 | ····invoke-virtual·{v12,·v1,·v13},·Lcom/android/launcher3/util/GridOccupancy;->markCells(Lcom/android/launcher3/model/data/ItemInfo;Z)V |
| |
3960 | ····.line·342 | 3942 | ····.line·342 |
3961 | ····.end·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3943 | ····.end·local·v1····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
3962 | ····goto·:goto_a | 3944 | ····goto·:goto_9 |
| |
3963 | ····.line·344 | 3945 | ····.line·344 |
3964 | ····:cond_d | 3946 | ····:cond_c |
3965 | ····new-instance·v9,·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution; | 3947 | ····new-instance·v13,·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution; |
| |
3966 | ····iget-object·v0,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; | 3948 | ····iget-object·v0,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; |
| |
3967 | ····.line·345 | 3949 | ····.line·345 |
3968 | ····invoke-static·{v0},·Lcom/android/launcher3/model/GridSizeMigrationTask;->deepCopy(Ljava/util/ArrayList;)Ljava/util/ArrayList; | 3950 | ····invoke-static·{v0},·Lcom/android/launcher3/model/GridSizeMigrationTask;->deepCopy(Ljava/util/ArrayList;)Ljava/util/ArrayList; |
| |
3969 | ····move-result-object·v3 | 3951 | ····move-result-object·v3 |
| |
3970 | ····const/4·v10,·0x1 | 3952 | ····const/4·v5,·0x1 |
| |
3971 | ····move-object·v0,·v9 | 3953 | ····move-object·v0,·v13 |
| |
3972 | ····move-object/from16·v1,·p0 | 3954 | ····move-object/from16·v1,·p0 |
| |
3973 | ····move-object·v2,·v5 | 3955 | ····move-object·v2,·v12 |
| |
3974 | ····move/from16·v4,·v24 | |
| |
3975 | ····move-object·v11,·v5 | 3956 | ····move·v4,·v7 |
| |
3976 | ····.end·local·v5····#·"occupied":Lcom/android/launcher3/util/GridOccupancy; | |
3977 | ····.local·v11,·"occupied":Lcom/android/launcher3/util/GridOccupancy; | |
3978 | ····move·v5,·v10 | |
| |
3979 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;-><init>(Lcom/android/launcher3/model/GridSizeMigrationTask;Lcom/android/launcher3/util/GridOccupancy;Ljava/util/ArrayList;IZ)V | 3957 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;-><init>(Lcom/android/launcher3/model/GridSizeMigrationTask;Lcom/android/launcher3/util/GridOccupancy;Ljava/util/ArrayList;IZ)V |
| |
3980 | ····.line·346 | 3958 | ····.line·346 |
3981 | ····.local·v0,·"placement":Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution; | 3959 | ····.local·v0,·"placement":Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution; |
3982 | ····invoke-virtual·{v0},·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;->find()V | 3960 | ····invoke-virtual·{v0},·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;->find()V |
| |
3983 | ····.line·347 | 3961 | ····.line·347 |
3984 | ····iget·v1,·v0,·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;->lowestWeightLoss:F | 3962 | ····iget·v1,·v0,·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;->lowestWeightLoss:F |
| |
3985 | ····cmpl-float·v1,·v1,·v22 | 3963 | ····const/4·v2,·0x0 |
| |
3986 | ····if-nez·v1,·:cond_10 | 3964 | ····cmpl-float·v1,·v1,·v2 |
| |
| 3965 | ····if-nez·v1,·:cond_e |
| |
3987 | ····.line·350 | 3966 | ····.line·350 |
3988 | ····iget-object·v1,·v0,·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;->finalPlacedItems:Ljava/util/ArrayList; | 3967 | ····iget-object·v1,·v0,·Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution;->finalPlacedItems:Ljava/util/ArrayList; |
| |
3989 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; | 3968 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
| |
3990 | ····move-result-object·v1 | 3969 | ····move-result-object·v1 |
| |
3991 | ····:goto_b | 3970 | ····:goto_a |
3992 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 3971 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
| |
3993 | ····move-result·v2 | 3972 | ····move-result·v2 |
| |
3994 | ····if-eqz·v2,·:cond_e | 3973 | ····if-eqz·v2,·:cond_d |
| |
3995 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 3974 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
3996 | ····move-result-object·v2 | 3975 | ····move-result-object·v2 |
| |
3997 | ····check-cast·v2,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3976 | ····check-cast·v2,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
| |
3998 | ····.line·351 | 3977 | ····.line·351 |
3999 | ····.local·v2,·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3978 | ····.local·v2,·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
4000 | ····iput·v7,·v2,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->screenId:I | 3979 | ····move/from16·v3,·p1 |
| |
| 3980 | ····iput·v3,·v2,·Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;->screenId:I |
| |
4001 | ····.line·352 | 3981 | ····.line·352 |
4002 | ····invoke-virtual·{v6,·v2},·Lcom/android/launcher3/model/GridSizeMigrationTask;->update(Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;)V | 3982 | ····invoke-virtual·{v6,·v2},·Lcom/android/launcher3/model/GridSizeMigrationTask;->update(Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry;)V |
| |
4003 | ····.line·353 | 3983 | ····.line·353 |
4004 | ····.end·local·v2····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; | 3984 | ····.end·local·v2····#·"item":Lcom/android/launcher3/model/GridSizeMigrationTask$DbEntry; |
4005 | ····goto·:goto_b | 3985 | ····goto·:goto_a |
| |
4006 | ····.line·355 | 3986 | ····.line·355 |
4007 | ····:cond_e | 3987 | ····:cond_d |
| 3988 | ····move/from16·v3,·p1 |
| |
4008 | ····iget-object·v1,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; | 3989 | ····iget-object·v1,·v6,·Lcom/android/launcher3/model/GridSizeMigrationTask;->mCarryOver:Ljava/util/ArrayList; |
| |
4009 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->clear()V | 3990 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->clear()V |
| |
4010 | ····goto·:goto_c | 3991 | ····goto·:goto_b |
| |
| 3992 | ····.line·347 |
| 3993 | ····:cond_e |
| 3994 | ····move/from16·v3,·p1 |
| |
| 3995 | ····goto·:goto_b |
| |
4011 | ····.line·336 | 3996 | ····.line·336 |
4012 | ····.end·local·v0····#·"placement":Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution; | 3997 | ····.end·local·v0····#·"placement":Lcom/android/launcher3/model/GridSizeMigrationTask$OptimalPlacementSolution; |
4013 | ····.end·local·v11····#·"occupied":Lcom/android/launcher3/util/GridOccupancy; | 3998 | ····.end·local·v12····#·"occupied":Lcom/android/launcher3/util/GridOccupancy; |
4014 | ····.end·local·v23····#·"outLoss":[F | |
4015 | ····.end·local·v24····#·"startY":I | |
4016 | ····.restart·local·v14····#·"outLoss":[F | |
4017 | ····.restart·local·v15····#·"startY":I | |
4018 | ····:cond_f | 3999 | ····:cond_f |
4019 | ····move-object/from16·v23,·v14 | 4000 | ····move/from16·v3,·p1 |
| |
4020 | ····move/from16·v24,·v15 | |
| |
4021 | ····.line·358 | 4001 | ····.line·358 |
4022 | ····.end·local·v14····#·"outLoss":[F | 4002 | ····:goto_b |
4023 | ····.end·local·v15····#·"startY":I | |
4024 | ····.restart·local·v23····#·"outLoss":[F | |
4025 | ····.restart·local·v24····#·"startY":I | |
4026 | ····:cond_10 | |
4027 | ····:goto_c | |
4028 | ····return-void | 4003 | ····return-void |
4029 | .end·method | 4004 | .end·method |
| |
4030 | .method·protected·migrateWorkspace()Z | 4005 | .method·protected·migrateWorkspace()Z |
4031 | ····.locals·11 | 4006 | ····.locals·11 |
4032 | ····.annotation·system·Ldalvik/annotation/Throws; | 4007 | ····.annotation·system·Ldalvik/annotation/Throws; |
4033 | ········value·=·{ | 4008 | ········value·=·{ |