Commit Graph

16725 Commits

Author SHA1 Message Date
y ca685ffcf7 [Search] Update AllApps header protection
- Disables header protection on AOSP
- Fades in/out search box pill instead of sudden movements
- Work tabs protection shows and hides based on scroll position

Bug: 194106968 [APK attached]
Test: Manual
Change-Id: I5532847ddba3d4555003b0934b8fc846dc5a5cc7
2021-09-02 17:43:04 +00:00
Jonathan Miranda 9a0a3a361e Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be am: eed0520799 am: 44b3eed902
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: Ic6b61a559c0fd0f92cdc8f73867ea2bbdc3d830c
2021-09-02 17:18:11 +00:00
Jonathan Miranda 44b3eed902 Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be am: eed0520799
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: I9da12885327677e30f505ef91a741238c4be7bda
2021-09-02 17:03:39 +00:00
Jonathan Miranda 8bcbb662bb Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: I438d4193b9a4ef33613f37e7a4ae30d3f663e6bb
2021-09-02 16:48:46 +00:00
Alex Chau a4acb15b6f Merge "Logging for drop bar not appearing for dragged widget" into sc-v2-dev am: 6bad4d8877 am: df7f42c60a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741222

Change-Id: Iafe9703c748e1b9edb302ec55d0f6ae2a0717f10
2021-09-02 10:00:42 +00:00
Alex Chau 6bad4d8877 Merge "Logging for drop bar not appearing for dragged widget" into sc-v2-dev 2021-09-02 09:35:13 +00:00
vadimt 89d9423321 Logging for drop bar not appearing for dragged widget
Test: presubmit
Bug: 195031154
Change-Id: I19494fc3d6d9db252570697c057fdee7f7d44521
2021-09-01 12:33:00 -07:00
Vadim Tryshev 1e78217f41 Merge "Revert "Band-aid for getHomeActivities returning null"" into sc-v2-dev am: fc88784f8d am: 90cedcc741
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15732511

Change-Id: I2fd4bf13a7a6b74e7fa68793be62be928e6cc5e0
2021-09-01 17:47:16 +00:00
Vadim Tryshev fc88784f8d Merge "Revert "Band-aid for getHomeActivities returning null"" into sc-v2-dev 2021-09-01 17:30:55 +00:00
Jerry Chang 93e610d986 Merge "Always refresh device profile when multi window mode changed" into sc-v2-dev am: 125158232e am: 4009f13212
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15683895

Change-Id: Ia02e180ee5bb9cb6fd2f50bd1c0a1ed9d9d1a887
2021-09-01 07:09:05 +00:00
Jerry Chang 125158232e Merge "Always refresh device profile when multi window mode changed" into sc-v2-dev 2021-09-01 06:27:05 +00:00
vadimt 5cca2265b6 Revert "Band-aid for getHomeActivities returning null"
This reverts commit 42a7d1af83.
REASON FOR REVERT: the underlying framework bug is fixed

Test: presubmit
Bug: 187080582

Change-Id: If580a35196ba9a9c5e3a5da642a2ea3aa3d9048e
2021-08-31 18:04:59 -07:00
TreeHugger Robot 0afd598570 Merge "Preventing workspace scroll over QSB area" into sc-v2-dev am: cb776ca518 am: a30438a13f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694303

Change-Id: Ic99fb72e9ecb64a2403414b68cfec73153342b4f
2021-08-31 23:43:51 +00:00
TreeHugger Robot cb776ca518 Merge "Preventing workspace scroll over QSB area" into sc-v2-dev 2021-08-31 23:17:52 +00:00
TreeHugger Robot 83470b5dd0 Merge "Fix some taskbar stashing issues" into sc-v2-dev am: ff705eabe6 am: 6cdcc25465
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15728603

Change-Id: I6da222deeeac85b192303c3dcc7e184040deded0
2021-08-31 23:06:37 +00:00
TreeHugger Robot ff705eabe6 Merge "Fix some taskbar stashing issues" into sc-v2-dev 2021-08-31 22:38:01 +00:00
Tony Wickham 42b0395fee Fix some taskbar stashing issues
- Don't allow long press to stash between taskbar icons
- Ensure taskbar_icon_touch_size is respected; previously it wasn't, because BubbleTextView@shouldIgnoreTouchDown() was returning true in the padding region. For taskbar, we want the whole icon size to be touchable.
- Cancel long press when passing touch slop to avoid swipe down being detected as long press

Test: long press on taskbar background, both between icons and not; swipe down on taskbar
Fixes: 198305464
Change-Id: I36f1d792e91da9a3bf57a2bef1e974b299c4e25c
2021-08-31 14:06:09 -07:00
Samuel Fufa e48771735d Merge "[Search] Update AllApps header protection" into sc-v2-dev am: e34c2f8272 am: 7f8e1c7213
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619042

