Searched refs:theme (Results 1 - 25 of 28) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
H A DSelectThemeAction.java33 public SelectThemeAction(ConfigurationChooser configuration, String title, String theme, argument
36 assert theme.startsWith(STYLE_RESOURCE_PREFIX)
37 || theme.startsWith(ANDROID_STYLE_RESOURCE_PREFIX) : theme;
39 mTheme = theme;
H A DThemeMenuAction.java93 // First show the currently selected theme (grayed out since you can't
122 // TODO: Add variations of the current theme here, e.g.
151 // submenus for picking it within each theme category?
187 String theme = activityThemes.get(activity);
188 if (theme != null) {
189 addMenuItem(menu, theme, isSelectedTheme(theme));
202 for (String theme : sorted) {
203 boolean selected = theme.equals(current);
204 addMenuItem(menu, theme, selecte
279 isSelectedTheme(String theme) argument
283 addMenuItem(Menu menu, String theme, boolean selected) argument
293 OpenThemeAction(String title, IFile file, String theme) argument
[all...]
H A DConfigurationChooser.java107 * Settings name for file-specific configuration preferences, such as which theme or
239 // icon, the theme icon, etc so that it looks vertically misaligned:
406 * Returns the current theme, or null if none has been selected
408 * @return the theme name, or null
412 String theme = mConfiguration.getTheme();
413 if (theme != null) {
414 theme = ResourceHelper.styleToTheme(theme);
417 return theme;
574 * the given theme nam
1000 selectTheme(@ullable String theme) argument
1123 getThemeLabel(String theme, boolean brief) argument
[all...]
H A DConfiguration.java54 * A {@linkplain Configuration} is a selection of device, orientation, theme,
85 /** The theme style to render with */
197 * Returns the current theme style
199 * @return the theme style
217 * Returns whether the configuration's theme is a project theme.
222 * @return true for project a theme, false for a framework theme
225 String theme = getTheme();
226 if (theme !
398 setTheme(String theme) argument
[all...]
/sdk/assetstudio/tests/src/com/android/assetstudiolib/
H A DActionBarIconGeneratorTest.java26 private void checkGraphic(String baseName, Theme theme) throws IOException { argument
28 options.theme = theme;
/sdk/assetstudio/src/com/android/assetstudiolib/
H A DActionBarIconGenerator.java53 if (actionBarOptions.theme == Theme.HOLO_LIGHT) {
58 assert actionBarOptions.theme == Theme.HOLO_DARK;
72 /** The theme to generate icons for */
73 public Theme theme = Theme.HOLO_LIGHT; field in class:ActionBarIconGenerator.ActionBarOptions
81 /** Theme.Holo - a dark (and default) version of the Honeycomb theme */
84 /** Theme.HoloLight - a light version of the Honeycomb theme */
/sdk/sdk_common/src/com/android/ide/common/resources/
H A DResourceResolver.java63 * @param themeName the name of the current theme.
64 * @param isProjectTheme Is this a project theme?
117 ResourceValue theme = null;
122 theme = frameworkStyleMap.get(name);
125 theme = projectStyleMap.get(name);
128 if (theme instanceof StyleResourceValue) {
129 return (StyleResourceValue) theme;
193 // no theme? no need to go further!
236 // Now look for the item in the theme, starting with the current one.
242 String.format("Couldn't find theme resourc
[all...]
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
H A DOverdrawDetector.java95 "custom theme where the theme background is null. Otherwise, the theme background " +
103 "that a background-theme is hidden.\n" +
106 "making a custom theme with your custom background and just using that theme " +
112 "color as a custom theme background instead.\n",
120 /** Mapping from FQN activity names to theme names registered in the manifest */
123 /** The default theme declared in the manifest, or null */
129 /** List of theme name
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DViewMetadataRepository.java764 * current theme or density if there's no chance that valid insets will be returned
770 * theme and the given screen density.
774 * @param theme the theme name
778 public static Margins getInsets(String fqcn, Density density, String theme) { argument
783 if (theme.startsWith(HOLO_PREFIX)) {
791 if (theme.startsWith(HOLO_PREFIX)) {
799 if (theme.startsWith(HOLO_PREFIX)) {
809 if (theme.startsWith(HOLO_PREFIX)) {
817 if (theme
[all...]
/sdk/eclipse/scripts/
H A D_mk_icons.sh29 icon T blue theme
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
H A DManifestInfo.java173 * Ensure that the package, theme and activity maps are initialized and up to date
225 String theme = activity.getAttributeNS(NS_RESOURCES, ATTRIBUTE_THEME);
226 if (theme != null && theme.length() > 0) {
232 mActivityThemes.put(name, theme);
249 // From manifest theme documentation:
250 // "If that attribute is also not set, the default system theme is used."
313 * Returns a map from activity full class names to the corresponding theme style to be
316 * @return a map from activity fqcn to theme style
325 * Returns the manifest theme registere
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DPreviewIconFactory.java90 * like the theme and SDK (the icons themselves are cached in a directory across IDE
116 * could be computed. The rendering parameters (SDK, theme etc) correspond to those
177 // Note - it's possible that the the theme is some other theme
178 // such as a user theme which inherits from Theme.Holo and that
374 * Look up the background and foreground colors from the theme. May not find either
385 StyleResourceValue theme = resources.getCurrentTheme();
386 if (theme != null) {
391 // that isn't actually rendered in the theme. Better to use null here,
431 * @param themeItemName the item in the theme t
[all...]
H A DPaletteControl.java346 * Returns the currently displayed theme (in palette modes that support previewing)
348 * @return the current theme, or null
379 String theme = configChooser.getThemeName();
384 && mCurrentTheme != null && mCurrentTheme.equals(theme)
388 mCurrentTheme = theme;
1049 // deal with themes like the dialog theme.
H A DLayoutCanvas.java1524 * current theme and screen type.
1533 String theme = configComposite.getThemeName();
1535 return ViewMetadataRepository.getInsets(fqcn, density, theme);
H A DGraphicalEditorPart.java1599 String theme = mConfigChooser.getThemeName();
1600 if (theme == null) {
1601 displayError("Missing theme.");
1625 theme, isProjectTheme);
2040 "Missing styles. Is the correct theme chosen for this layout?\n");
2043 "or fix the theme style references.\n\n");
2182 // FIXME: This code does not handle theme value resolution.
2281 // FIXME: This code does not handle theme value resolution.
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
H A DConfigureAssetSetPage.java1142 actionBarOptions.theme = mValues.holoDark
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib2/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/javaProjectTest/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 2417 milliseconds

12