Commit Graph

39708 Commits

Author SHA1 Message Date
Alex Chau
20d83a976d Merge "Enable logs on swipe detection in tests" into sc-v2-dev am: 0eaf4e86a2 am: 5873f9f085
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302098

Change-Id: I30a792a8f248d0dd17146efc3f78702eefb2178d
2021-07-16 01:05:43 +00:00
Alex Chau
5873f9f085 Merge "Enable logs on swipe detection in tests" into sc-v2-dev am: 0eaf4e86a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302098

Change-Id: I4883b5be8c49ef0215a50a8a94a025492f239424
2021-07-16 00:48:30 +00:00
Alex Chau
0eaf4e86a2 Merge "Enable logs on swipe detection in tests" into sc-v2-dev 2021-07-16 00:28:42 +00:00
Sunny Goyal
d3af716ca4 Binding Taskbar directly from Launcher model am: 711c596c86 am: c18cdf7c9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082875

Change-Id: I847ff8821328118761279cced5f6a642de8fd382
2021-07-15 22:40:12 +00:00
Sunny Goyal
c18cdf7c9d Binding Taskbar directly from Launcher model am: 711c596c86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082875

Change-Id: I3c0247dc339993ecb9d6c740a064231a06857c22
2021-07-15 22:25:28 +00:00
Alex Chau
46b9a41686 Enable logs on swipe detection in tests
- Enable BaseSwipeDetector log in tests
- Add log for scroll finish and motion pause event

Bug: 193440212
Test: TaplTestsQuickstep#testSwitchToOverview
Change-Id: Idab566bc615050f73d898459897b66f8b95951b3
2021-07-15 20:45:51 +01:00
Sunny Goyal
711c596c86 Binding Taskbar directly from Launcher model
This allows taskbar to be loaded even in case of 3P Launchers
and removes dependency on LauncherActivity lifecycle

Bug: 187353581
Bug: 188788621
Test: Manual
Change-Id: I5a0988e0697b41677d4c58f0213aef14ec0c0972
2021-07-15 12:43:11 -07:00
TreeHugger Robot
c8a2852351 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 8c4e93fe49 -s ours am: cd4017e00b -s ours am: bf8155beab -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302070

