Commit Graph

33301 Commits

Author SHA1 Message Date
TreeHugger Robot 6e9faa913a Merge "Increasing wait time for end-action events." into ub-launcher3-master 2020-07-15 23:01:15 +00:00
vadimt ba161b7393 Increasing wait time for end-action events.
This is supposed to fix a flake in one of widgets tests.

The end-scroll event is posted by the system server to another thread
may arrive in ~13 sec.

The delay may have been caused by the previous test that just created
and deleted a user, so the system is busy with processing that.

Bug: 160238801
Change-Id: I43d0804252202ae04c731f35fb219c4be4bd4a76
2020-07-15 22:26:51 +00:00
Becky Qiu 928a421b99 Merging from ub-launcher3-master @ build 6682763
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6682763.html

Change-Id: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-15 20:50:57 +00:00
Jon Miranda f06e1b8b93 Calculate all apps cell height based on actual sizes.
This ensures that the cell contents always fit.

Bug: 160716074
Change-Id: I3d85adec3e7e3652fe4a258bd659382a3e696211
Merged-In: I3d85adec3e7e3652fe4a258bd659382a3e696211
(cherry picked from commit 3535944395)
2020-07-15 20:43:28 +00:00
Jon Miranda c5a9ae5500 Calculate all apps cell height based on actual sizes.
This ensures that the cell contents always fit.

Bug: 160716074
Change-Id: I3d85adec3e7e3652fe4a258bd659382a3e696211
(cherry picked from commit 3535944395)
2020-07-15 20:35:57 +00:00
Sunny Goyal 428f9c447e [automerger skipped] Fixing swiping up on home interrupting animation am: d481c5c58c am: c3771e64d9 -s ours am: f0b6e2a6da -s ours am: 90e4d6a0f0 -s ours
am skip reason: Change-Id Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8 with SHA-1 d481c5c58c is in history

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

Change-Id: I8f722697704645dfe5d937b7b9119309bc8cc7fa
2020-07-15 20:31:58 +00:00
Automerger Merge Worker 966f705786 [automerger skipped] Merge "Fixing swiping up on home interrupting animation am: d481c5c58c am: 8d7fdfdd47 am: d3f1736119" into rvc-qpr-dev-plus-aosp am: 21574fa834 -s ours
am skip reason: Change-Id Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8 with SHA-1 d481c5c58c is in history

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

Change-Id: I42b6ff63f43f5876958af090f2e454543b525839
2020-07-15 20:31:49 +00:00
Sunny Goyal 520584f4b3 [automerger skipped] Fixing swiping up on home interrupting animation am: d481c5c58c am: 8d7fdfdd47 am: 6999bae7af am: d83fb8e2c0 -s ours
am skip reason: Change-Id Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8 with SHA-1 cf6bae49a3 is in history

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

Change-Id: I6ff5af4e2ff8d56ec89d00c323428cfc0b7b5214
2020-07-15 20:31:43 +00:00
Automerger Merge Worker e9194b8d73 Merge "Merge "Improve grid preview performance" into rvc-d1-dev am: 8951db2d23 am: 39d900553a" into rvc-qpr-dev-plus-aosp am: 3dfb3dca2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160681

Change-Id: I4f5b917d7020a3ff09df391b3473452c4eeaa42c
2020-07-15 20:31:34 +00:00
Tracy Zhou 4a4a3d821e Merge "Improve grid preview performance" into rvc-d1-dev am: 8951db2d23 am: 3f6c895186 am: 70daac0ccf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160681

Change-Id: I1b7d699e39cbc981550657add53c9b49560c477f
2020-07-15 20:31:15 +00:00
Sunny Goyal 90e4d6a0f0 [automerger skipped] Fixing swiping up on home interrupting animation am: d481c5c58c am: c3771e64d9 -s ours am: f0b6e2a6da -s ours
am skip reason: Change-Id Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8 with SHA-1 d481c5c58c is in history

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

Change-Id: I19969bf8c7eefe0d7e41dfd9dc47d1b7db7378ce
2020-07-15 20:13:35 +00:00
Automerger Merge Worker 21574fa834 Merge "Fixing swiping up on home interrupting animation am: d481c5c58c am: 8d7fdfdd47 am: d3f1736119" into rvc-qpr-dev-plus-aosp 2020-07-15 20:13:16 +00:00
Sunny Goyal f0b6e2a6da [automerger skipped] Fixing swiping up on home interrupting animation am: d481c5c58c am: c3771e64d9 -s ours
am skip reason: Change-Id Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8 with SHA-1 d481c5c58c is in history

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

Change-Id: Iac5aeeb2ac11e46e522dfc1f509978808a1a5c46
2020-07-15 20:13:10 +00:00
Sunny Goyal d83fb8e2c0 Fixing swiping up on home interrupting animation am: d481c5c58c am: 8d7fdfdd47 am: 6999bae7af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152002

