Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/view/
DLayoutAnimation5.java45 private List<ResolveInfo> mApps; field in LayoutAnimation5
51 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
58 ResolveInfo info = mApps.get(position % mApps.size()); in getView()
69 return Math.min(32, mApps.size()); in getCount()
73 return mApps.get(position % mApps.size()); in getItem()
DLayoutAnimation4.java46 private List<ResolveInfo> mApps; field in LayoutAnimation4
52 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
59 ResolveInfo info = mApps.get(position % mApps.size()); in getView()
70 return Math.min(32, mApps.size()); in getCount()
74 return mApps.get(position % mApps.size()); in getItem()
DLayoutAnimation6.java45 private List<ResolveInfo> mApps; field in LayoutAnimation6
51 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
58 ResolveInfo info = mApps.get(position % mApps.size()); in getView()
69 return Math.min(32, mApps.size()); in getCount()
73 return mApps.get(position % mApps.size()); in getItem()
DLayoutAnimation1.java45 private List<ResolveInfo> mApps; field in LayoutAnimation1
51 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
58 ResolveInfo info = mApps.get(position % mApps.size()); in getView()
69 return Math.min(32, mApps.size()); in getCount()
73 return mApps.get(position % mApps.size()); in getItem()
DGrid1.java51 private List<ResolveInfo> mApps; field in Grid1
57 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
75 ResolveInfo info = mApps.get(position); in getView()
83 return mApps.size(); in getCount()
87 return mApps.get(position); in getItem()
DGrid3.java58 private List<ResolveInfo> mApps; field in Grid3
64 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
88 ResolveInfo info = mApps.get(position); in getView()
96 return mApps.size(); in getCount()
100 return mApps.get(position); in getItem()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java213 List<AppEntry> mApps; field in LoaderCustom.AppListLoader
269 List<AppEntry> oldApps = mApps; in deliverResult()
270 mApps = apps; in deliverResult()
290 if (mApps != null) { in onStartLoading()
293 deliverResult(mApps); in onStartLoading()
305 if (takeContentChanged() || mApps == null || configChange) { in onStartLoading()
342 if (mApps != null) { in onReset()
343 onReleaseResources(mApps); in onReset()
344 mApps = null; in onReset()