Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DResolveInfo.java126 public int labelRes; field in ResolveInfo
210 if (resolvePackageName != null && labelRes != 0) { in loadLabel()
211 label = pm.getText(resolvePackageName, labelRes, null); in loadLabel()
218 if (labelRes != 0) { in loadLabel()
219 label = pm.getText(ci.packageName, labelRes, ai); in loadLabel()
238 if (labelRes != 0) { in resolveLabelResId()
239 return labelRes; in resolveLabelResId()
242 if (componentInfo.labelRes != 0) { in resolveLabelResId()
243 return componentInfo.labelRes; in resolveLabelResId()
245 return componentInfo.applicationInfo.labelRes; in resolveLabelResId()
[all …]
DPackageItemInfo.java134 public int labelRes; field in PackageItemInfo
184 labelRes = orig.labelRes; in PackageItemInfo()
219 if (labelRes != 0) { in loadUnsafeLabel()
220 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); in loadUnsafeLabel()
421 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0 || banner != 0) { in dumpFront()
422 pw.println(prefix + "labelRes=0x" + Integer.toHexString(labelRes) in dumpFront()
436 dest.writeInt(labelRes); in writeToParcel()
454 proto.write(PackageItemInfoProto.LABEL_RES, labelRes); in dumpDebug()
466 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.java102 if (labelRes != 0) { in loadUnsafeLabel()
103 label = pm.getText(packageName, labelRes, ai); in loadUnsafeLabel()
111 if (ai.labelRes != 0) { in loadUnsafeLabel()
112 label = pm.getText(packageName, ai.labelRes, ai); in loadUnsafeLabel()
DPackageParser.java316 final int labelRes; field in PackageParser.ParsePackageItemArgs
331 labelRes = _labelRes; in ParsePackageItemArgs()
4130 int nameRes, int labelRes, int iconRes, int roundIconRes, int logoRes, int bannerRes) { in parsePackageItemInfo() argument
4179 TypedValue v = sa.peekValue(labelRes); in parsePackageItemInfo()
4180 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parsePackageItemInfo()
4879 info.labelRes = target.info.labelRes; in parseActivityAlias()
5710 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parseIntent()
7541 true /*nameRequired*/, args.nameRes, args.labelRes, args.iconRes, in Component()
8406 public int labelRes; field in IntentInfo
8424 labelRes = dest.readInt(); in IntentInfo()
[all …]
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedIntentInfo.java141 int labelRes; field in ParsedIntentInfo
152 labelRes = in.readInt(); in ParsedIntentInfo()
160 dest.writeInt(labelRes); in writeIntentInfoToParcel()
189 return labelRes; in getLabelRes()
DParsedComponent.java49 int labelRes; field in ParsedComponent
82 this.labelRes = other.getLabelRes(); in ParsedComponent()
153 this.labelRes = in.readInt(); in ParsedComponent()
175 return labelRes; in getLabelRes()
DParsedComponentUtils.java91 component.labelRes = v.resourceId; in parseComponent()
DParsedActivity.java155 alias.labelRes = target.labelRes; in makeAlias()
DParsedIntentInfoUtils.java61 intentInfo.labelRes = v.resourceId; in parseIntentInfo()
/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.java439 private int labelRes; // the label information from the package mgr. field in ActivityRecord
801 pw.print(" labelRes=0x"); pw.print(Integer.toHexString(labelRes)); in dump()
1606 labelRes = aInfo.labelRes; in ActivityRecord()
1607 if (nonLocalizedLabel == null && labelRes == 0) { in ActivityRecord()
1610 labelRes = app.labelRes; in ActivityRecord()
1718 CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, in addStartingWindow() argument
1813 theme, compatInfo, nonLocalizedLabel, labelRes, icon, logo, windowFlags, in addStartingWindow()
5729 compatInfo, nonLocalizedLabel, labelRes, icon, logo, windowFlags, in showStartingWindow()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverDataProvider.java133 appInfo.labelRes = 1; in createPackageManagerMockedInfo()
141 activityInfo.labelRes = 2; in createPackageManagerMockedInfo()
152 resolveInfo.labelRes = 3; in createPackageManagerMockedInfo()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java136 if (appInfo.labelRes != 0) { in getAppSnippet()
138 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/core/java/android/content/pm/parsing/
DParsingPackageImpl.java336 private int labelRes; field in ParsingPackageImpl
883 appInfo.labelRes = labelRes;
1042 dest.writeInt(this.labelRes);
1204 this.labelRes = in.readInt();
1752 return labelRes;
2206 labelRes = value;
DParsingPackage.java254 ParsingPackage setLabelRes(int labelRes); in setLabelRes() argument
DPackageInfoWithoutStateUtils.java661 packageItemInfo.labelRes = component.getLabelRes(); in assignSharedFieldsForPackageItemInfo()
/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/core/java/com/android/internal/app/
DResolverActivity.java213 return ActionTitle.forAction(action).labelRes; in getLabelRes()
263 public final @StringRes int labelRes; field in ResolverActivity.ActionTitle
265 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
269 this.labelRes = labelRes; in ActionTitle()
DResolverListAdapter.java330 ri.labelRes = li.getLabelResource();
DChooserListAdapter.java175 ri.labelRes = li.getLabelResource(); in ChooserListAdapter()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java933 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen() argument
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java1508 res.labelRes = info.getLabelRes(); in newResult()
1773 res.labelRes = filter.getLabelRes(); in newResult()
1999 res.labelRes = filter.getLabelRes(); in newResult()
DPackageManagerShellCommand.java3401 pw.print(loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel) + ": "); in doListPermissions()
3413 + loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel)); in doListPermissions()
3447 pw.print(loadText(pi, pi.labelRes, in doListPermissions()
3460 + loadText(pi, pi.labelRes, in doListPermissions()

12