/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | ResourceTableFactoryTest.java | 29 …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/ |
D | PartnerConfigHelper.java | 100 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()
|
D | ResourceEntry.java | 113 public int getResourceId() { in getResourceId() method in ResourceEntry
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | XmlResourceParserImpl.java | 601 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/ |
D | ShadowArrayAdapterTest.java | 68 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()
|
D | ShadowTypedArrayTest.java | 54 …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/ |
D | LegacyManifestParser.java | 151 .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()
|
D | ShadowArrayAdapter.java | 17 public int getResourceId() { in getResourceId() method in ShadowArrayAdapter
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | RoutingResourceTable.java | 46 public Integer getResourceId(ResName resName) { in getResourceId() method in RoutingResourceTable 47 return pickFor(resName).getResourceId(resName); in getResourceId()
|
D | ResourceTable.java | 10 Integer getResourceId(ResName resName); in getResourceId() method
|
D | PackageResourceTable.java | 38 public Integer getResourceId(ResName resName) { in getResourceId() method in PackageResourceTable
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | TemplateLayout.java | 77 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/ |
D | ResourceTableFactoryIntegrationTest.java | 23 .getResourceId(new ResName("android", "attr", "buttonGravity"))).isGreaterThan(0); in shouldIncludeStyleableAttributesThatDoNotHaveACorrespondingEntryInAttrClass()
|
D | ResourceLoaderTest.java | 96 Integer resId = resourceProvider.getResourceId(internalResource); in shouldMakeInternalResourcesAvailable()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/res/ |
D | NullResourceTable.java | 11 public Integer getResourceId(ResName resName) { in getResourceId() method in NullResourceTable
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | AbstractItemHierarchy.java | 42 id = a.getResourceId(R.styleable.SudAbstractItem_android_id, 0); in AbstractItemHierarchy()
|
D | ButtonItem.java | 56 theme = a.getResourceId(R.styleable.SudButtonItem_android_theme, R.style.SudButtonItem); in ButtonItem()
|
D | Item.java | 61 layoutRes = a.getResourceId(R.styleable.SudItem_android_layout, getDefaultLayoutResource()); in Item()
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | NavigationBar.java | 62 int theme = attributes.getResourceId(navBarTheme, 0); in getNavbarTheme()
|
D | StickyHeaderListView.java | 79 int headerResId = a.getResourceId(R.styleable.SudStickyHeaderListView_sudHeader, 0); in init()
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | ListMixin.java | 62 final int entries = a.getResourceId(R.styleable.SudListMixin_android_entries, 0); in ListMixin()
|
D | IconMixin.java | 70 final @DrawableRes int icon = a.getResourceId(R.styleable.SudIconMixin_android_icon, 0); in IconMixin()
|
D | RecyclerMixin.java | 106 final int entries = a.getResourceId(R.styleable.SudRecyclerMixin_android_entries, 0); in parseAttributes()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/ |
D | MetaData.java | 45 valueMap.put(entry.getKey(), resourceTable.getResourceId(resName)); in init()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/ |
D | AttributeSetBuilderImpl.java | 187 Integer resourceId = resourceTable.getResourceId(new ResName(packageName, type, name)); in getIdentifier() 189 resourceId = resourceTable.getResourceId( in getIdentifier()
|