Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DResolveInfo.java128 public int labelRes; field in ResolveInfo
223 if (resolvePackageName != null && labelRes != 0) { in loadLabel()
224 label = pm.getText(resolvePackageName, labelRes, null); in loadLabel()
231 if (labelRes != 0) { in loadLabel()
232 label = pm.getText(ci.packageName, labelRes, ai); in loadLabel()
251 if (labelRes != 0) { in resolveLabelResId()
252 return labelRes; in resolveLabelResId()
255 if (componentInfo.labelRes != 0) { in resolveLabelResId()
256 return componentInfo.labelRes; in resolveLabelResId()
258 return componentInfo.applicationInfo.labelRes; in resolveLabelResId()
[all …]
DPackageItemInfo.java134 public int labelRes; field in PackageItemInfo
184 labelRes = orig.labelRes; in PackageItemInfo()
221 if (labelRes != 0) { in loadUnsafeLabel()
222 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); in loadUnsafeLabel()
423 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0 || banner != 0) { in dumpFront()
424 pw.println(prefix + "labelRes=0x" + Integer.toHexString(labelRes) in dumpFront()
438 dest.writeInt(labelRes); in writeToParcel()
456 proto.write(PackageItemInfoProto.LABEL_RES, labelRes); in dumpDebug()
468 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.java129 if (labelRes != 0) { in loadUnsafeLabel()
130 label = pm.getText(packageName, labelRes, ai); in loadUnsafeLabel()
138 if (ai.labelRes != 0) { in loadUnsafeLabel()
139 label = pm.getText(packageName, ai.labelRes, ai); in loadUnsafeLabel()
DPackageParser.java327 final int labelRes; field in PackageParser.ParsePackageItemArgs
342 labelRes = _labelRes; in ParsePackageItemArgs()
4195 int nameRes, int labelRes, int iconRes, int roundIconRes, int logoRes, int bannerRes) { in parsePackageItemInfo() argument
4244 TypedValue v = sa.peekValue(labelRes); in parsePackageItemInfo()
4245 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parsePackageItemInfo()
4931 info.labelRes = target.info.labelRes;
5775 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parseIntent()
7645 true /*nameRequired*/, args.nameRes, args.labelRes, args.iconRes, in Component()
8545 public int labelRes; field in PackageParser.IntentInfo
8563 labelRes = dest.readInt(); in IntentInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedComponentImpl.java58 private int labelRes; field in ParsedComponentImpl
93 this.labelRes = other.getLabelRes(); in ParsedComponentImpl()
180 this.labelRes = in.readInt(); in ParsedComponentImpl()
220 return labelRes; in getLabelRes()
266 labelRes = value; in setLabelRes()
DParsedIntentInfoImpl.java141 int labelRes = in.readInt(); in ParsedIntentInfoImpl() local
147 this.mLabelRes = labelRes; in ParsedIntentInfoImpl()
/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.java141 if (appInfo.labelRes != 0) { in getAppSnippet()
143 label = res.getText(appInfo.labelRes); in getAppSnippet()
/frameworks/base/core/java/android/provider/
DContactsContract.java6394 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6395 return res.getText(labelRes); in getTypeLabel()
6617 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6618 return res.getText(labelRes); in getTypeLabel()
6825 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6826 return res.getText(labelRes); in getTypeLabel()
6986 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6987 return res.getText(labelRes); in getTypeLabel()
7020 final int labelRes = getProtocolLabelResource(type); in getProtocolLabel() local
7021 return res.getText(labelRes); in getProtocolLabel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DSystemUIToast.java201 } else if (appInfo.labelRes != 0) { in inflateToastView()
206 iconView.setContentDescription(res.getString(appInfo.labelRes)); in inflateToastView()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java204 HdmiDeviceInfo hdmiDeviceInfo, String parentId, int labelRes, Icon icon) in createTvInputInfo() argument
209 .setLabel(labelRes) in createTvInputInfo()
257 TvInputHardwareInfo hardwareInfo, int labelRes, Icon icon) in createTvInputInfo() argument
261 .setLabel(labelRes) in createTvInputInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DResolveIntentHelper.java205 ri.activityInfo.labelRes = ResolverActivity.getLabelRes(intent.getAction()); in chooseBestActivity()
223 ri.labelRes = appi.labelRes; in chooseBestActivity()
DPackageManagerShellCommand.java3770 pw.print(loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel) + ": "); in doListPermissions()
3782 + loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel)); in doListPermissions()
3816 pw.print(loadText(pi, pi.labelRes, in doListPermissions()
3829 + loadText(pi, pi.labelRes, in doListPermissions()
DComputerEngine.java1359 installerInfo.labelRes = info.resolveLabelResId(); in applyPostResolutionFilter()
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageImpl.java375 private int labelRes; field in ParsingPackageImpl
1104 appInfo.labelRes = labelRes;
1303 dest.writeInt(this.labelRes);
1452 this.labelRes = in.readInt();
2036 return labelRes;
2565 labelRes = value;
DParsingPackage.java293 ParsingPackage setLabelRes(int labelRes); in setLabelRes() argument
DPackageInfoWithoutStateUtils.java811 packageItemInfo.labelRes = component.getLabelRes(); in assignSharedFieldsForPackageItemInfo()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java253 return ActionTitle.forAction(action).labelRes; in getLabelRes()
303 public final @StringRes int labelRes; field in ResolverActivity.ActionTitle
305 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
309 this.labelRes = labelRes; in ActionTitle()
DChooserListAdapter.java196 ri.labelRes = li.getLabelResource(); in ChooserListAdapter()
DResolverListAdapter.java439 ri.labelRes = li.getLabelResource();
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolver.java1188 res.labelRes = info.getLabelRes(); in newResult()
1474 res.labelRes = intentInfo.getLabelRes(); in newResult()
1705 res.labelRes = intentInfo.getLabelRes(); in newResult()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java479 private int labelRes; // the label information from the package mgr. field in ActivityRecord
1042 pw.print(" labelRes=0x"); pw.print(Integer.toHexString(labelRes)); in dump()
2104 labelRes = aInfo.labelRes; in ActivityRecord()
2105 if (nonLocalizedLabel == null && labelRes == 0) { in ActivityRecord()
2108 labelRes = app.labelRes; in ActivityRecord()
/frameworks/base/core/java/android/app/
DActivity.java2610 final int resource = mApplication.getApplicationInfo().labelRes; in onProvideKeyboardShortcuts()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java637 if (info.labelRes == 0 && info.nonLocalizedLabel == null) { in addPermission()

12