Home
last modified time | relevance | path

Searched refs:labelRes (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DResolveInfo.java128 public int labelRes; field in ResolveInfo
212 if (resolvePackageName != null && labelRes != 0) { in loadLabel()
213 label = pm.getText(resolvePackageName, labelRes, null); in loadLabel()
220 if (labelRes != 0) { in loadLabel()
221 label = pm.getText(ci.packageName, labelRes, ai); in loadLabel()
240 if (labelRes != 0) { in resolveLabelResId()
241 return labelRes; in resolveLabelResId()
244 if (componentInfo.labelRes != 0) { in resolveLabelResId()
245 return componentInfo.labelRes; in resolveLabelResId()
247 return componentInfo.applicationInfo.labelRes; in resolveLabelResId()
[all …]
DPackageItemInfo.java125 public int labelRes; field in PackageItemInfo
175 labelRes = orig.labelRes; in PackageItemInfo()
210 if (labelRes != 0) { in loadUnsafeLabel()
211 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); in loadUnsafeLabel()
412 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0 || banner != 0) { in dumpFront()
413 pw.println(prefix + "labelRes=0x" + Integer.toHexString(labelRes) in dumpFront()
427 dest.writeInt(labelRes); in writeToParcel()
445 proto.write(PackageItemInfoProto.LABEL_RES, labelRes); in writeToProto()
457 labelRes = source.readInt(); in PackageItemInfo()
DLabeledIntent.java44 int labelRes, int icon) { in LabeledIntent() argument
47 mLabelRes = labelRes; in LabeledIntent()
78 public LabeledIntent(String sourcePackage, int labelRes, int icon) { in LabeledIntent() argument
80 mLabelRes = labelRes; in LabeledIntent()
DComponentInfo.java107 if (labelRes != 0) { in loadUnsafeLabel()
108 label = pm.getText(packageName, labelRes, ai); in loadUnsafeLabel()
116 if (ai.labelRes != 0) { in loadUnsafeLabel()
117 label = pm.getText(packageName, ai.labelRes, ai); in loadUnsafeLabel()
DPackageParser.java320 final int labelRes; field in PackageParser.ParsePackageItemArgs
335 labelRes = _labelRes; in ParsePackageItemArgs()
4201 int nameRes, int labelRes, int iconRes, int roundIconRes, int logoRes, int bannerRes) { in parsePackageItemInfo() argument
4250 TypedValue v = sa.peekValue(labelRes); in parsePackageItemInfo()
4251 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parsePackageItemInfo()
4902 info.labelRes = target.info.labelRes; in parseActivityAlias()
5732 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parseIntent()
7353 true /*nameRequired*/, args.nameRes, args.labelRes, args.iconRes, in Component()
8218 public int labelRes; field in IntentInfo
8236 labelRes = dest.readInt(); in IntentInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSplashScreenStartingData.java40 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in SplashScreenStartingData() argument
47 mLabelRes = labelRes; in SplashScreenStartingData()
DActivityRecord.java293 private int labelRes; // the label information from the package mgr. field in ActivityRecord
471 pw.print(" labelRes=0x"); pw.print(Integer.toHexString(labelRes)); in dump()
998 labelRes = aInfo.labelRes; in ActivityRecord()
999 if (nonLocalizedLabel == null && labelRes == 0) { in ActivityRecord()
1002 labelRes = app.labelRes; in ActivityRecord()
1146 CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, in addStartingWindow() argument
1166 labelRes, icon, logo, windowFlags, transferFrom, newTask, taskSwitch, in addStartingWindow()
2651 compatInfo, nonLocalizedLabel, labelRes, icon, logo, windowFlags, in showStartingWindow()
DAppWindowToken.java2065 CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, in addStartingWindow() argument
2156 theme, compatInfo, nonLocalizedLabel, labelRes, icon, logo, windowFlags, in addStartingWindow()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverDataProvider.java127 appInfo.labelRes = 1; in createPackageManagerMockedInfo()
135 activityInfo.labelRes = 2; in createPackageManagerMockedInfo()
146 resolveInfo.labelRes = 3; in createPackageManagerMockedInfo()
/frameworks/base/core/java/android/provider/
DContactsContract.java6214 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6215 return res.getText(labelRes); in getTypeLabel()
6435 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6436 return res.getText(labelRes); in getTypeLabel()
6643 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6644 return res.getText(labelRes); in getTypeLabel()
6781 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6782 return res.getText(labelRes); in getTypeLabel()
6815 final int labelRes = getProtocolLabelResource(type); in getProtocolLabel() local
6816 return res.getText(labelRes); in getProtocolLabel()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java137 if (appInfo.labelRes != 0) { in getAppSnippet()
139 label = res.getText(appInfo.labelRes); in getAppSnippet()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java202 HdmiDeviceInfo hdmiDeviceInfo, String parentId, int labelRes, Icon icon) in createTvInputInfo() argument
207 .setLabel(labelRes) in createTvInputInfo()
255 TvInputHardwareInfo hardwareInfo, int labelRes, Icon icon) in createTvInputInfo() argument
259 .setLabel(labelRes) in createTvInputInfo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java113 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen() argument
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java1297 res.labelRes = info.labelRes; in newResult()
1536 res.labelRes = info.labelRes; in newResult()
1753 res.labelRes = info.labelRes; in newResult()
DPackageManagerShellCommand.java2862 pw.print(loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel) + ": "); in doListPermissions()
2874 + loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel)); in doListPermissions()
2908 pw.print(loadText(pi, pi.labelRes, in doListPermissions()
2921 + loadText(pi, pi.labelRes, in doListPermissions()
DPackageManagerService.java6782 ri.activityInfo.labelRes = ResolverActivity.getLabelRes(intent.getAction());
6800 ri.labelRes = appi.labelRes;
7617 installerInfo.labelRes = info.resolveLabelResId();
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java162 return ActionTitle.forAction(action).labelRes; in getLabelRes()
212 public final @StringRes int labelRes; field in ResolverActivity.ActionTitle
214 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
218 this.labelRes = labelRes; in ActionTitle()
1847 ri.labelRes = li.getLabelResource();
DChooserActivity.java2398 ri.labelRes = li.getLabelResource();
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java320 assertEquals(aIntent.labelRes, bIntent.labelRes); in assertComponentsEqual()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java969 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen() argument
DPhoneWindowManager.java2339 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen() argument
2365 if (theme != context.getThemeResId() || labelRes != 0) { in addSplashScreen()
2396 CharSequence label = context.getResources().getText(labelRes, null); in addSplashScreen()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java807 if (info.labelRes == 0 && info.nonLocalizedLabel == null) { in addDynamicPermission()
/frameworks/base/core/java/android/app/
DActivity.java2409 final int resource = mApplication.getApplicationInfo().labelRes; in onProvideKeyboardShortcuts()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8671 field public int labelRes;
8974 field public int labelRes;
/frameworks/base/api/
Dcurrent.txt11535 field public int labelRes;
11941 field public int labelRes;

12