Commit Graph

47938 Commits

Author SHA1 Message Date
Thiru Ramasamy 5fbac637c6 [OneSearch] Extract logging event for all apps entry into separate method.
Add containerInfo to the AllApps entry events to track from which workspace
user entered into AllApps drawer

Bug: 217583896
Test: Manual http://gpaste/6272522430447616

Change-Id: I77069a350a7b0e88cb321485144e0d8b976c4da9
2022-02-04 19:20:59 +00:00
Thales Lima f7bad2c880 Use less steps for home gesture
Needed because when running tests in virtual devices is very slow. The previous number of steps was also greater than the default timeout for home gesture.

Fixes 215673732
Test: atest Launcher3Tests:RequestPinItemTest

Change-Id: I9b13d97deb158222ba0ebf3f6a536c5a7ae632cf
2022-02-04 19:00:23 +00:00
Andy Wickham cf462e879a Adds ENABLE_FLOATING_SEARCH_BOX flag for All Apps.
This defines how the All Apps screen should be laid out without
anchoring to the search bar at the top, as follows:
 - Header view aligns to the top instead of below search bar.
 - Same for A-Z list.
 - Scroller is aligned to the header view to receive the above
   adjustments automatically.
 - A-Z list is set above search bar to not peek from below.
 - Search bar is set to align parent bottom and translates up
   with the keyboard.
 - Button to disable work apps is raised above the search bar.

Bug: 213954333
Test: Manually with flag enabled/disabled, Always show keyboard
enabled/disabled, and work profile enabled/disabled.

Change-Id: If90bb39a890029fa7056367fe62bad0677f0b86e
2022-02-03 17:12:22 -08:00
Thales Lima 116b51a999 Tune homescreen paddings
Also change the number of hotseat icons back to 6 on large screens

Fixes 210118169
Test: visual, Window VQA and HSV

Change-Id: I9a408f17080a558c2030805dd822f26e3c846e5d
2022-02-03 16:19:47 +00:00
TreeHugger Robot 3ad9de373f Merge "Log LAUNCHER_ALLAPPS_CLOSE_TAP when dismissing via touching scrim" 2022-02-03 07:37:38 +00:00
Tracy Zhou 4acb718a5c Merge "Initial implementation of split from workspace and all apps" 2022-02-03 04:30:35 +00:00
TreeHugger Robot 47a39329ae Merge "Be forgiving with accidental horizontal scroll" 2022-02-03 00:41:54 +00:00
Tracy Zhou a0d4720815 Initial implementation of split from workspace and all apps
Bug: 216829535
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/feb5db9c-9429-42c2-a124-777e66fd5f0b
Change-Id: I34118975d0d7e15eb46b483f5a05447f5391e6fd
2022-02-02 13:37:47 -08:00
TreeHugger Robot a19af85605 Merge "Add split action buttons to workspace icon menu" 2022-02-02 20:52:33 +00:00
Evan Rosky dce4693bff Use fixed-rotation by default for shell transitions
As explained in title. Temporarily use fixed-rotation
by default for shell transitions

Bug: 217560545
Test: manual + existing flicker
Change-Id: Ic7c70d9305fe62dc7b6da0a02c0e1ccad412a1e2
2022-02-02 11:28:19 -08:00
Alex Chau 391bb2dd93 Log LAUNCHER_ALLAPPS_CLOSE_TAP when dismissing via touching scrim
Bug: 208599118
Test: Check StatsLog
Change-Id: Id3ec0650555072985df742cd1e8b020186e81959
2022-02-02 18:30:41 +00:00
Treehugger Robot 24113e8a07 [automerger skipped] Merge "Fix licenses and license texts." am: 55ce0a918c am: e91aa3abf2 am: d04232931b -s ours am: bc4b55f97d -s ours
am skip reason: Merged-In I1d76cab983a7d1f9078c0e2f1252f5409692f300 with SHA-1 478abd32c3 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1964700

