Home
last modified time | relevance | path

Searched refs:ConfigurationChooser (Results 1 – 24 of 24) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationTest.java42 Configuration.class.getDeclaredConstructor(ConfigurationChooser.class); in createConfiguration()
44 ConfigurationChooser chooser = null; in createConfiguration()
83 ConfigurationChooser.getDeviceLabel(configuration.getDevice(), true)); in test()
85 ConfigurationChooser.getDeviceLabel(configuration.getDevice(), false)); in test()
87 ConfigurationChooser.getThemeLabel(configuration.getTheme(), true)); in test()
89 ConfigurationChooser.getThemeLabel(configuration.getTheme(), false)); in test()
91 ConfigurationChooser.getLocaleLabel(null, configuration.getLocale(), true)); in test()
93 ConfigurationChooser.getLocaleLabel(null, configuration.getLocale(), false)); in test()
96 ConfigurationChooser.getActivityLabel(configuration.getActivity(), true)); in test()
98 ConfigurationChooser.getActivityLabel(configuration.getActivity(), false)); in test()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DActivityMenuListener.java51 private final ConfigurationChooser mConfigChooser;
56 @NonNull ConfigurationChooser configChooser, in ActivityMenuListener()
82 static void show(ConfigurationChooser chooser, ToolItem combo) { in show()
91 String label = ConfigurationChooser.getActivityLabel(current, true); in show()
141 private static String addActivities(ConfigurationChooser chooser, Menu menu, String current, in addActivities()
144 String title = ConfigurationChooser.getActivityLabel(fqcn, false); in addActivities()
DOrientationMenuAction.java48 private final ConfigurationChooser mConfigChooser;
52 OrientationMenuAction(int type, String title, ConfigurationChooser configuration) { in OrientationMenuAction()
58 static void showMenu(ConfigurationChooser configChooser, ToolItem combo) { in showMenu()
159 private final ConfigurationChooser mConfiguration;
162 private DeviceConfigAction(ConfigurationChooser configuration, String title, in DeviceConfigAction()
DTargetMenuListener.java42 private final ConfigurationChooser mConfigChooser;
47 @NonNull ConfigurationChooser configChooser, in TargetMenuListener()
77 static void show(ConfigurationChooser chooser, ToolItem combo) { in show()
108 String title = ConfigurationChooser.getRenderingTargetLabel(target, false); in show()
DLocaleMenuListener.java46 private final ConfigurationChooser mConfigChooser;
51 @NonNull ConfigurationChooser configChooser, in LocaleMenuListener()
78 static void show(final ConfigurationChooser chooser, ToolItem combo) { in show()
85 String title = ConfigurationChooser.getLocaleLabel(chooser, locale, false); in show()
DSelectThemeAction.java30 private final ConfigurationChooser mConfiguration;
33 public SelectThemeAction(ConfigurationChooser configuration, String title, String theme, in SelectThemeAction()
DNestedConfiguration.java55 @NonNull ConfigurationChooser chooser, in NestedConfiguration()
156 public static NestedConfiguration create(@NonNull ConfigurationChooser chooser, in create()
464 return ConfigurationChooser.getLocaleLabel(configuration.mConfigChooser, in computeDisplayName()
469 return ConfigurationChooser.getRenderingTargetLabel(configuration.getTarget(), false); in computeDisplayName()
473 return ConfigurationChooser.getDeviceLabel(configuration.getDevice(), true); in computeDisplayName()
DConfiguration.java114 protected ConfigurationChooser mConfigChooser;
167 protected Configuration(@NonNull ConfigurationChooser chooser) { in Configuration()
176 void setChooser(@NonNull ConfigurationChooser chooser) { in setChooser()
191 ConfigurationChooser getChooser() { in getChooser()
202 public static Configuration create(@NonNull ConfigurationChooser chooser) { in create()
218 ConfigurationChooser chooser = base.getChooser(); in create()
838 static Pair<Locale, IAndroidTarget> loadRenderState(ConfigurationChooser chooser) { in loadRenderState()
966 @NonNull ConfigurationChooser chooser, in stringToTarget()
DDeviceMenuListener.java55 private final ConfigurationChooser mConfigChooser;
59 @NonNull ConfigurationChooser configChooser, in DeviceMenuListener()
71 static void show(final ConfigurationChooser chooser, ToolItem combo) { in show()
DConfigurationMenuListener.java71 private final ConfigurationChooser mConfigChooser;
77 @NonNull ConfigurationChooser configChooser, in ConfigurationMenuListener()
142 static void show(ConfigurationChooser chooser, ToolItem combo) { in show()
280 @NonNull ConfigurationChooser chooser, in addTogglePreviewModeAction()
DThemeMenuAction.java76 private final ConfigurationChooser mConfigChooser;
81 ThemeMenuAction(int type, String title, ConfigurationChooser configuration, in ThemeMenuAction()
89 static void showThemeMenu(ConfigurationChooser configChooser, ToolItem combo, in showThemeMenu()
DConfigurationChooser.java111 public class ConfigurationChooser extends Composite class
190 public ConfigurationChooser( in ConfigurationChooser() method in ConfigurationChooser
268 ConfigurationMenuListener.show(ConfigurationChooser.this, mConfigCombo); in ConfigurationChooser()
270 ActivityMenuListener.show(ConfigurationChooser.this, mActivityCombo); in ConfigurationChooser()
272 LocaleMenuListener.show(ConfigurationChooser.this, mLocaleCombo); in ConfigurationChooser()
274 DeviceMenuListener.show(ConfigurationChooser.this, mDeviceCombo); in ConfigurationChooser()
276 TargetMenuListener.show(ConfigurationChooser.this, mTargetCombo); in ConfigurationChooser()
278 ThemeMenuAction.showThemeMenu(ConfigurationChooser.this, mThemeCombo, in ConfigurationChooser()
282 OrientationMenuAction.showMenu(ConfigurationChooser.this, in ConfigurationChooser()
1308 @Nullable ConfigurationChooser chooser, in getLocaleLabel()
[all …]
DConfigurationMatcher.java71 private final ConfigurationChooser mConfigChooser;
77 ConfigurationMatcher(ConfigurationChooser chooser) { in ConfigurationMatcher()
83 @NonNull ConfigurationChooser chooser, in ConfigurationMatcher()
526 static IAndroidTarget findDefaultRenderTarget(ConfigurationChooser chooser) { in findDefaultRenderTarget()
672 public static IFile getBestFileMatch(ConfigurationChooser chooser) { in getBestFileMatch()
DVaryingConfiguration.java68 @NonNull ConfigurationChooser chooser, in VaryingConfiguration()
83 public static VaryingConfiguration create(@NonNull ConfigurationChooser chooser, in create()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreviewManager.java43 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
145 ConfigurationChooser getChooser() { in getChooser()
680 ConfigurationChooser chooser = getChooser(); in addAsThumbnail()
746 ConfigurationChooser chooser = getChooser(); in addDefaultPreviews()
778 private void createRenderTargetVariation(ConfigurationChooser chooser, Configuration parent) { in createRenderTargetVariation()
790 private void createStateVariation(ConfigurationChooser chooser, Configuration parent) { in createStateVariation()
802 private void createLocaleVariation(ConfigurationChooser chooser, Configuration parent) { in createLocaleVariation()
818 ConfigurationChooser chooser = getChooser(); in createScreenVariations()
930 ConfigurationChooser chooser = getChooser(); in addLocalePreviews()
942 String displayName = ConfigurationChooser.getLocaleLabel(chooser, locale, false); in addLocalePreviews()
[all …]
DCreateNewConfigJob.java22 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
102 ConfigurationChooser chooser = mEditor.getConfigurationChooser(); in run()
DRenderPreviewList.java23 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
148 ConfigurationChooser chooser = canvas.getEditorDelegate().getGraphicalEditor() in createPreviews()
DRenderService.java48 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
123 ConfigurationChooser chooser = editor.getConfigurationChooser(); in RenderService()
DPaletteControl.java41 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
378 ConfigurationChooser configChooser = mEditor.getConfigurationChooser(); in reloadPalette()
634 ConfigurationChooser chooser = mEditor.getConfigurationChooser(); in createItem()
DLayoutActionBar.java31 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
711 ConfigurationChooser chooser = mEditor.getConfigurationChooser(); in computeAndSetRealScale()
DGraphicalEditorPart.java77 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
254 private ConfigurationChooser mConfigChooser;
419 mConfigChooser = new ConfigurationChooser(this, layoutBarAndCanvas, initialState); in createPartControl()
2887 public ConfigurationChooser getConfigurationChooser() { in getConfigurationChooser()
DRenderPreview.java43 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
373 ConfigurationChooser chooser = mManager.getChooser(); in updateForkStatus()
DLayoutCanvas.java31 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
1654 ConfigurationChooser configComposite = getGraphicalEditor().getConfigurationChooser(); in getInsets()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DClientRulesEngine.java44 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
663 ConfigurationChooser chooser = mRulesEngine.getEditor().getConfigurationChooser();
670 ConfigurationChooser chooser = mRulesEngine.getEditor().getConfigurationChooser();