Commit Graph

36931 Commits

Author SHA1 Message Date
TreeHugger Robot 730fe1ff1f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 1a9dff2625 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I52f6903e87627176fc555bc9feaf588b28d28d27
2021-09-20 06:33:19 +00:00
TreeHugger Robot 1a9dff2625 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-20 06:18:51 +00:00
Bill Yi 9b13d2c51b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9bf1c7c41452c33c3ddccea00360022509bc7662
2021-09-18 14:08:25 +00:00
TreeHugger Robot 3da93a868b Merge "Use ICU to format plural strings" into sc-v2-dev am: c9e7bf458f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15819388

Change-Id: Ica026351ae69bee87489e2403400e7b669539054
2021-09-18 04:53:37 +00:00
TreeHugger Robot c9e7bf458f Merge "Use ICU to format plural strings" into sc-v2-dev 2021-09-18 04:37:46 +00:00
zakcohen 88c3e793ed Overview - leave modal state on orientation changes.
Bug: 194424293
Test: Local

Change-Id: I913dd5cb85aa1c52d79a8876a78a677a586da9c7
(cherry picked from commit 5b144ea31f)
2021-09-17 22:45:01 +00:00
Steven Ng 707b118184 Use ICU to format plural strings
Test: manual
Fix: 199230208
Change-Id: I0b6fe9f8bb134a1479117c832575c63da2a07794
2021-09-17 22:44:06 +01:00
Vinit Nayak f94d7ca492 Merge "Show multiple icons for GroupedTaskView" into sc-v2-dev am: 03c13ad130
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15847979

Change-Id: Ib2d2567e400c3254b7182906286fecf1608f74c0
2021-09-17 21:35:05 +00:00
Vinit Nayak 03c13ad130 Merge "Show multiple icons for GroupedTaskView" into sc-v2-dev 2021-09-17 21:27:18 +00:00
Thales Lima e5b9e95161 Merge "launcher: use scalable grid in 4x4" into sc-v2-dev am: 5f8bbcd552
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15754333

Change-Id: I7aae2cb0bad4fa85253b1004f1f3b0a91c2ff5ce
2021-09-17 20:47:42 +00:00
Tracy Zhou d05a3d2040 Merge "Stash the bar after settling in Overview" into sc-v2-dev am: 088ec093e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15801649

Change-Id: Ibd990386e587ee67877980c27073d81729a95adf
2021-09-17 20:47:22 +00:00
Brian Isganitis b5aa6aa28b Merge "Add CONTAINER_WALLPAPERS for storing wallpaper info." into sc-v2-dev am: a682cda639
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15749700

Change-Id: I29e67b153549b456033b2db04c7c948d5f515bb5
2021-09-17 20:46:42 +00:00
Vinit Nayak af6b85e3bc Show multiple icons for GroupedTaskView
* Hide all overview actions for GroupedTaskView
* Move some logic from TaskView into respective
PagedOrientationHandlers
* Remove unused methods from PagedOrientationHandler
* NOTE this is just visual changes. Properly showing
task menu's is still in-progress

Bug: 181704764
Test: Tested GroupedTaskView in portrait/landscape,
fake landscape in small screen, and real portrait/landscape
in large screen

Change-Id: I9c13ca114024db0a8e3fa5d295951696adb8516f
2021-09-17 10:16:56 -07:00
Thales Lima 5f8bbcd552 Merge "launcher: use scalable grid in 4x4" into sc-v2-dev 2021-09-17 16:42:24 +00:00
Thales Lima d1df5fcaac launcher: use scalable grid in 4x4
Many changes are required to make scalable displays work correctly on
foldables. This first one is making sure that the correct number of
columns is used when calculating the used width for scalable grid. The
spaces around the workspace are not final yet.

Bug: 191879424
Test: manual
Change-Id: Idc41ed004580f1f86d8f9595d005abc72301b1e3
2021-09-17 10:43:42 +01:00
Tracy Zhou 088ec093e5 Merge "Stash the bar after settling in Overview" into sc-v2-dev 2021-09-16 23:15:53 +00:00
Brian Isganitis a682cda639 Merge "Add CONTAINER_WALLPAPERS for storing wallpaper info." into sc-v2-dev 2021-09-16 19:37:48 +00:00
TreeHugger Robot b691132252 Merge "[Search] Apply background to entire SearchInput view instead of just EditText" into sc-v2-dev am: 7b5aedc72d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806806

Change-Id: I70143e78709308999a39e7b7c8cc9bf9d3229a1d
2021-09-16 17:13:03 +00:00
TreeHugger Robot a53e01e42d Merge "Scroll AllApps to top when new padding is set." into sc-v2-dev am: 460e2c4299
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779369

