Home
last modified time | relevance | path

Searched refs:ApplicationInfo (Results 1 – 19 of 19) sorted by relevance

/development/samples/Home/src/com/example/android/home/
DApplicationInfo.java27 class ApplicationInfo { class
66 if (!(o instanceof ApplicationInfo)) { in equals()
70 ApplicationInfo that = (ApplicationInfo) o; in equals()
DHome.java100 private static ArrayList<ApplicationInfo> mApplications;
101 private static LinkedList<ApplicationInfo> mFavorites;
262 mFavorites = new LinkedList<ApplicationInfo>(); in bindFavorites()
290 ApplicationInfo info; in bindFavorites()
361 final ArrayList<ApplicationInfo> recents = new ArrayList<ApplicationInfo>(); in bindRecents()
369 ApplicationInfo info = getApplicationInfo(manager, intent); in bindRecents()
382 private static ApplicationInfo getApplicationInfo(PackageManager manager, Intent intent) { in getApplicationInfo()
389 final ApplicationInfo info = new ApplicationInfo(); in getApplicationInfo()
496 mApplications = new ArrayList<ApplicationInfo>(count); in loadApplications()
501 ApplicationInfo application = new ApplicationInfo(); in loadApplications()
[all …]
DApplicationsStackLayout.java71 private List<ApplicationInfo> mFavorites;
72 private List<ApplicationInfo> mRecents;
240 private int stackApplications(List<ApplicationInfo> applications, int childLeft, int childTop) { in stackApplications()
251 final ApplicationInfo info = applications.get(i); in stackApplications()
303 ViewGroup group, ApplicationInfo info) { in createApplicationIcon()
322 public void setFavorites(List<ApplicationInfo> applications) { in setFavorites()
332 public void setRecents(List<ApplicationInfo> applications) { in setRecents()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DMainActivity.java21 import android.content.pm.ApplicationInfo;
49 ApplicationInfo info = packageManager.getApplicationInfo( in onCreate()
52 if (0 == (info.flags & ApplicationInfo.FLAG_INSTALLED)) { in onCreate()
DStatusFragment.java21 import android.content.pm.ApplicationInfo;
96 ApplicationInfo info = packageManager.getApplicationInfo( in updateUi()
101 if ((info.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in updateUi()
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/
DAppLabelCache.java19 import android.content.pm.ApplicationInfo;
39 final ApplicationInfo ai = pm.getApplicationInfo(packageName, 0); in getAppLabel()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DResourceHelper.java20 import android.content.pm.ApplicationInfo;
41 ApplicationInfo applicationInfo = in getThemeColor()
/development/apps/Development/src/com/android/development/
DAppHwConfigList.java23 import android.content.pm.ApplicationInfo;
82 List<ApplicationInfo> appList = mPm.getInstalledApplications(0); in AppListAdapter()
83 for (ApplicationInfo app : appList) { in AppListAdapter()
DPackageSummary.java25 import android.content.pm.ApplicationInfo;
109 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) == 0) { in onCreate()
112 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_DEBUGGABLE) == 0) { in onCreate()
115 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_HAS_CODE) != 0) { in onCreate()
118 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in onCreate()
DPermissionDetails.java33 import android.content.pm.ApplicationInfo;
205 ApplicationInfo appInfo = null; in onCreate()
DAppHwPref.java26 import android.content.pm.ApplicationInfo;
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java40 import android.content.pm.ApplicationInfo;
85 public AppEntry(AppListLoader loader, ApplicationInfo info) { in AppEntry()
91 public ApplicationInfo getApplicationInfo() { in getApplicationInfo()
141 private final ApplicationInfo mInfo;
232 List<ApplicationInfo> apps = mPm.getInstalledApplications( in loadInBackground()
236 apps = new ArrayList<ApplicationInfo>(); in loadInBackground()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java28 import android.content.pm.ApplicationInfo;
116 ApplicationInfo applicationInfo = packageManager.getApplicationInfo( in isApplicationEnabled()
119 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) { in isApplicationEnabled()
212 ApplicationInfo applicationInfo = packageManager.getApplicationInfo(packageName, in setAppEnabled()
216 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) { in setAppEnabled()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DMyBaseListFragment.java23 import android.content.pm.ApplicationInfo;
114 final ApplicationInfo ai = pm.getApplicationInfo(packageName, 0); in getAppLabel()
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java31 import android.content.pm.ApplicationInfo;
117 List<ApplicationInfo> list = getPackageManager().getInstalledApplications( in onCreate()
121 for (ApplicationInfo ai :list) { in onCreate()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java20 import android.content.pm.ApplicationInfo;
98 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in shouldTargetPackage()
DMonkeySourceNetworkViews.java24 import android.content.pm.ApplicationInfo;
173 ApplicationInfo appInfo = sPm.getApplicationInfo(packageName, 0, in translateCommand()
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/
DMainActivity.java30 import android.content.pm.ApplicationInfo;
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java30 import android.content.pm.ApplicationInfo;