Commit Graph

31966 Commits

Author SHA1 Message Date
Tracy Zhou 352da01055 Merge "Revert "Revert "Finish recents animation upon home rotation""" into sc-dev am: 299de3f292
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14403573

Change-Id: Iffb669dcc795e18c2dadedf4fb323febc6c75558
2021-05-03 18:11:22 +00:00
Sunny Goyal f8b98482d4 Merge "Fixing nullPointer exception when wallpaper colors is null" into sc-dev am: ada0acd75c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14391145

Change-Id: I461076d67ff84e3c5eb4e6b2336117ced0994785
2021-05-03 18:11:08 +00:00
Zak Cohen 468925eab0 Merge "Overview - fade task icon instead of scaling it per new ux" into sc-dev am: 554cf58401
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14390332

Change-Id: Ie305ea8c94c501c0d5da93d827acc89a39f7ed8c
2021-05-03 18:10:52 +00:00
Cyrus Boadway 86bbb17931 Merge "Create return-to-home app widget animation" into sc-dev am: 92af1bfe5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14332408

Change-Id: Ibe132dd330b96a8455382fb2c1e2432027e3125c
2021-05-03 18:09:46 +00:00
Tracy Zhou 299de3f292 Merge "Revert "Revert "Finish recents animation upon home rotation""" into sc-dev 2021-05-03 18:08:37 +00:00
Tracy Zhou ef7b4d5dae Revert "Revert "Finish recents animation upon home rotation""
This reverts commit 0f8787db80.

Reason for revert: Revert and fix the broken tapl test

Fixes: 184054813
Change-Id: Ib647e11bfa0a2dc79a5a815be56452bb07e04ddf
2021-05-03 18:08:31 +00:00
Sunny Goyal ada0acd75c Merge "Fixing nullPointer exception when wallpaper colors is null" into sc-dev 2021-05-03 17:59:05 +00:00
Zak Cohen 554cf58401 Merge "Overview - fade task icon instead of scaling it per new ux" into sc-dev 2021-05-03 17:52:46 +00:00
Cyrus Boadway 92af1bfe5b Merge "Create return-to-home app widget animation" into sc-dev 2021-05-03 17:51:45 +00:00
TreeHugger Robot 77cc5986fb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: cff951ab18 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie264c00e01209f5a0ce280f2cde035fcbfe3322b
2021-05-02 06:51:20 +00:00
TreeHugger Robot cff951ab18 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-02 06:34:02 +00:00
Zak Cohen 20d00faf72 Overview - fade task icon instead of scaling it per new ux
Bug: 186256286
Test: Local build and run on p5
Change-Id: I318b62ddbf9cb475736d2844489a7ed2d9a8a409
2021-05-01 22:41:08 +00:00
Winson Chung 6753137026 Merge "Take screenshot on ui helper thread in live tile" into sc-dev am: 7c53f5d907
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14357548

Change-Id: I993e1e8aaf54cfb19c8e07c583a6adbb7ee64f60
2021-05-01 20:56:22 +00:00
Winson Chung 7c53f5d907 Merge "Take screenshot on ui helper thread in live tile" into sc-dev 2021-05-01 20:47:26 +00:00
Bill Yi b3609ce590 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia1732615c64fdae549156761932647f4dd14b4ba
2021-05-01 19:57:46 +00:00
Hyunyoung Song 03aa4da07f Merge "Check IME visibility check before calling IMM.hide()" into sc-dev am: 0c1901bddd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14320207

Change-Id: I24e4de114d4ff2b9caa692d78787a97b4dc11e7f
2021-05-01 19:46:42 +00:00
Hyunyoung Song 0c1901bddd Merge "Check IME visibility check before calling IMM.hide()" into sc-dev 2021-05-01 19:32:46 +00:00
Jonathan Miranda 8786dfe63c Merge "Use color extraction for arrow popup." into sc-dev am: 8d7bc38c34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14314773

Change-Id: Ic84fd6467f207e6346862c8826e6fe4f263b8b32
2021-05-01 14:12:04 +00:00
Jonathan Miranda 8d7bc38c34 Merge "Use color extraction for arrow popup." into sc-dev 2021-05-01 14:00:41 +00:00
Hyunyoung Song e25ee1ed98 Check IME visibility check before calling IMM.hide()
Bug: 183062683
Bug: 185558351