Change-Id: I7fa29902406eca8a3e962d2a1c359e8e53f08ebe
2021-08-31 18:43:40 +00:00
Samuel Fufa e34c2f8272 Merge "[Search] Update AllApps header protection" into sc-v2-dev 2021-08-31 18:08:34 +00:00
Thales Lima 60936f5eac launcher: show smartspace date card on Wallpaper & style
Smartspace requires a lot of information to show cards, and it shouldn't
be required to show a preview for the user on how the home screen looks
like. This changes that to always use the date card from smartspace.

Fixes: 197328474
Test: open Wallpaper & style
Change-Id: I4718a1c0397172f654b7b6b4beb96b50b3b9eeb3
2021-08-31 18:32:02 +01:00
TreeHugger Robot d935937d8d Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev am: 667bda8448 am: b855314c6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15696989

Change-Id: Ie64db49d16eca1da431f30f538901de592380796
2021-08-31 11:16:26 +00:00
TreeHugger Robot 667bda8448 Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev 2021-08-31 10:52:02 +00:00
Sunny Goyal 777d49062f Revert "Revert "Migrating all model tests to Instrumentation tests""
This reverts commit 7a4a30d86d.

Test: Presubmit
Reason for revert: Fixing original bug

Bug: 196825541
Change-Id: Id4b1eb24a89564d264266d305aebea52917dfcd9
2021-08-31 10:51:52 +00:00
TreeHugger Robot d6f3763e20 Merge "Enables Taskbar Edu by default." into sc-v2-dev am: a0426f9743 am: 05b8c10cab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687335

Change-Id: Iad7e6f9b50bd69725b204dccb39dc66094508ecf
2021-08-31 04:36:42 +00:00
TreeHugger Robot a0426f9743 Merge "Enables Taskbar Edu by default." into sc-v2-dev 2021-08-31 04:14:28 +00:00
Thiru Ramasamy cf1f1d1966 Merge "Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface." into sc-v2-dev am: e55c0feb43 am: 950e1be83f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15669032

Change-Id: Ie59b0db6ba150654b93506b9a6df2a67e5932b0b
2021-08-30 21:46:32 +00:00
Jon Miranda f3bbd98bf8 Allow users to dismiss notifications in popup view.
Bug: 193014051
Test: - dismiss notifications (left/right)
      - open popup, dismiss notification from shade
        and ensure popup gets updates
      - open popup, trigger new notification
        and ensure popup gets updated

Change-Id: Iea4d458218cbf5cb22f5f89aa0a4cc1bee18cc73
2021-08-30 20:38:16 +00:00
Thiru Ramasamy 4df46b1da2 Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface.
Bug: 193797130
Test: NA
Change-Id: I786ff0222f2fd4c5cbc2598fe4b3e22733233f8b
2021-08-30 11:52:24 -07:00
Samuel Fufa 306700d2ab Merge "[Work] Fix duplicate work button issue" into sc-v2-dev am: 966e0507d6 am: 5e3818e333
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15675534

Change-Id: Ib4cd68d6242d06da3051255362447092c264e451
2021-08-30 16:47:16 +00:00
y 61212d12f9 [Work] Fix duplicate work button issue
Bug: 195623679
Test: manual
Change-Id: I882c5f7a196e07fa0dab3a2f27437abd233ec782
(cherry picked from commit cb5bb989e3)
2021-08-30 16:26:07 +00:00
Samuel Fufa 966e0507d6 Merge "[Work] Fix duplicate work button issue" into sc-v2-dev 2021-08-30 16:25:40 +00:00
y cb5bb989e3 [Work] Fix duplicate work button issue
Bug: 195623679
Test: manual
Change-Id: I882c5f7a196e07fa0dab3a2f27437abd233ec782
2021-08-30 00:27:21 -07:00
y 8dcd7e0ce7 [Search] Update AllApps header protection
- Disables header protection on AOSP
- Fades in/out search box pill instead of sudden movements
- Work tabs protection shows and hides based on scroll position

Bug: 194106968 [APK attached]
Test: Manual
Change-Id: I5532847ddba3d4555003b0934b8fc846dc5a5cc7
2021-08-29 22:56:54 -07:00
TreeHugger Robot 6dcb406277 Merge "Code cleanup from rebase" into sc-v2-dev am: 4a5d3f39fa am: 16ae1d6948
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15698146

Change-Id: I5f41ce39eec283c3043735e6068aea15ac98c715
2021-08-28 01:22:01 +00:00
Vinit Nayak cdcaf7a2ed Code cleanup from rebase
Bug: 195423591
Change-Id: I623d6ef46458a282e3c63cde0bdc457cb38e4d50
2021-08-27 16:28:12 -07:00
Brian Isganitis 813bf2d243 Merge "Support dark theme in wallpaper launcher preview." into sc-v2-dev am: ca74b4d5be am: 720795a039
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694616

