Commit Graph

14731 Commits

Author SHA1 Message Date
Sunny Goyal 6d6defb472 Merge "Creating the transaction on the UI thread" into tm-dev am: 279911fafc am: f6df7d76ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18591002

Change-Id: I833d70f3d0fa24020ef6eed3394f3c84e6afb5c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 23:11:01 +00:00
Jeremy Sim aba72f50b9 Fix Overview screenshot bug in fake landscape
Fixes an issue where the user would not be able to take a screenshot through the Overview menu when:
1) the task thumbnail was in LiveTile mode and
2) the phone was in fake landscape.

The issue arose because all Overview menu items, upon selection, were forcing LiveTile to end immediately, even before running the onClick method of each menu item. In the case of screenshots, this resulted in the onClick method being unable to take a screenshot because LiveTile was already ended.

This fix prevents Overview menu items from always forcing LiveTile to end, instead allowing each onClick method to determine its own order of operations and end LiveTile when appropriate. The functionality of all other current menu items (Select, Split, etc) should not be affected by this change.

Fixes: 231047451
Test: Manual
Change-Id: Ibfc79a114718fc4674dc434a907044184c7f5dd0
2022-05-25 15:48:59 -07:00
Sunny Goyal f6df7d76ee Merge "Creating the transaction on the UI thread" into tm-dev am: 279911fafc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18591002

Change-Id: Id4e379b1d90705e6048b732658bf7bc89e37c791
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 22:44:36 +00:00
Sunny Goyal 33a58f248e Merge "Creating the transaction on the UI thread" into tm-dev am: 279911fafc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18591002

Change-Id: Ic51cc1a24c0b1818d7731a89c8ae091aa788e923
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 22:43:32 +00:00
Sunny Goyal dc497cb1a4 Merge "Creating the transaction on the UI thread" into tm-dev am: 279911fafc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18591002

Change-Id: I6e5433d99d7fe5d5a8a6b1c4c2fea66ece22a95a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 22:43:23 +00:00
Schneider Victor-tulias 5b42ed40f7 Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev am: 467f30dbb7 am: b210664095 am: 8c8b35c368
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18529596

Change-Id: I3a68dc557d4eae2c7e58d41f2e5aaaa73e2d52a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 22:43:11 +00:00
Sunny Goyal 279911fafc Merge "Creating the transaction on the UI thread" into tm-dev 2022-05-25 22:24:04 +00:00
Schneider Victor-tulias 8c8b35c368 Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev am: 467f30dbb7 am: b210664095
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18529596

Change-Id: If00b8b6ff429556e7860089b855bac390983c37d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 21:59:30 +00:00
Schneider Victor-tulias b210664095 Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev am: 467f30dbb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18529596

Change-Id: I547601f2ba018fd3d91ecf46644deaa5c83f8a87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 21:24:37 +00:00
Schneider Victor-tulias 101d7e9699 Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev am: 467f30dbb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18529596

Change-Id: Iddfa42484bf629568ba56c056d861582f7ecffa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 21:23:25 +00:00
Schneider Victor-tulias 87313cb18c Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev am: 467f30dbb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18529596

Change-Id: I74743963b18e905a13626bae3b4461061447a14b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 21:23:01 +00:00
Schneider Victor-tulias 467f30dbb7 Merge "Add screen recording to drag to splitscreen taskbar tests to help with debugging." into tm-dev 2022-05-25 21:03:04 +00:00
Brian Isganitis 938a46e377 Merge "Have separate DeviceProfile instances for taskbar and all apps windows." into tm-qpr-dev am: 0bc68242ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18579641

Change-Id: I6acd213ac6107b7117769b8a24f05537ba096110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 20:58:24 +00:00
TreeHugger Robot 9324bba29e Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev am: 9557b10c59 am: 60273b856b am: 6687578d1e am: 906e65954d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18400686

Change-Id: I3cee7b4275c48cd4611282296a8902ea36f3f51b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 20:45:28 +00:00
Brian Isganitis 0bc68242ee Merge "Have separate DeviceProfile instances for taskbar and all apps windows." into tm-qpr-dev 2022-05-25 20:27:21 +00:00
TreeHugger Robot 906e65954d Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev am: 9557b10c59 am: 60273b856b am: 6687578d1e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18400686

Change-Id: I240c5d6d2da0aec243f8bbeee682588290e17fdb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 20:14:11 +00:00
TreeHugger Robot 6687578d1e Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev am: 9557b10c59 am: 60273b856b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18400686

Change-Id: I8a842caecf2b929ddadf765137bf0d36465032c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:42:31 +00:00
TreeHugger Robot 63a50b8151 Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev am: 9557b10c59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18400686

