Commit Graph

33301 Commits

Author SHA1 Message Date
Tony Wickham c182bb92eb [automerger skipped] [DO NOT MERGE] Make overview to home translate faster am: 0a22d107f6 am: 7750412cc2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I726914c0414cffb3d18a5a623134e115bb804d24
2020-09-25 05:46:07 +00:00
TreeHugger Robot b3ab1189d2 Merge "[DO NOT MERGE] Make overview to home translate faster" into rvc-qpr-dev am: fd2f276d4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12687842

Change-Id: I56abeae5adec79a1c7bdad1a261f0f62c055cf2e
2020-09-25 05:29:15 +00:00
Tony Wickham 7750412cc2 [DO NOT MERGE] Make overview to home translate faster am: 0a22d107f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12687842

Change-Id: Ib336340eb97ae11a469ea36a689e3b3feff00aff
2020-09-25 05:29:14 +00:00
Tracy Zhou a13715bb93 [Live Tile] Switch to screenshot when any task menu option is selected
- App info
- Split screen
- Pause app

Fixes: 169385194
Test: Manual
Change-Id: I7df8ac7dd89c8c7ae75d8e2e4207cd32ca7b10ea
2020-09-24 22:21:42 -07:00
Hyunyoung Song e6477328aa [DO NOT MERGE] Add component name to launcher home and overview gestures
Bug: 168805198

Change-Id: Idcc7d00b0f23c2a0f9be6f0ab2600278e18cc1a3
2020-09-24 22:10:54 -07:00
TreeHugger Robot 34fbea6f26 Merge "Make SPAN_MULTIPLIER public Bug: 169294860" into ub-launcher3-master 2020-09-25 03:59:56 +00:00
Hyunyoung Song ec7b1ee73b Make SPAN_MULTIPLIER public
Bug: 169294860

Change-Id: I6c32689c390de38f230cff4062889dd560afe6c3
2020-09-24 20:23:06 -07:00
TreeHugger Robot c50fa7a4fa Merge "Remove legacy involveSplitScreen API" 2020-09-25 01:44:10 +00:00
TreeHugger Robot fd2f276d4e Merge "[DO NOT MERGE] Make overview to home translate faster" into rvc-qpr-dev 2020-09-24 22:45:02 +00:00
Samuel Fufa 35879a3fdb Merge "Support Remote actions" into ub-launcher3-master 2020-09-24 22:31:08 +00:00
Samuel Fufa 02be2a43f5 Support Remote actions
Bug: 168846477
Test: Manual
Change-Id: I7b9dc96bc7a8ccb25ccb4b7135880768256f1ef3
2020-09-24 14:28:49 -07:00
Tony Wickham 3e1684fc33 [automerger skipped] [DO NOT MERGE] Remove CurveProperties#pageParentScale am: a5dae88b71 am: 3676989b75 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I78628b9933c1f34def6b60cf0fc661f32d7c85c1
2020-09-24 20:41:21 +00:00
Tony Wickham 3676989b75 [DO NOT MERGE] Remove CurveProperties#pageParentScale am: a5dae88b71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12687026

Change-Id: Ic5c2cbbe95d374ea1b3d2824389b8edc457b22d9
2020-09-24 20:26:47 +00:00
Tony Wickham 011452a4ce [automerger skipped] Make overview to home translate faster am: 47644d209c -s ours
am skip reason: Change-Id Ia6f21f479498927a5561819fcc256b698acbd095 with SHA-1 a85fa09885 is in history

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

Change-Id: I1412a610f5c75552f633ce76d1f124891a800443
2020-09-24 20:26:10 +00:00
TreeHugger Robot b2507acec9 Merge "Adds ability to use LauncherPreviewRenderer in Sandbox." into ub-launcher3-master 2020-09-24 20:09:32 +00:00
TreeHugger Robot 8aade720b2 Merge "Make overview to home translate faster" into ub-launcher3-master 2020-09-24 19:38:03 +00:00
Tony Wickham 0a22d107f6 [DO NOT MERGE] Make overview to home translate faster
Fixes: 169052350
Change-Id: Ia6f21f479498927a5561819fcc256b698acbd095
2020-09-24 19:14:56 +00:00
Tony Wickham 47644d209c Make overview to home translate faster
Fixes: 169052350
Change-Id: Ia6f21f479498927a5561819fcc256b698acbd095
Merged-In: Ia6f21f479498927a5561819fcc256b698acbd095
2020-09-24 19:14:07 +00:00
Tracy Zhou a6a0ec986d Merge " [Live tile] Use OverviewInputConsumer in live tile mode" into ub-launcher3-master 2020-09-24 18:13:43 +00:00
TreeHugger Robot 89008ef5e8 [automerger skipped] Merge "Remove CurveProperties#pageParentScale" into ub-launcher3-rvc-qpr-dev am: 3e4a8f5131 -s ours
am skip reason: Change-Id Ib3cfba6ebafbcb90de9c6b1ab79f53605d995321 with SHA-1 69f9cae810 is in history

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

