Commit Graph

12122 Commits

Author SHA1 Message Date
Jonathan Miranda 4ce9952f41 Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc am: 95168f389e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: I85c35932622f001fac00a9f0031b2d00bbcf674e
2021-06-16 20:52:50 +00:00
Hyunyoung Song c6b3370f36 Merge "All apps motion" into sc-dev am: d2ad97989c am: 383f2176db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: I9366d163d64cdf2cfafbd398b01424786f592f1a
2021-06-16 20:51:57 +00:00
Jonathan Miranda 28e39335bc Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev 2021-06-16 20:34:48 +00:00
Yogisha Dixit 83063d5705 Merge "Fix drop target icons being truncated." into sc-dev am: de268a51a1 am: 0fd9ebbfaa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899271

Change-Id: I08b0a926d95042843384b1ef462b9866736a9885
2021-06-16 20:15:21 +00:00
Hyunyoung Song d2ad97989c Merge "All apps motion" into sc-dev 2021-06-16 20:14:46 +00:00
Yogisha Dixit de268a51a1 Merge "Fix drop target icons being truncated." into sc-dev 2021-06-16 19:48:08 +00:00
Jonathan Miranda 3cc034f52d Merge "App Shortcut menu bug fixes and polish." into sc-dev am: c846245f1b am: 5473ae0c18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14985072

Change-Id: I06b7f2356825b2a2672a2787e0a8a4659e9cb3d3
2021-06-16 18:34:08 +00:00
Hyunyoung Song 54a44d4c44 All apps motion
Bug: 189970327
Test: manual

TL;DR;;

equation: settleVelocity = releaseVelocity + interpolator 2nd deritive * t

Change-Id: I86fec339523fbc3bb347dec4affbd2d1c063d13d
2021-06-16 11:17:59 -07:00
Jon Miranda b73e591712 Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag.
Bug: 191088291
Test: manual
Change-Id: Ia144c72e0fe1292ed856a37ee714a1cda50083d5
2021-06-16 18:13:23 +00:00
Jonathan Miranda c846245f1b Merge "App Shortcut menu bug fixes and polish." into sc-dev 2021-06-16 18:06:13 +00:00
TreeHugger Robot 4dfafc5420 Merge "Add work toggle to work apps paused message" into sc-dev am: 29dba38119 am: 93a55e087a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970540

Change-Id: I08cb03472b302c536a4256244b0b40d01d74dfde
2021-06-16 16:37:56 +00:00
TreeHugger Robot 29dba38119 Merge "Add work toggle to work apps paused message" into sc-dev 2021-06-16 15:57:49 +00:00
Yogisha Dixit ed052ab212 Fix drop target icons being truncated.
The icons were being truncated due to incorrect viewport width/height
values for the vector drawable.

Test: manual
Bug: 187036287
Change-Id: Ie2d0ffe815501d2e943146a79cb4ede379ce0ecf
2021-06-16 14:07:38 +01:00
Stevie Kideckel d72918663a Merge "Use drawable states for list positions instead of swapping drawables" into sc-dev am: 358411a96a am: ad811e1b64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14966492

Change-Id: I29c89c332a165d57f7a807370c59a172a1848eb1
2021-06-16 10:08:46 +00:00
Stevie Kideckel 358411a96a Merge "Use drawable states for list positions instead of swapping drawables" into sc-dev 2021-06-16 09:34:21 +00:00
Jon Miranda 229c4c3235 App Shortcut menu bug fixes and polish.
- Widget is its own item.
- Change order of icon order.
- Update grab handle colors

Bug: 188095695
Test: long press on apps with/without widgets, long press apps on workspace/
      all apps/search

Change-Id: Iabb9b4b3f3a928103b9d62601f22e74ef2325d7c
2021-06-15 18:59:51 -07:00
Schneider Victor-tulias cdf06c9ce9 Merge "Skip item infos that fail session info verification." into sc-dev am: e00d88e32a am: ed67479c40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14792907

Change-Id: I59b01222709052627eee43c57136c5e0a41be444
2021-06-15 21:31:58 +00:00
Thiru Ramasamy 572d149e3f Merge "Enable logging for 'Themed icons' setting." into sc-dev am: 640fc8b84d am: 47224bc3a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14983277

Change-Id: I92c3ddd07c9618f09501bd43d67d9dd50358cd8b
2021-06-15 21:29:46 +00:00
Schneider Victor-tulias e00d88e32a Merge "Skip item infos that fail session info verification." into sc-dev 2021-06-15 20:54:23 +00:00
Thiru Ramasamy 640fc8b84d Merge "Enable logging for 'Themed icons' setting." into sc-dev 2021-06-15 20:47:23 +00:00
Samuel Fufa dfc274364e Add work toggle to work apps paused message
This also fixes scrolling issues in landscape