Change-Id: I896b77a28054e89f1f8fce7a2002ce8d275d50c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:21:49 +00:00
TreeHugger Robot 177b7150e9 Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev am: 9557b10c59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18400686

Change-Id: Id9d10958bd8f6e77368199ee3163aa350224ea05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:09:34 +00:00
TreeHugger Robot 60273b856b Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev am: 9557b10c59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18400686

Change-Id: I8a08569507a6458861f810f92d95a35def0bf821
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 19:07:47 +00:00
TreeHugger Robot c8c0c57ef9 Merge "Update vibrations in the All set page to match the SUW welcome page." into tm-qpr-dev am: 8398c12649 am: 81afd85dea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18521811

Change-Id: I250f9e61c3cd927b740d442421661702c3a055bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 18:50:14 +00:00
TreeHugger Robot 9557b10c59 Merge "Attempt to preload the Launcher activity when the user reaches the All Set Page." into tm-dev 2022-05-25 18:48:17 +00:00
Bill Yi e965dfe6eb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-25 18:43:37 +00:00
TreeHugger Robot 81afd85dea Merge "Update vibrations in the All set page to match the SUW welcome page." into tm-qpr-dev am: 8398c12649
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18521811

Change-Id: Id27326bbe78a18a5c4a1be6fb9ae28cba944e818
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 18:31:50 +00:00
TreeHugger Robot 8398c12649 Merge "Update vibrations in the All set page to match the SUW welcome page." into tm-qpr-dev 2022-05-25 18:30:06 +00:00
Brian Isganitis a9a78117c7 Have separate DeviceProfile instances for taskbar and all apps windows.
We want to scale down the DeviceProfile for taskbar, but the all apps
window should rely on the original DeviceProfile.

Test: Manual
Fix: 232907361
Change-Id: Ia09f674ada9e445c1d7278fa94c536ea9de13ef9
Merged-In: Ia09f674ada9e445c1d7278fa94c536ea9de13ef9
2022-05-25 18:11:51 +00:00
Brian Isganitis 54d474a028 Merge "Have separate DeviceProfile instances for taskbar and all apps windows." 2022-05-25 18:11:30 +00:00
Vinit Nayak 5eaf68e5f9 Merge "Hide taskviews when animating to split" into tm-qpr-dev am: ac8c6f817b am: 38c59d6f4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580063

Change-Id: If139f0190b925a9db85412aacf9842864efa89fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 18:06:30 +00:00
Vinit Nayak 38c59d6f4f Merge "Hide taskviews when animating to split" into tm-qpr-dev am: ac8c6f817b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580063

Change-Id: Ie4c2f4a4928288f19a383bb72b056d3e3ece61eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 17:38:16 +00:00
Vinit Nayak ac8c6f817b Merge "Hide taskviews when animating to split" into tm-qpr-dev 2022-05-25 17:19:03 +00:00
Schneider Victor-tulias 3efef1ce5a Attempt to preload the Launcher activity when the user reaches the All Set Page.
Preloading the Launcher activity once the user reaches the SUW All Set app allows for a smoother first reveal transition. Refactored TIS and TISBinder to make this possible.

Fixes: 226726244
Test: factory reset and flashed a build onto a pixel 6 pro
Change-Id: I1be3383bafdde17b951329de4c7d6b87affd210c
2022-05-25 10:02:20 -07:00
Alex Chau e2e1509d55 Fix taskbar icon flicker and jump when transforming to hotseat
- Apply additional translation on TaskbarView to account for difference between taskbar icon to bottom spacing compared to hotseat icon to bottom spacing
- Call updateIconAlignment outside of synchronizeNextDraw's then block, which get run after the synchronization

Bug: 204850744
Test: manual
Change-Id: Id65842f506eb342105082649446eb694cd5c33a4
(cherry picked from commit 51da219869)
Merged-In: Id65842f506eb342105082649446eb694cd5c33a4
2022-05-25 10:53:29 +00:00
wilsonshih 2b06fa518b Cancel the recents animation for locked gesture[2/2]
When device is locked and going to finish the recents animation,
instead of start home activity, calling
finishRunningRecentsAnimation directly so core and shell does not need
to handle another transition.

Bug: 230582311
Test: enable shell transition. Start showWhenLocked activity while
keyguard showing. Scroll up to dismiss the activity and verify the
activity and home shall be stopped and only keyguard remains on the
screen.
Also verify entering recents works fine when device is unlocked.