Change-Id: I7deee5146bb2bfe783ebc47fb601764b46d44e51
2022-02-02 18:10:56 +00:00
Treehugger Robot bc4b55f97d [automerger skipped] Merge "Fix licenses and license texts." am: 55ce0a918c am: e91aa3abf2 am: d04232931b -s ours
am skip reason: Merged-In I1d76cab983a7d1f9078c0e2f1252f5409692f300 with SHA-1 478abd32c3 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1964700

Change-Id: I452669183267f207f7112481554d96800efd9918
2022-02-02 17:34:19 +00:00
Treehugger Robot d04232931b Merge "Fix licenses and license texts." am: 55ce0a918c am: e91aa3abf2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1964700

Change-Id: Id8b68a3951d1bbed8116536ad7286f11d7795b2c
2022-02-02 17:19:27 +00:00
Treehugger Robot e91aa3abf2 Merge "Fix licenses and license texts." am: 55ce0a918c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1964700

Change-Id: Ifd75b6b1c77fb40c42eb3209933d77a4b3a3289b
2022-02-02 17:04:22 +00:00
TreeHugger Robot 13ea683810 Merge "Don't apply nav bar insets in tablets" 2022-02-02 16:58:06 +00:00
Treehugger Robot 55ce0a918c Merge "Fix licenses and license texts." 2022-02-02 16:48:44 +00:00
Bob Badour 5b17ccb509 [automerger skipped] Fix licenses and license texts. am: 478abd32c3 -s ours
am skip reason: Merged-In Id941d93786882aca78f214ac692433a353b84ed3 with SHA-1 a7548b5871 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16772277

Change-Id: I5eeab466ebe6740eba19bb678ff555bb9deadf3c
2022-02-02 13:54:13 +00:00
Tracy Zhou c70fa777de Add split action buttons to workspace icon menu
Bug: 216829535
Test: https://screenshot.googleplex.com/BNu6iWHGKV9sX7u
Change-Id: Id7ef9093e24c0211cf9590b35399e1f4d5b55ecf
2022-02-01 21:37:24 -08:00
Bob Badour 596ebbc9fb Fix licenses and license texts.
Entire project is 1p.

Bug: 210912771

Test: m nothing

Change-Id: I1d76cab983a7d1f9078c0e2f1252f5409692f300
Merged-in: Id941d93786882aca78f214ac692433a353b84ed3
Merged-in: I1d76cab983a7d1f9078c0e2f1252f5409692f300
2022-02-02 03:02:50 +00:00
Bob Badour 478abd32c3 Fix licenses and license texts.
Entire project is 1p.

Bug: 210912771

Test: m nothing

Change-Id: I1d76cab983a7d1f9078c0e2f1252f5409692f300
Merged-in: Id941d93786882aca78f214ac692433a353b84ed3
Merged-in: I1d76cab983a7d1f9078c0e2f1252f5409692f300
2022-02-01 18:53:38 -08:00
Brian Isganitis c1b94255cf Merge "Enable all apps in taskbar flag." 2022-02-01 21:19:03 +00:00
TreeHugger Robot b0c334e78c [automerger skipped] Merge "Fix taskbar icon dragging issues" into sc-v2-dev am: 9f0d54ebe3 am: 0702c25340 -s ours
am skip reason: Merged-In I848138af28802f7d806708c77c25b8de307c70d8 with SHA-1 312b68fde4 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16738495

Change-Id: I427464648ea7ba66c08692d3734f39857fab70bb
2022-02-01 20:26:43 +00:00
TreeHugger Robot 0702c25340 Merge "Fix taskbar icon dragging issues" into sc-v2-dev am: 9f0d54ebe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16738495