Test: manual
Change-Id: Ib3bee0f895cc03c6faeb662d078d013ac4d6e406
2021-05-01 01:50:19 -07:00
Sunny Goyal 1d023ef2f4 Fixing transition end not getting called if pagedView is not drawing am: b745a2a9fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14391140

Change-Id: I54f8d638b19e36745dcd7faa3474282789e71f6e
2021-05-01 01:47:20 +00:00
Jon Miranda 242c805f82 Use color extraction for arrow popup.
- Updated logic to accept any view that is a a child of draglayer
  (from being workspace dependent)
- Move color extraction logic from widget class to utility class.
- Initial CL, future CL will interpolate between colors
  and expand color extraction to other abstract floating views.

Bug: 175329686
Test: long press on colorful wallpaper and test colors are extracted
      test in multiwindow mode
Change-Id: I18a6bb5013de4eea7e9b45810401f5b9b3cd7302
2021-04-30 15:54:17 -07:00
Sunny Goyal 908e3d1312 Fixing nullPointer exception when wallpaper colors is null
Bug: 186722571
Test: Presubmit
Change-Id: Iee0d15d460de47cc20395cf9f3d92784aef6268e
2021-04-30 14:18:43 -07:00
Sunny Goyal b745a2a9fd Fixing transition end not getting called if pagedView is not drawing
Bug: 186822776
Test: Manual
Change-Id: I60e9028d17f39a4ad95f9aa79f8b4be695b4ae65
2021-04-30 13:38:59 -07:00
TreeHugger Robot 4b1fe698be Merge "Fix few A11y/ UI bugs for widget pickers" into sc-dev am: 51991a7333
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14372793

Change-Id: Ib201dc90008894ba6da0d0822763c5d179e1f2f8
2021-04-30 19:22:31 +00:00
TreeHugger Robot 51991a7333 Merge "Fix few A11y/ UI bugs for widget pickers" into sc-dev 2021-04-30 19:09:53 +00:00
TreeHugger Robot 7182197500 Merge "Update drop target styling based for BC." into sc-dev am: f9f506ca7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14332405

Change-Id: I08bc6f06585e3e17a5a67b918bf7544c1aea746d
2021-04-30 17:00:55 +00:00
TreeHugger Robot f9f506ca7e Merge "Update drop target styling based for BC." into sc-dev 2021-04-30 16:46:53 +00:00
TreeHugger Robot 74b8372089 Merge "Correct "cropping" of widget picker's search bar" into sc-dev am: ed40c7735e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14386337

Change-Id: Ie7480b84ac7bb1d360678531c1eb499c6151edad
2021-04-30 15:17:35 +00:00
TreeHugger Robot ed40c7735e Merge "Correct "cropping" of widget picker's search bar" into sc-dev 2021-04-30 15:00:32 +00:00
Pierre Barbier de Reuille 0e092292fb Correct "cropping" of widget picker's search bar
To corrent, I added 1dp of bottom margin. Not doing this, the framework
ignores the dropped shadow due to the elevation when some text is
entered in the box, leading to the observed cropping.

Fix: 186722040
Test: Manually
Change-Id: I746a8f014197552416ed9c40e9736baf22794c5f
2021-04-30 14:30:37 +01:00
Alina Zaidi c16c281305 Fix few A11y/ UI bugs for widget pickers
- Add a subtext in pin widget dialog informing users how to add widget
manually. This is not important for accessibility, as drag and drop is through an
action item for visually impaired users.
- Update search bar text hint color so that it passes accessibility test.

Bug: 182994384
Bug: 182993604
Test: Manually Tested using accessibility scanner app and talkback
Change-Id: I5a49d0bc3e5973b76c41b2a178af509e96a3cdd7
2021-04-30 13:30:03 +01:00
Alina Zaidi f65051d63c Merge "Fix some bugs in widget pickers." into sc-dev am: b42513fbc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339826

