Home
last modified time | relevance | path

Searched refs:getResourceId (Results 1 – 25 of 43) 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.java160 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()
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/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/views/
DMarquee.kt27 val titleRes = typedArray.getResourceId(R.styleable.Marquee_titleText, 0) in <lambda>()
32 val subtitleRes = typedArray.getResourceId(R.styleable.Marquee_subtitleText, 0) in <lambda>()
DControlBarItemToggleView.kt32 val textRes = typedArray.getResourceId(R.styleable.ControlBarItemToggleView_text, 0) in <lambda>()
37 val drawableRes = typedArray.getResourceId(R.styleable.ControlBarItemToggleView_src, 0) in <lambda>()
DTabBarItemView.kt24 val titleRes = ta.getResourceId(R.styleable.TabBarItemView_titleText, 0) in <lambda>()
/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/setupdesign/main/src/com/google/android/setupdesign/transition/
DTransitionHelper.java222 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/
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/view/
DIllustrationVideoView.java106 final int videoResId = a.getResourceId(R.styleable.SudIllustrationVideoView_sudVideo, 0); in init()
180 setVideoResource(resourceEntry.getResourceId(), resourceEntry.getPackageName()); in setVideoResourceEntry()
DNavigationBar.java62 int theme = attributes.getResourceId(navBarTheme, 0); in getNavbarTheme()
DStickyHeaderListView.java83 int headerResId = a.getResourceId(R.styleable.SudStickyHeaderListView_sudHeader, 0); in init()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DAbstractItemHierarchy.java43 id = a.getResourceId(R.styleable.SudAbstractItem_android_id, View.NO_ID); in AbstractItemHierarchy()
DButtonItem.java56 theme = a.getResourceId(R.styleable.SudButtonItem_android_theme, R.style.SudButtonItem); in ButtonItem()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DMetaData.java45 valueMap.put(entry.getKey(), resourceTable.getResourceId(resName)); in init()

12