Bug: 186857875
Bug: 161929312
Bug: 189983516
Bug: 190567199
screenshot: https://screenshot.googleplex.com/BCjcyJFqJo6W4Tr
Test: local
Change-Id: I7bcf23cc4be2fca936eba41342731789eb8f3292
2021-06-15 14:58:05 -05:00
Samuel Fufa 4b80de89e1 Merge "Fix home settings landing page" into sc-dev am: 1bd6fdb6e3 am: 01e01ebb39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14965825

Change-Id: I23dc1d2d65a9c868d934f068f3f8bb2f2e37399b
2021-06-15 19:12:29 +00:00
Schneider Victor-tulias 12e9345f4f Skip item infos that fail session info verification.
trichromelibrary.canary is failing session info verification, but is still being added as blank icon on the workspace in some cases. Added logic to skip apps that fail this verification until the root cause can be found.

Bug: 168788486
Test: none

Change-Id: I8a7fe76f321de493b2c6c67ba6922eae23067ff3
2021-06-15 12:12:07 -07:00
Samuel Fufa 1bd6fdb6e3 Merge "Fix home settings landing page" into sc-dev 2021-06-15 18:32:36 +00:00
Winson Chung 5f295024eb Merge "Don't rely on intent to call back from activity tracker" into sc-dev am: 1b369c4763 am: cb4a74617b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14909197

Change-Id: I1e175c69167f34f53ca4dd2c1f190068c916244b
2021-06-15 18:30:33 +00:00
TreeHugger Robot ecc3d8059c Merge "Remove IME visibility check before closing the keyboard" into sc-dev am: 9c25a4dd07 am: b23dd4eaa0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14974657

Change-Id: I17fcdd6f3d97ca16058b13fff4f0c6d7c74db631
2021-06-15 18:30:28 +00:00
Winson Chung 1b369c4763 Merge "Don't rely on intent to call back from activity tracker" into sc-dev 2021-06-15 18:04:52 +00:00
TreeHugger Robot 9c25a4dd07 Merge "Remove IME visibility check before closing the keyboard" into sc-dev 2021-06-15 18:00:48 +00:00
Thiru Ramasamy 74a6d2ea55 Enable logging for 'Themed icons' setting.
Eldar: http://eldar/510864786
Bug: 191161241
Test: local - http://gpaste/5934701681311744 & http://gpaste/6715297709948928
Change-Id: I18ad97f68b372997e222f06dabf8bbe83f15d92f
2021-06-15 10:48:43 -07:00
Alina Zaidi 2ca26773fb Merge "Update bottom widget picker and pin widget dialog layout in landscape mode." into sc-dev am: b5459c9ba5 am: cbb8df3ec3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14817823

Change-Id: I05852177068516750484b37748248f6074e94047
2021-06-15 17:47:09 +00:00
Alina Zaidi b5459c9ba5 Merge "Update bottom widget picker and pin widget dialog layout in landscape mode." into sc-dev 2021-06-15 17:23:02 +00:00
Stevie Kideckel 803927bdae Use drawable states for list positions instead of swapping drawables
Replacing drawables interrupts touch feedback of ripples. Implementing
custom state lists allows altering the corner radius without cutting off
ripples and also means we reduce unnecessary object creation.

Fix: 190467676
Test: locally
Change-Id: I10eec042aae57d278f8254327d42df945767c7ac
2021-06-15 16:32:36 +00:00
Santhosh Thangaraj 44d0b56dab Merge "Fix the page number based Seen impression." into sc-dev am: 4d61c56200 am: 9d3097935f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14905388

Change-Id: I8219e2de7666167d33f1557f5002aa2578b0c468
2021-06-15 15:42:33 +00:00
Santhosh Thangaraj 4d61c56200 Merge "Fix the page number based Seen impression." into sc-dev 2021-06-15 15:20:40 +00:00
Alina Zaidi dfa6aa828c Update bottom widget picker and pin widget dialog layout in landscape mode.
Bug: 189726613
Test: Manually tested
Change-Id: I048740f949571423ab53bbb01e7128d9981b1ce7
2021-06-15 14:27:57 +01:00
Hyunyoung Song 0ba45e4d5e Remove IME visibility check before closing the keyboard
Bug: 185890446
Test: manual

