Revert "Revert "Moving insets animation to StateHandler so that ..."
Revert submission 13823490-revert-13810332-insetcontroller-CLXXLCZAUM
Reason for revert: Fixed original error in ag/13823726
Reverted Changes:
Ie19a3fd90:Revert "Moving insets animation to StateHandler so...
I4eb33772a:Revert "Removing insets controller animation as pa...
Change-Id: I7fb395c51ea99081913bc99515257e98c0a32754
Revert "Moving insets animation to StateHandler so that it can b..."
Revert submission 13810332-insetcontroller
Reason for revert: QsbLayout#getEditText() return object is changed, but extended class HotseatQsbWidget wasn't updated.
https://android-build.googleplex.com/builds/submitted/7197042/aosp_crosshatch-userdebug/latest/view/logs/build_error.log
Reverted Changes:
If6a088d14:Removing insets controller animation as part of al...
I296415604:Moving insets animation to StateHandler so that it...
Change-Id: I4eb33772acd887d6e1d92a9ecde41cf1e0687896
Revert "[Search] Support flexible results-per-row in AllApps"
Revert submission 13786530-grid_adapter
Bug: 182236647
Reason for revert: b/182236647 [TP1A][SP1A] Launcher crashing on opening Quick search bar from home screen
Reverted Changes:
I36882e12b:[Search] Support flexible results-per-row in AllAp...
Idc3d24daf:[Search] Support flexible results-per-row in AllAp...
Change-Id: Ief3888e63f4946fec43217ce66a1f0a3fb5ff64f
(cherry picked from commit 0cf925dc542309e21c2407a9ad47975302944a1d)
Revert "[Search] Support flexible results-per-row in AllApps"
Revert submission 13786530-grid_adapter
Bug: 182236647
Reason for revert: b/182236647 [TP1A][SP1A] Launcher crashing on opening Quick search bar from home screen
Reverted Changes:
I36882e12b:[Search] Support flexible results-per-row in AllAp...
Idc3d24daf:[Search] Support flexible results-per-row in AllAp...
Change-Id: Ief3888e63f4946fec43217ce66a1f0a3fb5ff64f
(cherry picked from commit 0cf925dc542309e21c2407a9ad47975302944a1d)
Revert "[Search] Support flexible results-per-row in AllApps"
Revert submission 13786530-grid_adapter
Bug: 182236647
Reason for revert: b/182236647 [TP1A][SP1A] Launcher crashing on opening Quick search bar from home screen
Reverted Changes:
I36882e12b:[Search] Support flexible results-per-row in AllAp...
Idc3d24daf:[Search] Support flexible results-per-row in AllAp...
Change-Id: Ief3888e63f4946fec43217ce66a1f0a3fb5ff64f
(cherry picked from commit 0cf925dc542309e21c2407a9ad47975302944a1d)
Setting visibleInsets to (almost) empty ensures the drag
events get sent to launcher.
Test: Drag a taskbar item on home, ensure it moves when
events are within the taskbar insets
Bug: 182079330
Bug: 171917176
Change-Id: Ida6a4a94a3fd2927d18245f45ed3e8d1701b9833
Previously we were reusing the same DragOptions which led to some
bad states.
Test: Drag items around, ensure nothing disappears from Workspace
Bug: 182079330
Change-Id: I8d6027bc984db8c770841bb560735604689ad0ff
Launcher should use LCM of supported getSupportedItemsPerRowArray instead of product.
Bug: 182236647
Test: Manual
Change-Id: Ia0ad1158a841068c29ed09bf7f598f14c410092f
To avoid onAppsUpdated conflicting with WorkTabEdu, this change pauses callback updates when AllApps is first converted to tabs. This should avoid the need for additional extended timeouts.
Bug: 159671700
Test: Presubmit
Change-Id: I0959629f47ae6d824e5886b2cf917635f5bfdf0e
Add a widgets recommendation mechanism based on AiAI app predication
ranking with the following changes:
1. Only one widget is picked from one app.
2. Widgets that are already added to the workspace are excluded from
the recommendation.
Test: run PredicationUpdateTaskTest
Bug: 179797520
Change-Id: Ia697bc6df0bae75969e68b7b3de32d57901f7461
The fixes are:
1. For widgets shown in TableRow, aligns them center vertically.
This is useful when widgets of different height are shown in
the same row.
2. Remove background color from WidgetCell
3. Re-enable swipe in FullWidgetsSheet
4. Use the WidgetCell image as the single & long press area because
1. Previews are now scaled to their default size. The touch area
should already be larger for widgets that are bigger than 2.4
cells
2. WidgetCells also render description. If the user long press the
description area, the drag view will not align in the middle of
the user touch / drag area.
Test: Drag-n-drop widgets from FullWidgetsSheet, BottomWidgetsSheet
and pin widget flow.
In FullWidgetsSheet, swipe left and right to switch work /
personal tab.
Video: https://drive.google.com/file/d/1Ur7PwF1a7iwGGRTZczfc0BSVu-Ta6-Vm/view?usp=sharing
Bug: 179797520
Change-Id: I6fe4bc88d1e1b35b1819d8d7f046105f5ed27043