Commit Graph

9646 Commits

Author SHA1 Message Date
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
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
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
Samuel Fufa b8b822a74b Merge "Introduce inline education for work profile" into sc-dev 2021-06-14 19:29:28 +00:00
TreeHugger Robot 012e978e31 Merge "Ensure that the cancel and end listener are called when cancelling state animation" into sc-dev 2021-06-14 19:16:47 +00:00
Jonathan Miranda 4f62faca20 Merge "Do not add padding left/right when cell layout border spacing exists." into sc-dev am: b7cab26529 am: 9dadfa4183
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14947923

Change-Id: I94636e49f32568161f5a608ef3f1da3eadb7a026
2021-06-14 18:09:59 +00:00
Jonathan Miranda 1bfcb7653b Merge "Do not add padding left/right when cell layout border spacing exists." into sc-dev am: b7cab26529
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14947923

Change-Id: I9e60082c8f451edfb4254f99114d268272047627
2021-06-14 18:00:25 +00:00
Jon Miranda 5688010306 Folder polish - update color extraction, fix contrast issues.
- Also fixes open/close animation when items were not getting clipped
  due to folder not being measured yet.

Bug: 190210234
Bug: 190164147
Test: manual
Change-Id: I230c33d7e4e1871d8d702737c56c79ce46504b8f
Merged-In: I230c33d7e4e1871d8d702737c56c79ce46504b8f
2021-06-14 17:54:19 +00:00
Jonathan Miranda b7cab26529 Merge "Do not add padding left/right when cell layout border spacing exists." into sc-dev 2021-06-14 17:29:19 +00:00
Jon Miranda 8644368e08 Folder polish - update color extraction, fix contrast issues.
- Also fixes open/close animation when items were not getting clipped
  due to folder not being measured yet.

Bug: 190210234
Bug: 190164147
Test: manual
Change-Id: I230c33d7e4e1871d8d702737c56c79ce46504b8f
2021-06-14 16:13:43 +00:00
Hyunyoung Song a9aeebc5bb Fix NPE inside REcyclerViewFastScroller
Bug: 190939643
Test: manual
Change-Id: Ic01111bb1389b2fa84d86c0ecc20f1eec0940e51
2021-06-14 09:12:30 -07:00
András Klöczl 2a60d99494 Merge "Add left widget panel to Launcher home when unfolded" into sc-v2-dev am: 71954b7ec5 am: efe9f10684
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14745702

Change-Id: Idad5ddbdd61d540c2d85fc107cc36439dcd6205b
2021-06-14 15:39:01 +00:00
András Klöczl 71954b7ec5 Merge "Add left widget panel to Launcher home when unfolded" into sc-v2-dev 2021-06-14 15:10:05 +00:00
Andras Kloczl dbf577af46 Add left widget panel to Launcher home when unfolded
Test: manual
Bug: 175939730
Change-Id: I9831e7fa95084db12953ec7cb2eb725e7549e01d
2021-06-14 12:22:05 +02:00
Stevie Kideckel ed1c6ccd80 Merge "Use LayoutManager.onLayoutCompleted as a signal that content has changed" into sc-dev am: d541300f0e am: f231c45c27
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939014

Change-Id: Ib4fbae930f38a0f210be452fd311e0e46fd10a9e
2021-06-14 09:44:54 +00:00
Stevie Kideckel 96592dedc2 Merge "Use LayoutManager.onLayoutCompleted as a signal that content has changed" into sc-dev am: d541300f0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939014

Change-Id: I80f24f0fd64942056d6ca7334647c137f0f9bb77
2021-06-14 09:29:59 +00:00
Stevie Kideckel d541300f0e Merge "Use LayoutManager.onLayoutCompleted as a signal that content has changed" into sc-dev 2021-06-14 09:18:06 +00:00
Takeshi Hagikura 3b5825f6c4 Merge "Update the colors of the tabs of work profile pagination" into sc-dev am: 7937cecde2 am: 040dfd00eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14913674

Change-Id: Iad06a0d4d16a77157b0e90df70e426f4e3f40d3a
2021-06-14 08:24:03 +00:00
Takeshi Hagikura 024262cc03 Merge "Update the colors of the tabs of work profile pagination" into sc-dev am: 7937cecde2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14913674

Change-Id: Iea5ec8efa514c0ad3b4e9e8b14b0ea526996e90f
2021-06-14 08:09:44 +00:00
Takeshi Hagikura 7937cecde2 Merge "Update the colors of the tabs of work profile pagination" into sc-dev 2021-06-14 07:54:39 +00:00
Samuel Fufa 154ad76f40 Introduce inline education for work profile
Bug: 186857875
Test: local
Change-Id: I796b04fbb3ffc714a01104107774819d35034f93
2021-06-14 01:01:42 -05:00
Samuel Fufa 7ddc987796 Merge "[AllApps][Work] Introduce work toggle Fab" into sc-dev am: 2f346b8666 am: 2e8ef02c31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948496

Change-Id: I724d7ef6602bb8b3e76eaf6b8d4dba68462d0cf0
2021-06-14 03:00:56 +00:00
Samuel Fufa cd5f45b2b6 Merge "[AllApps][Work] Introduce work toggle Fab" into sc-dev am: 2f346b8666
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948496

Change-Id: I7208e1c28573aa65035aa0783f56f52f4a0c1b3b
2021-06-14 02:49:51 +00:00
Samuel Fufa 2f346b8666 Merge "[AllApps][Work] Introduce work toggle Fab" into sc-dev 2021-06-14 02:34:58 +00:00
Samuel Fufa 45e0e26971 [AllApps][Work] Introduce work toggle Fab
Screenshot: https://screenshot.googleplex.com/C4r7kKPxv3PKdyN
Bug: 186856928
Test: on-device
Change-Id: Ifd8ce20fcf2247a6e80537dc7631458e594a8a63
2021-06-13 20:01:20 -05:00
Winson Chung 8746b8d2cd Merge "Add sdk check to recyclerviewfastscroller" into sc-dev am: beebc45e5d am: c57a3d1ca7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14947922

Change-Id: If2f82dd212b6536400e15c7630774227e827ba03
2021-06-13 03:38:50 +00:00
Winson Chung 274da5daab Merge "Add sdk check to recyclerviewfastscroller" into sc-dev am: beebc45e5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14947922

Change-Id: Icfee1975a431260e70138a767c3986e70eef4335
2021-06-13 03:29:05 +00:00
Winson Chung beebc45e5d Merge "Add sdk check to recyclerviewfastscroller" into sc-dev 2021-06-13 03:13:49 +00:00
Stevie Kideckel 17db4632c5 Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8 am: 67c400072d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091

Change-Id: I57fb6497f07ab77c164dfaf8088e43e3fc36427f
2021-06-12 22:09:22 +00:00