Home
last modified time | relevance | path

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

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DResourceExtractor.java50 public Integer getResourceId(String resourceName) { in getResourceId() method in ResourceExtractor
52 return getResourceId(resourceName, true); in getResourceId()
54 return getResourceId(resourceName, false); in getResourceId()
60 return getResourceId(value, isSystem); in getLocalResourceId()
63 public Integer getResourceId(String resourceName, boolean isSystemResource) { in getResourceId() method in ResourceExtractor
DDrawableResourceLoader.java147 drawableIds[i] = resourceExtractor.getResourceId(drawableName.getNodeValue()); in getDrawableIds()
168 int resId = resourceExtractor.getResourceId(drawableName.getNodeValue()); in buildStateListDrawable()
DStringResourceLoader.java17 return getValue(resourceExtractor.getResourceId(resourceName, isSystem)); in getValue()
DDimenResourceLoader.java20 return getValue(resourceExtractor.getResourceId(resourceName, isSystem)); in getValue()
DIntegerResourceLoader.java28 Integer resourceId = resourceExtractor.getResourceId(resourceName, isSystem); in getValue()
DResourceLoader.java505 resourceIds.add(resourceExtractor.getResourceId("@drawable/" + tokens[0])); in listNinePatchResources()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowViewStub.java31 mInflatedId = getResourceId(inflatedId); in applyAttributes()
36 mLayoutResource = getResourceId(layoutResId); in applyAttributes()
40 private Integer getResourceId(String inflatedId) { in getResourceId() method in ShadowViewStub
42 return resourceExtractor.getResourceId(inflatedId, false); in getResourceId()
DShadowTypedArray.java58 public int getResourceId(int index, int defValue) { in getResourceId() method in ShadowTypedArray
DShadowImageView.java135 public int getResourceId() { in getResourceId() method in ShadowImageView
DShadowArrayAdapter.java46 public int getResourceId() { in getResourceId() method in ShadowArrayAdapter
DShadowResources.java59 index = resourceExtractor.getResourceId(defType + "/" + name); in getIdentifier()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DArrayAdapterTest.java70 Assert.assertTrue(Robolectric.shadowOf(arrayAdapter).getResourceId()==R.id.title); in hasTheCorrectConstructorResourceIDs()
78 Assert.assertTrue(Robolectric.shadowOf(arrayAdapter2).getResourceId()==R.id.title); in hasTheCorrectConstructorResourceIDs()
86 Assert.assertTrue(Robolectric.shadowOf(arrayAdapter3).getResourceId()==R.id.title); in hasTheCorrectConstructorResourceIDs()
DTypedArrayTest.java69 assertThat(typedArray.getResourceId(0, 2), equalTo(2)); in testResourceIdDefaultValue()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
DHasResourceMatcher.java25 actualResourceId = shadowOf(actual).getResourceId(); in matchesSafely()
DImageViewHasDrawableMatcher.java28 int actualResourceId = shadowOf(actualImageView).getResourceId(); in matchesSafely()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/
DTestAttributeSet.java136 resourceId = resourceExtractor.getResourceId(value); in getAttributeResourceValue()
145 return (value == null) ? defaultValue : resourceExtractor.getResourceId(value); in getAttributeResourceValue()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DResourceExtractorTest.java29 … assertThat(resourceExtractor.getResourceId("android:id/text1"), equalTo(android.R.id.text1)); in shouldPrefixAllSystemResourcesWithAndroid()
DViewLoaderTest.java286 …assertThat(((ShadowImageView) shadowOf(mediaView.findViewById(R.id.image))).getResourceId(), equal… in testImageViewSrcIsSet()
/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/droiddriver/src/io/appium/droiddriver/
DUiElement.java88 String getResourceId(); in getResourceId() method
/external/droiddriver/src/io/appium/droiddriver/scroll/
DDynamicSentinelStrategy.java172 return uniqueStringElement.getResourceId(); in getUniqueString()
/external/droiddriver/src/io/appium/droiddriver/finders/
DByXPath.java147 setAttribute(element, Attribute.RESOURCE_ID, uiElement.getResourceId()); in buildDomNode()
/external/droiddriver/src/io/appium/droiddriver/base/
DBaseUiElement.java87 public String getResourceId() { in getResourceId() method in BaseUiElement