Home
last modified time | relevance | path

Searched refs:getResourceId (Results 1 – 25 of 36) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceTableFactoryTest.java29 …assertThat(appResourceTable.getResourceId(new ResName("org.robolectric:mipmap/mipmap_reference")))… in shouldHandleMipmapReferences()
34 …assertThat(appResourceTable.getResourceId(new ResName("org.robolectric:id/burritos"))).isEqualTo(R… in shouldHandleStyleable()
35 …assertThat(appResourceTable.getResourceId(new ResName("org.robolectric:styleable/TitleBar_textStyl… in shouldHandleStyleable()
40 …assertThat(systemResourceTable.getResourceId(new ResName("android:id/text1"))).isEqualTo(android.R… in shouldPrefixAllSystemResourcesWithAndroid()
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java100 int resId = resourceEntry.getResourceId(); in getColor()
137 int resId = resourceEntry.getResourceId(); in getDrawable()
181 int resId = resourceEntry.getResourceId(); in getString()
215 int resId = resourceEntry.getResourceId(); in getBoolean()
260 int resId = resourceEntry.getResourceId(); in getDimension()
308 int resId = resourceEntry.getResourceId(); in getFraction()
342 int resId = resourceEntry.getResourceId(); in getIllustrationResourceEntry()
DResourceEntry.java113 public int getResourceId() { in getResourceId() method in ResourceEntry
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DXmlResourceParserImpl.java601 return getResourceId(getAttributeName(index), attributeNamespace, "attr"); in getAttributeNameResource()
633 return getResourceId(attr, packageName, null); in getAttributeResourceValue()
696 int resourceId = getResourceId(attributeValue.substring(1), packageName, null); in getAttributeResourceValue()
758 int style = getResourceId(attr, packageName, "style"); in getStyleAttribute()
761 style = getResourceId(attr.replace('.', '_'), packageName, "style"); in getStyleAttribute()
776 …private int getResourceId(String possiblyQualifiedResourceName, String defaultPackageName, String … in getResourceId() method in XmlResourceParserImpl
782 Integer resourceId = resourceTable.getResourceId(styleReference); in getResourceId()
791 Integer resourceId = resourceTable.getResourceId(resourceReference); in getResourceId()
799 Integer resourceId = resourceTable.getResourceId(resName); in getResourceId()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowArrayAdapterTest.java68 assertThat(Shadows.shadowOf(arrayAdapter).getResourceId()).isEqualTo(R.id.title); in hasTheCorrectConstructorResourceIDs()
76 assertThat(Shadows.shadowOf(arrayAdapter2).getResourceId()).isEqualTo(R.id.title); in hasTheCorrectConstructorResourceIDs()
85 assertThat(Shadows.shadowOf(arrayAdapter3).getResourceId()).isEqualTo(R.id.title); in hasTheCorrectConstructorResourceIDs()
DShadowTypedArrayTest.java54 …assertThat(context.obtainStyledAttributes(new int[]{android.R.attr.alpha}).getResourceId(0, -1)).i… in getResourceId_shouldReturnDefaultValue()
64 assertThat(typedArray.getResourceId(0, -1)).isEqualTo(R.id.snippet_text); in getResourceId_shouldReturnActualValue()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java151 .getResourceId( in createPackage()
164 .getResourceId(new ResName(fullyQualifiedName)); in createPackage()
198 .getResourceId( in createPackage()
205 .getResourceId( in createPackage()
430 RuntimeEnvironment.getAppResourceTable().getResourceId(descResName); in createPermissionInfo()
439 RuntimeEnvironment.getAppResourceTable().getResourceId(labelResName); in createPermissionInfo()
460 RuntimeEnvironment.getAppResourceTable().getResourceId(descResName); in createPermissionGroupInfo()
469 RuntimeEnvironment.getAppResourceTable().getResourceId(labelResName); in createPermissionGroupInfo()
DShadowArrayAdapter.java17 public int getResourceId() { in getResourceId() method in ShadowArrayAdapter
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DRoutingResourceTable.java46 public Integer getResourceId(ResName resName) { in getResourceId() method in RoutingResourceTable
47 return pickFor(resName).getResourceId(resName); in getResourceId()
DResourceTable.java10 Integer getResourceId(ResName resName); in getResourceId() method
DPackageResourceTable.java38 public Integer getResourceId(ResName resName) { in getResourceId() method in PackageResourceTable
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DTemplateLayout.java77 template = a.getResourceId(R.styleable.SucTemplateLayout_android_layout, 0); in init()
80 containerId = a.getResourceId(R.styleable.SucTemplateLayout_sucContainer, 0); in init()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceTableFactoryIntegrationTest.java23 .getResourceId(new ResName("android", "attr", "buttonGravity"))).isGreaterThan(0); in shouldIncludeStyleableAttributesThatDoNotHaveACorrespondingEntryInAttrClass()
DResourceLoaderTest.java96 Integer resId = resourceProvider.getResourceId(internalResource); in shouldMakeInternalResourcesAvailable()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/res/
DNullResourceTable.java11 public Integer getResourceId(ResName resName) { in getResourceId() method in NullResourceTable
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DAbstractItemHierarchy.java42 id = a.getResourceId(R.styleable.SudAbstractItem_android_id, 0); in AbstractItemHierarchy()
DButtonItem.java56 theme = a.getResourceId(R.styleable.SudButtonItem_android_theme, R.style.SudButtonItem); in ButtonItem()
DItem.java61 layoutRes = a.getResourceId(R.styleable.SudItem_android_layout, getDefaultLayoutResource()); in Item()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DNavigationBar.java62 int theme = attributes.getResourceId(navBarTheme, 0); in getNavbarTheme()
DStickyHeaderListView.java79 int headerResId = a.getResourceId(R.styleable.SudStickyHeaderListView_sudHeader, 0); in init()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DListMixin.java62 final int entries = a.getResourceId(R.styleable.SudListMixin_android_entries, 0); in ListMixin()
DIconMixin.java70 final @DrawableRes int icon = a.getResourceId(R.styleable.SudIconMixin_android_icon, 0); in IconMixin()
DRecyclerMixin.java106 final int entries = a.getResourceId(R.styleable.SudRecyclerMixin_android_entries, 0); in parseAttributes()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DMetaData.java45 valueMap.put(entry.getKey(), resourceTable.getResourceId(resName)); in init()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java187 Integer resourceId = resourceTable.getResourceId(new ResName(packageName, type, name)); in getIdentifier()
189 resourceId = resourceTable.getResourceId( in getIdentifier()

12