Searched refs:appEntries (Results 1 – 2 of 2) sorted by relevance
265 private AppEntry findAppEntry(List<AppEntry> appEntries, long id) { in findAppEntry() argument266 for (AppEntry appEntry : appEntries) { in findAppEntry()284 List<AppEntry> appEntries = mAppEntriesCaptor.getValue(); in testDefaultSession_isResumed_LoadsAll() local285 assertThat(appEntries.size()).isEqualTo(2); in testDefaultSession_isResumed_LoadsAll()287 for (AppEntry appEntry : appEntries) { in testDefaultSession_isResumed_LoadsAll()292 AppEntry homeEntry = findAppEntry(appEntries, 1); in testDefaultSession_isResumed_LoadsAll()296 AppEntry launchableEntry = findAppEntry(appEntries, 2); in testDefaultSession_isResumed_LoadsAll()324 List<AppEntry> appEntries = mAppEntriesCaptor.getValue(); in testCustomSessionLoadsIconsOnly() local325 assertThat(appEntries.size()).isEqualTo(1); in testCustomSessionLoadsIconsOnly()327 AppEntry launchableEntry = findAppEntry(appEntries, 1); in testCustomSessionLoadsIconsOnly()[all …]
276 ArrayList<ApplicationsState.AppEntry> appEntries, int number) { in preloadTopIcons() argument277 if (appEntries == null || appEntries.isEmpty() || number <= 0) { in preloadTopIcons()281 for (int i = 0; i < Math.min(appEntries.size(), number); i++) { in preloadTopIcons()282 final ApplicationsState.AppEntry entry = appEntries.get(i); in preloadTopIcons()