Change-Id: Ie940e57330209524bcff2a105054ca5dc3fdea7d
2021-09-16 17:12:56 +00:00
TreeHugger Robot 7b5aedc72d Merge "[Search] Apply background to entire SearchInput view instead of just EditText" into sc-v2-dev 2021-09-16 17:11:52 +00:00
TreeHugger Robot 460e2c4299 Merge "Scroll AllApps to top when new padding is set." into sc-v2-dev 2021-09-16 17:01:22 +00:00
András Klöczl 2fffff7ad7 Merge "Add logging to catch rare launcher wipe issue" into sc-v2-dev am: 25e84690b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15839769

Change-Id: Ifb26c8168e31336f4591cfcbde66c5376b69dafc
2021-09-16 16:46:16 +00:00
András Klöczl 25e84690b3 Merge "Add logging to catch rare launcher wipe issue" into sc-v2-dev 2021-09-16 16:29:11 +00:00
Andras Kloczl 971da6c3aa Add logging to catch rare launcher wipe issue
Test: not necessary
Bug: 200010396
Change-Id: If7c478e220c2c0ee9f6479b18bf05bf39811b451
2021-09-16 17:26:04 +01:00
Tracy Zhou 308851d866 Stash the bar after settling in Overview
Test: https://recall.googleplex.com/projects/81822932-8526-4ee7-b5f7-4ef6d6603f1d/sessions/f0f7a3db-76b6-4f60-87e8-8918bd6cf180
Bug: 193938970
Change-Id: Ic08d3156f5c78a34f353783b760d5cf098e442e8
2021-09-16 00:06:47 -07:00
TreeHugger Robot f337e43c50 Merge "Removing unused tracing" into sc-v2-dev am: d8bbdce598
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806953

Change-Id: I03459327042c35a5fc81eaea72cd30b9175ae645
2021-09-16 05:13:35 +00:00
TreeHugger Robot d8bbdce598 Merge "Removing unused tracing" into sc-v2-dev 2021-09-16 04:59:38 +00:00
TreeHugger Robot b39c4e28e6 Merge changes from topic "launcher-loading" into sc-v2-dev am: ca1ee7a161
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616248

Change-Id: Iba1ebff3227fbfcbc93f86e01eb08bf30de98cc8
2021-09-16 04:36:02 +00:00
TreeHugger Robot ca1ee7a161 Merge changes from topic "launcher-loading" into sc-v2-dev
* changes:
  Improve workspace loading times.
  Add tracing to help in launcher load time profiling.
2021-09-16 04:24:23 +00:00
Schneider Victor-tulias b988ab77cb Improve workspace loading times.
Updated loadWorkspace to load all required icons in a series of bulk sql queries. This reduces the cost of SQL lookups (up to two lookups per user, rather than one lookup per icon)

Bug: 195674813
Test: Added all icons to workspace, added duplicate icons, added icons for same component name from different users

Change-Id: I56afaa04e7c7701f0d3c86b31c53f578dfa73fe6
2021-09-15 17:09:06 -07:00
Schneider Victor-tulias 927d6dcc6c Add tracing to help in launcher load time profiling.
Bug: 195674813
Test: None
Change-Id: I895a64bbba515ce7b7df8d093d40e0a5b6056d2e
2021-09-15 17:08:53 -07:00
Vinit Nayak 0548473a82 Show all TaskViews when doing seamless overview rotation am: 6434f8eae5 am: 104ed0b9a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849

Change-Id: I11364103c60986e3a8e8f6aa6bfc487b061914f9
2021-09-15 23:51:11 +00:00
Vinit Nayak e628b82b89 Show all TaskViews when doing seamless overview rotation am: 6434f8eae5 am: ddd5a6ec3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849

Change-Id: Ibfd55da6b502b6e7bff9f840659327f70b5dcf35
2021-09-15 23:50:50 +00:00
Vinit Nayak 104ed0b9a8 Show all TaskViews when doing seamless overview rotation am: 6434f8eae5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849

Change-Id: Id57edd739e61c9703449058f439c0526b6ef2e8c
2021-09-15 23:39:22 +00:00
Vinit Nayak ddd5a6ec3c Show all TaskViews when doing seamless overview rotation am: 6434f8eae5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849

Change-Id: Ia3c470af6bcd42d20e692589ddd9b52c54d18199
2021-09-15 23:39:20 +00:00
Samuel Fufa 2397d60074 Scroll AllApps to top when new padding is set.
Bug: 198212488
Test: presubmit
Change-Id: I084939e3c7685531c56b1478887fd872e0e101e9
2021-09-15 14:40:39 -07:00
TreeHugger Robot d2280210f4 Merge "Removing unused tracing" into sc-v2-dev am: da76a1defd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15826736

