Commit Graph

48831 Commits

Author SHA1 Message Date
Android Build Coastguard Worker ccbaeba497 Snap for 9014491 from 5166c5da3f to tm-qpr1-release
Change-Id: I73f604154630bb1a387605fafa9971307181dfdd
2022-08-31 23:25:51 +00:00
Brian Isganitis 5166c5da3f Merge "Snap to last task if swiping down at a greater Y than X velocity." into tm-qpr-dev 2022-08-31 02:14:38 +00:00
TreeHugger Robot bcbba897fc Merge "Add app predictions to secondary display app drawer & fix tab UI." into tm-qpr-dev 2022-08-31 00:01:21 +00:00
Android Build Coastguard Worker f4ab237de5 Snap for 9010110 from b4a30ab955 to tm-qpr1-release
Change-Id: I75933a514ced8df4d68d9ad10ded0e36a23e1476
2022-08-30 23:25:36 +00:00
Schneider Victor-tulias ff5ad47a06 Merge "Add gesture nav error state tracking and logging" into tm-qpr-dev 2022-08-30 22:42:46 +00:00
Sukesh Ram 1b4869fcbc Add app predictions to secondary display app drawer & fix tab UI.
Bug: 233926067
Test: Manual
Change-Id: I2f45a4b30964b365bf149e8864a3af2ea909a237
(cherry picked from commit 9e5fe63a22)
Merged-In: I2f45a4b30964b365bf149e8864a3af2ea909a237
2022-08-30 22:30:03 +00:00
Brian Isganitis c043d45c42 Snap to last task if swiping down at a greater Y than X velocity.
If you swipe down slightly diagonally, it will almost always be treated as a swipe to the next task rather than a return to the current task. If we are swiping down and the Y velocity is grater, we should snap to the current task instead.

Test: Manually in fully gestural mode.
Bug: 222117127
Change-Id: I8c3cd483f7ceefe0de1e24b6e98918b12428ed10
2022-08-30 20:59:40 +00:00
Sukesh Ram 924852fec5 Made popupContainer's shadow & arrow visible in secondary display
Reduced elevation of app drawer to 0dp because it was conflicting with popup container elevation

Test: Manual
Change-Id: I222866ddfc44ebf9ecd9787bb448e502339a1688
Fix: 233932585
(cherry picked from commit 354fe14cd4)
2022-08-30 20:27:33 +00:00
Brian Isganitis 168482688a Merge "Simplify calculateEndTarget logic." into tm-qpr-dev 2022-08-30 20:09:10 +00:00
Schneider Victor-tulias 038922a653 Add gesture nav error state tracking and logging
- Added ActiveGestureErrorDetector
- Removed startQuickstep logs; these were confusing and not helpful in ActiveGestureLogs

Test: printed logs after several gestures
Bug: 227514916
Design: go/gesture-nav-logging
Change-Id: Ia2a7e4f90a3a371d9a92190aa66eb07acd061d6c
2022-08-30 12:18:29 -07:00
Pat Manning b4a30ab955 Merge "Refactor overview progress as splash progress." into tm-qpr-dev 2022-08-30 13:29:53 +00:00
Pat Manning 81dc9ad131 Refactor overview progress as splash progress.
This also avoids showing splash in split select state

Fix: 242284413
Test: follow up after b/238405972
Change-Id: I2e83fa3d030e8a74edb4152c472dbf02ac5a80b1
2022-08-30 11:23:08 +01:00
Pat Manning 8463ab771e Merge "Launch tasks before testing switch to overview." into tm-qpr-dev 2022-08-30 10:10:45 +00:00
TreeHugger Robot 40b6d6038c Merge "Added margin of size 24dp above search bar on secondary display" into tm-qpr-dev 2022-08-30 06:02:49 +00:00
Android Build Coastguard Worker aac8d5eb31 Snap for 9005101 from 2886ff0826 to tm-qpr1-release
Change-Id: I3e11ec298ca7e444feeea9c4a2e6a15e4af8bed0
2022-08-29 23:30:43 +00:00
Sukesh Ram bf520a5935 Added margin of size 24dp above search bar on secondary display
Test: Manual
Change-Id: I5debc810385eced54aaed436489b16f36367194c
(cherry picked from commit 958dcd2f4f)
Bug: 244224274
2022-08-29 22:24:59 +00:00
Sebastian Franco 47558a6201 Adding flag to improve the icons reordering on foldables
Test: compiles
Bug: 188081026
Change-Id: Ifa30bbc9ff38f2cc0f9530f3e075b5eb662f63eb
Merged-In: Ifa30bbc9ff38f2cc0f9530f3e075b5eb662f63eb
2022-08-29 22:08:20 +00:00
Brian Isganitis a4636922a6 Merge "Add doc clarifying Taskabr icon alpha consumer purpose." into tm-qpr-dev 2022-08-29 20:54:07 +00:00
Brian Isganitis 2303eb0aac Simplify calculateEndTarget logic.
This method has grown quite large and has a lot of if-else nesting. We
can address these readability issues by defining some helper methods for
specific cases (e.g. flingY and non-fling).

