Commit Graph
58436 Commits
Author SHA1 Message Date
Jonathan Miranda af05956522 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: I73fcaadc6b97c989d9ebd0c8107c4b76afb77d06
2021-05-01 14:16:35 +00:00
Jonathan Miranda 6c725ea1a9 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: I6976d6ceea5ce876f41d1f242856bea81b4200f2
2021-05-01 14:14:53 +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 0725e536be 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: Ib371ef9d0c974563970ab6fb3d4bb784dbbb4419
2021-05-01 14:11:38 +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
android-build-team Robot 3485776f0f Snap for 7328846 from 7df7058ce4 to tm-release
Change-Id: I191fc9187d2d348f025e09a8d52628d9fd82326d
2021-05-01 05:07:52 +00:00
android-build-team Robot cc57a1ea9d Snap for 7328689 from 51991a7333 to sc-v2-release
Change-Id: Ideacc11fbf26d13105eab6de311b4bd0ed11bea4
2021-05-01 03:09:01 +00:00
android-build-team Robot d90408ef20 Snap for 7328689 from 51991a7333 to sc-release
Change-Id: I98e061d6647a81032a6a7eab61900002616bd16a
2021-05-01 03:08:50 +00:00
Sunny Goyal 883c9cb41a Fixing transition end not getting called if pagedView is not drawing am: b745a2a9fd am: 9be02e39e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14391140

Change-Id: Ief1a5b9e1d898f92c4433e188778916a16016ac1
2021-05-01 02:13:34 +00:00
Sunny Goyal 9be02e39e3 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: I5e8cd375f26a37fa97d7e1d59f8b983a2a3a87f7
2021-05-01 01:49:59 +00:00
Sunny Goyal aba4112822 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: I89ef18e86c06126963928cbb6358f7f4bdcad0a8
2021-05-01 01:48:31 +00: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
Sunny Goyal 7df7058ce4 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: I1c921af54d9c923b3476e9bb9d3f24f2edaadc8e
2021-05-01 01:47:19 +00:00
Jon Spivack bdf64e79bd Add app package names to NIU Actions Intents
This adds the package name of the currently suspended app to the NIU Actions Intents, for logging purposes.

Bug: 186388671
Test: Manual (printed out the Intent extras while trying various apps)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I8180347675c8940c960e4aa4c47dec508207c780
2021-04-30 17:37:16 -07: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 d64923efc0 Merge "Fix few A11y/ UI bugs for widget pickers" into sc-dev am: 51991a7333 am: 7c17371e11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14372793

Change-Id: I89a3d11032ce20ac9cc0ff0ce73a963c79ee5359
2021-04-30 19:47:02 +00:00
TreeHugger Robot 3a7a6d6814 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: I5de741246ab23b03fb8c42c43858e95cc7cd94a8
2021-04-30 19:34:48 +00:00
TreeHugger Robot 7c17371e11 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: Ic437c1a4d61a8705f11d900d6637de2c37080970
2021-04-30 19:24:44 +00:00
TreeHugger Robot 86e6c14721 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: I0bb7ca3b7b8c2c5895b75a7efc8ca509f04b454f
2021-04-30 19:22:59 +00: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
android-build-team Robot 73c33f7bc1 Merge cherrypicks of [14389499, 14389633, 14389588] into sc-v2-release
Change-Id: I40529471e1543264daaf78e546b7035a793390b1
2021-04-30 18:31:30 +00:00
Daniel Chapin dfe5051064 Revert "Calling pageTransisionEnd only after edgeEffect finishes"
This reverts commit 05b59c080f.

Reason for revert: DF blocking Bug:186822776

Change-Id: Ia4e6168459907f6ed9eb6e22f5497eff3e1ea297
(cherry picked from commit 189d92c3d531311cbcf9e8eaead0f24b98194325)
2021-04-30 18:31:23 +00:00
android-build-team Robot 4411e274bc Merge cherrypicks of [14389731, 14389751, 14389771] into sc-release
Change-Id: I6a18052f7b39faa3773ee9f6b0ba7725bc415bc9
2021-04-30 18:29:35 +00:00
Daniel Chapin e20b300f84 Revert "Calling pageTransisionEnd only after edgeEffect finishes"
This reverts commit 05b59c080f.

Reason for revert: DF blocking Bug:186822776

Change-Id: Ia4e6168459907f6ed9eb6e22f5497eff3e1ea297
(cherry picked from commit 189d92c3d531311cbcf9e8eaead0f24b98194325)
2021-04-30 18:29:28 +00:00
TreeHugger Robot 73c5ef8416 Merge "Update drop target styling based for BC." into sc-dev am: f9f506ca7e am: bd8eec859f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14332405

Change-Id: Ibdc94a202a0c285871a516056afcfbb2b01e2335
2021-04-30 17:30:06 +00:00
TreeHugger Robot bd8eec859f 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: I4a2f2e7d500f39314109522a5f53ecf2dcc2651e
2021-04-30 17:02:13 +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 e3499d4dd8 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: I12eee6cc89167e63c4a6b9c22c90c643b125062e
2021-04-30 17:00:00 +00:00
TreeHugger Robot 14a8676826 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: I0d3faa1010670c39a7ce14113997b55b3763a72b
2021-04-30 16:59:38 +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 ea79196df7 Merge "Correct "cropping" of widget picker's search bar" into sc-dev am: ed40c7735e am: afe7107073
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14386337

Change-Id: I9947e2fd82976f0500157d1b66addf283af361fb
2021-04-30 15:35:52 +00:00
TreeHugger Robot afe7107073 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: Id0dd1dfec506766e2226996be1344dd26ce3c8ea
2021-04-30 15:22:04 +00:00
TreeHugger Robot 6767e79dc0 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: I84db69166c61a62b6630c91cb6019eb13e9cfdaa
2021-04-30 15:20:25 +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 475435e37c 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: I94d1ef06e8cdc36d5696f67b83a26e512641ce41
2021-04-30 15:17:34 +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 97b538962c Merge "Fix some bugs in widget pickers." into sc-dev am: b42513fbc5 am: 0adfa38420
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339826

Change-Id: I48fa65e0f71a379189f194377c3504394ca36eb2
2021-04-30 09:59:03 +00:00
Alina Zaidi 0adfa38420 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: Ib4c85146f522217d69466bce40852bb574745149
2021-04-30 09:46:09 +00: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
Alina Zaidi 60340fd7c8 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: I9172e541e2f662ccadafe0d3bfa5ed76e0b165a8
2021-04-30 09:44:29 +00:00
Alina Zaidi 5814e74633 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: I6cda7a58c69141d53419a7bc97baac8d92c772c0
2021-04-30 09:44:13 +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