Change-Id: I3860206e6f63bfce346e0fe70865a7149528942e
2020-09-24 17:44:56 +00:00
Tony Wickham a5dae88b71 [DO NOT MERGE] Remove CurveProperties#pageParentScale
Test: Set TaskView#EDGE_SCALE_DOWN_FACTOR = 0.2f, then swipe
down on the centermost TaskView; ensure it fills the screen.
Alternatively, touch and hold the nav bar and ensure there is
no jump in scale on the app window.

Fixes: 169259407
Change-Id: Ib3cfba6ebafbcb90de9c6b1ab79f53605d995321
(cherry picked from commit 82ff64530e)
2020-09-24 17:31:31 +00:00
TreeHugger Robot 3e4a8f5131 Merge "Remove CurveProperties#pageParentScale" into ub-launcher3-rvc-qpr-dev 2020-09-24 17:29:59 +00:00
Winson Chung a6901eb32a Merge "Remove test restrictions" into ub-launcher3-master 2020-09-24 17:25:01 +00:00
Tony Wickham 82ff64530e Remove CurveProperties#pageParentScale
Test: Set TaskView#EDGE_SCALE_DOWN_FACTOR = 0.2f, then swipe
down on the centermost TaskView; ensure it fills the screen.
Alternatively, touch and hold the nav bar and ensure there is
no jump in scale on the app window.

Fixes: 169259407
Change-Id: Ib3cfba6ebafbcb90de9c6b1ab79f53605d995321
Merged-In: Ib3cfba6ebafbcb90de9c6b1ab79f53605d995321
2020-09-24 17:17:51 +00:00
Tracy Zhou a7ddfc0722 [Live tile] Use OverviewInputConsumer in live tile mode
Fixes: 169285206
Test: fling the home handle in Overview to go home
Change-Id: I41eae8a5120857b653a8b261a03cd5f83f99e6bb
2020-09-23 19:40:14 -07:00
Sunny Goyal 9a2d268675 [automerger skipped] [DO NOT MERGE] Snapshot strings from ub-branch to platform am: 41874d1e02 am: 4e11919d4b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8ed42aa92ae08dc9ed8ec927b11ecea9fd553291
2020-09-24 02:31:57 +00:00
Sunny Goyal 4e11919d4b [DO NOT MERGE] Snapshot strings from ub-branch to platform am: 41874d1e02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12675352

Change-Id: I86c5dbdc61939b897cb03ebc9cdce80f8c946fce
2020-09-24 02:12:16 +00:00
Tony Wickham 69f9cae810 Remove CurveProperties#pageParentScale
Test: Set TaskView#EDGE_SCALE_DOWN_FACTOR = 0.2f, then swipe
down on the centermost TaskView; ensure it fills the screen.
Alternatively, touch and hold the nav bar and ensure there is
no jump in scale on the app window.

Fixes: 169259407
Change-Id: Ib3cfba6ebafbcb90de9c6b1ab79f53605d995321
2020-09-23 17:39:07 -07:00
Sreyas ceb1724376 Removing OAV HIDDEN_GESTURE_RUNNING flag.
Overview was being hidden when gesture was running, this is unnecessary as other hidden flags cover all the use cases.
Bug: 168565347

Change-Id: Ieab36783fccc0088f9cdbe0768a93c5c46b23def
2020-09-23 16:37:13 -07:00
Jonathan Miranda 006d2a3d6d Merge "Remove widgets that no longer fit the workspace in their current spans." into ub-launcher3-master 2020-09-23 22:41:28 +00:00
Winson Chung 30cd4dca5f Remove test restrictions
Bug: 150303529
Change-Id: I1cfbd2bfb26fc47ee0bfb54dd174cd59ae0bfc5e
2020-09-23 15:33:32 -07:00
Sunny Goyal 41874d1e02 [DO NOT MERGE] Snapshot strings from ub-branch to platform
Bug: 159176821
Change-Id: Ia079de403bed5ee7501a2d70f40989dcfafbddc7
2020-09-23 14:51:35 -07:00
Schneider Victor-tulias 350b462f24 Animate icon update from loading state.
Test: manual

Fixing b/129983531. Having app icons pop in without any animation from a solid placeholder color can look janky. Added a sequential fade in, fade out animation.

Preview: https://drive.google.com/file/d/11NgEja7vzm3f3aH3WbEQljUWGKuuK00_/view?usp=sharing
Change-Id: If77e8f480b02d5b7d29f89afa44450c83a68a276
2020-09-23 14:08:15 -07:00
Jon Miranda bf6e8ffbf0 Remove widgets that no longer fit the workspace in their current spans.
This can happen when display size changes.
We compare span sizes of widget in the db to the min sizes of the widget
in the current display size. If the widget can no longer fit in its existing
spans, we remove it.