Change-Id: I8b31956d2f269f2d20fb03518fa9e297bad04e65
2021-08-27 20:20:21 +00:00
Brian Isganitis ca74b4d5be Merge "Support dark theme in wallpaper launcher preview." into sc-v2-dev 2021-08-27 19:49:15 +00:00
Brian Isganitis 1094b503f5 Support dark theme in wallpaper launcher preview.
Test: Search bar in wallpaper preview follows dark theme without themed
icons enabled.
Fix: 197475508

Change-Id: Ib71356fad3510348c1408c886c4796bc16a59642
2021-08-27 14:23:17 -04:00
Sunny Goyal bb0305614c Preventing workspace scroll over QSB area
Bug: 189792966
Test: Manual
Change-Id: Ie2fe8e7fb6c80b9cc19d517fe828cf26f54f6f09
2021-08-27 10:38:30 -07:00
TreeHugger Robot c5f922de83 Merge "Do not reload launcher when changing active display" into sc-v2-dev am: 64a826fa16 am: 486a99ef6f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15676832

Change-Id: Ia783c2a5b198b26f8fe1abf24c2694e351e1d44d
2021-08-27 16:19:53 +00:00
TreeHugger Robot 64a826fa16 Merge "Do not reload launcher when changing active display" into sc-v2-dev 2021-08-27 15:50:56 +00:00
Jerry Chang 09b40241fc Always refresh device profile when multi window mode changed
Launcher monitors multi-window mode changed and updates device profile
through configuration chagned callback. It's possible that a new
configuration contains multi-window mode changed but without screen
size size change that across screen layout qualifier. Client apps might
not even receive onConfingurationChagned.

Updates Launcher to monitor multi-window mode changed through
onMultiWindowModeChanged to make sure it always refreshes device profile
that matches with the latest mulati-window mode.

Fix: 197835119
Test: manual check the repo steps.
Change-Id: Ie99045a1fc8493ff37645b95e7ccd9d15478d862
2021-08-27 14:56:24 +08:00
Andy Wickham fe6fabaefe Enables Taskbar Edu by default.
Bug: 180605356
Test: Manual
Change-Id: I42fbdabf1e78e92e46a0d8e60a24dd94f499abbe
2021-08-26 14:55:04 -10:00
Hyunyoung Song c8e52e1039 All apps memory leak fix / unregister data observer am: 6e72c8bbba am: ee23f60dcc am: 22585be55f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687067

Change-Id: If8704813ecebff06656f86c6b586d954087cb507
2021-08-27 00:51:18 +00:00
Hyunyoung Song 22585be55f All apps memory leak fix / unregister data observer am: 6e72c8bbba am: ee23f60dcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687067

Change-Id: Ia2114092a86ed7cdbaab6d4a1d6b830329794158
2021-08-27 00:39:57 +00:00
Hyunyoung Song eaa208bb11 All apps memory leak fix / unregister data observer am: 6e72c8bbba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687067

Change-Id: I16c9cfc4aec2fa36e1fe465e0093eba1b7b475bf
2021-08-27 00:27:28 +00:00
Sunny Goyal 6e6f79933e Do not reload launcher when changing active display
> Updating IDP to use fixed bitmap sizes, so that the cache
  stays valid
> Caching last known windowMetrices for non-active displays and
  using estimation only when the cache is not available
> Only reloading model if IDP change could have affected the model
> Remove unnecessary listeners from IDP which are already controlled by
  model lifecycle

Bug: 191657065
Test: Manual
Change-Id: Ia8e6dfafd0977e62aa3fcf367ad79f7a49b2df51
2021-08-26 15:55:21 -07:00
Hyunyoung Song 6e72c8bbba All apps memory leak fix / unregister data observer
Bug: 197702957

Test: adb shell dumpsys meminfo com.google.android.apps.nexuslauncher, ahat

Change-Id: Ia5732cced959e4a199d9c2b59f1f3941a2e23552
2021-08-26 15:18:47 -07:00
Android Build Prod User 1021d42bb9 Merge changes Ib2bc8419,Ia41cb0e3,I43bfbc41 into sc-v2-dev am: 2d5a8dc847 am: f08ff393fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15677716

Change-Id: I98a6730fb4c327fbaf244a2e0713c65a9c1cd6cc
2021-08-26 22:14:50 +00:00
Android Build Prod User 2d5a8dc847 Merge changes Ib2bc8419,Ia41cb0e3,I43bfbc41 into sc-v2-dev
* changes:
  Animate PredictedAppIcon when its icon changes
  Add "wave" animation when entering taskbar edu
  Add slot machine animation for PredictedAppIcon
2021-08-26 21:48:07 +00:00