Change-Id: Ic76f81efcaa8ed00d5af1475259ec16659f6b568
2022-05-25 12:57:32 +08:00
Sunny Goyal cdc111a158 Creating the transaction on the UI thread
This avoids the error when the transaction is created after
the surface is released. In case the surface is released after
transaction object is created, the apply() call simply ignores
that error, whereas previously the transactionCreation will throw
an error

Bug: 231889963
Test: Verified by manually releasing the surface that there is no crash
Change-Id: I9a4b9ca0be2ed687b2fc692570415256e3e479f7
2022-05-24 17:14:44 -07:00
Andy Wickham 2ba7797edb Moves Search results into a separate RV (take 2).
Bug: 206905515
Test: Manually verified b/230648542 did not resurface. Tested
on phone and tablet with and without work profile.

Change-Id: If724f635286b9dff2c64255f9ece3568a5cb4ea9
2022-05-24 17:10:24 -07:00
Brian Isganitis 76900ac58a Have separate DeviceProfile instances for taskbar and all apps windows.
We want to scale down the DeviceProfile for taskbar, but the all apps
window should rely on the original DeviceProfile.

Test: Manual
Bug: 232907361
Change-Id: Ia09f674ada9e445c1d7278fa94c536ea9de13ef9
2022-05-24 23:30:36 +00:00
Sunny Goyal 5922652282 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 595c9c37f5 am: 153c553181 am: cfbb12e29d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: Iaa437ded4b3d87e85c2e80cc1b8ba48b2d6c73b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:44:39 +00:00
Sunny Goyal cfbb12e29d Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 595c9c37f5 am: 153c553181
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I72a51b0d2f756e9710058beb0b820dbbb52b15d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:23:28 +00:00
Sunny Goyal 51cbd323e2 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316 am: 57a956911c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I63c8780cd914488282f1159037e3d6e31bbd87da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:15:02 +00:00
Bill Yi dbaeaa5c05 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8dab647a81e5f333a8c4d9ad5dbe13247429f7c1
2022-05-24 14:49:54 -07:00
Sunny Goyal 006bcf6db1 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: Ic7aedab14ad446dd045c79ed96f643a421466c04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 21:38:34 +00:00
Sunny Goyal 595c9c37f5 Merge "Avoiding updating task via scroll if RectF spring animation is running" into tm-dev am: 689b000316
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18561212

Change-Id: I1f764d6df15bdb67a040adcfb30b6ed5c4b39c9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 21:38:19 +00:00
Schneider Victor-tulias aa5ae621c5 Add screen recording to drag to splitscreen taskbar tests to help with debugging.
Test: presubmit and local
Bug: 231615831
Change-Id: I87ea5eb30eaf9ec1f4f96572c78bc9daf976a589
2022-05-24 11:46:31 -07:00
Vinit Nayak 7608cfd628 Hide taskviews when animating to split
* Move FloatingTaskView to drag layer to
keep it from showing up on top of the
TaskMenuView that is animating to a close

Bug: 232804154
Change-Id: Ifaa3286c48509d1f60a559bb4d318988a1d30679
2022-05-24 18:41:42 +00:00
Schneider Victor-tulias 2edbe23513 Update vibrations in the All set page to match the SUW welcome page.
Fixes: 211844049
Test: opened the all set page on different devices, tested with different supported vibration effects
Change-Id: I0b86dae3bec28ff56a3a23f9bb65dcbdb1b27325
2022-05-24 18:30:11 +00:00
TreeHugger Robot d719a69ff1 Merge "Do not launch home disambiguation screen when home is not known" into tm-qpr-dev am: 4c48d57434 am: 075740a850
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18566763

Change-Id: I1783a695020aea5852b1b5773e53cb0ab68e3e54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 05:12:36 +00:00
TreeHugger Robot 075740a850 Merge "Do not launch home disambiguation screen when home is not known" into tm-qpr-dev am: 4c48d57434
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18566763

Change-Id: I79d1dfba8793fe125abcde6c667005dce7666847
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 04:02:43 +00:00
Sunny Goyal 4a35dd4f0d Do not launch home disambiguation screen when home is not known
Bug: 233071361
Test: Verified on device
Change-Id: I54e71e19363920b0778c328dc391575d0921f304
2022-05-23 23:30:58 +00:00
Jeremy Sim 90bc6d57b2 Implement non-disappearing View for split staging instructions am: b0cce86385 am: ce47e5bf9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18337640

Change-Id: Ibc111aa7702e1f15606cb9129fa55de2dc963fb3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 22:55:22 +00:00
Jeremy Sim ce47e5bf9c Implement non-disappearing View for split staging instructions am: b0cce86385
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18337640

Change-Id: I9528d19875838af2cd6df93c503ac2275e66187f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 22:24:38 +00:00