Bug: 168818961
Change-Id: I6b095d2eeaeda95bfa91baec89cb54660695b60b
2020-09-23 12:15:43 -07:00
Tony Wickham a8e2ad2c1f Merge "Scale task view in TaskViewSimulator before translating it" into ub-launcher3-master 2020-09-23 18:52:33 +00:00
Winson Chung 9d15815f84 Merge "Revert "Disabling testToast on virtual devices"" into ub-launcher3-master 2020-09-23 18:15:44 +00:00
Samuel Fufa f01064953b Track search results with position and search Identifier
Bug: 169087008
Test: Manual
Change-Id: I54c74093b90e5aea03a7810f55fcc32f0ddf8dda
2020-09-23 01:04:26 -07:00
Samuel Fufa 2508239d1e Merge "Update hero app shortcuts with icon" into ub-launcher3-master 2020-09-23 06:36:56 +00:00
Samuel Fufa 99d6c2ff0d Update hero app shortcuts with icon
- set appropriate click handler for recycled app icons

Bug: 168810843
Bug: 168733655
Test: Manual
Change-Id: Ic644deb4ac6c7a1cb9a2c3b75f7e2ac86380a9d0
2020-09-22 22:48:49 -07:00
TreeHugger Robot 692aa79901 [automerger skipped] Merge "[DO NOT MERGE] Encode launch location for hotseat items" into ub-launcher3-rvc-qpr-dev am: 83cf9211e7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ife0dc4ddffc2b79baebcdc667018cf9b3ac96c34
2020-09-23 01:25:37 +00:00
TreeHugger Robot 83cf9211e7 Merge "[DO NOT MERGE] Encode launch location for hotseat items" into ub-launcher3-rvc-qpr-dev 2020-09-23 00:56:01 +00:00
Tony Wickham 657f396c9c Scale task view in TaskViewSimulator before translating it
The pivot is supposed to be at the center of the task view, hence why
we use width / 2, height / 2, but technically this is assuming that
translation == 0. This error isn't normally noticeable because scale
is 1 when the task is centered, so the pivot doesn't matter. By
scaling before translating, we ensure the pivot doesn't depend on
the translation.

Test: scroll side to side while swiping up from an app, ensure the
running window scales down properly; when you let go to enter recents
while the second task is centermost, the running window ends in the
exact position as the first TaskView that replaces it.

Fixes: 169103357
Change-Id: Ica53c6b6fb073304c29f26d30fb829bb9d282185
2020-09-22 17:33:46 -07:00
TreeHugger Robot e718381bef [automerger skipped] Merge "[DO NOT MERGE][NPE] check RecentsView exists before using it" into ub-launcher3-rvc-qpr-dev am: 79d78cf508 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9970104e26369badcb2fe89e7df28be471b97c40
2020-09-23 00:24:04 +00:00
TreeHugger Robot 79d78cf508 Merge "[DO NOT MERGE][NPE] check RecentsView exists before using it" into ub-launcher3-rvc-qpr-dev 2020-09-23 00:07:13 +00:00
Winson Chung 57df176df4 [automerger skipped] DO NOT MERGE Only check activity rotation allowed when considering menu layout am: f5e8ecda30 am: c1c005d16d -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia301e2f445c01d0d8e7e097b2022502b97e71ff9
2020-09-23 00:06:03 +00:00
Winson Chung c1c005d16d DO NOT MERGE Only check activity rotation allowed when considering menu layout am: f5e8ecda30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12661169

Change-Id: I7fdf782524b017230f28465ba329dd86db4f573d
2020-09-22 23:51:08 +00:00
Samuel Fufa 9b947993be [DO NOT MERGE] Encode launch location for hotseat items
Bug: 162003157
Test: Manual
Change-Id: I18f8f3f431dbabb3d22898d27d70c8730ad0150f
2020-09-22 16:46:49 -07:00
Samuel Fufa 407ff59272 [DO NOT MERGE][NPE] check RecentsView exists before using it
Bug: 162176024
Change-Id: I8fe2ed42836bd6645f600b223e81526840ead557
2020-09-22 16:44:52 -07:00
Winson Chung 649122edc0 Revert "Disabling testToast on virtual devices"
This reverts commit f6385576d5.

Reason for revert: Test

Change-Id: I9caec3b2d64995b31f3dbbf5cb2865f4e5941afe
2020-09-22 23:43:51 +00:00
TreeHugger Robot 33d0701048 Merge "Additional logs to resolve flaky work profile" into ub-launcher3-master 2020-09-22 20:32:46 +00:00