Home
last modified time | relevance | path

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

12

/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java99 result = resource.getColor(resourceEntry.getResourceId(), null); in getColor()
101 result = resource.getColor(resourceEntry.getResourceId()); in getColor()
135 resource.getValue(resourceEntry.getResourceId(), outValue, true); in getDrawable()
141 result = resource.getDrawable(resourceEntry.getResourceId(), null); in getDrawable()
143 result = resource.getDrawable(resourceEntry.getResourceId()); in getDrawable()
176 result = resource.getString(resourceEntry.getResourceId()); in getString()
207 result = resource.getBoolean(resourceEntry.getResourceId()); in getBoolean()
249 result = resource.getDimension(resourceEntry.getResourceId()); in getDimension()
252 resource, resourceEntry.getResourceId(), TypedValue.TYPE_DIMENSION); in getDimension()
296 result = resource.getFraction(resourceEntry.getResourceId(), 1, 1); in getFraction()
DResourceEntry.java70 public int getResourceId() { in getResourceId() method in ResourceEntry
/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/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/droiddriver/src/io/appium/droiddriver/instrumentation/
DViewElement.java135 put(Attribute.RESOURCE_ID, getResourceId()); in call()
182 private String getResourceId() { in getResourceId() method in ViewElement.AttributesSnapshot
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/res/
DNullResourceTable.java11 public Integer getResourceId(ResName resName) { in getResourceId() method in NullResourceTable
/external/droiddriver/src/io/appium/droiddriver/
DUiElement.java88 String getResourceId(); in getResourceId() method
/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()
/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()
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/droiddriver/src/io/appium/droiddriver/scroll/
DDynamicSentinelStrategy.java172 return uniqueStringElement.getResourceId(); in getUniqueString()

12