Home
last modified time | relevance | path

Searched refs:recentApps (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DRecentAppsPreferenceController.java120 final List<UsageStats> recentApps = getDisplayableRecentAppList(); in refreshUi() local
121 if (recentApps != null && !recentApps.isEmpty()) { in refreshUi()
122 displayRecentApps(prefContext, recentApps); in refreshUi()
139 private void displayRecentApps(Context prefContext, List<UsageStats> recentApps) { in displayRecentApps() argument
153 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() local
242 recentApps.add(stat); in getDisplayableRecentAppList()
248 return recentApps; in getDisplayableRecentAppList()
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DRecentNotificationsAppsPreferenceController.java110 List<NotifyingApp> recentApps = getDisplayableRecentAppList(); in refresh() local
112 if (recentApps != null && !recentApps.isEmpty()) { in refresh()
114 displayRecentApps(recentApps); in refresh()
182 private void displayRecentApps(List<NotifyingApp> recentApps) { in displayRecentApps() argument
184 int recentAppsCount = recentApps.size(); in displayRecentApps()
186 NotifyingApp app = recentApps.get(i); in displayRecentApps()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DRecentlyAccessedByUtils.java58 ArrayList<App> recentApps = new ArrayList<>(packageOpsCount); in getAppList() local
78 recentApps.add(recentApp); in getAppList()
83 recentApps.sort(Comparator.comparingLong(app -> ((App) app).mLastAccess).reversed()); in getAppList()
85 return recentApps; in getAppList()
DSensorFragment.java136 List<RecentlyAccessedByUtils.App> recentApps = RecentlyAccessedByUtils.getAppList( in addRecentAppsGroup() local
138 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()
/packages/apps/Settings/src/com/android/settings/applications/
DRecentAppStatsMixin.java192 void onReloadDataCompleted(List<UsageStats> recentApps); in onReloadDataCompleted() argument