Searched refs:resourceId (Results 1 - 25 of 109) sorted by path

12345

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java290 public UiSelector resourceId(String id) { method in class:UiSelector
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityServiceInfo.java534 mDescriptionResId = peekedValue.resourceId;
/frameworks/base/core/java/android/app/
H A DAlertDialog.java223 return outValue.resourceId;
394 * @param resId the resourceId of the drawable to use as the icon or 0
413 mAlert.setIcon(out.resourceId);
598 P.mIconId = out.resourceId;
H A DDatePickerDialog.java143 return outValue.resourceId;
H A DDialog.java174 themeResId = outValue.resourceId;
H A DPresentation.java303 theme = outValue.resourceId;
H A DSearchDialog.java116 return outValue.resourceId;
H A DTimePickerDialog.java86 return outValue.resourceId;
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java364 private Drawable loadDrawable(Context context, int density, int resourceId, argument
369 if (resourceId > 0) {
373 return resources.getDrawableForDensity(resourceId, density);
/frameworks/base/core/java/android/content/
H A DIntent.java804 * @param resourceId The resource identifier for the icon.
808 public static ShortcutIconResource fromContext(Context context, @AnyRes int resourceId) { argument
811 icon.resourceName = context.getResources().getResourceName(resourceId);
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java2797 if (v != null && (ai.fullBackupContent = v.resourceId) == 0) {
2812 if (v != null && (ai.labelRes=v.resourceId) == 0) {
3367 if (v != null && (outInfo.labelRes=v.resourceId) == 0) {
4413 if (v != null && v.resourceId != 0) {
4415 data.putInt(name, v.resourceId);
4546 if (v != null && (outInfo.labelRes=v.resourceId) == 0) {
5214 if (v != null && (outInfo.labelRes=v.resourceId) == 0) {
/frameworks/base/core/java/android/content/res/
H A DResourcesImpl.java622 if (verifyPreloadConfig(changingConfigs, 0, value.resourceId, "drawable")) {
627 changingConfigs, LAYOUT_DIR_CONFIG, value.resourceId, "drawable")) {
647 @Config int allowVarying, @AnyRes int resourceId, @Nullable String name) {
656 resName = getResourceName(resourceId);
663 + Integer.toHexString(resourceId)
670 resName = getResourceName(resourceId);
675 + Integer.toHexString(resourceId)
764 0, value.resourceId, "color")) {
857 if (verifyPreloadConfig(value.changingConfigurations, 0, value.resourceId,
646 verifyPreloadConfig(@onfig int changingConfigurations, @Config int allowVarying, @AnyRes int resourceId, @Nullable String name) argument
H A DTypedArray.java452 value, value.resourceId, mTheme);
496 return mResources.loadComplexColor(value, value.resourceId, mTheme);
531 return mResources.loadColorStateList(value, value.resourceId, mTheme);
928 return mResources.loadDrawable(value, value.resourceId, mTheme);
955 return mResources.getTextArray(value.resourceId);
1199 outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java48 public static GestureLibrary fromRawResource(Context context, @RawRes int resourceId) { argument
49 return new ResourceGestureLibrary(context, resourceId);
113 public ResourceGestureLibrary(Context context, int resourceId) { argument
115 mResourceId = resourceId;
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java847 if (tv.resourceId != 0) {
848 header.titleRes = tv.resourceId;
856 if (tv.resourceId != 0) {
857 header.summaryRes = tv.resourceId;
865 if (tv.resourceId != 0) {
866 header.breadCrumbTitleRes = tv.resourceId;
874 if (tv.resourceId != 0) {
875 header.breadCrumbShortTitleRes = tv.resourceId;
/frameworks/base/core/java/android/security/net/config/
H A DResourceCertificateSource.java45 public ResourceCertificateSource(int resourceId, Context context) { argument
46 mResourceId = resourceId;
H A DXmlConfigSource.java47 public XmlConfigSource(Context context, int resourceId) { argument
48 this(context, resourceId, false);
52 public XmlConfigSource(Context context, int resourceId, boolean debugBuild) { argument
53 this(context, resourceId, debugBuild, Build.VERSION_CODES.CUR_DEVELOPMENT);
56 public XmlConfigSource(Context context, int resourceId, boolean debugBuild, argument
58 mResourceId = resourceId;
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java892 * @param resourceId
897 public int addSpeech(String text, String packagename, @RawRes int resourceId) { argument
899 mUtterances.put(text, makeResourceUri(packagename, resourceId));
926 * @param resourceId
931 public int addSpeech(CharSequence text, String packagename, @RawRes int resourceId) { argument
933 mUtterances.put(text, makeResourceUri(packagename, resourceId));
1001 * @param resourceId
1006 public int addEarcon(String earcon, String packagename, @RawRes int resourceId) { argument
1008 mEarcons.put(earcon, makeResourceUri(packagename, resourceId));
1060 private Uri makeResourceUri(String packageName, int resourceId) { argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java114 public ImageSpan(Context context, @DrawableRes int resourceId) { argument
115 this(context, resourceId, ALIGN_BOTTOM);
122 public ImageSpan(Context context, @DrawableRes int resourceId, int verticalAlignment) { argument
125 mResourceId = resourceId;
/frameworks/base/core/java/android/util/
H A DTypedValue.java185 public int resourceId; field in class:TypedValue
497 resourceId = other.resourceId;
512 if (resourceId != 0) {
513 sb.append(" r=0x").append(Integer.toHexString(resourceId));
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java934 layout = mTempValue.resourceId;
H A DPointerIcon.java217 int resourceId = a.getResourceId(typeIndex, -1);
220 if (resourceId == -1) {
226 if ((resourceId & 0xff000000) == 0x01000000) {
227 icon.mSystemIconResourceId = resourceId;
229 icon.loadResource(context, context.getResources(), resourceId);
284 * @param resourceId The resource id.
291 public static PointerIcon load(@NonNull Resources resources, @XmlRes int resourceId) { argument
297 icon.loadResource(null, resources, resourceId);
399 private void loadResource(Context context, Resources resources, @XmlRes int resourceId) { argument
400 final XmlResourceParser parser = resources.getXml(resourceId);
[all...]
H A DView.java4543 final int resourceId = a.getResourceId(attr, 0);
4544 if (resourceId != 0) {
4546 context.getResources(), resourceId));
4774 final int resourceId = t.getResourceId(index, 0);
4775 if (resourceId == 0) {
4780 String resourceName = attributeMap.get(resourceId);
4783 resourceName = res.getResourceName(resourceId);
4785 resourceName = "0x" + Integer.toHexString(resourceId);
4787 attributeMap.put(resourceId, resourceName);
H A DViewDebug.java911 data[i - 1] = resources.getResourceName(outValue.resourceId);
H A DViewRootImpl.java2998 mView.mContext.getDrawable(value.resourceId);

Completed in 540 milliseconds

12345