Home
last modified time | relevance | path

Searched refs:minSdk (Results 1 – 16 of 16) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandlerTest.java331 for (int minSdk = 1; in checkTemplate()
332 minSdk <= SdkVersionInfo.HIGHEST_KNOWN_API; in checkTemplate()
333 minSdk++) { in checkTemplate()
335 if (!isInterestingApiLevel(minSdk)) { in checkTemplate()
339 for (int targetSdk = minSdk; in checkTemplate()
348 minSdk, target.getVersion().getApiLevel()); in checkTemplate()
355 minSdk, target.getVersion().getApiLevel()); in checkTemplate()
374 int optionMinSdk = option.minSdk; in checkTemplate()
376 if (optionMinSdk <= minSdk && in checkTemplate()
380 String base = projectNameBase + "_min_" + minSdk in checkTemplate()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DNewProjectPage.java227 mValues.minSdk = mValues.target.getVersion().getCodename(); in createControl()
228 mMinSdkCombo.setText(mValues.minSdk); in createControl()
229 mValues.iconState.minSdk = mValues.target.getVersion().getApiLevel(); in createControl()
230 mValues.minSdkLevel = mValues.iconState.minSdk; in createControl()
233 mValues.minSdk = Integer.toString(INITIAL_MIN_SDK); in createControl()
235 mValues.iconState.minSdk = INITIAL_MIN_SDK; in createControl()
548 mValues.minSdk = getSelectedMinSdk(); in widgetSelected()
549 Integer minSdk = mMinNameToApi.get(mValues.minSdk); in widgetSelected() local
550 if (minSdk == null) { in widgetSelected()
552 minSdk = Integer.parseInt(mValues.minSdk); in widgetSelected()
[all …]
DNewTemplatePage.java141 void setCustomMinSdk(int minSdk, int buildApi) { in setCustomMinSdk() argument
144 mCustomMinSdk = minSdk; in setCustomMinSdk()
449 int minSdk = 1; in createOptionCombo() local
452 minSdk = Integer.parseInt(minApiString); in createOptionCombo()
457 minSdk = 1; in createOptionCombo()
472 minSdks.add(minSdk); in createOptionCombo()
600 int minSdk = getMinSdk(); in validatePage() local
602 IStatus status = mValues.getTemplateHandler().validateTemplate(minSdk, buildApi); in validatePage()
635 status = validateCombo(status, parameter, minSdk, buildApi); in validatePage()
652 static IStatus validateCombo(IStatus status, Parameter parameter, int minSdk, int buildApi) { in validateCombo() argument
[all …]
DNewProjectWizardState.java78 public String minSdk; field in NewProjectWizardState
DNewProjectWizard.java443 parameters.put(ATTR_MIN_API, mValues.minSdk); in addProjectInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DNewProjectWizardState.java97 public String minSdk; field in NewProjectWizardState
289 minSdk = minSdkVersion; in extractFromAndroidManifest()
302 if (currentTarget != null && currentTarget.getVersion().equals(minSdk)) { in updateSdkTargetToMatchMinSdkVersion()
310 if (t.getVersion().equals(minSdk)) { in updateSdkTargetToMatchMinSdkVersion()
360 if (foundTarget == null && minSdk != null) { in updateSdkTargetToMatchProject()
365 existingTarget.getVersion().equals(minSdk)) { in updateSdkTargetToMatchProject()
DApplicationInfoPage.java216 if (mValues.minSdk != null && mValues.minSdk.length() > 0) { in setVisible()
217 mSdkCombo.setText(mValues.minSdk); in setVisible()
305 mValues.minSdk = mSdkCombo.getText().trim(); in modifyText()
313 if (targetLabel(target).equals(mValues.minSdk)) { in modifyText()
314 mValues.minSdk = target.getVersion().getApiString(); in modifyText()
321 int separator = mValues.minSdk.indexOf(' '); in modifyText()
323 mValues.minSdk = mValues.minSdk.substring(0, separator); in modifyText()
390 mValues.minSdk = target.getVersion().getApiString(); in widgetSelected()
397 mValues.minSdk = target.getVersion().getApiString(); in widgetSelected()
403 mValues.minSdk = text; in widgetSelected()
[all …]
DSdkSelectionPage.java169 String s = mValues.minSdk; in onSdkTargetModified()
182 String minSdk; in onSdkTargetModified() local
184 minSdk = version.getCodename(); in onSdkTargetModified()
186 minSdk = Integer.toString(apiLevel); in onSdkTargetModified()
188 mValues.minSdk = minSdk; in onSdkTargetModified()
DTestTargetPage.java235 mValues.minSdk = minSdkVersion; in setExistingProject()
DNewProjectCreator.java356 String minSdk = manifest.getMinSdkVersionString(); in importProjects() local
372 parameters.put(PARAM_MIN_SDK_VERSION, minSdk); in importProjects()
433 parameters.put(PARAM_MIN_SDK_VERSION, mValues.minSdk); in collectMainPageInfo()
488 parameters.put(PARAM_MIN_SDK_VERSION, mValues.minSdk); in collectTestPageInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DSupportLibraryHelper.java76 int minSdk = ManifestInfo.get(project).getMinSdkVersion(); in getTagFor() local
77 if (minSdk < 14) { in getTagFor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DCreateAssetSetWizardState.java61 public int minSdk = -1; field in CreateAssetSetWizardState
DConfigureAssetSetPage.java1166 if (mValues.minSdk != -1) { in generateImages()
1167 options.minSdk = mValues.minSdk; in generateImages()
1170 options.minSdk = v.getFirst(); in generateImages()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java213 int minSdk = ManifestInfo.get(project).getMinSdkVersion(); in createXmlFile() local
214 if (minSdk < 14) { in createXmlFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java282 state.minSdk = Integer.toString(getMinSdk()); in createJavaProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java295 state.minSdk = Integer.toString(getMinSdk()); in createProject()