Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 25 of 97) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationTest.java16 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
18 import static com.android.ide.common.resources.configuration.LocaleQualifier.FAKE_VALUE;
20 import com.android.ide.common.resources.configuration.FolderConfiguration;
21 import com.android.ide.common.resources.configuration.LocaleQualifier;
49 Configuration configuration = createConfiguration(); in test() local
50 assertNotNull(configuration); in test()
51 configuration.setTheme("@style/Theme"); in test()
52 assertEquals("@style/Theme", configuration.getTheme()); in test()
60 configuration.setDevice(devices.iterator().next(), false); in test()
63 FolderConfiguration folderConfig = configuration.getFullConfig(); in test()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DNestedConfiguration.java16 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
20 import com.android.ide.common.resources.configuration.FolderConfiguration;
56 @NonNull Configuration configuration) { in NestedConfiguration() argument
58 mParent = configuration; in NestedConfiguration()
92 NestedConfiguration configuration = in create() local
94 initFrom(configuration, other, values, true /*sync*/); in create()
95 return configuration; in create()
108 protected static void initFrom(NestedConfiguration configuration, in initFrom() argument
110 configuration.mOverride = other.mOverride; in initFrom()
111 configuration.setDisplayName(values.getDisplayName()); in initFrom()
[all …]
DOrientationMenuAction.java17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
52 OrientationMenuAction(int type, String title, ConfigurationChooser configuration) { in OrientationMenuAction() argument
55 mConfigChooser = configuration; in OrientationMenuAction()
63 Configuration configuration = configChooser.getConfiguration(); in showMenu() local
64 Device device = configuration.getDevice(); in showMenu()
65 State current = configuration.getDeviceState(); in showMenu()
70 State flip = configuration.getNextDeviceState(current); in showMenu()
134 Configuration configuration = mConfigChooser.getConfiguration(); in run() local
135 configuration.setNightMode(mMode, false); in run()
153 Configuration configuration = mConfigChooser.getConfiguration(); in run() local
[all …]
DFlagManager.java16 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
21 import com.android.ide.common.resources.configuration.FolderConfiguration;
22 import com.android.ide.common.resources.configuration.LocaleQualifier;
163 FolderConfiguration configuration = FolderConfiguration.getConfigForFolder(folder); in getFlagForFolderName() local
164 if (configuration != null) { in getFlagForFolderName()
165 return get().getFlag(configuration); in getFlagForFolderName()
178 public Image getFlag(@NonNull FolderConfiguration configuration) { in getFlag() argument
179 return getFlag(configuration.getLocaleQualifier()); in getFlag()
DConfigurationDescription.java17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
28 import com.android.ide.common.resources.configuration.DeviceConfigHelper;
29 import com.android.ide.common.resources.configuration.FolderConfiguration;
30 import com.android.ide.common.resources.configuration.LocaleQualifier;
31 import com.android.ide.common.resources.configuration.ScreenSizeQualifier;
145 @NonNull Configuration configuration) { in fromConfiguration() argument
147 description.displayName = configuration.getDisplayName(); in fromConfiguration()
148 description.theme = configuration.getTheme(); in fromConfiguration()
149 description.target = configuration.getTarget(); in fromConfiguration()
151 description.folder.set(configuration.getFullConfig()); in fromConfiguration()
[all …]
DVaryingConfiguration.java16 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
69 @NonNull Configuration configuration) { in VaryingConfiguration() argument
70 super(chooser, configuration); in VaryingConfiguration()
100 VaryingConfiguration configuration = in create() local
102 initFrom(configuration, other, other, false); in create()
103 configuration.mAlternate = other.mAlternate; in create()
104 configuration.mVariation = other.mVariation; in create()
105 configuration.mVariationCount = other.mVariationCount; in create()
106 configuration.syncFolderConfig(); in create()
108 return configuration; in create()
DSelectThemeAction.java17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
33 public SelectThemeAction(ConfigurationChooser configuration, String title, String theme, in SelectThemeAction() argument
38 mConfiguration = configuration; in SelectThemeAction()
DThemeMenuAction.java17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
81 ThemeMenuAction(int type, String title, ConfigurationChooser configuration, in ThemeMenuAction() argument
85 mConfigChooser = configuration; in ThemeMenuAction()
95 Configuration configuration = configChooser.getConfiguration(); in showThemeMenu() local
96 String currentTheme = configuration.getTheme(); in showThemeMenu()
109 String preferred = configuration.computePreferredTheme(); in showThemeMenu()
117 IAndroidTarget target = configuration.getTarget(); in showThemeMenu()
183 Configuration configuration = mConfigChooser.getConfiguration(); in addMenuItems() local
184 String activity = configuration.getActivity(); in addMenuItems()
210 String current = configuration.getTheme(); in addMenuItems()
DLocale.java17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
19 import static com.android.ide.common.resources.configuration.LocaleQualifier.FAKE_VALUE;
23 import com.android.ide.common.resources.configuration.FolderConfiguration;
24 import com.android.ide.common.resources.configuration.LocaleQualifier;
DConfigurationMatcher.java16 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
21 import com.android.ide.common.resources.configuration.DensityQualifier;
22 import com.android.ide.common.resources.configuration.DeviceConfigHelper;
23 import com.android.ide.common.resources.configuration.FolderConfiguration;
24 import com.android.ide.common.resources.configuration.LocaleQualifier;
25 import com.android.ide.common.resources.configuration.NightModeQualifier;
26 import com.android.ide.common.resources.configuration.ResourceQualifier;
27 import com.android.ide.common.resources.configuration.ScreenOrientationQualifier;
28 import com.android.ide.common.resources.configuration.ScreenSizeQualifier;
29 import com.android.ide.common.resources.configuration.UiModeQualifier;
[all …]
DConfigurationChooser.java17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
27 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
28 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
29 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_F…
30 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_L…
31 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_T…
32 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_T…
33 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.MASK_…
44 import com.android.ide.common.resources.configuration.DeviceConfigHelper;
45 import com.android.ide.common.resources.configuration.FolderConfiguration;
[all …]
DConfiguration.java17 package com.android.ide.eclipse.adt.internal.editors.layout.configuration;
29 import com.android.ide.common.resources.configuration.DensityQualifier;
30 import com.android.ide.common.resources.configuration.DeviceConfigHelper;
31 import com.android.ide.common.resources.configuration.FolderConfiguration;
32 import com.android.ide.common.resources.configuration.LayoutDirectionQualifier;
33 import com.android.ide.common.resources.configuration.LocaleQualifier;
34 import com.android.ide.common.resources.configuration.NightModeQualifier;
35 import com.android.ide.common.resources.configuration.ScreenSizeQualifier;
36 import com.android.ide.common.resources.configuration.UiModeQualifier;
37 import com.android.ide.common.resources.configuration.VersionQualifier;
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitLaunchConfigDelegate.java69 protected void doLaunch(final ILaunchConfiguration configuration, final String mode, in doLaunch() argument
75 String runner = getRunner(project, configuration, manifestData); in doLaunch()
95 junitLaunchInfo.setTestClass(getTestClass(configuration)); in doLaunch()
96 junitLaunchInfo.setTestPackage(getTestPackage(configuration)); in doLaunch()
97 junitLaunchInfo.setTestMethod(getTestMethod(configuration)); in doLaunch()
99 junitLaunchInfo.setTestSize(getTestSize(configuration)); in doLaunch()
147 private String getTestPackage(ILaunchConfiguration configuration) { in getTestPackage() argument
150 JUnitLaunchConfigurationConstants.ATTR_TEST_CONTAINER, configuration); in getTestPackage()
167 private String getTestClass(ILaunchConfiguration configuration) { in getTestClass() argument
169 configuration); in getTestClass()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreviewList.java22 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
23 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
24 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationDescription;
153 Configuration configuration = Configuration.create(chooser); in createPreviews() local
154 configuration.setDisplayName(description.displayName); in createPreviews()
155 configuration.setActivity(description.activity); in createPreviews()
156 configuration.setLocale( in createPreviews()
161 configuration.setTarget( in createPreviews()
164 configuration.setTheme( in createPreviews()
166 configuration.setDevice( in createPreviews()
[all …]
DRenderPreviewManager.java19 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
20 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
21 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.MASK_…
33 import com.android.ide.common.resources.configuration.DensityQualifier;
34 import com.android.ide.common.resources.configuration.DeviceConfigHelper;
35 import com.android.ide.common.resources.configuration.FolderConfiguration;
36 import com.android.ide.common.resources.configuration.LocaleQualifier;
37 import com.android.ide.common.resources.configuration.ScreenSizeQualifier;
42 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
43 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
[all …]
DRenderService.java41 import com.android.ide.common.resources.configuration.FolderConfiguration;
47 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
48 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
49 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale;
142 Configuration configuration, ResourceResolver resourceResolver, in RenderService() argument
150 FolderConfiguration folderConfig = configuration.getFullConfig(); in RenderService()
152 Device device = configuration.getDevice(); in RenderService()
163 mLocale = configuration.getLocale(); in RenderService()
240 Configuration configuration, ResourceResolver resolver) { in create() argument
242 return editor.createRenderService(configuration, resolver); in create()
[all …]
DRenderPreview.java21 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.MASK_…
36 import com.android.ide.common.resources.configuration.FolderConfiguration;
37 import com.android.ide.common.resources.configuration.ScreenOrientationQualifier;
42 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
43 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser;
44 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationClient;
45 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationDescription;
46 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale;
47 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.NestedConfiguration;
48 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.VaryingConfiguration;
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DEmulatorConfigTab.java382 public void initializeFrom(ILaunchConfiguration configuration) { in initializeFrom() argument
385 TargetMode mode = AndroidLaunchConfiguration.parseTargetMode(configuration, in initializeFrom()
405 reuseLastUsedDevice = configuration.getAttribute( in initializeFrom()
426 stringValue = configuration.getAttribute( in initializeFrom()
460 stringValue = configuration.getAttribute(LaunchConfigDelegate.ATTR_AVD_NAME, in initializeFrom()
475 value = configuration.getAttribute(LaunchConfigDelegate.ATTR_WIPE_DATA, value); in initializeFrom()
483 value = configuration.getAttribute(LaunchConfigDelegate.ATTR_NO_BOOT_ANIM, value); in initializeFrom()
493 index = configuration.getAttribute(LaunchConfigDelegate.ATTR_SPEED, in initializeFrom()
506 index = configuration.getAttribute(LaunchConfigDelegate.ATTR_DELAY, in initializeFrom()
520 commandLine = configuration.getAttribute( in initializeFrom()
[all …]
DLaunchConfigDelegate.java118 public void launch(ILaunchConfiguration configuration, String mode, in launch() argument
122 int debugPort = AndroidLaunchController.getPortForConfig(configuration); in launch()
125 IProject project = getProject(configuration); in launch()
225 config.set(configuration); in launch()
246 doLaunch(configuration, mode, monitor, project, androidLaunch, config, controller, in launch()
250 protected void doLaunch(ILaunchConfiguration configuration, String mode, in doLaunch() argument
259 activityName = getActivityName(configuration); in doLaunch()
337 public boolean buildForLaunch(ILaunchConfiguration configuration, in buildForLaunch() argument
350 public ILaunch getLaunch(ILaunchConfiguration configuration, String mode) in getLaunch() argument
352 return new AndroidLaunch(configuration, mode, null); in getLaunch()
[all …]
DJUnitLaunchConfigDelegate.java63 public String[][] getBootpathExt(ILaunchConfiguration configuration) throws CoreException { in getBootpathExt() argument
64 String[][] bootpath = super.getBootpathExt(configuration); in getBootpathExt()
69 public String[] getClasspath(ILaunchConfiguration configuration) throws CoreException { in getClasspath() argument
70 String[] classpath = super.getClasspath(configuration); in getClasspath()
71 return fixClasspath(classpath, getJavaProjectName(configuration)); in getClasspath()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DProjectLintConfiguration.java64 ProjectLintConfiguration configuration = null; in get() local
67 configuration = (ProjectLintConfiguration) value; in get()
71 if (configuration == null) { in get()
72 configuration = create(client, project, GlobalLintConfiguration.get(), false); in get()
74 project.setSessionProperty(CONFIGURATION_NAME, configuration); in get()
79 return configuration; in get()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/
DApiDemosRenderingTest.java34 import com.android.ide.common.resources.configuration.DensityQualifier;
35 import com.android.ide.common.resources.configuration.FolderConfiguration;
36 import com.android.ide.common.resources.configuration.KeyboardStateQualifier;
37 import com.android.ide.common.resources.configuration.NavigationMethodQualifier;
38 import com.android.ide.common.resources.configuration.NavigationStateQualifier;
39 import com.android.ide.common.resources.configuration.ScreenDimensionQualifier;
40 import com.android.ide.common.resources.configuration.ScreenHeightQualifier;
41 import com.android.ide.common.resources.configuration.ScreenOrientationQualifier;
42 import com.android.ide.common.resources.configuration.ScreenRatioQualifier;
43 import com.android.ide.common.resources.configuration.ScreenSizeQualifier;
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java39 import com.android.ide.common.resources.configuration.CountryCodeQualifier;
40 import com.android.ide.common.resources.configuration.DensityQualifier;
41 import com.android.ide.common.resources.configuration.FolderConfiguration;
42 import com.android.ide.common.resources.configuration.KeyboardStateQualifier;
43 import com.android.ide.common.resources.configuration.LayoutDirectionQualifier;
44 import com.android.ide.common.resources.configuration.LocaleQualifier;
45 import com.android.ide.common.resources.configuration.NavigationMethodQualifier;
46 import com.android.ide.common.resources.configuration.NavigationStateQualifier;
47 import com.android.ide.common.resources.configuration.NetworkCodeQualifier;
48 import com.android.ide.common.resources.configuration.NightModeQualifier;
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkMainLaunchConfigTab.java55 public void performApply(ILaunchConfigurationWorkingCopy configuration) { in performApply() argument
56 super.performApply(configuration); in performApply()
58 configuration.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROJECT_NAME, in performApply()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/
DREADME.txt22 B- Create a new "JUnit Plug-in Test" run configuration via the "Run > Open Run Dialog..." menu
23 Set the launch configuration's data as follows:
36 C. Run the newly created launch configuration
61 This creates a debug configuration of type "JUnit Test" running all tests
85 C- Create a new "JUnit Plug-in Test" run configuration via the "Run > Open Run Dialog..." menu
86 Set the launch configuration's data as follows:
97 D. Run the newly created launch configuration

1234