Home
last modified time | relevance | path

Searched refs:AppMetaData (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java58 static final Comparator<AppMetaData> ALPHABETICAL_COMPARATOR = Comparator
59 .comparing(AppMetaData::getDisplayName, String::compareToIgnoreCase);
66 static void launchApp(Context context, AppMetaData app) { in launchApp()
75 private final Map<String, AppMetaData> mApplications;
80 LauncherAppsInfo(@NonNull Map<String, AppMetaData> apps, in LauncherAppsInfo()
98 AppMetaData getAppMetaData(String packageName) { in getAppMetaData()
104 List<AppMetaData> getApplicationsList() { in getApplicationsList()
139 Map<String, AppMetaData> apps = new HashMap<>( in getAllLauncherApps()
153 AppMetaData appMetaData = new AppMetaData( in getAllLauncherApps()
172 AppMetaData appMetaData = new AppMetaData( in getAllLauncherApps()
[all …]
DSearchResultAdapter.java41 private List<AppMetaData> mAllApps;
42 private List<AppMetaData> mSearchResults;
56 public void setAllApps(List<AppMetaData> apps) { in setAllApps()
73 public void bind(AppMetaData app, View.OnClickListener listener) { in bind()
102 AppMetaData app = mAllApps.get(i); in performFiltering()
158 AppMetaData app = mSearchResults.get(position); in onBindViewHolder()
DAppGridAdapter.java41 private List<AppMetaData> mApps;
42 private List<AppMetaData> mMostRecentApps;
58 void setMostRecentApps(@Nullable List<AppMetaData> mostRecentApps) { in setMostRecentApps()
63 void setAllApps(@Nullable List<AppMetaData> apps) { in setAllApps()
105 AppMetaData app = mApps.get(index); in onBindViewHolder()
DAppMetaData.java28 final class AppMetaData { class
49 AppMetaData( in AppMetaData() method in AppMetaData
96 if (!(o instanceof AppMetaData)) { in equals()
99 return ((AppMetaData) o).getPackageName().equals(mPackageName); in equals()
DAppGridActivity.java204 private List<AppMetaData> getMostRecentApps(LauncherAppsInfo appsInfo) { in getMostRecentApps()
205 ArrayList<AppMetaData> apps = new ArrayList<>(); in getMostRecentApps()
255 AppMetaData app = appsInfo.getAppMetaData(packageName); in getMostRecentApps()
DAppItemViewHolder.java51 public void bind(@Nullable AppMetaData app, boolean isDistractionOptimizationRequired) { in bind()
79 private boolean openAlternateLaunchIntent(AppMetaData app) { in openAlternateLaunchIntent()
DRecentAppsRowViewHolder.java50 public void bind(@Nullable List<AppMetaData> apps, boolean isDistractionOptimizationRequired) { in bind()
DAppSearchActivity.java169 private List<AppMetaData> getAllApps() { in getAllApps()