Commit Graph

35044 Commits

Author SHA1 Message Date
TreeHugger Robot bad93beeea Merge "Bugfix where the widget handles appear even when you can't resize it." into sc-v2-dev am: d4df41b78f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065847

Change-Id: I4eb5d7b74aa568e9c5902dd16b381c18a90c67d5
2021-10-21 21:03:06 +00:00
TreeHugger Robot d4df41b78f Merge "Bugfix where the widget handles appear even when you can't resize it." into sc-v2-dev 2021-10-21 20:46:37 +00:00
TreeHugger Robot 9942d3d9ad Merge "Fixing wrong text spacing bounds" into sc-v2-dev am: a293a864a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16103164

Change-Id: Ic116f66d3fc3fbd69248ed56240b61ec988defa6
2021-10-21 20:30:06 +00:00
TreeHugger Robot a293a864a6 Merge "Fixing wrong text spacing bounds" into sc-v2-dev 2021-10-21 20:16:37 +00:00
TreeHugger Robot f01eb38f56 Merge changes Id9fdcd71,Ic4d69d73 into sc-v2-dev am: b4ce5c1b36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16092005

Change-Id: I6280a0eca86273230ef6a8b608d7024f6d373601
2021-10-21 20:10:13 +00:00
TreeHugger Robot b4ce5c1b36 Merge changes Id9fdcd71,Ic4d69d73 into sc-v2-dev
* changes:
  Stash taskbar in fallback recents
  Add FallbackTaskbarUIController
2021-10-21 19:56:38 +00:00
TreeHugger Robot 98f96beae6 Merge "Ignore testOverviewForTablet until root cause of cuttlefish failure is found." into sc-v2-dev am: 7ca12edf54
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101509

Change-Id: If9ea0f47ad51519b6acac58caeaa46a504b4cf05
2021-10-21 19:19:03 +00:00
TreeHugger Robot 7ca12edf54 Merge "Ignore testOverviewForTablet until root cause of cuttlefish failure is found." into sc-v2-dev 2021-10-21 18:53:31 +00:00
Sunny Goyal 486adb03a0 Fixing wrong text spacing bounds
Bug: 203740844
Test: Manual
Change-Id: I68fcab489643acf80759f90736f806ae2852e648
2021-10-21 11:30:18 -07:00
Tony Wickham 3f6e3f0650 Stash taskbar in fallback recents
Test: Swipe to Overview with 3P launcher as default, watch taskbar stash
Fixes: 188790554
Change-Id: Id9fdcd715fc50872e3a96f102053a9a99859b482
2021-10-21 10:53:48 -07:00
Tony Wickham 8791e7de11 Add FallbackTaskbarUIController
- Refactor TaskbarManager to accept StatefulActivity instead of BaseQuickstepLauncher
- Update the new StatefulActivity in onOverviewTargetChange()
- Cleanup LauncherTaskbarUIController a bit to avoid initializing TaskbarActivityContext, TaskbarDragLayer, and TaskbarViewController in the constructor, and instead get these from mControllers after init()

Test: No change in behavior
Bug: 188790554
Change-Id: Ic4d69d73deb6dada416876eb265db57803c3adfd
2021-10-21 10:53:46 -07:00
Sebastian Franco 4067f5d4ae Bugfix where the widget handles appear even when you can't resize it.
To fix it I added the following logic condition: if the minimum size of
the widget (`mMinVSpan` vertically) is equal to the maximum size of the
widget (`mMaxVSpan` vertically), then you can't change the size and the
handles shouldn't appear, I did this for both the horizontal handles as
well as the vertical handles.

Fix: 202004006
Change-Id: Ide05231f5712a736129ac6cb2fee358f7c70e371
Test: Manully veryfied.
2021-10-21 17:32:31 +00:00
Pat Manning 8893098446 Ignore testOverviewForTablet until root cause of cuttlefish failure is found.
Test: TaplTestQuickstep.java
Bug: 203781041
Change-Id: Iffd7031f303822fe77c02052eb07499e8644243b
2021-10-21 18:09:15 +01:00
TreeHugger Robot 9c7affaa7f Merge "Update TaskView corner radius as RecentsView scale changes" into sc-v2-dev am: d238074c39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101499