Change-Id: I2c1f4875d648a7c5f9021d0a9419322f0dd46015
2020-07-15 20:13:01 +00:00
Sunny Goyal e00fd2b0c4 Fixing swiping up on home interrupting animation am: d481c5c58c am: 8d7fdfdd47 am: d3f1736119
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152002

Change-Id: I72d95733a1f8810249d8ccc00cf89a466c87f50d
2020-07-15 20:12:38 +00:00
Automerger Merge Worker 3dfb3dca2b Merge "Merge "Improve grid preview performance" into rvc-d1-dev am: 8951db2d23 am: 39d900553a" into rvc-qpr-dev-plus-aosp 2020-07-15 20:12:35 +00:00
Tracy Zhou 900d7b3316 Merge "Improve grid preview performance" into rvc-d1-dev am: 8951db2d23 am: 39d900553a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160681

Change-Id: Id8b4ee70e7ddc490b984c6fa9b363423e4e69047
2020-07-15 20:12:26 +00:00
Tracy Zhou 70daac0ccf Merge "Improve grid preview performance" into rvc-d1-dev am: 8951db2d23 am: 3f6c895186
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160681

Change-Id: I0ed26ba0563adbda3bd00cb411984fc8887d89bd
2020-07-15 20:12:23 +00:00
Sunny Goyal 6999bae7af Fixing swiping up on home interrupting animation am: d481c5c58c am: 8d7fdfdd47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152002

Change-Id: I894bc770e300539f1e158d18513c55cebf7ec9c3
2020-07-15 19:56:58 +00:00
Sunny Goyal d3f1736119 Fixing swiping up on home interrupting animation am: d481c5c58c am: 8d7fdfdd47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152002

Change-Id: Ie64f58e81a7b08756da10345983f268cb8edc676
2020-07-15 19:56:47 +00:00
Sunny Goyal ae9c7a6763 Fixing swiping up on home interrupting animation am: d481c5c58c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152002

Change-Id: Ic2d874736c23106dc7b0fb5fd7d0f01e0cf693f7
2020-07-15 19:56:40 +00:00
Tracy Zhou 3f6c895186 Merge "Improve grid preview performance" into rvc-d1-dev am: 8951db2d23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160681

Change-Id: I07b09882d4045048bdd03fb4bf6c4fa2cba58456
2020-07-15 19:56:23 +00:00
Sunny Goyal c3771e64d9 Fixing swiping up on home interrupting animation am: d481c5c58c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152002

Change-Id: I62a4e0cb58d2159730295129724b05cbfdc11af4
2020-07-15 19:56:21 +00:00
Tracy Zhou 39d900553a Merge "Improve grid preview performance" into rvc-d1-dev am: 8951db2d23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12160681

Change-Id: I54d534beee7cf9edea250198978656315a7a4444
2020-07-15 19:56:21 +00:00
Sunny Goyal 8d7fdfdd47 Fixing swiping up on home interrupting animation am: d481c5c58c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152002

Change-Id: Ia90054074ebd6c2bdf06f0971345678a26985e7b
2020-07-15 19:56:19 +00:00
Tracy Zhou 2c0cdfb100 Improve grid preview performance am: b023873bc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153148

Change-Id: Ia849496c109fc3286e2a8ec1d2fcb8f4e0c0714c
2020-07-15 19:56:14 +00:00
Sreyas 68330a93fa Disabling overview actions when thumbnail is not loaded.
Bug: 160331177
Change-Id: I05eaec7d6f2e3f2ba71d8148a4e97dcf5a1522c6
2020-07-15 19:46:09 +00:00
Tracy Zhou 8951db2d23 Merge "Improve grid preview performance" into rvc-d1-dev 2020-07-15 19:38:01 +00:00
Sunny Goyal 5412f0f8f7 [automerger skipped] Import translations. DO NOT MERGE am: 6d6dca6d39 -s ours am: 5416c5105e -s ours am: 2a71ebaaf2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2285512fb3c4d247155f02201cb9b04cdf9b2db5
2020-07-15 19:23:51 +00:00
Sunny Goyal 9168aee9c5 [automerger skipped] Import translations. DO NOT MERGE am: 6d6dca6d39 -s ours am: aab240dded -s ours am: 23bccb5584 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I51a9fb3a552cb92f3f92677589d75770050a8548
2020-07-15 19:23:41 +00:00
Sunny Goyal 2a71ebaaf2 [automerger skipped] Import translations. DO NOT MERGE am: 6d6dca6d39 -s ours am: 5416c5105e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I480726350a3a70e3027f5262d060ead6159eb9b4
2020-07-15 19:01:04 +00:00
Sunny Goyal 23bccb5584 [automerger skipped] Import translations. DO NOT MERGE am: 6d6dca6d39 -s ours am: aab240dded -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic14fe79bada09465c8826dfa1223a01d94b25bf1
2020-07-15 19:00:49 +00:00
Sunny Goyal 5416c5105e [automerger skipped] Import translations. DO NOT MERGE am: 6d6dca6d39 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5fcedee27bccd48bae211e4d492464912cff12a1
2020-07-15 18:43:00 +00:00
Sunny Goyal aab240dded [automerger skipped] Import translations. DO NOT MERGE am: 6d6dca6d39 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iea3f7bf7a88a65e7011d7710c2f003be4c5656b4
2020-07-15 18:42:45 +00:00
Tracy Zhou 92628f5305 Improve grid preview performance
After breaking down the time we spend in rendering preview under a different grid setting, I found out that we spend a huge amount of time loading the workspace. It takes a long time in non preview case (launcher workspace init), so to optimize we should try to cut down things that are not necessary for preview. Widget model loading (widget and shortcut updates) takes half of the time, and can be optimized with minimal risks / code changes.

