/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 | 160 int resId = resourceEntry.getResourceId(); in getColor() 204 int resId = resourceEntry.getResourceId(); in getDrawable() 248 int resId = resourceEntry.getResourceId(); in getString() 279 int resId = resourceEntry.getResourceId(); in getStringArray() 314 int resId = resourceEntry.getResourceId(); in getBoolean() 359 int resId = resourceEntry.getResourceId(); in getDimension() 407 int resId = resourceEntry.getResourceId(); in getFraction() 440 int resId = resourceEntry.getResourceId(); in getInteger() 474 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/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/views/ |
D | Marquee.kt | 27 val titleRes = typedArray.getResourceId(R.styleable.Marquee_titleText, 0) in <lambda>() 32 val subtitleRes = typedArray.getResourceId(R.styleable.Marquee_subtitleText, 0) in <lambda>()
|
D | ControlBarItemToggleView.kt | 32 val textRes = typedArray.getResourceId(R.styleable.ControlBarItemToggleView_text, 0) in <lambda>() 37 val drawableRes = typedArray.getResourceId(R.styleable.ControlBarItemToggleView_src, 0) in <lambda>()
|
D | TabBarItemView.kt | 24 val titleRes = ta.getResourceId(R.styleable.TabBarItemView_titleText, 0) in <lambda>()
|
/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/setupdesign/main/src/com/google/android/setupdesign/transition/ |
D | TransitionHelper.java | 222 typedArray.getResourceId(/* index= */ 0, /* defValue= */ 0), in applyForwardTransition() 223 typedArray.getResourceId(/* index= */ 1, /* defValue= */ 0)); in applyForwardTransition() 325 typedArray.getResourceId(/* index= */ 0, /* defValue= */ 0), in applyBackwardTransition() 326 typedArray.getResourceId(/* index= */ 1, /* defValue= */ 0)); in applyBackwardTransition()
|
/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/view/ |
D | IllustrationVideoView.java | 106 final int videoResId = a.getResourceId(R.styleable.SudIllustrationVideoView_sudVideo, 0); in init() 180 setVideoResource(resourceEntry.getResourceId(), resourceEntry.getPackageName()); in setVideoResourceEntry()
|
D | NavigationBar.java | 62 int theme = attributes.getResourceId(navBarTheme, 0); in getNavbarTheme()
|
D | StickyHeaderListView.java | 83 int headerResId = a.getResourceId(R.styleable.SudStickyHeaderListView_sudHeader, 0); in init()
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | AbstractItemHierarchy.java | 43 id = a.getResourceId(R.styleable.SudAbstractItem_android_id, View.NO_ID); in AbstractItemHierarchy()
|
D | ButtonItem.java | 56 theme = a.getResourceId(R.styleable.SudButtonItem_android_theme, R.style.SudButtonItem); in ButtonItem()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/ |
D | MetaData.java | 45 valueMap.put(entry.getKey(), resourceTable.getResourceId(resName)); in init()
|