Home
last modified time | relevance | path

Searched refs:resourceId (Results 1 – 25 of 34) sorted by relevance

12

/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DResourceEntry.java48 private final int resourceId; field in ResourceEntry
69 int resourceId; in fromBundle() local
77 resourceId = bundle.getInt(KEY_RESOURCE_ID); in fromBundle()
80 packageName, resourceName, resourceId, getResourcesByPackageName(context, packageName)); in fromBundle()
93 public ResourceEntry(String packageName, String resourceName, int resourceId) { in ResourceEntry() argument
94 this(packageName, resourceName, resourceId, /* resources= */ null); in ResourceEntry()
98 String packageName, String resourceName, int resourceId, @Nullable Resources resources) { in ResourceEntry() argument
101 this.resourceId = resourceId; in ResourceEntry()
114 return this.resourceId; in getResourceId()
134 result.putInt(KEY_RESOURCE_ID, resourceId); in toBundle()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DScriptListAdapter.java68 int resourceId; in getView() local
70 resourceId = R.drawable.folder; in getView()
72 resourceId = FeaturedInterpreters.getInterpreterIcon(mContext, script.getName()); in getView()
73 if (resourceId == 0) { in getView()
74 resourceId = R.drawable.sl4a_logo_32; in getView()
77 icon.setImageResource(resourceId); in getView()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DXmlResourceParserImpl.java696 int resourceId = getResourceId(attributeValue.substring(1), packageName, null); in getAttributeResourceValue() local
697 if (resourceId != 0) { in getAttributeResourceValue()
698 return resourceId; in getAttributeResourceValue()
782 Integer resourceId = resourceTable.getResourceId(styleReference); in getResourceId() local
783 if (resourceId == null) { in getResourceId()
786 return resourceId; in getResourceId()
791 Integer resourceId = resourceTable.getResourceId(resourceReference); in getResourceId() local
792 if (resourceId == null) { in getResourceId()
795 return resourceId; in getResourceId()
799 Integer resourceId = resourceTable.getResourceId(resName); in getResourceId() local
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DRoutingResourceTable.java51 public ResName getResName(int resourceId) { in getResName() argument
52 return pickFor(resourceId).getResName(resourceId); in getResName()
DPackageResourceTable.java52 public ResName getResName(int resourceId) { in getResName() argument
53 return resourceTable.get(resourceId); in getResName()
DResourceTable.java12 ResName getResName(int resourceId); in getResName() argument
/external/libchrome/base/android/java/src/org/chromium/base/
DPackageUtils.java43 public static Bitmap decodeImageResource(String otherPackage, int resourceId) { in decodeImageResource() argument
47 return BitmapFactory.decodeResource(resources, resourceId); in decodeImageResource()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DRawResourceDataSource.java93 int resourceId; in open() local
95 resourceId = Integer.parseInt(Assertions.checkNotNull(uri.getLastPathSegment())); in open()
101 AssetFileDescriptor assetFileDescriptor = resources.openRawResourceFd(resourceId); in open()
/external/glide/library/src/main/java/com/bumptech/glide/
DGifRequestBuilder.java308 public GifRequestBuilder<ModelType> placeholder(int resourceId) { in placeholder() argument
309 super.placeholder(resourceId); in placeholder()
326 public GifRequestBuilder<ModelType> error(int resourceId) { in error() argument
327 super.error(resourceId); in error()
DDrawableRequestBuilder.java318 public DrawableRequestBuilder<ModelType> placeholder(int resourceId) { in placeholder() argument
319 super.placeholder(resourceId); in placeholder()
336 public DrawableRequestBuilder<ModelType> error(int resourceId) { in error() argument
337 super.error(resourceId); in error()
DBitmapRequestBuilder.java358 public BitmapRequestBuilder<ModelType, TranscodeType> placeholder(int resourceId) { in placeholder() argument
359 super.placeholder(resourceId); in placeholder()
376 public BitmapRequestBuilder<ModelType, TranscodeType> error(int resourceId) { in error() argument
377 super.error(resourceId); in error()
DGenericRequestBuilder.java426 int resourceId) { in placeholder() argument
427 this.placeholderId = resourceId; in placeholder()
452 int resourceId) { in error() argument
453 this.errorId = resourceId; in error()
DRequestManager.java414 public DrawableTypeRequest<Integer> load(Integer resourceId) { in load() argument
415 return (DrawableTypeRequest<Integer>) fromResource().load(resourceId); in load()
/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanel.cpp75 CCPApplet::CCPApplet(UINT resourceId, UINT descId, CRuntimeClass * uiClass) in CCPApplet() argument
77 m_resourceId(resourceId), in CCPApplet()
86 m_name.LoadString(resourceId); in CCPApplet()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/res/
DNullResourceTable.java17 public ResName getResName(int resourceId) { in getResName() argument
18 System.out.println("getResName(" + resourceId + ")"); in getResName()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDrawable.java97 public static Drawable createFromResourceId(int resourceId) { in createFromResourceId() argument
100 shadowBitmap.createdFromResId = resourceId; in createFromResourceId()
104 shadowBitmapDrawable.createdFromResId = resourceId; in createFromResourceId()
DShadowAlertController.java66 public void setView(int resourceId) { in setView() argument
67 setView(LayoutInflater.from(RuntimeEnvironment.application).inflate(resourceId, null)); in setView()
DShadowLegacyAssetManager.java160 Integer resourceId; in convertAndFill() local
163 resourceId = attribute.getReferenceResId(); in convertAndFill()
165 resourceId = resourceTable.getResourceId(resName); in convertAndFill()
168 if (resourceId == null) { in convertAndFill()
174 outValue.data = resourceId; in convertAndFill()
178 outValue.resourceId = resourceId; in convertAndFill()
316 …Integer resourceId = resourceTable.getResourceId(ResName.qualifyResName(name, defPackage, defType)… in getResourceIdentifier() local
317 return resourceId == null ? 0 : resourceId; in getResourceIdentifier()
793 typedValue.resourceId = resourceTable.getResourceId(refResName); in getTypedArray()
794 typedValue.data = typedValue.resourceId; in getTypedArray()
[all …]
DShadowBitmapFactory.java206 public static void provideWidthAndHeightHints(int resourceId, int width, int height) { in provideWidthAndHeightHints() argument
207 …urce:" + RuntimeEnvironment.application.getResources().getResourceName(resourceId), new Point(widt… in provideWidthAndHeightHints()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DBaksmaliOptions.java96 Integer resourceId = Integer.decode(attr.getValue("id")); in loadResourceIds() local
99 resourceIds.put(resourceId, qualifiedResourceName); in loadResourceIds()
/external/mesa3d/.gitlab-ci/tracie/
Drenderdoc_dump_images.py60 texsave.resourceId = draw.outputs[0]
62 if texsave.resourceId == rd.ResourceId.Null():
/external/smali/dexlib2/src/main/java/org/jf/util/
DNumberUtils.java68 int resourceId = value & 0xffff; in isLikelyFloat() local
69 if ((packageId == 0x7f || packageId == 1) && resourceType < 0x1f && resourceId < 0xfff) { in isLikelyFloat()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java187 Integer resourceId = resourceTable.getResourceId(new ResName(packageName, type, name)); in getIdentifier() local
188 if (resourceId == 0) { in getIdentifier()
189 resourceId = resourceTable.getResourceId( in getIdentifier()
192 return resourceId; in getIdentifier()
404 outValue.resourceId = id; in parse()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowResourcesTest.java125 assertThat(typedArray.peekValue(0).resourceId).isEqualTo(R.xml.shortcuts); in obtainAttributes()
/external/angle/src/libANGLE/
DFramebuffer.cpp916 bool Framebuffer::detachResourceById(const Context *context, GLenum resourceType, GLuint resourceId) in detachResourceById() argument
923 resourceId)) in detachResourceById()
936 if (detachMatchingAttachment(context, attachment, resourceType, resourceId)) in detachResourceById()
944 if (detachMatchingAttachment(context, &mState.mDepthAttachment, resourceType, resourceId)) in detachResourceById()
948 if (detachMatchingAttachment(context, &mState.mStencilAttachment, resourceType, resourceId)) in detachResourceById()

12