Bug: 222117127
Test: Manual
Change-Id: Ia6012dbcee9a842b4b5bd2ffdb9aea978cfdfc26
2022-08-29 20:47:32 +00:00
Sebastián Franco 2886ff0826 Merge "Add screen recording to debug test ReorderWidgets.java flakynes" into tm-qpr-dev 2022-08-29 16:10:44 +00:00
Android Build Coastguard Worker 2a6d13fdfa Snap for 9002697 from 0940c2d92c to tm-qpr1-release
Change-Id: I84138c1d9a597145c164372f8dc205f322239997
2022-08-29 01:25:01 +00:00
Bill Yi 0940c2d92c Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-08-27 23:25:04 +00:00
Brian Isganitis dc643f9bea Add doc clarifying Taskabr icon alpha consumer purpose.
The motivation ternary `alpha > 0 ? 0 : 1` was not immediately clear, so adding some clarification for future readers.

Test: No
Change-Id: I558e86153e68572a519317dba7fbba180cb5678e
Fix: 239074423
2022-08-27 20:46:49 +00:00
Android Build Coastguard Worker 4a401b3c5b Snap for 9000567 from 7fb96a5305 to tm-qpr1-release
Change-Id: I7535d8108ce44aba21d0004673c1845c1d71258d
2022-08-27 01:26:11 +00:00
Android Build Coastguard Worker e4627dea18 Snap for 8994498 from 9672e2e74f to tm-qpr1-release
Change-Id: I60bafa62f9a43336db0dbb66d02d8389b8d3bb65
2022-08-25 23:25:39 +00:00
Schneider Victor-tulias 7fb96a5305 Merge changes I562abc6c,I7a48d960,I0916f969 into tm-qpr-dev
* changes:
  Update ActiveGestureLog to store n-gestures rather than n-events.
  Add input consumer selection reason to active gesture logs
  Collapse EventLogArray into ActiveGesture log.
2022-08-25 20:42:13 +00:00
Schneider Victor-tulias 976fdbe623 Update ActiveGestureLog to store n-gestures rather than n-events.
Test: printed logs after several gestures
Bug: 227514916
Change-Id: I562abc6c5c43e53a53b085234b0be01dae90ac06
2022-08-25 17:05:01 +00:00
Schneider Victor-tulias 24637f50c5 Add input consumer selection reason to active gesture logs
Test: manually tried gestures in 3 button and gesture nav and checked logs
Bug: 227514916
Change-Id: I7a48d960ef5a41ddee95153fa08a2345f00cbef7
2022-08-25 10:03:30 -07:00
Schneider Victor-tulias a0cd3e0295 Collapse EventLogArray into ActiveGesture log.
EventLogArray is never used directly, only used as a super class of ActiveGestureLog. Simplifying the hierarchy to simplify follow-up changes.

