Searched refs:obtainAttributes (Results 1 – 3 of 3) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAssetManagerTest.java | 137 resources.obtainAttributes(attributeSet, new int[] {R.attr.multiformat}); in multiFormatAttributes_integerDecimalValue() 149 resources.obtainAttributes(attributeSet, new int[] {R.attr.multiformat}); in multiFormatAttributes_integerHexValue() 161 resources.obtainAttributes(attributeSet, new int[] {R.attr.multiformat}); in multiFormatAttributes_stringValue() 173 resources.obtainAttributes(attributeSet, new int[] {R.attr.multiformat}); in multiFormatAttributes_booleanValue() 189 resources.obtainAttributes(mockAttributeSet, new int[]{android.R.attr.windowBackground}); in attrsToTypedArray_shouldAllowMockedAttributeSets()
|
D | ShadowResourcesTest.java | 114 TypedArray typedArray = resources.obtainAttributes(attributeSet, new int[]{android.R.attr.id}); in obtainAttributes_shouldUseReferencedIdFromAttributeSet() 120 public void obtainAttributes() { in obtainAttributes() method in ShadowResourcesTest 121 TypedArray typedArray = resources.obtainAttributes(Robolectric.buildAttributeSet() in obtainAttributes() 137 .obtainAttributes(attributes, new int[]{android.R.attr.height, in obtainAttributes_shouldReturnValuesFromAttributeSet() 155 ….obtainAttributes(attributes, new int[]{android.R.attr.title, android.R.attr.scrollbarFadeDuration… in obtainAttributes_shouldReturnValuesFromResources()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowResources.java | 85 protected TypedArray obtainAttributes(AttributeSet set, int[] attrs) { in obtainAttributes() method in ShadowResources 90 return directlyOn(realResources, Resources.class).obtainAttributes(set, attrs); in obtainAttributes()
|