Commit Graph

47938 Commits

Author SHA1 Message Date
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
Android Build Coastguard Worker 038a1a4d0c Snap for 7739396 from 7b5aedc72d to sc-v2-release
Change-Id: I23b61ac007bcb7ad7c486c6bcdd10af5506cf153
2021-09-16 23:09:28 +00:00
Schneider Victor-tulias 68fb416b1a Allow icon add animations when user touches the screen.
Fixes: 199483081
Test: manual, repeatedly tapped screen until and while app icon was added, repeatedly changed pages until and while app icon was added
Change-Id: I286b52527dfe6e5bfdfedbbbf1eed72061fb5599
2021-09-16 13:24:01 -07: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 6d20c75209 Merge "[Search] Apply background to entire SearchInput view instead of just EditText" into sc-v2-dev am: 7b5aedc72d am: b691132252
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806806

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

Change-Id: I1244f3cec5d693a2493c35cb3fc16a5d6ecceb46
2021-09-16 17:25:51 +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
András Klöczl a635b03120 Merge "Add logging to catch rare launcher wipe issue" into sc-v2-dev am: 25e84690b3 am: 2fffff7ad7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15839769

Change-Id: Ibace54d3e846bebf515e9ae9f5874477e50da19d
2021-09-16 17:03:16 +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 f958f8aa65 Merge "Removing unused tracing" into sc-v2-dev am: d8bbdce598 am: f337e43c50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806953

Change-Id: Ic06020a615a96040de04be8b98dd5cc43470879f
2021-09-16 05:25:42 +00: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 b4d682ab87 Merge changes from topic "launcher-loading" into sc-v2-dev am: ca1ee7a161 am: b39c4e28e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616248

Change-Id: Iac502320cec13689ba1fbb372f4869960020c857
2021-09-16 04:49:49 +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
synch 4ca16e1bb1 extract text conversions from composing text and send them for search
Bug: 196294479
Test: manually
Change-Id: Iba9f1097b6ab8ef1339979ca2a0b4e26cd07144c
2021-09-16 09:55:59 +08: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 6e4719693f Show all TaskViews when doing seamless overview rotation am: 6434f8eae5 am: 104ed0b9a8 am: 0548473a82
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849

Change-Id: Idcd3d8dc3d1b011b18acbb4411570fe417f6c020
2021-09-16 00:05:08 +00:00
Vinit Nayak 0169fa3f34 Show all TaskViews when doing seamless overview rotation am: 6434f8eae5 am: ddd5a6ec3c am: e628b82b89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849

Change-Id: I1452c39bb1e053c24ad60f5264fff63cbdfe1cc8
2021-09-16 00:04:48 +00: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
Android Build Coastguard Worker 62543556d3 Snap for 7736437 from da76a1defd to sc-v2-release
Change-Id: I27c1890e2eb3b65590469112e6580dd8a9878f2a
2021-09-15 23:09:05 +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 1b16b5ada6 Merge "Removing unused tracing" into sc-v2-dev am: da76a1defd am: d2280210f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15826736

Change-Id: If2c353af3a0a68913d0e42bd090e9441dc5e0242
2021-09-15 20:58:53 +00: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
Brian Isganitis 03a867eb92 [automerger skipped] Enable widgets in launcher preview flag am: 21faa2a3de -s ours am: 52715bed68 -s ours am: d1e1124649 -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: Ifd428c9c647f36bb0946d50b2b56fac778f2ac3c
2021-09-15 19:33:46 +00:00
Brian Isganitis 9cb3c8cb81 [automerger skipped] Load widgets in wallpaper app launcher preview am: 62a6271d9c -s ours am: 45a72645bb -s ours am: e2ec047df4 -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: Ie7e149c5668355db0d760406a80a7b2bdb7b79f9
2021-09-15 19:33:45 +00:00
Sunny Goyal 550b38dd59 [automerger skipped] Fixing widget not laid-out properly in preview am: 828154a2b2 -s ours am: 093b864631 -s ours am: 7dee9db5ea -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: I13a9578dab8a754182b409bc2dd32501c29d5a20
2021-09-15 19:33:44 +00:00
Brian Isganitis 4d7506b9f6 [automerger skipped] Add flag for widgets in Launcher preview am: d1d6713700 -s ours am: 2a616a9bbd -s ours am: 082a3dccc4 -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: Ia7f9c6e01eb556c9122064a2276f494b318db637
2021-09-15 19:33:44 +00:00
Brian Isganitis e464276d06 [automerger skipped] Enable widgets in launcher preview flag am: 21faa2a3de am: 23e8fd30cd -s ours am: 3ec7182582 -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: Id1e1f3e018fa9c981ef3b5583e51d24176a33194
2021-09-15 19:33:29 +00:00
Brian Isganitis 7421c3407d [automerger skipped] Load widgets in wallpaper app launcher preview am: 62a6271d9c am: 57982bd25d -s ours am: 1f3ccfc4b3 -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: I9c3502b3a17bd03753c3951a78401ce7ab0a6c56
2021-09-15 19:33:28 +00:00
Sunny Goyal fa86f3311a [automerger skipped] Fixing widget not laid-out properly in preview am: 828154a2b2 am: 45d3c5f1e1 -s ours am: 28ec0aec81 -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: Iabd1824239d8cc7cd752ec9649e961ef487f99da
2021-09-15 19:33:27 +00:00
Brian Isganitis 061a5cabd4 [automerger skipped] Add flag for widgets in Launcher preview am: d1d6713700 am: 9eb2171cac -s ours am: 57cc598160 -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: I28c7d427b095816a5e61ea9a3daf8357d706e49b
2021-09-15 19:33:26 +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