Home
last modified time | relevance | path

Searched refs:recommendedWidgets (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/launcher3/model/
DWidgetsPredicationUpdateTaskTest.java170 List<PendingAddWidgetInfo> recommendedWidgets = mCallback.mRecommendedWidgets.items in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder() local
174 assertThat(recommendedWidgets).hasSize(3); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
175 assertWidgetInfo(recommendedWidgets.get(0).info, mApp2Provider1); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
176 assertWidgetInfo(recommendedWidgets.get(1).info, mApp4Provider2); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
177 assertWidgetInfo(recommendedWidgets.get(2).info, mApp1Provider1); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
205 List<PendingAddWidgetInfo> recommendedWidgets = mCallback.mRecommendedWidgets.items in widgetsRecommendationRan_localFilterDisabled_shouldReturnWidgetsInPredicationOrder() local
209 assertThat(recommendedWidgets).hasSize(3); in widgetsRecommendationRan_localFilterDisabled_shouldReturnWidgetsInPredicationOrder()
210 assertWidgetInfo(recommendedWidgets.get(0).info, mApp5Provider1); in widgetsRecommendationRan_localFilterDisabled_shouldReturnWidgetsInPredicationOrder()
211 assertWidgetInfo(recommendedWidgets.get(1).info, mApp1Provider2); in widgetsRecommendationRan_localFilterDisabled_shouldReturnWidgetsInPredicationOrder()
212 assertWidgetInfo(recommendedWidgets.get(2).info, mApp1Provider1); in widgetsRecommendationRan_localFilterDisabled_shouldReturnWidgetsInPredicationOrder()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecommendationTableLayout.java95 public void setRecommendedWidgets(List<ArrayList<WidgetItem>> recommendedWidgets, in setRecommendedWidgets() argument
99 recommendedWidgets); in setRecommendedWidgets()
DWidgetsFullSheet.java510 List<WidgetItem> recommendedWidgets = in onRecommendedWidgetsBound() local
514 if (recommendedWidgets.size() > 0) { in onRecommendedWidgetsBound()
534 WidgetsTableUtils.groupWidgetItemsIntoTable(recommendedWidgets, in onRecommendedWidgetsBound()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java198 public void setRecommendedWidgets(List<ItemInfo> recommendedWidgets) { in setRecommendedWidgets() argument
199 mRecommendedWidgets = recommendedWidgets; in setRecommendedWidgets()