Home
last modified time | relevance | path

Searched refs:themeStyleSet (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DThemeStyleSetTest.java14 private ThemeStyleSet themeStyleSet; field in ThemeStyleSetTest
18 themeStyleSet = new ThemeStyleSet(); in setUp()
23 themeStyleSet = new ThemeStyleSet(); in shouldFindAttributesFromAnAppliedStyle()
24 themeStyleSet.apply(createStyle("style1", in shouldFindAttributesFromAnAppliedStyle()
28themeStyleSet.apply(createStyle("style2", createAttribute("string2", "string2 value from style2"))… in shouldFindAttributesFromAnAppliedStyle()
29 …assertThat(themeStyleSet.getAttrValue(attrName("string1")).value).isEqualTo("string1 value from st… in shouldFindAttributesFromAnAppliedStyle()
30 …assertThat(themeStyleSet.getAttrValue(attrName("string2")).value).isEqualTo("string2 value from st… in shouldFindAttributesFromAnAppliedStyle()
35 themeStyleSet.apply(createStyle("style1", in shouldFindAttributesFromAnAppliedFromForcedStyle()
39themeStyleSet.apply(createStyle("style2", createAttribute("string1", "string1 value from style2"))… in shouldFindAttributesFromAnAppliedFromForcedStyle()
40 …assertThat(themeStyleSet.getAttrValue(attrName("string1")).value).isEqualTo("string1 value from st… in shouldFindAttributesFromAnAppliedFromForcedStyle()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyAssetManager.java125 private ThemeStyleSet themeStyleSet; field in ShadowLegacyAssetManager.NativeTheme
127 public NativeTheme(ThemeStyleSet themeStyleSet) { in NativeTheme() argument
128 this.themeStyleSet = themeStyleSet; in NativeTheme()
360 ThemeStyleSet themeStyleSet = getNativeTheme(themePtr).themeStyleSet; in getThemeValue() local
361 AttributeResource attrValue = themeStyleSet.getAttrValue(resName); in getThemeValue()
368 attrValue = themeStyleSet.getAttrValue(attrResName); in getThemeValue()
921 nativeTheme.themeStyleSet.apply(style, force); in applyThemeStyle()
933 destNativeTheme.themeStyleSet = sourceNativeTheme.themeStyleSet.copy(); in copyTheme()
1014 Style resolveStyle(int resId, Style themeStyleSet) { in resolveStyle() argument
1015 return resolveStyle(getResName(resId), themeStyleSet); in resolveStyle()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DThemeStyleSet.java38 ThemeStyleSet themeStyleSet = new ThemeStyleSet(); in copy() local
39 themeStyleSet.styles.addAll(this.styles); in copy()
40 return themeStyleSet; in copy()