Change-Id: If129ddc48e5432bdb5c26280bc7ea20926518fac
2022-02-01 20:08:59 +00:00
TreeHugger Robot 9f0d54ebe3 Merge "Fix taskbar icon dragging issues" into sc-v2-dev 2022-02-01 19:53:13 +00:00
TreeHugger Robot 0acf93b251 Merge "Fix licenses and license texts." 2022-02-01 19:02:06 +00:00
Schneider Victor-tulias a8dae26d39 Fix taskbar icon dragging issues
- Fixed icons disappearing when initiating dragging
- Fixed incorrect icon location when initiating dragging after rotating the screen to an orientation other than what launcher started in

Fixes: 215418478
Fixes: 214025075
Fixes: 210460544
Test: dragged icons from the workspace and taskbar
Change-Id: I848138af28802f7d806708c77c25b8de307c70d8
(cherry picked from commit 312b68fde4)
Merged-In: I848138af28802f7d806708c77c25b8de307c70d8
2022-02-01 18:27:59 +00:00
Jon Miranda f737897e5e Merge "Add All Apps entry button to Taskbar." 2022-02-01 17:32:38 +00:00
Bob Badour a7548b5871 Fix licenses and license texts.
Entire package is 1p.

Bug: 210912771

Test: m nothing

Change-Id: Id941d93786882aca78f214ac692433a353b84ed3
2022-02-01 17:26:39 +00:00
Brian Isganitis 3a7e71b322 Enable all apps in taskbar flag.
Test: Manual
Bug: 204696617
Change-Id: Ia44d0c2de20db13a4cc15f269a8670bd480ba802
2022-02-01 12:20:59 -05:00
Alex Chau 6a7d1e2ad1 Don't apply nav bar insets in tablets
- With flexible inset changes in T, taskbar is no longer inseted in getCurrentSizeRange, i.e. DeviceProfile.availableHeight no longer inset nav bar size
- In order for home screen sizes to be calcualted correctly, avoid inseting nav bar in LauncherRootView
- Only apply a bottom padding with stashed taskbar size to necessarily surfaces (Overview)
- Home screen icon overlap will be fixed in separate CL

Bug: 215528237
Test: maual in tablet gesture nav and 3 buttons
Change-Id: I9bc796ba059159e819f8cd121ddabab96c8113d2
2022-02-01 13:08:49 +00:00
Pat Manning 754549cac7 Merge "Reenable tablet tests for OOP TAPL tests." 2022-02-01 10:04:12 +00:00
Jon Miranda fd48b0c988 Add All Apps entry button to Taskbar.
- Opens All Apps when clicked
- Fades button in/out when transitioning b/w Hotseat & Taskbar

Bug: 205803230
Test: manual
      ensures alpha gets reset properly
      clicking button opens all apps
Change-Id: I1b96bae734aa9fd9308931d6312e3d65559d4284
2022-01-31 17:22:58 -08:00
Jon Miranda 14568de2ae Merge "Avoid sending FirstScreenBroadcast if there is nothing to send." 2022-01-31 23:48:24 +00:00
Andy Wickham 34d3bcece2 Merge "Utilities.trim never returns null." into sc-v2-dev am: 0af55bbc0c am: d0f7f13f5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Change-Id: Iaf342ca69a8b1caa4aa22899341db5c7dc0aafd1
2022-01-31 23:31:31 +00:00
Andy Wickham d0f7f13f5d Merge "Utilities.trim never returns null." into sc-v2-dev am: 0af55bbc0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Change-Id: Id09ef46d8e534da0a165c3b1df3ee0b5803db1df
2022-01-31 23:25:41 +00:00
Andy Wickham 82b3002ac9 Merge changes from topic "presubmit-am-54c71514c6e64d9595298afeee5d4938" into sc-v2-dev-plus-aosp am: 30b3369ac9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Change-Id: I8c8c2a5cfe8fb0b372a1ddc5580bbf587a5ef4f1
2022-01-31 23:25:10 +00:00
Andy Wickham 0af55bbc0c Merge "Utilities.trim never returns null." into sc-v2-dev 2022-01-31 23:13:14 +00:00
Andy Wickham 30b3369ac9 Merge changes from topic "presubmit-am-54c71514c6e64d9595298afeee5d4938" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Utilities.trim never returns null. 2p: 5f0a5eb877
  Utilities.trim never returns null.
