Commit Graph

14667 Commits

Author SHA1 Message Date
Luca Zuccarini 2da05f367d Merge "Revert "Update timings for the Home <> All Apps transition."" into tm-qpr-dev 2022-12-28 14:03:58 +00:00
Luca Zuccarini e18ac479e5 Revert "Update timings for the Home <> All Apps transition."
Revert submission 20641089-b/254835725

Reason for revert: b/263221786

Reverted changes: /q/submissionid:20641089-b/254835725

Change-Id: I6aa0955b4ac7ed47ea254514b364b0ab94b632bf
2022-12-27 14:18:05 +00:00
Pat Manning eef0b1640b Merge "Do not animate moving to rest state on CHANGE_ACTIVE_SCREEN." into tm-qpr-dev 2022-12-22 17:47:57 +00:00
Brandon Dayauon 2d3f189b80 Merge "Move VibratorWrapper to AOSP" into tm-qpr-dev 2022-12-22 08:18:12 +00:00
Pat Manning cc31ba5360 Do not animate moving to rest state on CHANGE_ACTIVE_SCREEN.
Fix: 259380717
Test: manual
Change-Id: Icec103b26603290c7998977fa9c4d89132620a9d
2022-12-21 11:37:47 +00:00
Brandon Dayauon 238bbfaf7b Merge "Extend/shrink work button when scrolling" into tm-qpr-dev 2022-12-21 05:31:33 +00:00
Brandon Dayauon c9672b9002 Extend/shrink work button when scrolling
most of the change was from this CL: ag/19223926
moved scroll listener definition to WorkProfileManager.java
Added feature flag

bug: 194188980
test: Video - https://drive.google.com/file/d/18UM7UDNQz-Z8Q2Sh8VEKHm9LXRVJaWFM/view?usp=sharing
Change-Id: Ib80784e0f5108b28658141ca5e495a27fab34a3c
2022-12-20 14:38:40 -08:00
Federico Baron c03bb43fa5 Improve restore icon treatment
This is the first of a few CL's that change the way pending/downloading/installing apps look to follow the new mocks. In this CL we:

-Fix a regression where the track path doesn't show up when downloading an app
-Change the sizes of icons to reflect the new design mock
-Add skeleton motion animation

In upcoming CL's we will add visual polish and make sure it matches the motion spec exactly

Bug: 254858049
Test: Download an app and check pending, downloading, and installing visuals
Change-Id: Ief1038ea52d77874b4031db76d51a2787615a14d
2022-12-20 12:58:40 -08:00
Brian Isganitis dad173f9c6 Merge "Add flag for Taskbar education tooltip." into tm-qpr-dev 2022-12-20 19:53:03 +00:00
Alex Chau 37292eb230 Merge "folderChild icon and text size should follow the respective configuration" into tm-qpr-dev 2022-12-20 19:01:14 +00:00
Alex Chau d79e53a5c8 Merge "Add transientTaskbarMargin above taskbar in overview" into tm-qpr-dev 2022-12-20 18:40:48 +00:00
Brandon Dayauon 5a31c9262e Move VibratorWrapper to AOSP
bug: 233751149
test: manually run and presubmit
Change-Id: I89ada0adf7254396238cb96d27bc265e28093f50
2022-12-20 10:27:21 -08:00
Sunny Goyal eae7e58b20 Merge "Removing some unused container IDs" into tm-qpr-dev 2022-12-20 18:19:57 +00:00
Alex Chau 0d4f1ac30e folderChild icon and text size should follow the respective configuration
- Use mTypeIndex instead of always INDEX_LANDSCAPE or INDEX_DEFAULT to make sure they follow the workspcae icon/text size