TL;DR;;
In racy condition, keyboard is not visible when the check happens
but in next frame, it becomes visible.

Change-Id: I3336f3c967804e5ccdea9110c363e92d83b7bc02
2021-06-14 23:15:52 -07:00
Winson Chung 1c2d522d1b Don't rely on intent to call back from activity tracker
- The intent is not updated in certain cases which means that the
  callback may not be made if Launcher gets recreated. Instead
  have the tracker manage the set of registered callbacks.
- This change allows AbsSwipeUpHandler to continue to receive
  onActivityInit calls even if Launcher restarts, and also to
  handle a case where restarting while waiting for a page-settling
  callback will continue to finish the gesture.

Bug: 183962705
Test: Force recreate at various points in the gesture

Change-Id: Ib5ead8c868e798e26e56776f57bd715c79d087cd
2021-06-14 20:57:40 -07:00
Jonathan Miranda bea8267854 Merge "Address LAUNCHER_APP_LAUNCH_FROM_ICON jank." into sc-dev 2021-06-15 00:32:40 +00:00
Brian Isganitis df8099ecfb Merge "Add flag for widgets in Launcher preview" into sc-v2-dev am: 0058f293eb am: 53d761f63c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14940360

Change-Id: I4dc90b358c0c31e2c2c4ece7b00f5c3921573cd1
2021-06-14 23:55:25 +00:00
Hyunyoung Song 0ae7a20736 Merge "Fix NPE inside REcyclerViewFastScroller" into sc-dev am: 8c0f8fba9c am: 4b92c20bc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14966513

Change-Id: I06218e1ad60890c4f3168805760395ee73e60b9b
2021-06-14 23:40:38 +00:00
Jon Miranda 0750f03c96 Address LAUNCHER_APP_LAUNCH_FROM_ICON jank.
- Delay app launch animations by a frame, and skip logic to skip the first frame.
- Note the icon pressed state animation still occurs, so there is still some
  visual feedback for the user that something is happening.

Bug: 181901105
Test: ensure animation still looks smooth (using window animation scale & record in slow mo)
Change-Id: Ia904b8b96301042c900e0589f33fc625c1c1148b
Merged-In: Ia904b8b96301042c900e0589f33fc625c1c1148b
2021-06-14 23:29:29 +00:00
Jonathan Miranda 27ed8af036 Merge "Address LAUNCHER_APP_LAUNCH_FROM_ICON jank." 2021-06-14 23:29:15 +00:00
Brian Isganitis 0058f293eb Merge "Add flag for widgets in Launcher preview" into sc-v2-dev 2021-06-14 23:23:29 +00:00
Hyunyoung Song 8c0f8fba9c Merge "Fix NPE inside REcyclerViewFastScroller" into sc-dev 2021-06-14 23:18:22 +00:00
Jon Miranda f8073681e7 Address LAUNCHER_APP_LAUNCH_FROM_ICON jank.
- Delay app launch animations by a frame, and skip logic to skip the first frame.
- Note the icon pressed state animation still occurs, so there is still some
  visual feedback for the user that something is happening.

Bug: 181901105
Test: ensure animation still looks smooth (using window animation scale & record in slow mo)
Change-Id: Ia904b8b96301042c900e0589f33fc625c1c1148b
2021-06-14 21:25:14 +00:00
Jonathan Miranda 11bf817e86 Merge "Folder polish - update color extraction, fix contrast issues." into sc-dev 2021-06-14 20:11:50 +00:00
Samuel Fufa 3d9c82ea39 Merge "Introduce inline education for work profile" into sc-dev am: b8b822a74b am: 4fa492d464
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14962825

Change-Id: I29aff65b278786401a0116bd377ff4f74d3b6faa
2021-06-14 19:46:40 +00:00
TreeHugger Robot d6786d5759 Merge "Ensure that the cancel and end listener are called when cancelling state animation" into sc-dev am: 012e978e31 am: 16ed829a41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14949019

Change-Id: I0937e16e3174590eea2db0e7eff5b543341eab10
2021-06-14 19:46:23 +00:00
Samuel Fufa b2d6d73377 Merge "Introduce inline education for work profile" into sc-dev am: b8b822a74b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14962825

Change-Id: I144ebf38fab282417389a51f0b95d47001482d79
2021-06-14 19:34:04 +00:00
TreeHugger Robot 38e3dbe38e Merge "Ensure that the cancel and end listener are called when cancelling state animation" into sc-dev am: 012e978e31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14949019

Change-Id: I881785a2a1e96aebbd10e148e9f46cda3cee603d
2021-06-14 19:33:41 +00:00