Home
last modified time | relevance | path

Searched refs:AppEntry (Results 1 – 7 of 7) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java84 public static class AppEntry { class in LoaderCustom
85 public AppEntry(AppListLoader loader, ApplicationInfo info) { in AppEntry() method in LoaderCustom.AppEntry
151 public static final Comparator<AppEntry> ALPHA_COMPARATOR = new Comparator<AppEntry>() {
154 public int compare(AppEntry object1, AppEntry object2) {
209 public static class AppListLoader extends AsyncTaskLoader<List<AppEntry>> {
213 List<AppEntry> mApps;
230 @Override public List<AppEntry> loadInBackground() { in loadInBackground()
242 List<AppEntry> entries = new ArrayList<AppEntry>(apps.size()); in loadInBackground()
244 AppEntry entry = new AppEntry(this, apps.get(i)); in loadInBackground()
261 @Override public void deliverResult(List<AppEntry> apps) { in deliverResult()
[all …]
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListViewModel.java48 public LiveData<List<AppEntry>> getAppList() { in getAppList()
57 class AppListLiveData extends LiveData<List<AppEntry>> {
70 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData()
72 protected List<AppEntry> doInBackground(Void... voids) { in loadData()
79 List<AppEntry> entries = new ArrayList<>(); in loadData()
82 AppEntry entry = new AppEntry(app, mPackageManager); in loadData()
90 protected void onPostExecute(List<AppEntry> data) { in loadData()
DPinnedAppListViewModel.java53 public LiveData<List<AppEntry>> getPinnedAppList() { in getPinnedAppList()
58 class PinnedAppListLiveData extends LiveData<List<AppEntry>> {
82 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData()
84 protected List<AppEntry> doInBackground(Void... voids) { in loadData()
85 List<AppEntry> entries = new ArrayList<>(); in loadData()
103 final AppEntry entry = new AppEntry(app, mPackageManager); in loadData()
113 protected void onPostExecute(List<AppEntry> data) { in loadData()
DAppListAdapter.java32 public class AppListAdapter extends ArrayAdapter<AppEntry> {
40 void setData(List<AppEntry> data) { in setData()
57 AppEntry item = getItem(position); in getView()
DAppEntry.java26 public class AppEntry { class
32 AppEntry(ResolveInfo info, PackageManager packageManager) { in AppEntry() method in AppEntry
DPinnedAppPickerDialog.java33 void onAppPicked(AppEntry appEntry); in onAppPicked()
68 final AppEntry entry = mAppListAdapter.getItem(position); in onViewCreated()
DLauncherActivity.java119 final AppEntry entry = mPinnedAppListAdapter.getItem(position); in onCreate()
132 final AppEntry entry = mAppListAdapter.getItem(position); in onCreate()
254 public void onAppPicked(AppEntry appEntry) { in onAppPicked()