Fix: 262446829
Test: DeviceProfileDumpTest
Change-Id: I9fc37b41114a34e35108330a8d599556bff77eef
2022-12-20 12:36:05 +00:00
Alex Chau dcafe99d42 Merge "Add logs to track app grid changes" into tm-qpr-dev 2022-12-20 11:13:04 +00:00
Sebastián Franco b2acb96510 Merge "Fix IndexOutOfBoundsException in grid span lookup" into tm-qpr-dev 2022-12-19 22:12:27 +00:00
Brian Isganitis 746b2243f9 Add flag for Taskbar education tooltip.
Test: Manual
Bug: 263157739
Change-Id: I1c427d250864db1b8dee58584d503908a0fd9c8d
2022-12-19 20:47:21 +00:00
Alex Chau d2706823cb Add logs to track app grid changes
Bug: 258560494
Test: manual
Change-Id: I2c44fbc2ce25b61df15853c4789bf0d6321793bb
2022-12-19 18:36:14 +00:00
Sihua Ma 04c89fe38e Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev 2022-12-19 18:22:38 +00:00
Sunny Goyal b6c5feafde Fix IndexOutOfBoundsException in grid span lookup
Bug: 262747378
Test: Presubmit
Change-Id: I3ac4f0208874c0b7f41f6d02ee99db660dc04f23
2022-12-19 09:57:55 -08:00
Alex Chau 1b276a1ba7 Add transientTaskbarMargin above taskbar in overview
- Also removed transient_taskbar_two_panels_size and use sw720dp override instead, to be consistent with how we handle small vs large tablet in overview
- Also made isTransientTaskbar mockable so we can test that in DeviceProfileDumpTest

Bug: 260596114
Test: DeviceProfileDumpTest
Change-Id: I3c2236b95d91246e9581531478e3c97601cfb2ec
2022-12-19 17:23:27 +00:00
Anushree Ganjam 49d1951bf2 Merge "Move the Impression Logging Flag to AllAppsDeviceConfigFlag" into tm-qpr-dev 2022-12-19 16:21:43 +00:00
Alex Chau 4537638dfd Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev 2022-12-19 11:37:39 +00:00
Andy Wickham 36e2ae4cba Merge "Adds additional top padding in All Apps with floating searchbar." into tm-qpr-dev 2022-12-19 11:23:14 +00:00
Luca Zuccarini 49d07b1688 Merge "Update timings for the Home <> All Apps transition." into tm-qpr-dev 2022-12-19 11:10:14 +00:00
Thales Lima 6a59006592 Polish hotseat and taskbar with 3 buttons
Change margin spaces and logic of how many items the hotseat and taskbar should show.

Fix: 246424857
Test: DeviceProfileDumpTest
Test: HotseatWidthCalculationTest
Change-Id: I8ec71c56a0aa362483c43d6400c762d12cf45f5b
2022-12-17 11:20:21 +00:00
Holly Jiuyu Sun be61b0735c Merge "No need to override the isImeEnabledOnSwipeUp flag in Launcher3." into tm-qpr-dev 2022-12-17 01:21:42 +00:00
Sebastián Franco 791c9dbf8d Merge "Clean mPreviousSolution on change of CellLayout target" into tm-qpr-dev 2022-12-16 22:43:09 +00:00
Sunny Goyal 9ce4382b34 Removing some unused container IDs
Bug: 260012466
Test: Presubmit
Change-Id: I3d6cff0e5b31928ba8e27ac02c0d1f63156d1bfb
2022-12-16 13:02:48 -08:00
Sihua Ma 1db8bc2467 Add QuickstepWidgetHolder for widget handling
Fix: 235358918
Test: Manual
1. Rebooted the device and verified that widgets are still updating properly
2. Changed the theme from dark to daylight, then from daylight back to dark and verified that widgets are working
3. Kept the device on for several days and verified that widgets are still updating
4. Turn on auto-rotate for the launcher, open any app then exit, verified that widgets will not vanish and reappear
5. Add & remove widgets from the screen, added widgets are still updating

Change-Id: I98ee902f7d16b47bd77626201a4fefc897ba17a0
2022-12-16 11:56:36 -08:00
Alex Chau 98d33cdff9 Merge "Set iconsSizePx of Taskbar's DeviceProfile directly" into tm-qpr-dev 2022-12-16 16:45:21 +00:00
Pat Manning 346ca5abcc Merge "Match ArrowTipView width to parent so text can center." into tm-qpr-dev 2022-12-16 13:54:28 +00:00
Anushree Ganjam 65ef25a423 Move the Impression Logging Flag to AllAppsDeviceConfigFlag
Bug: 204781396
Test: Manual
Change-Id: I2dae1e34fca9e1c7e430ccaf5e3439a49ef8afc7
2022-12-16 00:24:03 +00:00
Andy Wickham 9cdba2f395 Adds additional top padding in All Apps with floating searchbar.
This is by UX/PM request.

Test: Manually with and without work profile on phone and tablet
with floating search enabled and disabled.
Bug: 213954333

