Home
last modified time | relevance | path

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

12

/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DResourceEntry.java34 private final int resourceId; field in ResourceEntry
44 int resourceId; in fromBundle() local
52 resourceId = bundle.getInt(KEY_RESOURCE_ID); in fromBundle()
53 return new ResourceEntry(packageName, resourceName, resourceId); in fromBundle()
56 public ResourceEntry(String packageName, String resourceName, int resourceId) { in ResourceEntry() argument
59 this.resourceId = resourceId; in ResourceEntry()
71 return this.resourceId; in getResourceId()
83 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/droiddriver/src/io/appium/droiddriver/finders/
DBy.java61 public static MatchFinder resourceId(int resourceId) { in resourceId() argument
63 return resourceId(targetContext.getResources().getResourceName(resourceId)); in resourceId()
70 public static MatchFinder resourceId(String resourceId) { in resourceId() argument
71 return new MatchFinder(Predicates.attributeEquals(Attribute.RESOURCE_ID, resourceId)); in resourceId()
DXPaths.java98 public static String resourceId(String value) { in resourceId() method in XPaths
/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/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()
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 …]
DShadowAlertController.java66 public void setView(int resourceId) { in setView() argument
67 setView(LayoutInflater.from(RuntimeEnvironment.application).inflate(resourceId, null)); in setView()
DShadowBitmapFactory.java205 public static void provideWidthAndHeightHints(int resourceId, int width, int height) { in provideWidthAndHeightHints() argument
206 …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/smali/util/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/droiddriver/manualtest/src/io/appium/droiddriver/manualtest/
DManualTest.java37 Finder password_edit = By.resourceId("com.google.android.gsf.login:id/password_edit"); in testSetTextForPassword()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowResourcesTest.java125 assertThat(typedArray.peekValue(0).resourceId).isEqualTo(R.xml.shortcuts); in obtainAttributes()

12