Commit Graph
49755 Commits
Author SHA1 Message Date
Alina Zaidi ba4eaf73b5 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I5f8e69315a7752ac2bf0484ec5729016ee1a5687
2021-05-25 17:56:30 +00:00
Alina Zaidi 07fa2439e5 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I2730e1da749e883b65b3d06a5ea4f3b6e841451a
2021-05-25 17:54:57 +00:00
Alina Zaidi b4035643f3 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I513616572145f5079d820c956f6c9314c35615dc
2021-05-25 17:54:33 +00:00
Alina Zaidi e6521ad542 Merge "Add more education tips for widgets. (1/3)" into sc-dev 2021-05-25 17:35:27 +00:00
Evan Rosky e902918a31 Fix launcher-in-transition-targets detection
Shell transitions promotes animation up to root task so
we can't compare to leaf-taskid derived from ActivityRecord.getTaskId
since home tasks are all children of a root and thus aren't
organized.

This replaces the task-id check with a componentname check.

Bug: 172695387
Test: with shell transit enabled, launch an app from launcher
      and observer launcher content animating.
Change-Id: Ieeca72b57ec47c9cbe15e635f5026b53edebd0ad
2021-05-25 10:22:54 -07:00
TreeHugger Robot 1f4a0863c8 Merge "Enable SplitSelect flag by default" into sc-v2-dev am: 1919443e37 am: 4d6e0c8677
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14647731

Change-Id: Id79a9b5abb9e4cf852454d4a7a8169dff185a0f6
2021-05-25 17:08:49 +00:00
TreeHugger Robot 4d6e0c8677 Merge "Enable SplitSelect flag by default" into sc-v2-dev am: 1919443e37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14647731

Change-Id: Ief27ebd1b90cefe435dc8558b33f354d1e8308c1
2021-05-25 16:46:12 +00:00
TreeHugger Robot 1919443e37 Merge "Enable SplitSelect flag by default" into sc-v2-dev 2021-05-25 16:29:10 +00:00
Stevie Kideckel 43a6be4b82 Remove intrinsic padding from widget previews
Also, scale down the preview size if it's wider than the target cell.

The intrinsic padding prevents the corners of the preview from being
rounded correctly and can lead to clipping or no rounding, especially at
larger sizes.

Bug: 187141692
Test: verified locally
Change-Id: Ie57ad57ba7c102330324bd0439acc55ff4fd83ff
2021-05-25 16:26:32 +00:00
TreeHugger Robot f14ff042f8 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89 am: ce0e15d409 am: 482021171a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: I415073d61576d1b883849c0e4798aadf833057ae
2021-05-25 13:28:26 +00:00
TreeHugger Robot 796ac6e8d7 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7 am: 057a0de278 am: 18d4cb6653
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: I12b541f3ec3895b054a9b50559f9918134619c18
2021-05-25 13:28:21 +00:00
Steven Ng 42387aec45 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704 am: d78ad7d377 am: 680ec044e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: I9a442b41bcb3546e0ff9c1b42953bbf3eec7788e
2021-05-25 13:28:16 +00:00
shawnlin 194d8727bf Support the nav animation in widget launch remote animation am: 3380ab3053 am: a55c5923d3 am: 121c47cb3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: If383d3436cc235245e6115a2a62f94b51e15b922
2021-05-25 13:28:11 +00:00
András Klöczl c295503361 Merge "Add two panel home support for page binding logic" into sc-v2-dev am: adbe369451 am: 614a98fdea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14589972

Change-Id: Id17504effb8304c401d61d4efe29d6581bdb5c0e
2021-05-25 13:28:06 +00:00
TreeHugger Robot 3b8cdddf0d Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89 am: 21d92dc101 am: 27a2f3ca25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: I40edaf3118d9e8904a4353801659d3c4241af394
2021-05-25 13:28:02 +00:00
TreeHugger Robot 2ef162a1cc Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7 am: 4cd5fee186 am: 744123adea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: If3eb5a246b4eea1a35b368301fa9f79bf03e13ee
2021-05-25 13:27:56 +00:00
Steven Ng f7de3855b5 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704 am: 2ed3087743 am: f3738aba22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: Ie6f0845c6bcccbe08a302e91fb9599266d26c700
2021-05-25 13:26:55 +00:00
shawnlin f39ace2ea7 Support the nav animation in widget launch remote animation am: 3380ab3053 am: b3b2b64588 am: a66d58196e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: Icf0246186ea553143ae15443ec4fc00e3ea91eaa
2021-05-25 13:25:57 +00:00
Alex Chau a3f2286609 Always focus a task in overview am: 960a2b2696 am: 95f4548a7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622874

Change-Id: I06ffc92da6cd5ee864b84c33e4171fed0813a2ce
2021-05-25 13:25:19 +00:00
TreeHugger Robot 482021171a Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89 am: ce0e15d409
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: Idac264b6a872711eebcdf62a8b260f135498a9d7
2021-05-25 12:57:47 +00:00
TreeHugger Robot 18d4cb6653 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7 am: 057a0de278
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: I4b69a84ea3e2a516f67dbf961642dc690a153a54
2021-05-25 12:57:39 +00:00
Steven Ng 680ec044e5 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704 am: d78ad7d377
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: I603b4628e346f7b8bb822f775558916ccfd2bfa8
2021-05-25 12:57:31 +00:00
shawnlin 121c47cb3e Support the nav animation in widget launch remote animation am: 3380ab3053 am: a55c5923d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I65912499a45939d14982e5d0dd0fab223fc03a6a
2021-05-25 12:57:21 +00:00
András Klöczl 614a98fdea Merge "Add two panel home support for page binding logic" into sc-v2-dev am: adbe369451
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14589972

