Home
last modified time | relevance | path

Searched refs:newTheme (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowThemeTest.java82 Resources.Theme theme = resources.newTheme(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
88 Resources.Theme theme = resources.newTheme(); in shouldApplyParentStylesFromAttrs()
95 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideParentAttrs()
102 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideImplicitParentAttrs()
109 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldInheritParentAttrs()
119 Resources.Theme theme1 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
124 Resources.Theme theme2 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
133 Resources.Theme sourceTheme = resources.newTheme(); in setTo_whenDestThemeIsModified_sourceThemeShouldNotMutate()
136 Resources.Theme destTheme = resources.newTheme(); in setTo_whenDestThemeIsModified_sourceThemeShouldNotMutate()
148 Resources.Theme sourceTheme = resources.newTheme(); in setTo_whenSourceThemeIsModified_destThemeShouldNotMutate()
[all …]
DShadowAssetManagerTest.java98 resources.newTheme().applyStyle(-1, false); in unknownResourceIdsShouldReportPackagesSearched()
109 Resources.getSystem().newTheme().applyStyle(-1, false); in forSystemResources_unknownResourceIdsShouldReportPackagesSearched()
201 Resources.Theme theme = resources.newTheme(); in whenStyleAttrResolutionFails_attrsToTypedArray_returnsNiceErrorMessage()
DShadowResourcesTest.java84 Resources.Theme theme = resources.newTheme(); in themeResolveAttribute_shouldSupportDereferenceResource()
99 Resources.Theme theme = resources.newTheme(); in themeResolveAttribute_shouldSupportNotDereferencingResource()
/external/python/cpython2/Lib/idlelib/
DconfigDialog.py833 newTheme = self.GetNewThemeName(message)
834 if not newTheme: #user cancelled custom theme creation
837 self.CreateNewTheme(newTheme)
855 newTheme = GetCfgSectionNameDialog(
857 return newTheme
873 newTheme = idleConf.GetThemeDict(themeType, themeName)
878 newTheme[element] = themeChanges[element]
880 self.SaveNewTheme(newThemeName, newTheme)
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java979 protected final Number newTheme() { in newTheme() method in ShadowArscAssetManager
DShadowLegacyAssetManager.java758 protected Number newTheme() { in newTheme() method in ShadowLegacyAssetManager