Home
last modified time | relevance | path

Searched refs:launcherItems (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DLauncherViewModelTest.java110 public void onChanged(List<LauncherItem> launcherItems) { in test_concurrentExecution()
111 assertEquals(3, launcherItems.size()); in test_concurrentExecution()
112 assertEquals("A", launcherItems.get(0).getPackageName()); in test_concurrentExecution()
113 assertEquals("B", launcherItems.get(1).getPackageName()); in test_concurrentExecution()
114 assertEquals("C", launcherItems.get(2).getPackageName()); in test_concurrentExecution()
125 mLauncherModel.getCurrentLauncher().observeForever(launcherItems -> { in loadAppsOrderFromFile_first_noOrderFile()
126 assertEquals(3, launcherItems.size()); in loadAppsOrderFromFile_first_noOrderFile()
127 assertEquals("A", launcherItems.get(0).getPackageName()); in loadAppsOrderFromFile_first_noOrderFile()
128 assertEquals("B", launcherItems.get(1).getPackageName()); in loadAppsOrderFromFile_first_noOrderFile()
129 assertEquals("C", launcherItems.get(2).getPackageName()); in loadAppsOrderFromFile_first_noOrderFile()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DLauncherViewModel.java65 List<LauncherItem> launcherItems = new ArrayList<>(); in processAppsInfoFromPlatform() local
69 launcherItems.add(nextItem); in processAppsInfoFromPlatform()
72 Collections.sort(launcherItems, LauncherViewModel.ALPHABETICAL_COMPARATOR); in processAppsInfoFromPlatform()
73 mAppOrderController.loadAppListFromPlatform(launcherItemsMap, launcherItems); in processAppsInfoFromPlatform()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppGridAdapter.java164 public void setLauncherItems(List<? extends LauncherItem> launcherItems) { in setLauncherItems() argument
165 mLauncherItems = (List<LauncherItem>) launcherItems; in setLauncherItems()