Home
last modified time | relevance | path

Searched refs:allWidgets (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DWidgetsPredicationUpdateTaskTest.java83 private List<AppWidgetProviderInfo> allWidgets; field in WidgetsPredicationUpdateTaskTest
109 allWidgets = Arrays.asList(mApp1Provider1, mApp1Provider2, mApp2Provider1, in setup()
125 doReturn(allWidgets).when(manager).getInstalledProviders(); in setup()
126 doReturn(allWidgets).when(manager).getInstalledProvidersForProfile(eq(myUserHandle())); in setup()
129 return TextUtils.isEmpty(pkg) ? allWidgets : allWidgets.stream() in setup()
DWidgetsPredictionsRequesterTest.kt65 private lateinit var allWidgets: Map<PackageUserKey, List<WidgetItem>> variable in com.android.launcher3.model.WidgetsPredictionsRequesterTest
94 allWidgets = in setUp()
155 assertThat(filterPredictions(predictions, allWidgets, filter)).containsExactly(widgetItem2) in filterPredictions_notOnUiSurfaceFilter_returnsOnlyEligiblePredictions()
179 assertThat(filterPredictions(predictions, allWidgets, filter)) in filterPredictions_appPredictions_returnsWidgetFromPackage()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWidgetPredictionsRequester.java73 @NonNull Map<PackageUserKey, List<WidgetItem>> allWidgets) { in WidgetPredictionsRequester() argument
76 mAllWidgets = Collections.unmodifiableMap(allWidgets); in WidgetPredictionsRequester()
175 Map<PackageUserKey, List<WidgetItem>> allWidgets, Predicate<WidgetItem> filter) { in filterPredictions() argument
180 List<WidgetItem> widgetsInPackage = allWidgets.get( in filterPredictions()
DWidgetsPredictionUpdateTask.java67 Map<ComponentKey, WidgetItem> allWidgets = in execute() local
75 WidgetItem widget = allWidgets.get(componentKey); in execute()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DFirstScreenBroadcastHelper.kt83 allWidgets: List<LauncherAppWidgetInfo> in <lambda>()
97 createAllInstalledWidgetsMap(allWidgets, installingPackages, packageManagerHelper) in <lambda>()
212 allWidgets: List<LauncherAppWidgetInfo>, in <lambda>()
217 allWidgets in <lambda>()
DDatabaseHelper.java320 final int[] allWidgets; in removeGhostWidgets() local
324 allWidgets = holder.getAppWidgetIds(); in removeGhostWidgets()
333 for (int widgetId : allWidgets) { in removeGhostWidgets()
345 final String allLauncherHostWidgetIds = Arrays.stream(allWidgets) in removeGhostWidgets()
/packages/apps/Launcher3/src/com/android/launcher3/
DModelCallbacks.kt254 override fun bindAllWidgets(allWidgets: List<WidgetsListBaseEntry?>?) { in <lambda>()
255 launcher.popupDataProvider.allWidgets = allWidgets in <lambda>()
304 launcher.popupDataProvider.allWidgets.firstOrNull { item: WidgetsListBaseEntry -> in <lambda>()
DLauncher.java2636 public void bindAllWidgets(final List<WidgetsListBaseEntry> allWidgets) {
2637 mModelCallbacks.bindAllWidgets(allWidgets);
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DFirstScreenBroadcastHelperTest.kt94 allWidgets = listOf() in Broadcast Models are created with Pending Items from first screen()
123 allWidgets = in Broadcast Models are created with Installed Items from first screen()
161 allWidgets = in Broadcast Models are created with Installed Widgets from every screen()
220 allWidgets = listOf() in Broadcast Models are created with Pending Items in Collections from the first screen()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DWidgetPickerActivity.java231 final List<WidgetsListBaseEntry> allWidgets =
241 bindWidgets(allWidgets);
243 Map<PackageUserKey, List<WidgetItem>> allWidgetsMap = allWidgets.stream()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java195 public void setAllWidgets(List<WidgetsListBaseEntry> allWidgets) {
196 mAllWidgets = allWidgets;
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java473 List<WidgetsListBaseEntry> allWidgets = in onWidgetsBound() local
477 primaryUserAdapterHolder.mWidgetsListAdapter.setWidgets(allWidgets); in onWidgetsBound()
483 workUserAdapterHolder.mWidgetsListAdapter.setWidgets(allWidgets); in onWidgetsBound()