Home
last modified time | relevance | path

Searched refs:activityInfo (Results 1 – 13 of 13) sorted by relevance

/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppEntry.java36 mLaunchIntent.setComponent(new ComponentName(info.activityInfo.packageName, in AppEntry()
37 info.activityInfo.name)); in AppEntry()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DIntentBuilderView.java122 activities.forEach(activityInfo -> in setupViews()
123 activityToFlags.put(activityInfo, FlagUtils.getActivityFlags(activityInfo))); in setupViews()
139 ActivityInfo activityInfo = activityEntry.getKey(); in setupViews()
145 rb.setText(activityInfo.name.substring(activityInfo.name.lastIndexOf('.') + 1)); in setupViews()
146 rb.setTag(activityInfo); in setupViews()
159 private String nameOfActivityInfo(ActivityInfo activityInfo) { in nameOfActivityInfo() argument
160 return activityInfo.name.substring(activityInfo.name.lastIndexOf('.') + 1); in nameOfActivityInfo()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java64 String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name; in querySampleActivities()
67 target.setClassName(info.activityInfo.applicationInfo.packageName, in querySampleActivities()
68 info.activityInfo.name); in querySampleActivities()
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java86 : info.activityInfo.name; in getData()
96 info.activityInfo.applicationInfo.packageName, in getData()
97 info.activityInfo.name)); in getData()
/development/samples/Home/src/com/example/android/home/
DHome.java390 final ActivityInfo activityInfo = resolveInfo.activityInfo; in getApplicationInfo() local
391 info.icon = activityInfo.loadIcon(manager); in getApplicationInfo()
393 info.title = activityInfo.loadLabel(manager); in getApplicationInfo()
506 info.activityInfo.applicationInfo.packageName, in loadApplications()
507 info.activityInfo.name), in loadApplications()
510 application.icon = info.activityInfo.loadIcon(manager); in loadApplications()
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DDeviceOwnerFragment.java188 if (list.get(i).activityInfo.packageName.equals(packageName)) { in retrieveCurrentSettings()
319 map.put(KEY_PACKAGE_NAME, info.activityInfo.packageName); in createData()
320 map.put(KEY_ACTIVITY_NAME, info.activityInfo.name); in createData()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DLayoutAnimation4.java61 i.setImageDrawable(info.activityInfo.loadIcon(getPackageManager())); in getView()
DLayoutAnimation6.java60 i.setImageDrawable(info.activityInfo.loadIcon(getPackageManager())); in getView()
DGrid1.java76 i.setImageDrawable(info.activityInfo.loadIcon(getPackageManager())); in getView()
DLayoutAnimation5.java60 i.setImageDrawable(info.activityInfo.loadIcon(getPackageManager())); in getView()
DLayoutAnimation1.java60 i.setImageDrawable(info.activityInfo.loadIcon(getPackageManager())); in getView()
DGrid3.java89 i.setImageDrawable(info.activityInfo.loadIcon(getPackageManager())); in getView()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkey.java302 final String launcherPackage = resolveInfo.activityInfo.packageName; in isActivityStartingAllowed()
1070 String packageName = r.activityInfo.applicationInfo.packageName; in getMainApps()
1073 Logger.out.println("// + Using main activity " + r.activityInfo.name in getMainApps()
1076 mMainApps.add(new ComponentName(packageName, r.activityInfo.name)); in getMainApps()
1080 + r.activityInfo.name + " (from package " + packageName + ")"); in getMainApps()