Change-Id: Iac3ab67df16feae242faaec1d9449946ed9f3a8a
2021-04-30 09:44:35 +00:00
Cyrus Boadway 3bdfc3cd2d Create return-to-home app widget animation
If an app has been most recently launched from an app widget, when
swiped away, the app animates to the widget's position.

This is done by attributing the app launch to the widget through
the ActivityOptions's launch cookies, and using a FloatingWidgetView
throughout the animation.

Bug: 169042867
Test: manual
Change-Id: I24c2623b5b3407504a4768b076849c47f73cbae0
2021-04-30 09:37:53 +00:00
Alina Zaidi b42513fbc5 Merge "Fix some bugs in widget pickers." into sc-dev 2021-04-30 09:19:07 +00:00
Alina Zaidi 2b5124ec41 Fix some bugs in widget pickers.
- Update color of Educational tip view contents. Background colorAccentSecondary
in NexusLauncher above S, colorAccent otherwise (b/185834169)
- Update widget picker search bar color and its text font and color. (b/186423026)
- Update button padding and text in pin widget picker. (b/182994384, b/183601584)

Bug: 185834169
Bug: 186423026
Bug: 182994384
Bug: 183601584
Test: Manually tested
Change-Id: I36cd3ed2285677d0c164db8f57f6c90a5f247982
2021-04-30 07:52:23 +01:00
Treehugger Robot 3f7f599fc8 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: de6e32489a am: be0414dae4 am: 40a03a5f78 am: a74390020d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1691588

Change-Id: I0b25d710fa4ef5d8776e7f7c7a2a8e8bd73ddb45
2021-04-30 04:41:16 +00:00
Treehugger Robot a74390020d Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: de6e32489a am: be0414dae4 am: 40a03a5f78
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1691588

Change-Id: If0cdd0543f7c07225bba354b47ccb14fd53d05d9
2021-04-30 04:24:59 +00:00
Treehugger Robot 40a03a5f78 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: de6e32489a am: be0414dae4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1691588

Change-Id: I59dc8c3aeedef77023a1a69d80bea87ec6d590c9
2021-04-30 03:32:49 +00:00
Treehugger Robot be0414dae4 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: de6e32489a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1691588

Change-Id: I78e87ea29397db108c5d9eba675fba243d5dbeb1
2021-04-30 03:04:29 +00:00
Treehugger Robot de6e32489a Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" 2021-04-30 02:33:36 +00:00
Bill Yi 6793f926a4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 5ed594fde0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3fdd9f85211759e92df34f6e0a4b95120d095434
2021-04-30 01:38:47 +00:00
Bill Yi 5ed594fde0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-30 01:25:44 +00:00
TreeHugger Robot e7cb362630 Merge "Fade overview actions on transition to Home." into sc-dev am: 8a50f93f91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14356554

Change-Id: Ia92aa4543f39f9cc7fba2142940ae7f1431416b0
2021-04-30 01:08:48 +00:00
TreeHugger Robot f3facf980a Merge "Check screen context permissions for NIU Actions" into sc-dev am: b9f8152aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14343101

Change-Id: I1e4a19b0934bd89ea5e8356cb12c846d156e420d
2021-04-30 01:07:46 +00:00
TreeHugger Robot 8a50f93f91 Merge "Fade overview actions on transition to Home." into sc-dev 2021-04-30 01:05:13 +00:00
Bob Badour 382a0b6c50 [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3
Added SPDX-license-identifier-Apache-2.0 to:
  tests/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Id17ab22cf50eabf01ead54016aab0da1c4451d3f
2021-04-29 17:50:38 -07:00
TreeHugger Robot b9f8152aa1 Merge "Check screen context permissions for NIU Actions" into sc-dev 2021-04-30 00:48:54 +00:00
TreeHugger Robot bb0544d04f Merge "Arrow popup - adjust margin to account for RTL and LTR." into sc-dev am: 3395d1de7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14357192

Change-Id: I9a3cf9262bb274af4650f630e8b29ba030c30568
2021-04-30 00:27:31 +00:00
TreeHugger Robot 3395d1de7a Merge "Arrow popup - adjust margin to account for RTL and LTR." into sc-dev 2021-04-30 00:05:27 +00:00