Commit Graph

33301 Commits

Author SHA1 Message Date
TreeHugger Robot 12e246d773 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-15 18:21:06 +00:00
Winson Chung 0c36935be9 Merge "Don't rely on intent to call back from activity tracker" into sc-dev am: 1b369c4763
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14909197

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

Change-Id: I117540582ba10f3e47006238cfeaf76f335f7c4f
2021-06-15 18:16:13 +00:00
TreeHugger Robot 5636db853d Merge "Fix foreground position during widget home animation" into sc-dev am: 3e366d6529
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948450

Change-Id: If1d918feb23b9f2282bcc88107d9beaa65c21fcd
2021-06-15 18:16:00 +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
TreeHugger Robot 3e366d6529 Merge "Fix foreground position during widget home animation" into sc-dev 2021-06-15 17:59: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 b49556b21a Merge "Update bottom widget picker and pin widget dialog layout in landscape mode." into sc-dev am: b5459c9ba5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14817823

Change-Id: Iaf5fb71dc31f9e94b053c74da4a148bef0f761da
2021-06-15 17:37:47 +00:00
Sunny Goyal ea8ac5a223 Only inflating taskbar views for valid items
Also enabling view cache for folders

Bug: 187353581
Test: Manual
Change-Id: I5bc695fd86475f30611bc6b362b4ae93c48c26bb
2021-06-15 10:37:23 -07: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
Bill Yi 5301e68108 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icdc7900e3f87c4dab24625e0416ff37e486cfb65
2021-06-15 16:43:13 +00:00
Bill Yi 360a6e593b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7eaab8bb5354b70f5fb4f6531a06ccb1d297c1fd
2021-06-15 16:42:33 +00:00
Bill Yi 62a5942bbb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6008bded871e4aeb07624a629a1c511da221e180
2021-06-15 16:41:08 +00:00
Bill Yi 579b51a4d2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I01c5129b1c842e461860f3f08701a3f897546503
2021-06-15 16:40:31 +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 8134028a3a Merge "Fix the page number based Seen impression." into sc-dev am: 4d61c56200
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14905388

Change-Id: I0d3e74f112da86eedc7d50bbe2bd9fa799473902
2021-06-15 15:22:29 +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 620c7d1854 resolve merge conflicts of bea8267854 to sc-v2-dev
Bug: 181901105
Change-Id: I4bbe6258e0d2e5f04931d2a3d8d1f784a90f91de
Merged-In: Ia904b8b96301042c900e0589f33fc625c1c1148b
2021-06-15 02:32:30 +00:00
TreeHugger Robot 1ce579cf0e Merge "Excluding corner radius from quick switch gesture." into sc-dev am: 22ed03ee04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14969906

Change-Id: I1360d43ab7048e29f16490e6e930392b384e0113
2021-06-15 01:04:01 +00:00
Hyunyoung Song d4f7c9a666 Merge "Fix NPE inside REcyclerViewFastScroller" into sc-dev am: 8c0f8fba9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14966513

Change-Id: I6bab2c6eb3c2e2ba1a6566d296752717b121cb33
2021-06-15 01:03:46 +00:00
Samuel Fufa 22617e92ca Merge "[Build Blocking] Fix conflicting resource IDs for work tab" into sc-dev am: b8cec440cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14969650

Change-Id: I1d6376d52f570e72ae32ef2e498c8d925273d954
2021-06-15 01:03:28 +00:00
Hongwei Wang 7987decd95 Merge "Calculate the position from start bounds for auto-enter PiP" into sc-dev am: 5a2a6e7325
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14940622

Change-Id: I22c35c165d0e881f46843da229374f095b9a1e82
2021-06-15 01:03:08 +00:00
TreeHugger Robot ca486297fa Merge "Removing UB flavor of TAPL library" into sc-dev am: ce7084f45d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948503

Change-Id: Ifbd73d2585f3daa0d68098f84aa23b0f3c052aa8
2021-06-15 01:02:49 +00:00
TreeHugger Robot 9c1ab6654c Merge "Logging UPs and DOWNs that TAPL injects" into sc-dev am: b32c61a6cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948505

Change-Id: I82090382db6583465cc3837ad5eb0724d4b248f6
2021-06-15 01:02:30 +00:00
Jonathan Miranda ce4397aafe Merge "resolve merge conflicts of 11bf817e86 to sc-v2-dev" into sc-v2-dev 2021-06-15 01:02:25 +00:00
Jonathan Miranda bea8267854 Merge "Address LAUNCHER_APP_LAUNCH_FROM_ICON jank." into sc-dev 2021-06-15 00:32:40 +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
TreeHugger Robot 22ed03ee04 Merge "Excluding corner radius from quick switch gesture." into sc-dev 2021-06-14 23:27:48 +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
Steven Ng a5e1453779 Reattach LauncherAppWidgetHostView to its parent after canceling drag
onDrop isn't called if the drag is canceled at Launcher.onPause. Let's
also reattach LauncherAppWidgetHostView to its parent in this case.

Test: long press and hold a widget and, at the same time, press the
      power button. Don't let go of the long press and press the power
      button. No crash observed.
Fix: 190950646
Change-Id: Id52a51291863b7ef63c861eb6dc23b015484be65
2021-06-15 00:01:04 +01:00
Samuel Fufa b8cec440cc Merge "[Build Blocking] Fix conflicting resource IDs for work tab" into sc-dev 2021-06-14 22:33:13 +00:00
Samuel Fufa 200c734e8e [Build Blocking] Fix conflicting resource IDs for work tab
Bug: 186857875
Bug: 191080190
Test: local
Change-Id: I7adbd79a061af4d07c7426db1496f8c319902266
2021-06-14 22:30:57 +00:00
Hongwei Wang 5a2a6e7325 Merge "Calculate the position from start bounds for auto-enter PiP" into sc-dev 2021-06-14 22:21:19 +00:00
vadimt 7d3f73c856 Excluding corner radius from quick switch gesture.
Test: forrest on new devices
Bug: 190638716

Change-Id: Iefa89e040ab77869db7022d7c535a5546e03ae3c
2021-06-14 15:05:23 -07:00
TreeHugger Robot ce7084f45d Merge "Removing UB flavor of TAPL library" into sc-dev 2021-06-14 21:05:33 +00:00
TreeHugger Robot b32c61a6cc Merge "Logging UPs and DOWNs that TAPL injects" into sc-dev 2021-06-14 20:55:48 +00:00
Jonathan Miranda 7e8b2742c9 resolve merge conflicts of 11bf817e86 to sc-v2-dev
Bug: 190210234
Bug: 190164147
Test: manual

Change-Id: I155ee7efdbda10c05f87001ac4eaf07017a6d456
Merged-In: I230c33d7e4e1871d8d702737c56c79ce46504b8f
2021-06-14 20:32:58 +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
Evan Rosky 1f804199c4 Merge "Finish wrapped launcher animations if impl is gone" into sc-v2-dev 2021-06-14 19:58:13 +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
Samuel Fufa d85735db47 Update all apps divider to pill shape
Screenshot: https://screenshot.googleplex.com/4AJFL7MjJuZr7tf
Bug: 188946089
Test: local
Change-Id: If45512b24caefc66725892ab8429afd3d9ce20c8
2021-06-14 13:37:52 -05:00
Jon Spivack 7b57deb534 Merge "Send NIU Actions Intents to default Assistant" into sc-dev am: 3e48c63180
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14940621

Change-Id: I9f11bc98ec704e6eeb1e3c4ce278e92aadc5765f
2021-06-14 18:23:45 +00:00