2022-01-31 23:13:14 +00:00
Schneider Victor-tulias c4ed3ab82c Fix blank workspce icons on Launcher data refresh.
Clearing the launcher data with bulk workspace icon loading caused blank app icons to appear. Added fallback title and icon loading flows to the bulk icon loading flow.

Test: manually cleared launcher data
Fixes: 216590478
Bug: 195674813
Change-Id: I8e24a166be9f591155d538dfec865d047131b756
2022-01-31 12:33:29 -08:00
Pat Manning 30c28a0a22 Reenable tablet tests for OOP TAPL tests.
Bug: 210158657
Test: TaplTestsQuickstep.java
Change-Id: Ib604642be6819065cde4167f3705d43ced3b2fda
2022-01-31 18:49:20 +00:00
Winson Chung 458e842bca Merge "Revert "Temporarily disable SUW specific insets logic"" 2022-01-29 22:05:14 +00:00
Alex Chau 758437493f Add ScreenRecord for a flaky test
Bug: 202433017
Test: none
Change-Id: If4bc72e5eae39ce641521b2edbf3ba630968c561
2022-01-29 18:35:56 +00:00
Brian Isganitis c13700b61e Merge changes I2ede15d8,I86a0ffc0,I7c5fdbc7
* changes:
  Do not scale down taskbar all apps icons.
  Inflate taskbar all apps in abstract slide-in view.
  Introduce initial A-Z app drawer to taskbar.
2022-01-29 03:00:45 +00:00
TreeHugger Robot 5f0dbb6828 Merge "Include A11y timeout for taskbar icon dimming in kids mode." 2022-01-29 02:42:55 +00:00
Jon Miranda 06c06a46e5 [automerger skipped] Merge "Fix bug where back swipe to icon in All Apps search result." into sc-v2-dev am: b2e30bd4e9 -s ours am: 63dd1ab86c -s ours
am skip reason: Merged-In Iaec77d15c9533edccd9c82164143af8fa522158f with SHA-1 db767aa575 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16684091

Change-Id: I79ae2e582471a4fcab6590e07a6f69dcba331cf5
2022-01-29 00:25:23 +00:00
Jon Miranda 63dd1ab86c [automerger skipped] Merge "Fix bug where back swipe to icon in All Apps search result." into sc-v2-dev am: b2e30bd4e9 -s ours
am skip reason: Merged-In Iaec77d15c9533edccd9c82164143af8fa522158f with SHA-1 db767aa575 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16684091

Change-Id: I52ec25408aa0c763712a443dd34710e107c4551f
2022-01-29 00:19:04 +00:00
Jon Miranda e16b89127c [automerger skipped] Merge changes from topic "presubmit-am-afa98d56a10a42f4b953a23b9b07db3b" into sc-v2-dev-plus-aosp am: ce048f07cc -s ours
am skip reason: Merged-In Iaec77d15c9533edccd9c82164143af8fa522158f with SHA-1 b030f83f52 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16684091

Change-Id: I61adc056b7ebcee2cd049bffa7ecc20eb7e60b56
2022-01-29 00:18:36 +00:00
Jon Miranda b2e30bd4e9 Merge "Fix bug where back swipe to icon in All Apps search result." into sc-v2-dev 2022-01-29 00:07:23 +00:00
Jon Miranda ce048f07cc Merge changes from topic "presubmit-am-afa98d56a10a42f4b953a23b9b07db3b" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Fix bug where back swipe to icon in All Apps search result. 2p: db767aa575
  Fix bug where back swipe to icon in All Apps search result.
2022-01-29 00:07:23 +00:00