Change-Id: I5ba292eb91bdafc480b9032c07fb0ad9e5c77192
2021-05-25 12:24:49 +00:00
TreeHugger Robot 27a2f3ca25 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89 am: 21d92dc101
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: I3973a0917f28da2e67545a89aad3505607d3b949
2021-05-25 12:24:33 +00:00
TreeHugger Robot 744123adea Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7 am: 4cd5fee186
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: Ie439f108e421682f778f5dd29712526f45421fd9
2021-05-25 12:24:14 +00:00
Steven Ng f3738aba22 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704 am: 2ed3087743
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: Ibb1803b1722bd370454770f352a2b80b8184ff44
2021-05-25 12:23:56 +00:00
shawnlin a66d58196e Support the nav animation in widget launch remote animation am: 3380ab3053 am: b3b2b64588
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I5e96da20feb2660ba809aed77772a3a645b23ea5
2021-05-25 12:23:37 +00:00
Alex Chau 95f4548a7d Always focus a task in overview am: 960a2b2696
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622874

Change-Id: Icc0c5acb6701347d1d68e45819a8f03406848441
2021-05-25 12:23:17 +00:00
András Klöczl adbe369451 Merge "Add two panel home support for page binding logic" into sc-v2-dev 2021-05-25 12:04:55 +00:00
TreeHugger Robot 21d92dc101 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: I7b7c006bf4af71badad74897592fbbd273fc5961
2021-05-25 11:59:30 +00:00
TreeHugger Robot 4cd5fee186 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: Iab84c81890bbcc9ee50507513f62e0e8cddd812a
2021-05-25 11:59:13 +00:00
Steven Ng 2ed3087743 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: Id206122b6b60ab3228388dca8db67db8318fefd3
2021-05-25 11:58:29 +00:00
TreeHugger Robot af9c867dee Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: Ia22dd0959967cae0c4f9b08ba969603fe3ba87d3
2021-05-25 11:57:58 +00:00
TreeHugger Robot ce0e15d409 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: If1a3daade48746f295bc56f99ff17cff55e60b06
2021-05-25 11:57:40 +00:00
shawnlin b3b2b64588 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I9e8632a69c8baa0ffdb4b3d1e83d3f361e40d340
2021-05-25 11:55:07 +00:00
TreeHugger Robot 8deaffed89 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev 2021-05-25 11:53:33 +00:00
TreeHugger Robot 96d312ae2d Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: Ie0e8f4ad81dc0be9db4b79c29b98d7162af4171e
2021-05-25 11:52:58 +00:00
Steven Ng e560c3d41d Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: Ia1c395e810d479adda3e09a2b85afeba20859d2a
2021-05-25 11:52:36 +00:00
TreeHugger Robot 057a0de278 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: I69b13b716f49787ad2ac5f4e458be05391d6abe5
2021-05-25 11:50:36 +00:00
Steven Ng d78ad7d377 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: I7a67ee8b6d64c633bcd898e812f3d145d8972f77
2021-05-25 11:50:26 +00:00
shawnlin 80b0080149 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: Ia3b76df2624e9441f256c32ca3930bb1320a6898
2021-05-25 11:49:53 +00:00
shawnlin a55c5923d3 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I71a5271424f76bbbeed44ae6c094f122defee67f
2021-05-25 11:49:41 +00:00
TreeHugger Robot 1002981fd7 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev 2021-05-25 10:49:39 +00:00
Steven Ng 2c7c629704 Merge "Remove all apps tabs elevation" into sc-dev 2021-05-25 10:33:14 +00:00
Alina Zaidi 9d24de1353 Add more education tips for widgets. (1/3)
Show Arrow education tip on WidgetsBottomSheet. This tip is shown only
once either in widgets full sheet or bottom sheet.

Test: Tested manually
Bug: 185354491
Change-Id: I6d770ed0906a5cb0f5bcfe6ae0cd327b790cf164
2021-05-25 10:50:02 +01:00
shawnlin 3380ab3053 Support the nav animation in widget launch remote animation
Launcher now support remote animation for widget but doesn't add the nav
animation for this type of animation.

Add the nav animation in widget launch remote animation in launcher.

Bug: 185303414
Test: manual - launch a widget in launcher and observe the nav bar
Change-Id: I11f4bd75b9624118b8ffef09c99f54fc7f1fbbca
2021-05-25 03:43:25 +00:00
Jon Miranda 6a7a7f6bad Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
Bug: 179289753
Bug: 183927137
Test: restore phone and ensure broadcast is sent
Change-Id: I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2
(cherry picked from commit b62fba0d01)
Merged-In: I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2
2021-05-25 02:48:33 +00:00
vadimt 6fad078a31 Adding more diags for WellbeingModel
Test: presubmit
Bug: 189139513
Change-Id: Ic52ef42d2cd0a3f19f55aee048911526dd8c732f
2021-05-24 16:42:07 -07:00
Steven Ng 21979aca50 Fix tabs abruptly reset during swipe
The indicator position has already been updated by
PersonalWorkPagedView#onScrollChanged. The updateIndicatorPosition
call in setActiveMarker has abruptly reset the mScrollOffset to a page
index rather than a [0f, 1f] offset.

Test: On a work profile device, swipe left & right in the all apps.
      Then, swipe left & right in the full widgets picker. In both
      cases, I no longer observe an abruptly reset of the tabs
      transition animation.
Bug: 187704466
Change-Id: I53c4ed3a98219093f3d61dfa4de2fe21ec88851c
2021-05-24 23:57:28 +01:00