Change-Id: I75493afd9b53f6da1bc7c03bf6025e9bc4bbb492
2021-10-21 15:26:16 +00:00
TreeHugger Robot d238074c39 Merge "Update TaskView corner radius as RecentsView scale changes" into sc-v2-dev 2021-10-21 15:12:16 +00:00
Alex Chau 3c6795e355 Update TaskView corner radius as RecentsView scale changes
Fix: 192253697
Test: manual
Change-Id: I45825c955b759163792d704408e348c198830fc8
2021-10-21 14:23:11 +01:00
Nick Chameyev 6ab67cfb39 Merge "Do not animate statusbar unfold when in portrait orientation" into sc-v2-dev am: 8523412470
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057110

Change-Id: Ie4398c08e77f822a0bd4c1eb815e1bd5567da558
2021-10-21 10:18:42 +00:00
Nick Chameyev 8523412470 Merge "Do not animate statusbar unfold when in portrait orientation" into sc-v2-dev 2021-10-21 10:02:00 +00:00
TreeHugger Robot 46d073d480 Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev am: 6409130f29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16093822

Change-Id: I5df26b3710f01c08c89f257d3b068ad2c266f284
2021-10-20 23:49:50 +00:00
TreeHugger Robot 6409130f29 Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev 2021-10-20 23:34:49 +00:00
TreeHugger Robot 151bca2c30 Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev am: ea38519fa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057107

Change-Id: Iaa51ed2e5e7930846168ab1c43d3bd1921d79a42
2021-10-20 21:05:37 +00:00
Vinit Nayak 45fbe5b563 Cache TISBinder for multiple onBind() calls
Bug: 202986128
Change-Id: I29a0963ff2880c9970859bc1437c7624bc7f0aea
2021-10-20 13:51:40 -07:00
TreeHugger Robot ea38519fa4 Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev 2021-10-20 20:50:17 +00:00
Schneider Victor-tulias 0bf23a24ec Merge "Generalize the icon popup menu types." into sc-v2-dev am: e9bd364390
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065857

Change-Id: I4f16e17ee3c6e30fdeeac9f139756fa64fed4afa
2021-10-20 18:52:14 +00:00
Schneider Victor-tulias e9bd364390 Merge "Generalize the icon popup menu types." into sc-v2-dev 2021-10-20 18:32:56 +00:00
Yogisha Dixit 7b1d25b251 Fix bug with resize frame in Launcher3.
Also updated the tests to check that the resize frame is shown.

Bug: 192655785
Test: AddWidgetTest, AddConfigWidgetTest, manual
Change-Id: Id348f39cec1bebc8ec9ea9f3068f4bda2159eac4
2021-10-20 19:03:14 +01:00
Pat Manning c8763d47de Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev am: 3c647ff30a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992810

Change-Id: I1d405349dd20f7202c2ddf5353b3d9e91ea4d39f
2021-10-20 16:55:18 +00:00
Samuel Fufa b045ca8f84 Merge "[Search] [Race condition] Fix wrong titles showing on BubbleTextHolder" into sc-v2-dev am: f0f2b75ada
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087788

Change-Id: Ie35254f52b9b59d9eaec569cd756374254d0f8f4
2021-10-20 16:55:10 +00:00
Pat Manning 3c647ff30a Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev 2021-10-20 15:20:26 +00:00
Pat Manning ccec1de6ae Add new quickstep test for many tasks open at once.
This test is needed for testing overview-grid-related functionality.
- Opening non-focused tasks
- Dismissing a non-focused task from the grid
- Grid rows rebalancing after dismissal, which only happens when enough
apps are open to be off-screen.
- Grid tasks do not scroll after dismissal.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ic907db4643cdc2eb9e4610dab917347e234e470c
2021-10-20 14:40:32 +01:00
Samuel Fufa f0f2b75ada Merge "[Search] [Race condition] Fix wrong titles showing on BubbleTextHolder" into sc-v2-dev 2021-10-20 03:15:25 +00:00
sfufa@google.com d7bdd97ac6 [Search] [Race condition] Fix wrong titles showing on BubbleTextHolder
No need to remove the listener on BubbleTextView#reset as BubbleTextView's parent should never change and always listen for ItemInfo updates.

