Commit Graph

49755 Commits

Author SHA1 Message Date
Alex Chau
dcafe99d42 Merge "Add logs to track app grid changes" into tm-qpr-dev 2022-12-20 11:13:04 +00:00
Alex Chau
44dd5b7b28 Merge "Only skip stash animation when going to/from Launcher" into tm-qpr-dev 2022-12-20 09:32:04 +00:00
Bill Yi
c326b7849f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-20 06:00:39 +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
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
bd535c46d7 Only skip stash animation when going to/from Launcher
- Added a cehck on chagnedFlags before skipping stash animation, in additional to !isHotseatIconOnTopWhenAligned check

Fix: 262835548
Test: manual
Change-Id: I5a90213bc0b3f34609a074ba887adbf113e04120
2022-12-19 17:16:08 +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
Bill Yi
10d62429ab Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I29e6fce19e6e759d5d837d28c77a1adb282588eb
2022-12-19 01:42:12 -08:00
Brian Isganitis
0f33761d1d Merge "Add ACCESS_SHORTCUTS to quickstep manifest." into tm-qpr-dev 2022-12-19 03:45:19 +00:00
Brian Isganitis
a1808c3e49 Merge "Delay hiding Taskbar EDU until entering home or overview." into tm-qpr-dev 2022-12-18 22:48:39 +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
Bill Yi
432ca5f5ba Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-17 01:38:47 +00:00
Bill Yi
ec92f328f1 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-17 01:38:47 +00:00
Bill Yi
fe1df2a780 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-17 01:38:47 +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
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
8f98a162ac Merge "Update bottom sheet color to black with 65% opacity for Lt and Dk modes." into tm-qpr-dev 2022-12-16 19:16:51 +00:00
Alex Chau
2f581b799b Merge "TaskbarViewController should only translate on rotation if icon is aligned with hotseat" into tm-qpr-dev 2022-12-16 19:06:25 +00:00
Becky Qiu
e6e3de846f Merge "[Toast] Add a new attribute for rich answer type." into tm-qpr-dev 2022-12-16 18:44:50 +00:00
Jeremy Sim
e8eb4a3c48 Merge "Fix bug with Taskbar second-app-selection animation" into tm-qpr-dev 2022-12-16 18:30:38 +00: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
Bill Yi
a653d55379 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I04d3e99b1fdbc8ba5fd317b53abbb11718667910
2022-12-16 04:47:11 -08:00
Bill Yi
4df6ef67bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11441ec480b0cba2244fa8a7ad9e3ac5f820e59e
2022-12-16 04:46:08 -08:00
Bill Yi
1885c489fc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib1739767f90d758017acc10481fcac0bb0fffcc9
2022-12-16 04:45:21 -08:00
Pat Manning
c3c12e01fb Update bottom sheet color to black with 65% opacity for Lt and Dk modes.
Fix: 224739565
Test: manual
Change-Id: Iae341a0380532c670d748d8a845e52f04f76c9a4
2022-12-16 10:49: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
Alex Chau
adbbc2f7fa TaskbarViewController should only translate on rotation if icon is aligned with hotseat
Fix: 254191175
Test: With 3 button, rotate at home and overview, nav button are at expected position. Repeat with TASKBAR_IN_OVERVIEW flag off.
Change-Id: I1e629e6be92c4793d3dfdb0dac60c3bfce886e7a
2022-12-15 22:04:16 +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
Bill Yi
2d476db8a6 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 14:08:52 +00:00
Bill Yi
ac3930bede Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 14:08:52 +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
Schneider Victor-tulias
85127b4f47 Merge "[DO NOT MERGE] Log gesture velocity to help debug and help direct future gesture nav thresholds." into tm-qpr-dev 2022-12-15 09:42:15 +00:00
Jeremy Sim
768e9ec8c0 Fix bug with Taskbar second-app-selection animation
This patch makes it so that the correct animation will play when the user selects a second app from the Taskbar.

Previously, when the user selected a second app from the Taskbar, an animation would play showing the expansion of the app -- but it would come from the wrong place. The error occurred because when we calculate the animation start position, we assume that the starting view is located in the DragLayer, which fills the whole screen. But in cases where the starting view is located in the Taskbar, the root view is actually the TaskbarDragLayer, which only fills an area on the bottom part of the screen.

Fixed by adding a check to see if the starting view is part of the TaskbarActivityContext, and if so, adding an offset to calculate the correct DragLayer coordinates.

Fixes: 258692761
Test: Manual
Change-Id: I4026676fefe1e4c5cdf9d9a47d95c0d6e64672e8
2022-12-14 17:48:14 -08: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