Home
last modified time | relevance | path

Searched refs:theme (Results 1 – 25 of 29) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DThemeMenuAction.java188 String theme = attributes.getTheme(); in addMenuItems() local
189 if (theme != null) { in addMenuItems()
190 addMenuItem(menu, theme, isSelectedTheme(theme)); in addMenuItems()
211 for (String theme : sorted) { in addMenuItems()
212 boolean selected = theme.equals(current); in addMenuItems()
213 addMenuItem(menu, theme, selected); in addMenuItems()
224 String theme = mThemeList.get(i); in addMenuItems() local
225 if (ResourceHelper.isProjectStyle(theme)) { in addMenuItems()
226 themes.add(theme); in addMenuItems()
240 for (String theme : mThemeList) { in addMenuItems()
[all …]
DSelectThemeAction.java33 public SelectThemeAction(ConfigurationChooser configuration, String title, String theme, in SelectThemeAction() argument
36 assert theme.startsWith(STYLE_RESOURCE_PREFIX) in SelectThemeAction()
37 || theme.startsWith(ANDROID_STYLE_RESOURCE_PREFIX) : theme; in SelectThemeAction()
39 mTheme = theme; in SelectThemeAction()
DConfigurationDescription.java83 public String theme; field in ConfigurationDescription
148 description.theme = configuration.getTheme(); in fromConfiguration()
188 String theme = element.getAttribute(ATTR_THEME); in fromXml() local
189 if (!theme.isEmpty()) { in fromXml()
190 description.theme = theme; in fromXml()
276 if (theme != null) { in toXml()
277 element.setAttribute(ATTR_THEME, theme); in toXml()
350 if (theme == null) { in computePreferredTheme()
363 theme = preferred; in computePreferredTheme()
370 if (theme != null && !theme.startsWith(PREFIX_RESOURCE_REF)) { in checkThemePrefix()
[all …]
DConfigurationChooser.java438 String theme = mConfiguration.getTheme(); in getThemeName() local
439 if (theme != null) { in getThemeName()
440 theme = ResourceHelper.styleToTheme(theme); in getThemeName()
443 return theme; in getThemeName()
1093 void selectTheme(@Nullable String theme) { in selectTheme() argument
1097 assert theme == null || theme.startsWith(STYLE_RESOURCE_PREFIX) in selectTheme()
1098 || theme.startsWith(ANDROID_STYLE_RESOURCE_PREFIX) : theme; in selectTheme()
1099 mThemeCombo.setData(theme); in selectTheme()
1100 if (theme != null) { in selectTheme()
1101 mThemeCombo.setText(getThemeLabel(theme, true)); in selectTheme()
[all …]
DConfiguration.java359 String theme = getTheme(); in isProjectTheme() local
360 if (theme != null) { in isProjectTheme()
361 assert theme.startsWith(STYLE_RESOURCE_PREFIX) in isProjectTheme()
362 || theme.startsWith(ANDROID_STYLE_RESOURCE_PREFIX); in isProjectTheme()
364 return ResourceHelper.isProjectStyle(theme); in isProjectTheme()
541 public void setTheme(String theme) { in setTheme() argument
542 mTheme = theme; in setTheme()
643 String theme = getTheme(); in toPersistentString() local
644 if (theme != null) { in toPersistentString()
645 String themeName = ResourceHelper.styleToTheme(theme); in toPersistentString()
[all …]
DNestedConfiguration.java170 public void setTheme(String theme) { in setTheme() argument
172 mParent.setTheme(theme); in setTheme()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java782 public static Margins getInsets(String fqcn, Density density, String theme) { in getInsets() argument
787 if (theme.startsWith(HOLO_PREFIX)) { in getInsets()
795 if (theme.startsWith(HOLO_PREFIX)) { in getInsets()
803 if (theme.startsWith(HOLO_PREFIX)) { in getInsets()
813 if (theme.startsWith(HOLO_PREFIX)) { in getInsets()
821 if (theme.startsWith(HOLO_PREFIX)) { in getInsets()
829 if (theme.startsWith(HOLO_PREFIX)) { in getInsets()
839 if (!theme.startsWith(HOLO_PREFIX)) { in getInsets()
844 if (!theme.startsWith(HOLO_PREFIX)) { in getInsets()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreview.java608 String theme = configuration.getTheme(); in getResourceResolver() local
609 if (theme == null) { in getResourceResolver()
644 if (!theme.startsWith(PREFIX_RESOURCE_REF)) { in getResourceResolver()
645 if (frameworkRes.hasResourceItem(ANDROID_STYLE_RESOURCE_PREFIX + theme)) { in getResourceResolver()
646 theme = ANDROID_STYLE_RESOURCE_PREFIX + theme; in getResourceResolver()
648 theme = STYLE_RESOURCE_PREFIX + theme; in getResourceResolver()
654 ResourceHelper.styleToTheme(theme), in getResourceResolver()
655 ResourceHelper.isProjectStyle(theme)); in getResourceResolver()
DRenderPreviewList.java165 description.theme != null ? description.theme : chooserConfig.getTheme()); in createPreviews()
DPreviewIconFactory.java389 StyleResourceValue theme = resources.getCurrentTheme(); in getColorsFromTheme() local
390 if (theme != null) { in getColorsFromTheme()
DPaletteControl.java379 String theme = configChooser.getThemeName(); in reloadPalette() local
387 && mCurrentTheme != null && mCurrentTheme.equals(theme) in reloadPalette()
391 mCurrentTheme = theme; in reloadPalette()
DLayoutCanvas.java1655 String theme = configComposite.getThemeName(); in getInsets() local
1657 return ViewMetadataRepository.getInsets(fqcn, density, theme); in getInsets()
DGraphicalEditorPart.java1652 String theme = mConfigChooser.getThemeName(); in getResourceResolver() local
1653 if (theme == null) { in getResourceResolver()
1678 theme, isProjectTheme); in getResourceResolver()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dmanifest-expected-completion18.txt3 android:theme : The overall theme to use for an activity. [reference]
/sdk/eclipse/scripts/
D_mk_icons.sh29 icon T blue theme
/sdk/eclipse/
Dchanges.txt5 theme references, such as ?android:attr/dividerHeight
92 theme chooser, a single button to flip orientation, better
120 * Go to Declaration now works for theme references (?android:attr,
308 with large, normal and small theme sizes, and LinearLayouts are
328 - The layout editor is smarter about picking a default theme to
329 render a layout with, consulting factors like theme registrations
570 - Added Custom Themes to theme drop down in the layout editor.
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DConfigureAssetSetPage.java1141 actionBarOptions.theme = mValues.holoDark in generateImages()
/sdk/testapps/jarCheckTests1/app/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/javaProjectTest/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/libsAndJarTest/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12