Home
last modified time | relevance | path

Searched refs:labelRes (Results 1 – 25 of 27) 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.java323 final int labelRes; field in PackageParser.ParsePackageItemArgs
338 labelRes = _labelRes; in ParsePackageItemArgs()
4259 int nameRes, int labelRes, int iconRes, int roundIconRes, int logoRes, int bannerRes) { in parsePackageItemInfo() argument
4308 TypedValue v = sa.peekValue(labelRes); in parsePackageItemInfo()
4309 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parsePackageItemInfo()
4959 info.labelRes = target.info.labelRes; in parseActivityAlias()
5789 if (v != null && (outInfo.labelRes=v.resourceId) == 0) { in parseIntent()
7411 true /*nameRequired*/, args.nameRes, args.labelRes, args.iconRes, in Component()
8276 public int labelRes; field in IntentInfo
8294 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()
999 labelRes = aInfo.labelRes; in ActivityRecord()
1000 if (nonLocalizedLabel == null && labelRes == 0) { in ActivityRecord()
1003 labelRes = app.labelRes; in ActivityRecord()
1147 CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, in addStartingWindow() argument
1167 labelRes, icon, logo, windowFlags, transferFrom, newTask, taskSwitch, in addStartingWindow()
2649 compatInfo, nonLocalizedLabel, labelRes, icon, logo, windowFlags, in showStartingWindow()
DAppWindowToken.java2081 CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, in addStartingWindow() argument
2172 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.java6217 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6218 return res.getText(labelRes); in getTypeLabel()
6440 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6441 return res.getText(labelRes); in getTypeLabel()
6648 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6649 return res.getText(labelRes); in getTypeLabel()
6786 final int labelRes = getTypeLabelResource(type); in getTypeLabel() local
6787 return res.getText(labelRes); in getTypeLabel()
6820 final int labelRes = getProtocolLabelResource(type); in getProtocolLabel() local
6821 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.java1304 res.labelRes = info.labelRes; in newResult()
1543 res.labelRes = info.labelRes; in newResult()
1760 res.labelRes = info.labelRes; in newResult()
DPackageManagerShellCommand.java3046 pw.print(loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel) + ": "); in doListPermissions()
3058 + loadText(pgi, pgi.labelRes, pgi.nonLocalizedLabel)); in doListPermissions()
3092 pw.print(loadText(pi, pi.labelRes, in doListPermissions()
3105 + loadText(pi, pi.labelRes, in doListPermissions()
DPackageManagerService.java6715 ri.activityInfo.labelRes = ResolverActivity.getLabelRes(intent.getAction());
6733 ri.labelRes = appi.labelRes;
7550 installerInfo.labelRes = info.resolveLabelResId();
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java166 return ActionTitle.forAction(action).labelRes; in getLabelRes()
216 public final @StringRes int labelRes; field in ResolverActivity.ActionTitle
218 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
222 this.labelRes = labelRes; in ActionTitle()
1880 ri.labelRes = li.getLabelResource();
DChooserActivity.java2678 ri.labelRes = li.getLabelResource();
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java324 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.java2343 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen() argument
2369 if (theme != context.getThemeResId() || labelRes != 0) { in addSplashScreen()
2400 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.java2415 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/non-updatable-api/
Dcurrent.txt11548 field public int labelRes;
11958 field public int labelRes;

12