Change-Id: I3007d67a31695ad005549cc37a8a0086054b53d7
2021-09-15 20:44:13 +00:00
TreeHugger Robot da76a1defd Merge "Removing unused tracing" into sc-v2-dev 2021-09-15 20:26:49 +00:00
Vinit Nayak 6434f8eae5 Show all TaskViews when doing seamless overview rotation
* If user is scrolling and rotates overview in fake
landscape, we wouldn't change the alpha to show if it
was hidden previously.
Now we only skip changing the alpha if it's already visible.

Bug: 194715506
Test: Scroll overview in fake landscape and rotate.
No more invisible task.

Change-Id: Idb519125fbb5ec7be33e0d7b6dd313fb4df684db
2021-09-15 19:17:54 +00:00
Brian Isganitis d1e1124649 [automerger skipped] Enable widgets in launcher preview flag am: 21faa2a3de -s ours am: 52715bed68 -s ours
am skip reason: Merged-In I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527 with SHA-1 1ce4353359 is already in history

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

Change-Id: Iccc2533b3fbc924cf7ea62958eb263fbf1954643
2021-09-15 19:15:58 +00:00
Brian Isganitis e2ec047df4 [automerger skipped] Load widgets in wallpaper app launcher preview am: 62a6271d9c -s ours am: 45a72645bb -s ours
am skip reason: Merged-In I38569d2ff0b64ba55eb188afa42fba4100aae7ff with SHA-1 c79d577f18 is already in history

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

Change-Id: If5ef3765cf95740fbddc6824f655430bfa1d6694
2021-09-15 19:15:57 +00:00
Sunny Goyal 7dee9db5ea [automerger skipped] Fixing widget not laid-out properly in preview am: 828154a2b2 -s ours am: 093b864631 -s ours
am skip reason: Merged-In Ib1ec8a53e4701f6813813b86bf481b837127a909 with SHA-1 5d5085c5c3 is already in history

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

Change-Id: Ia600b5c667ed9e440fa857ad0c9c0b138ff3d695
2021-09-15 19:15:57 +00:00
Brian Isganitis 082a3dccc4 [automerger skipped] Add flag for widgets in Launcher preview am: d1d6713700 -s ours am: 2a616a9bbd -s ours
am skip reason: Merged-In I74063d0ef29f828f740633ce0dab860672f69d3d with SHA-1 2b81fec450 is already in history

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

Change-Id: I3b4e2fd836d77785fcbbf51644315f1e06a1a67b
2021-09-15 19:15:56 +00:00
Brian Isganitis 3ec7182582 [automerger skipped] Enable widgets in launcher preview flag am: 21faa2a3de am: 23e8fd30cd -s ours
am skip reason: Merged-In I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527 with SHA-1 1ce4353359 is already in history

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

Change-Id: I338219558b0144227a5a8f3126a2112b484cd71a
2021-09-15 19:15:37 +00:00
Brian Isganitis 1f3ccfc4b3 [automerger skipped] Load widgets in wallpaper app launcher preview am: 62a6271d9c am: 57982bd25d -s ours
am skip reason: Merged-In I38569d2ff0b64ba55eb188afa42fba4100aae7ff with SHA-1 c79d577f18 is already in history

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

Change-Id: I8af559d104c1da133e61a2add120d441d6f55c89
2021-09-15 19:15:36 +00:00
Sunny Goyal 28ec0aec81 [automerger skipped] Fixing widget not laid-out properly in preview am: 828154a2b2 am: 45d3c5f1e1 -s ours
am skip reason: Merged-In Ib1ec8a53e4701f6813813b86bf481b837127a909 with SHA-1 5d5085c5c3 is already in history

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

Change-Id: I02a51ce6f315ff91b91ddbec4c32e7d683088781
2021-09-15 19:15:35 +00:00
Brian Isganitis 57cc598160 [automerger skipped] Add flag for widgets in Launcher preview am: d1d6713700 am: 9eb2171cac -s ours
am skip reason: Merged-In I74063d0ef29f828f740633ce0dab860672f69d3d with SHA-1 2b81fec450 is already in history

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

Change-Id: I9006ee3677609a930dc75aeec56e3be698ad8f00
2021-09-15 19:15:34 +00:00
Brian Isganitis 23e8fd30cd Enable widgets in launcher preview flag am: 21faa2a3de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15822859

Change-Id: I255509bc1b4399c75b794a11e99cf0651f5ee4f7
2021-09-15 19:04:53 +00:00
Brian Isganitis 57982bd25d Load widgets in wallpaper app launcher preview am: 62a6271d9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829075

Change-Id: I4bbdbd0428ae6f9ca40e3bd5a6b72052de76f732
2021-09-15 19:04:53 +00:00
Sunny Goyal 45d3c5f1e1 Fixing widget not laid-out properly in preview am: 828154a2b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829074

Change-Id: I553d6c850864041ccfa1c69062beb1fa0d44b887
2021-09-15 19:04:52 +00:00