Change-Id: I024aed629ab6f09b3dfd22a39c2149974863538e
2022-12-15 15:29:46 -08:00
Alex Chau 0c2d7e8da3 Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev 2022-12-15 23:09:13 +00:00
Jeremy Sim 2ebdc76fa5 Merge "Fix juttering problem with split staging animation" into tm-qpr-dev 2022-12-15 21:38:31 +00:00
Holly Sun f565d1bafa No need to override the isImeEnabledOnSwipeUp flag in Launcher3.
It's only used in NexusLauncher now.

Bug: 262729669
Test: manual
Change-Id: Ic145d7ad007ec314974713b6c4bf880d55607cf7
2022-12-15 12:18:27 -08:00
Pat Manning 618df8b34e Merge "Get home rotation default value from DisplayController Info in case DeviceProfile is not updated." into tm-qpr-dev 2022-12-15 20:02:14 +00:00
Alex Chau a68164d89e Set iconsSizePx of Taskbar's DeviceProfile directly
- After ag/20691430, iconScale no longer scale app icons (I should rename it later, after QPR2), so we'll need to set the desired iconSize directly for Taskbar's DeviceProfile
- Extracted setting iconSizePx and testSizePx out of updateIconSize, as they are no longer affected by scaling. This allows TaskbarActivityContext to set desired iconsize and then call updateIconSize

Bug: 256976071
Test: Test Taskbar icon size in different density
Change-Id: I741c178b59e0d8ecb4c63689e68767622329379c
2022-12-15 17:05:12 +00:00
Sunny Goyal 09fab7ee7d Merge "Unifying multiple all-apps implementations" into tm-qpr-dev 2022-12-15 17:03:05 +00:00
Alex Chau f8b79d4235 Use overridden default xml for TwoPanelWorkspaceTest
- Partially reverted TAPL and TwoPanelWorkspaceTest changes on http://ag/19195512

Fix: 262627208
Fix: 262632384
Test: TwoPanelWorkspaceTest
Change-Id: I8b793bfb3874cc6305ce8b0f9f7b0a116d01222b
2022-12-15 15:48:09 +00:00
Alex Chau 3ad5eef4b8 Merge "Avoid overlapping snackbar with nav buttons in tablets" into tm-qpr-dev 2022-12-15 14:47:02 +00:00
Pat Manning a79880a1d8 Match ArrowTipView width to parent so text can center.
Fix: 260302416
Test: manual
Change-Id: I75478ec57e2535578dacb16fefaf7c45e136f1f5
2022-12-15 14:40:58 +00:00
Alex Chau 3fa6669261 Merge "Temporarily use 1f bottomSheetDepth for multi-display" into tm-qpr-dev 2022-12-15 12:19:27 +00:00
Sihua Ma dbaec70d48 Merge "Reducing the no-intercept area to widget picker recycler view" into tm-qpr-dev 2022-12-14 23:26:03 +00:00
Alex Chau 8a7dc2b244 Merge "Remove unnecessary GridDisplayOption_defaultSplitDisplayLayoutId attribute" into tm-qpr-dev 2022-12-14 21:50:34 +00:00
Sebastian Franco 5aa71cee20 Clean mPreviousSolution on change of CellLayout target
The previous reorder solution is not peropperly cleaned and
that leads to wrong solution being used. For example when
longpressing an icon, it triggers a drag but the drag never
finishes.

Fix: 261122618
Test: You can no longer overlap a shortcut in the same app icon (see attached bug)
Test: atest ReorderWidget

Change-Id: Iff8651926cc4179561761c7ce0ac5007f13fc9af
2022-12-14 15:20:50 -06:00
Sunny Goyal adb364a104 Unifying multiple all-apps implementations
> Using a single layout for the all-apps content
> Removing some unnecessary themes
> Fixing search chashes in SecondaryDisplayLauncher

Bug: 259733681
Test: Existing TAPL tests verify that Launcher/AllApps work properly
Change-Id: Icd5310316499cd421bc039cdbd4d398b813cd477
2022-12-14 11:27:12 -08:00
Alex Chau ab800f71d0 Temporarily use 1f bottomSheetDepth for multi-display
Bug: 259893832
Test: Manual and DeviceProfileDumpTest
Change-Id: I196958e6f9f889de003b4d3a22a176bfd7e49511
2022-12-14 18:17:18 +00:00
Holly Jiuyu Sun 80872f32da Merge "[QL-v2] Reset input state on scroll and restore state on scrolling back." into tm-qpr-dev 2022-12-14 17:25:45 +00:00