Change-Id: I0376f8031a85f14de206b586a6b3ada7c97ce9ab
2021-07-15 19:37:31 +00:00
TreeHugger Robot
7622e885ea [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 170a39b08f -s ours am: 30402e21ae -s ours am: 2874ccb0f6 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302071

Change-Id: Ibb2257cc9e8790b5f32a940570647a59872c9e2a
2021-07-15 19:37:27 +00:00
Cyrus Boadway
5248c2f1f7 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815 am: e08c377a72 am: 1db10e2a3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: Ia8910421033e3b59bd83380df450a4edbddce47f
2021-07-15 19:37:07 +00:00
TreeHugger Robot
bf8155beab [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 8c4e93fe49 -s ours am: cd4017e00b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302070

Change-Id: I18baf077c9f8853c2edb7cbfed6939d7f2939bba
2021-07-15 18:56:43 +00:00
TreeHugger Robot
2874ccb0f6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 170a39b08f -s ours am: 30402e21ae -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302071

Change-Id: I1164665774fa59c4d4039b570cbeefd63d81995b
2021-07-15 18:56:39 +00:00
Cyrus Boadway
1db10e2a3a Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815 am: e08c377a72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: If16f06c6aa4d615df865a64f9327dcae9c131eaa
2021-07-15 18:56:08 +00:00
TreeHugger Robot
f1ae6cea81 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 8c4e93fe49 -s ours am: 80a141cd2c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302070

Change-Id: I77a16e8e65195874b37f30963b1a295dee93b294
2021-07-15 18:55:54 +00:00
TreeHugger Robot
5b5dfe7905 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 170a39b08f -s ours am: b17d34f4af -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302071

Change-Id: I2fe4c10872db4a9009e21e717d342517e9104bd9
2021-07-15 18:55:50 +00:00
Cyrus Boadway
1df813a13e Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815 am: eec4833b22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I8af5f490e5e4325f5034177b9eef249207c85301
2021-07-15 18:55:44 +00:00
TreeHugger Robot
80a141cd2c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 8c4e93fe49 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302070

Change-Id: I7f69835b729a355155ae3c684e62d5d095f9a551
2021-07-15 18:40:47 +00:00
TreeHugger Robot
b17d34f4af [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 170a39b08f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302071

Change-Id: I649e47f2e69f9ad6116c812ae6ace77a5dad1058
2021-07-15 18:40:43 +00:00
TreeHugger Robot
cd4017e00b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 8c4e93fe49 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302070

Change-Id: If54bd708535ccc2a309342837faf168384c8f348
2021-07-15 18:40:40 +00:00
Cyrus Boadway
eec4833b22 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: Ie06393d266ff3e3d290f77fa9170df4d88604ab8
2021-07-15 18:40:38 +00:00
TreeHugger Robot
30402e21ae [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 170a39b08f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302071

Change-Id: Id29280db87490d7c20a6f706cb86efeb1e675347
2021-07-15 18:40:37 +00:00
Cyrus Boadway
e08c377a72 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I803a9decf159b4f2cdec9949e2af954fb81aa58a
2021-07-15 18:40:32 +00:00
TreeHugger Robot
8c4e93fe49 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 18:34:11 +00:00
TreeHugger Robot
170a39b08f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 18:31:31 +00:00
Cyrus Boadway
66f1b57815 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev 2021-07-15 18:28:29 +00:00
Steven Ng
fda82bde99 Fix class cast issue in AddItemActivity am: 671ffb88ca am: 414e50b0f3 am: 14f90e1a3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: Ieaab362a75aa6d11a23c1ff1886ad2677b27ccfc
2021-07-15 18:07:11 +00:00
Steven Ng
14f90e1a3e Fix class cast issue in AddItemActivity am: 671ffb88ca am: 414e50b0f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: I799285ff538d8b9fd232edfb88faa8af09327cd0
2021-07-15 18:06:39 +00:00
Pat Manning
638ce7402f Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev am: d642b65137 am: 038eff4fba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15014310

Change-Id: I68fb5b2db82409e9c3cbed8518b7a543d2c8697e
2021-07-15 18:06:28 +00:00
Steven Ng
06b9d39aed Fix class cast issue in AddItemActivity am: 671ffb88ca am: 5ff9bb7f75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: Ie723144ff6b59095b571aee32c57c6de7f44447e
2021-07-15 18:05:45 +00:00
Pat Manning
038eff4fba Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev am: d642b65137
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15014310

Change-Id: Ibc650a5ea903a84bd0027548e29b421de55a9610
2021-07-15 17:52:14 +00:00
Steven Ng
5ff9bb7f75 Fix class cast issue in AddItemActivity am: 671ffb88ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: Ie58b81760282447db71416b8f212e96a19020931
2021-07-15 17:51:42 +00:00
Steven Ng
414e50b0f3 Fix class cast issue in AddItemActivity am: 671ffb88ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: Ic1d75e6a1357a4ef43a6f3b92db578ed29c6ab08
2021-07-15 17:51:24 +00:00
Pat Manning
d642b65137 Merge "Scale task rounded corners proportional to TaskView size." into sc-v2-dev 2021-07-15 17:39:31 +00:00
Bill Yi
1fc7f990b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie927e0de6422f58f850efe83a6a7ba4e20a7333c
2021-07-15 17:18:25 +00:00
Bill Yi
ddedb86ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I07a46873b25609c6626be27f535de361b199c313
2021-07-15 17:17:13 +00:00
TreeHugger Robot
e66b2d42da Merge "Move focused task to front when attaching RecentsView" into sc-v2-dev am: a1ef7b3c1b am: dc9de479ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220575

Change-Id: I5a5097d33fad78c97a8dbbdc4221df476ce258d7
2021-07-15 16:54:48 +00:00
TreeHugger Robot
fbfb5d691f Merge "Reland "Snap to relative position to snappd task when dismissing"" into sc-v2-dev am: eba399c130 am: 94ab05138f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299582

Change-Id: Idb1bb656ee9ce79dea91e108dfc164b1014b9821
2021-07-15 16:54:43 +00:00
TreeHugger Robot
dc9de479ba Merge "Move focused task to front when attaching RecentsView" into sc-v2-dev am: a1ef7b3c1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220575

Change-Id: I4ca1a0a55969e4aed11ea60caa7390d32fd57ed8
2021-07-15 16:40:36 +00:00
TreeHugger Robot
94ab05138f Merge "Reland "Snap to relative position to snappd task when dismissing"" into sc-v2-dev am: eba399c130
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299582

Change-Id: If49e262fcf6c6df96035d3bc61d669cf34e67b6a
2021-07-15 16:40:11 +00:00
TreeHugger Robot
a1ef7b3c1b Merge "Move focused task to front when attaching RecentsView" into sc-v2-dev 2021-07-15 16:36:30 +00:00
TreeHugger Robot
eba399c130 Merge "Reland "Snap to relative position to snappd task when dismissing"" into sc-v2-dev 2021-07-15 16:27:11 +00:00
Steven Ng
e429a8ceff Merge "Scale widget previews" into sc-v2-dev am: b3880636c4 am: 6d95608cc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15177218

Change-Id: I1f2e80152aa8dfd952a91652db808af0d2fa35c4
2021-07-15 16:24:18 +00:00
Steven Ng
6d95608cc9 Merge "Scale widget previews" into sc-v2-dev am: b3880636c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15177218

Change-Id: I5e584600e9b9fb0388f37f2d5ccc2d7b7afcf47a
2021-07-15 16:15:08 +00:00
Steven Ng
b3880636c4 Merge "Scale widget previews" into sc-v2-dev 2021-07-15 15:58:08 +00:00
Pat Manning
8a6179bb7d Scale task rounded corners proportional to TaskView size.
Test: manual
Fix: 183936745
Change-Id: I2e2dd806826cba135d5a1e6ab9a5e80b8994d64d
2021-07-15 15:25:24 +00:00
Steven Ng
671ffb88ca Fix class cast issue in AddItemActivity
AddItemActivity is a standalone activity. There is no Launcher activity
instance. Avoid using LauncherAppWidgetHostView in WidgetCell by
replacing it NavigableAppWidgetHostView instead

Test: Check preview layouts are correctly rendered in widgets picker
      and pin widget dialog. Also test drag and drop to verify the
      local color extraction still works when dragging a preview layout
      from widgets picker to home screen.
Fix: 193765783
Change-Id: I3a734a54941257cebcd7b7f6a4c2c9cc764c5c12
2021-07-15 16:06:51 +01:00
Alex Chau
86ac825061 Move focused task to front when attaching RecentsView
- Only move focused task it's the first time attaching RecentsView
- Simpily remove and re-add focused task to move it to front

Bug: 192471181
Test: manual
Change-Id: I95b29c39328911beec7fd3d254f7a22be5e10cc1
2021-07-15 15:24:00 +01:00
Alex Chau
031373daa3 Reland "Snap to relative position to snappd task when dismissing"
This reland commit ba61b98fca accidentally reverted by http://ag/15162411

Bug: 188793333
Test: manual
Change-Id: Iae07a67d528aa80e8f87d37758244d0c46b61cf7
2021-07-15 15:12:34 +01:00
Steven Ng
f3d23f67bd Scale widget previews
This CL covers drag requests initiated from Launcher.java but not from
other activities.

Test: Manual
Bug: 193144010
Change-Id: Ieb862d689afe81a5b35aedeb9a277de08c775230
2021-07-15 12:22:37 +01:00
TreeHugger Robot
388a273885 Merge "Don't create gap between last task and clear all button" into sc-v2-dev am: 3df9de7cd0 am: 9c3968b231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15220572

Change-Id: I278298d6d69345a5643c45a6e8cef09583bffba8
2021-07-15 11:15:32 +00:00