/frameworks/base/core/java/android/content/pm/ |
D | ResolveInfo.java | 128 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 …]
|
D | PackageItemInfo.java | 134 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()
|
D | LabeledIntent.java | 44 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()
|
D | ComponentInfo.java | 129 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()
|
D | PackageParser.java | 327 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/ |
D | ParsedComponentImpl.java | 58 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()
|
D | ParsedIntentInfoImpl.java | 141 int labelRes = in.readInt(); in ParsedIntentInfoImpl() local 147 this.mLabelRes = labelRes; in ParsedIntentInfoImpl()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverDataProvider.java | 133 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/ |
D | PackageUtil.java | 141 if (appInfo.labelRes != 0) { in getAppSnippet() 143 label = res.getText(appInfo.labelRes); in getAppSnippet()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsContract.java | 6394 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/ |
D | SystemUIToast.java | 201 } else if (appInfo.labelRes != 0) { in inflateToastView() 206 iconView.setContentDescription(res.getString(appInfo.labelRes)); in inflateToastView()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputInfo.java | 204 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/ |
D | ResolveIntentHelper.java | 205 ri.activityInfo.labelRes = ResolverActivity.getLabelRes(intent.getAction()); in chooseBestActivity() 223 ri.labelRes = appi.labelRes; in chooseBestActivity()
|
D | PackageManagerShellCommand.java | 3770 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()
|
D | ComputerEngine.java | 1359 installerInfo.labelRes = info.resolveLabelResId(); in applyPostResolutionFilter()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/ |
D | ParsingPackageImpl.java | 375 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;
|
D | ParsingPackage.java | 293 ParsingPackage setLabelRes(int labelRes); in setLabelRes() argument
|
D | PackageInfoWithoutStateUtils.java | 811 packageItemInfo.labelRes = component.getLabelRes(); in assignSharedFieldsForPackageItemInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 253 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()
|
D | ChooserListAdapter.java | 196 ri.labelRes = li.getLabelResource(); in ChooserListAdapter()
|
D | ResolverListAdapter.java | 439 ri.labelRes = li.getLabelResource();
|
/frameworks/base/services/core/java/com/android/server/pm/resolution/ |
D | ComponentResolver.java | 1188 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/ |
D | ActivityRecord.java | 479 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/ |
D | Activity.java | 2610 final int resource = mApplication.getApplicationInfo().labelRes; in onProvideKeyboardShortcuts()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 637 if (info.labelRes == 0 && info.nonLocalizedLabel == null) { in addPermission()
|