Searched refs:recentApps (Results 1 – 8 of 8) sorted by relevance
117 final List<UsageStats> recentApps = getDisplayableRecentAppList(); in update() local118 if (recentApps != null && !recentApps.isEmpty()) { in update()119 displayRecentApps(recentApps); in update()129 private void displayRecentApps(List<UsageStats> recentApps) { in displayRecentApps() argument131 final int recentAppsCount = recentApps.size(); in displayRecentApps()133 final UsageStats stat = recentApps.get(i); in displayRecentApps()172 final List<UsageStats> recentApps = new ArrayList<>(); in getDisplayableRecentAppList() local198 recentApps.add(stat); in getDisplayableRecentAppList()204 return recentApps; in getDisplayableRecentAppList()
120 final List<UsageStats> recentApps = getDisplayableRecentAppList(); in refreshUi() local121 if (recentApps != null && !recentApps.isEmpty()) { in refreshUi()122 displayRecentApps(prefContext, recentApps); in refreshUi()139 private void displayRecentApps(Context prefContext, List<UsageStats> recentApps) { in displayRecentApps() argument153 final int recentAppsCount = recentApps.size(); in displayRecentApps()155 final UsageStats stat = recentApps.get(i); in displayRecentApps()216 final List<UsageStats> recentApps = new ArrayList<>(); in getDisplayableRecentAppList() local242 recentApps.add(stat); in getDisplayableRecentAppList()248 return recentApps; in getDisplayableRecentAppList()
110 List<NotifyingApp> recentApps = getDisplayableRecentAppList(); in refresh() local112 if (recentApps != null && !recentApps.isEmpty()) { in refresh()114 displayRecentApps(recentApps); in refresh()182 private void displayRecentApps(List<NotifyingApp> recentApps) { in displayRecentApps() argument184 int recentAppsCount = recentApps.size(); in displayRecentApps()186 NotifyingApp app = recentApps.get(i); in displayRecentApps()
58 ArrayList<App> recentApps = new ArrayList<>(packageOpsCount); in getAppList() local78 recentApps.add(recentApp); in getAppList()83 recentApps.sort(Comparator.comparingLong(app -> ((App) app).mLastAccess).reversed()); in getAppList()85 return recentApps; in getAppList()
233 List<RecentlyAccessedByUtils.App> recentApps = RecentlyAccessedByUtils.getAppList( in addRecentAppsGroup() local235 if (DEBUG) Log.v(TAG, "recently accessed by " + recentApps.size() + " apps"); in addRecentAppsGroup()238 mAllRecentAppPrefs = new ArrayList<>(recentApps.size()); in addRecentAppsGroup()239 for (RecentlyAccessedByUtils.App app : recentApps) { in addRecentAppsGroup()
129 List<RecentlyAccessedByUtils.App> recentApps = RecentlyAccessedByUtils.getAppList( in addRecentAppsGroup() local131 if (DEBUG) Log.v(TAG, "recently accessed by " + recentApps.size() + " apps"); in addRecentAppsGroup()134 for (RecentlyAccessedByUtils.App app : recentApps) { in addRecentAppsGroup()
214 void onReloadDataCompleted(List<UsageStatsWrapper> recentApps); in onReloadDataCompleted() argument