Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DWidgetsPredicationUpdateTaskTest.java173 List<PendingAddWidgetInfo> recommendedWidgets = mCallback.mRecommendedWidgets.items in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
177 assertThat(recommendedWidgets).hasSize(2); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
178 recommendedWidgets.forEach(pendingAddWidgetInfo -> in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
181 assertWidgetInfo(recommendedWidgets.get(0).info, mApp2Provider1); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
182 assertWidgetInfo(recommendedWidgets.get(1).info, mApp1Provider1); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
208 List<PendingAddWidgetInfo> recommendedWidgets = mCallback.mRecommendedWidgets.items in widgetsRecommendationRan_shouldReturnEmptyWidgetsWhenEmpty()
212 assertThat(recommendedWidgets).hasSize(0); in widgetsRecommendationRan_shouldReturnEmptyWidgetsWhenEmpty()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecommendationTableLayout.java89 List<ArrayList<WidgetItem>> recommendedWidgets, in setRecommendedWidgets() argument
91 List<ArrayList<WidgetItem>> rows = selectRowsThatFitInAvailableHeight(recommendedWidgets, in setRecommendedWidgets()
141 List<ArrayList<WidgetItem>> recommendedWidgets, @Px float recommendationTableMaxHeight, in selectRowsThatFitInAvailableHeight() argument
147 for (int i = 0; i < recommendedWidgets.size(); i++) { in selectRowsThatFitInAvailableHeight()
148 List<WidgetItem> widgetItems = recommendedWidgets.get(i); in selectRowsThatFitInAvailableHeight()
DWidgetRecommendationsView.java152 List<WidgetItem> recommendedWidgets, DeviceProfile deviceProfile, in setRecommendations() argument
159 Set<ComponentName> displayedWidgets = maybeDisplayInTable(recommendedWidgets, in setRecommendations()
314 private Set<ComponentName> maybeDisplayInTable(List<WidgetItem> recommendedWidgets, in maybeDisplayInTable() argument
317 List<WidgetItem> filteredRecommendedWidgets = recommendedWidgets; in maybeDisplayInTable()
320 filteredRecommendedWidgets = recommendedWidgets.stream().filter( in maybeDisplayInTable()
DWidgetsFullSheet.java837 private void restoreRecommendations(List<WidgetItem> recommendedWidgets, in restoreRecommendations() argument
839 mRecommendedWidgets = recommendedWidgets; in restoreRecommendations()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java190 public void setRecommendedWidgets(List<ItemInfo> recommendedWidgets) {
191 mRecommendedWidgets = recommendedWidgets;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DWidgetPickerActivity.java260 private void bindRecommendedWidgets(List<ItemInfo> recommendedWidgets) {
261 MAIN_EXECUTOR.execute(() -> mPopupDataProvider.setRecommendedWidgets(recommendedWidgets));