Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 14 of 14) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DNewProjectCreator.java262 Map<String, Object> parameters, in ProjectInfo() argument
266 mParameters = parameters; in ProjectInfo()
362 final Map<String, Object> parameters = new HashMap<String, Object>(); in importProjects() local
363 parameters.put(PARAM_PROJECT, projectName); in importProjects()
364 parameters.put(PARAM_PACKAGE, packageName); in importProjects()
365 parameters.put(PARAM_SDK_TOOLS_DIR, AdtPlugin.getOsSdkToolsFolder()); in importProjects()
366 parameters.put(PARAM_IS_NEW_PROJECT, Boolean.FALSE); in importProjects()
367 parameters.put(PARAM_SRC_FOLDER, SdkConstants.FD_SOURCES); in importProjects()
369 parameters.put(PARAM_SDK_TARGET, p.getTarget()); in importProjects()
372 parameters.put(PARAM_MIN_SDK_VERSION, minSdk); in importProjects()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DNewTemplateWizardState.java61 public final Map<String, Object> parameters = new HashMap<String, Object>(); field in NewTemplateWizardState
92 parameters.put(IS_NEW_PROJECT, false); in NewTemplateWizardState()
154 parameters.put(ATTR_PACKAGE_NAME, manifest.getPackage()); in computeChanges()
155 parameters.put(ATTR_MIN_API, manifest.getMinSdkName()); in computeChanges()
156 parameters.put(ATTR_MIN_API_LEVEL, manifest.getMinSdkVersion()); in computeChanges()
157 parameters.put(ATTR_TARGET_API, manifest.getTargetSdkVersion()); in computeChanges()
158 parameters.put(ATTR_BUILD_API, getBuildApi()); in computeChanges()
159 parameters.put(ATTR_COPY_ICONS, mIconState == null); in computeChanges()
161 parameters.put(IS_LIBRARY_PROJECT, in computeChanges()
164 TemplateHandler.addDirectoryParameters(parameters, project); in computeChanges()
[all …]
DNewProjectWizard.java405 Map<String, Object> parameters = activityValues.parameters; in generateActivity() local
407 addProjectInfo(parameters); in generateActivity()
409 parameters.put(IS_NEW_PROJECT, true); in generateActivity()
410 parameters.put(IS_LIBRARY_PROJECT, mValues.isLibrary); in generateActivity()
413 parameters.put(IS_LAUNCHER, true); in generateActivity()
414 TemplateHandler.addDirectoryParameters(parameters, project); in generateActivity()
418 List<Change> changes = activityTemplate.render(project, parameters); in generateActivity()
440 private void addProjectInfo(Map<String, Object> parameters) { in addProjectInfo() argument
441 parameters.put(ATTR_PACKAGE_NAME, mValues.packageName); in addProjectInfo()
442 parameters.put(ATTR_APP_TITLE, mValues.applicationName); in addProjectInfo()
[all …]
DStringEvaluator.java61 String evaluate(@NonNull String expression, @NonNull List<Parameter> parameters) { in evaluate() argument
63 for (Parameter parameter : parameters) { in evaluate()
DTemplateMetadata.java88 NodeList parameters = mDocument.getElementsByTagName(TAG_PARAMETER); in TemplateMetadata() local
89 mParameters = new ArrayList<Parameter>(parameters.getLength()); in TemplateMetadata()
90 mParameterMap = new HashMap<String, Parameter>(parameters.getLength()); in TemplateMetadata()
91 for (int index = 0, max = parameters.getLength(); index < max; index++) { in TemplateMetadata()
92 Element element = (Element) parameters.item(index); in TemplateMetadata()
321 void updateIconName(List<Parameter> parameters, StringEvaluator evaluator) { in updateIconName() argument
330 mIconState.outputName = evaluator.evaluate(name, parameters); in updateIconName()
DNewTemplatePage.java232 List<Parameter> parameters = template.getParameters(); in onEnter() local
233 for (Parameter parameter : parameters) { in onEnter()
299 mValues.parameters.put(id, value); in onEnter()
338 mValues.parameters.put(id, value); in onEnter()
361 Combo combo = createOptionCombo(parameter, container, mValues.parameters, in onEnter()
864 mValues.parameters.put(id, value); in editParameter()
867 List<Parameter> parameters = mShowingTemplate.getParameters(); in editParameter() local
868 for (Parameter p : parameters) { in editParameter()
881 String updated = mEvaluator.evaluate(p.suggest, parameters); in editParameter()
895 mValues.parameters.put(p.id, value); in setValue()
DNewProjectWizardState.java112 public final Map<String, Object> parameters = new HashMap<String, Object>(); field in NewProjectWizardState
DTemplateHandler.java366 static void addDirectoryParameters(Map<String, Object> parameters, IProject project) { in addDirectoryParameters() argument
368 parameters.put(ATTR_SRC_DIR, srcDir.toString()); in addDirectoryParameters()
371 parameters.put(ATTR_RES_DIR, resDir.toString()); in addDirectoryParameters()
374 parameters.put(ATTR_MANIFEST_DIR, manifestDir.toString()); in addDirectoryParameters()
375 parameters.put(ATTR_MANIFEST_OUT, manifestDir.toString()); in addDirectoryParameters()
377 parameters.put(ATTR_PROJECT_DIR, manifestDir.toString()); in addDirectoryParameters()
378 parameters.put(ATTR_PROJECT_OUT, manifestDir.toString()); in addDirectoryParameters()
380 parameters.put(ATTR_DEBUG_KEYSTORE_SHA1, ""); in addDirectoryParameters()
DNewProjectPage.java303 mValues.parameters, this, this); in createControl()
364 mValues.parameters.put(parameter.id, optionId); in updateTheme()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandlerTest.java366 List<Parameter> parameters = values.template.getTemplate().getParameters(); in checkTemplate() local
368 for (Parameter parameter : parameters) { in checkTemplate()
378 values.parameters.put(parameter.id, optionId); in checkTemplate()
479 List<Parameter> parameters = values.template.getTemplate().getParameters(); in checkProjectWithActivity() local
480 for (Parameter parameter : parameters) { in checkProjectWithActivity()
490 values.parameters.put(parameter.id, optionId); in checkProjectWithActivity()
548 List<Parameter> parameters = template.getParameters(); in checkApiTarget() local
551 for (Parameter parameter : parameters) { in checkApiTarget()
552 values.parameters.put(parameter.id, parameter.value); in checkApiTarget()
556 for (Parameter parameter : parameters) { in checkApiTarget()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DReplaceStringsVisitor.java307 for (Object obj : decl.parameters()) { in methodHasContextArgument()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java1833 private void displayError(String errorFormat, Object...parameters) { in displayError() argument
1835 mErrorLabel.setText(String.format(errorFormat, parameters)); in displayError()
/sdk/eclipse/
Dchanges.txt51 result, as well as passing invalid duration parameters (e.g. a
283 parameters to the new parent
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletionvalues1-expected-completion32.txt309 …ridLayout to use default margins when none are specified in a view's layout parameters. [boolean]