Searched refs:recentApps (Results 1 – 5 of 5) sorted by relevance
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()
136 List<RecentlyAccessedByUtils.App> recentApps = RecentlyAccessedByUtils.getAppList( in addRecentAppsGroup() local138 if (DEBUG) Log.v(TAG, "recently accessed by " + recentApps.size() + " apps"); in addRecentAppsGroup()141 mAllRecentAppPrefs = new ArrayList<>(recentApps.size()); in addRecentAppsGroup()142 for (RecentlyAccessedByUtils.App app : recentApps) { in addRecentAppsGroup()
192 void onReloadDataCompleted(List<UsageStats> recentApps); in onReloadDataCompleted() argument