Bug: 203506475
Test: Manual
Change-Id: Ie00b293495c79d36c9eb08408754389ab4b80839
2021-10-19 17:15:06 -07:00
Schneider Victor-tulias 16e04e29d2 Generalize the icon popup menu types.
Generalized popup menu types and logic to allow wider uses outside of launcher.

Bug: 198438631
Test: long pressed launcher icons and pressed menu options
Change-Id: Iadcbb1796496c0061dcee362784e426ff55dc94a
2021-10-19 16:06:16 -07:00
Sunny Goyal 37a237b2cd Merge "Adding support for dynamic letter spacing for icon labels" into sc-v2-dev 2021-10-19 22:56:16 +00:00
Samuel Fufa c46c83c8c8 Merge "[Work Profile] Fix NPE on WorkModeSwitch" into sc-v2-dev 2021-10-19 22:01:25 +00:00
TreeHugger Robot bc9dd92220 Merge "Delaying taskbar loading until user setup completed" into sc-v2-dev 2021-10-19 21:49:02 +00:00
Sunny Goyal 0d69cb6ef7 Adding support for dynamic letter spacing for icon labels
Bug: 201697936
Test: Manual
Change-Id: I0ab81291c40afcac30c5caf7b5638889908775f8
2021-10-19 13:09:58 -07:00
TreeHugger Robot 741cba2fc3 Merge "Add log to RemoteTargetGluer to determine which array is empty." into sc-v2-dev 2021-10-19 20:06:57 +00:00
TreeHugger Robot 06146a1944 Merge "Revert "Clear only workspace shortcut / widget related tests"" into sc-v2-dev 2021-10-19 19:56:29 +00:00
Sunny Goyal 2a528a43c1 Delaying taskbar loading until user setup completed
> Also keeping it stashed while all-set activity is visible
> Creating a shared state (simiar to saved instance state) for taskbar
> Keeping taskbar stashed while all-set activity is visible

Bug: 194786060
Bug: 201782272
Test: Manual
Change-Id: Iab5e082243a206772266aece62d3028f5acb6400
2021-10-19 12:38:02 -07:00
sfufa@google.com dda4f2c602 [Work Profile] Fix NPE on WorkModeSwitch
Bug: 202868251
Test: manual
Change-Id: I16e149e0aab1b53f7a0e753f353ccace08cf6b71
2021-10-19 11:22:55 -07:00
Vinit Nayak 75465b2d7f Add log to RemoteTargetGluer to determine which array is empty.
Bug: 199658495
Change-Id: I069044d8ee0173fa3870f48d50374c634e0d58d7
2021-10-19 18:10:06 +00:00
Schneider Victor-tulias b4307ff8aa Merge "Update gesture navigation tutorial with new specs for foldable devices." into sc-v2-dev 2021-10-19 17:59:31 +00:00
Petr Čermák 036b45aa1c Hyphenate options in home screen long-press menu
Fix: 202237027
Test: make and visually verify the UI
Change-Id: Ic319a8e3a957ee5011263bcc5f2e9c00fc6fcb86
(cherry picked from commit 962757e281)
2021-10-19 10:43:04 +00:00
Alex Chau abf9850dea Merge "Don't apply left/right inset on gesture nav landscape" into sc-v2-dev 2021-10-19 10:24:57 +00:00
Tracy Zhou fc0b21596f Merge "Track LauncherState for task bar stashing better" into sc-v2-dev 2021-10-19 07:06:14 +00:00
Vinit Nayak 6f6e97c653 Merge "Ensure RecentsView RemoteTargetHandle's are non-null" into sc-v2-dev 2021-10-18 23:19:21 +00:00
Alex Chau bbe6cf30a2 Don't apply left/right inset on gesture nav landscape
Fix: 201775630
Test: Go to landscape with gesture nav, widgets not cropped and cellSize matches HSV
Change-Id: I68e62897b31dbb8509c95a20e8d3a3528a40fe9b
2021-10-18 20:52:05 +01:00
Mady Mellor 20c05fbd4c Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev 2021-10-18 19:35:05 +00:00
Alex Chau 9b3dd6c0b9 Revert "Clear only workspace shortcut / widget related tests"
This reverts commit 22be1a47f4.

Reason for revert: Breaks another test
Bug: 202546679

Change-Id: I796c508a6d7c00ec8c1d48e3517453f9eca0616c
2021-10-18 17:52:12 +00:00