Test: manually tried gestures in 3 button and gesture nav and checked logs
Bug: 227514916
Change-Id: I0916f969a776953ddc4886846ad2f4936566e7d7
2022-08-25 09:59:13 -07:00
Ke-Yu Lu 9672e2e74f Merge "Add getIconName to AppIcon" into tm-qpr-dev 2022-08-25 08:43:49 +00:00
Bill Yi 4374fc5fb0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdddfb5419dfc5e88939f25cc12d87f5b9f85728
2022-08-24 22:08:35 -07:00
Android Build Coastguard Worker 8cb781a8ca Snap for 8989105 from 831f5ee748 to tm-qpr1-release
Change-Id: Ib3a975e8b949e4f836547bcbd2c39494463f0c0c
2022-08-24 23:25:16 +00:00
Ke-Yu Lu 6520372966 Add getIconName to AppIcon
Bug: 237606436
Test: manual on local device
Change-Id: Ifcd18cefa35148fd744087a207e48791c098899a
2022-08-25 04:54:58 +08:00
Sunny Goyal d6801af69a Inlining BaseQuickstepLauncher to QuickstepLauncher
Bug: 243022799
Test: Presubmit
Change-Id: I3706fc1f10d88ea73bd873c7e94c3e78795791eb
2022-08-24 12:51:21 -07:00
Pat Manning 53d750e427 Launch tasks before testing switch to overview.
Bug: 238461210
Test: TaplTestsQuickstep#testSwitchToOverview
Change-Id: I0033b8b33371a01165c595ae66826bef5699eddb
2022-08-24 12:25:00 +00:00
Jeff Chang 831f5ee748 Merge "Launch split task with correct UserHandle" into tm-qpr-dev 2022-08-24 07:48:09 +00:00
Jeff Chang 9f27fa3687 Launch split task with correct UserHandle
PendingIntent#getActivity gets the owner UserHandle from the app
context. That makes the activity launch fail since the app only exists
in the work profile environment(secondary user).

This CL gets the correct Userhandle from Launcher and use
PendingIntent#getActivityAsUser to launch split task.

Bug: 242039471
Test: Launch Google chat by shortcut to enter split (work-profile)
Change-Id: Ie1db8a858bf9cee700cb3ff3a9e607a5d1dbad30
2022-08-24 10:39:04 +08:00
Brian Isganitis 06b1d8c114 Merge "Added debug menu option for testing secondary display." into tm-qpr-dev 2022-08-23 23:57:15 +00:00
Android Build Coastguard Worker 98113afadc Snap for 8983512 from 775b0d21dc to tm-qpr1-release
Change-Id: I162dfc601965a9534640b402a1d8cae7c0865fcc
2022-08-23 23:25:47 +00:00
Hyunyoung Song f7504a0909 Merge "Remove autofill from launcher edittext boxes" into tm-qpr-dev 2022-08-23 22:15:44 +00:00
Winson Chung c04576ad6e Merge "Defer adding surface changed callback until view root is valid" into tm-qpr-dev 2022-08-23 21:32:48 +00:00
Brandon Dayauon dc51afd920 Merge "Fix jumpiness when dragging surface down and up." into tm-qpr-dev 2022-08-23 20:38:52 +00:00
hyunyoungs 7d63654691 Remove autofill from launcher edittext boxes
Bug: 214482595
Test: notifyEnterOrExitForAutoFillIfNeeded not called
Change-Id: I2a988b36d1f06036cb68255bb98aab13bb6d8b73
2022-08-23 11:03:04 -07:00
Pinyao Ting 775b0d21dc Merge "Explicit Nullbility in Launcher (Part 2)" into tm-qpr-dev 2022-08-23 16:53:20 +00:00
Sam Dubey f9d1b193bc Merge "Onboard tests in IW suite" into tm-qpr-dev 2022-08-23 14:28:13 +00:00
Bill Yi ea3e52075a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: f4e7a1a703 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id18d62dae1a4aa5b268295c73dc5f3e3717e3f2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 14:23:26 +00:00
Bill Yi 8c7e2bf2ab [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 113cbbeffe -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8a9c8aa557fdf60fb84bc7ce87628e8134aa3eda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 14:23:14 +00:00
Bill Yi d6047dc71f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: e65ff07d53 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0f4946ee8f82439f0fd6f219126dc58376151705
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 14:23:06 +00:00
Bill Yi 39c7c8d7d1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5e0bb864dd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8ca98c1c29613bde5673eb09b5e12bcb060addd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 14:22:47 +00:00
Bill Yi 717fbedd51 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: 81ec6af3b7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I755ccbe2d2d4f67b91059c257a3e41bed620ba05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 14:22:23 +00:00