Bug: 160662425
Test: Manual

Change-Id: I89029d0ddf6e2517077a0ba3fbbcfdcd60b268d9
2020-07-15 17:09:57 +00:00
Sunny Goyal d481c5c58c Fixing swiping up on home interrupting animation
Bug: 161180005
Change-Id: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
Merged-In: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
(cherry picked from commit 93188d61da)
2020-07-15 07:11:30 +00:00
Tracy Zhou b023873bc3 Improve grid preview performance
After breaking down the time we spend in rendering preview under a different grid setting, I found out that we spend a huge amount of time loading the workspace. It takes a long time in non preview case (launcher workspace init), so to optimize we should try to cut down things that are not necessary for preview. Widget model loading (widget and shortcut updates) takes half of the time, and can be optimized with minimal risks / code changes.

Bug: 160662425
Test: Manual

Change-Id: I89029d0ddf6e2517077a0ba3fbbcfdcd60b268d9
2020-07-14 23:30:03 +00:00
vadimt 40c9cfa3c8 Productizing useful diags
The bug doesn't repro, but it makes sense to keep the diags

Bug: 156287114
Change-Id: I4a9f43e02eec1b1386067a90e4c17ad109adcfa5
2020-07-14 15:53:32 -07:00
Jon Miranda ee0ebe6875 Calculate all apps cell height based on actual sizes.
This ensures that the cell contents always fit.

Bug: 160716074
Change-Id: I3d85adec3e7e3652fe4a258bd659382a3e696211
(cherry picked from commit 3535944395)
2020-07-14 22:13:41 +00:00
Sunny Goyal 6d6dca6d39 Import translations. DO NOT MERGE
Force snapping translations from unbundled branch
Bug: 159176821

Test: N/A
Change-Id: I2406edf7eef6aa683f99b2b5f897d16b8968a28d
2020-07-14 22:04:42 +00:00
Sunny Goyal cf6bae49a3 Fixing swiping up on home interrupting animation
Bug: 161180005
Change-Id: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
(cherry picked from commit 93188d61da)
2020-07-14 22:00:04 +00:00
Sunny Goyal 75bf867d96 Fixing swiping up on home interrupting animation am: 369501d8aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152001

Change-Id: I7dc92aae75718c5460a2a2981880b536339f39d9
2020-07-14 19:57:54 +00:00
Sunny Goyal 369501d8aa Fixing swiping up on home interrupting animation
Bug: 161180005
Change-Id: Ida59b87b2fb5905d98b0090630a6ce32fc9c36c8
(cherry picked from commit 93188d61da)
2020-07-14 19:07:51 +00:00
TreeHugger Robot 30f156ad82 Merge "Removing a method that simply returns false" into ub-launcher3-master 2020-07-14 17:41:20 +00:00
TreeHugger Robot 171b2ae917 Merge "Focuses on folder container for Accessibility when no contents to focus on." into ub-launcher3-rvc-qpr-dev am: 4c7ced91c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12146163

Change-Id: I7f2e6121a735b2c356958a74cdd9d2daa625f174
2020-07-14 16:56:14 +00:00
TreeHugger Robot 4c7ced91c0 Merge "Focuses on folder container for Accessibility when no contents to focus on." into ub-launcher3-rvc-qpr-dev 2020-07-14 16:41:25 +00:00
Sunny Goyal 9fbc80da6a Merge "Fixing swiping up on home interrupting animation" into ub-launcher3-rvc-qpr-dev am: ec78aef4fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12144100

Change-Id: If9f4248235d42be8d829d0837227202a0e30edc5
2020-07-14 16:19:12 +00:00
Sunny Goyal ec78aef4fc Merge "Fixing swiping up on home interrupting animation" into ub-launcher3-rvc-qpr-dev 2020-07-14 16:01:43 +00:00
Tracy Zhou 0ca024d259 Merge "Place launcher above the target app in live tile mode" into ub-launcher3-master 2020-07-14 05:35:28 +00:00
Andy Wickham f865551ff0 Focuses on folder container for Accessibility when no contents to focus on.
This happens when you drag an app into a folder when the current page is
already full. The new page has no apps in it until you drop the one you
want to add.

Fixes: 161040039
Change-Id: Iaa857e7a114e859fa7e6a0653028856a3a8a94a6
2020-07-13 20:56:38 -07:00