Home
last modified time | relevance | path

Searched refs:AdtPrefs (Results 1 – 25 of 65) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DEditorsPage.java65 addField(new DensityFieldEditor(AdtPrefs.PREFS_MONITOR_DENSITY, in createFieldEditors()
69 AdtPrefs.PREFS_USE_CUSTOM_XML_FORMATTER, in createFieldEditors()
90 mIndentEditor = new BooleanFieldEditor(AdtPrefs.PREFS_USE_ECLIPSE_INDENT, in createFieldEditors()
96 mRemoveEmptyEditor = new BooleanFieldEditor(AdtPrefs.PREVS_REMOVE_EMPTY_LINES, in createFieldEditors()
101 mOneAttrPerLineEditor = new BooleanFieldEditor(AdtPrefs.PREFS_ONE_ATTR_PER_LINE, in createFieldEditors()
106 mSpaceBeforeCloseEditor = new BooleanFieldEditor(AdtPrefs.PREFS_SPACE_BEFORE_CLOSE, in createFieldEditors()
111 addField(new RadioGroupFieldEditor(AdtPrefs.PREFS_ATTRIBUTE_SORT, in createFieldEditors()
121 mFormatGuiXmlEditor = new BooleanFieldEditor(AdtPrefs.PREFS_FORMAT_GUI_XML, in createFieldEditors()
126 addField(new BooleanFieldEditor(AdtPrefs.PREFS_FORMAT_ON_SAVE, in createFieldEditors()
130 addField(new BooleanFieldEditor(AdtPrefs.PREFS_SHARED_LAYOUT_EDITOR, in createFieldEditors()
[all …]
DBuildPreferencePage.java20 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs.BuildVerbosity;
73 addField(new BooleanFieldEditor(AdtPrefs.PREFS_BUILD_RES_AUTO_REFRESH, in createFieldEditors()
77 addField(new BooleanFieldEditor(AdtPrefs.PREFS_BUILD_FORCE_ERROR_ON_NATIVELIB_IN_JAR, in createFieldEditors()
81 addField(new BooleanFieldEditor(AdtPrefs.PREFS_BUILD_SKIP_POST_COMPILE_ON_FILE_SAVE, in createFieldEditors()
86 AdtPrefs.PREFS_BUILD_VERBOSITY, in createFieldEditors()
97 mPrefStore.getString(AdtPrefs.PREFS_DEFAULT_DEBUG_KEYSTORE)); in createFieldEditors()
100 mDefaultKeyStore = new ReadOnlyFieldEditor(AdtPrefs.PREFS_DEFAULT_DEBUG_KEYSTORE, in createFieldEditors()
118 String customDebugKeystorePath = mPrefStore.getString(AdtPrefs.PREFS_CUSTOM_DEBUG_KEYSTORE); in createFieldEditors()
127 mCustomKeyStore = new KeystoreFieldEditor(AdtPrefs.PREFS_CUSTOM_DEBUG_KEYSTORE, in createFieldEditors()
202 .getString(AdtPrefs.PREFS_DEFAULT_DEBUG_KEYSTORE)); in performDefaults()
DLaunchPreferencePage.java40 addField(new StringFieldEditor(AdtPrefs.PREFS_EMU_OPTIONS, in createFieldEditors()
43 addField(new StringFieldEditor(AdtPrefs.PREFS_HOME_PACKAGE, in createFieldEditors()
DAdtPrefs.java37 public final class AdtPrefs extends AbstractPreferenceInitializer { class
81 private final static AdtPrefs sThis = new AdtPrefs();
155 public static AdtPrefs getPrefs() { in getPrefs()
DAndroidPreferencePage.java73 mDirectoryField = new SdkDirectoryFieldEditor(AdtPrefs.PREFS_SDK_DIR, in createFieldEditors()
169 String path = AdtPrefs.getPrefs().getOsSdkFolder(); in doStore()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoringTest.java21 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
121 AdtPrefs.init(store); in testExtract7()
122 AdtPrefs prefs = AdtPrefs.getPrefs(); in testExtract7()
124 store.setValue(AdtPrefs.PREFS_FORMAT_GUI_XML, true); in testExtract7()
127 assertTrue(AdtPrefs.getPrefs().getFormatGuiXml()); in testExtract7()
DRefactoringTest.java27 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
69 AdtPrefs.init(store); in setUp()
70 AdtPrefs prefs = AdtPrefs.getPrefs(); in setUp()
73 store.setValue(AdtPrefs.PREFS_FORMAT_GUI_XML, autoFormat()); in setUp()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DGlobalLintConfiguration.java21 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
63 String assignments = store.getString(AdtPrefs.PREFS_LINT_SEVERITIES); in getSeverity()
153 String previous = store.getString(AdtPrefs.PREFS_LINT_SEVERITIES); in setSeverities()
157 store.setToDefault(AdtPrefs.PREFS_LINT_SEVERITIES); in setSeverities()
159 store.setValue(AdtPrefs.PREFS_LINT_SEVERITIES, value); in setSeverities()
DRunLintAction.java24 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
155 excludeAction.setChecked(AdtPrefs.getPrefs().getSkipLibrariesFromLint()); in getMenu()
208 AdtPrefs prefs = AdtPrefs.getPrefs(); in run()
DEclipseLintRunner.java22 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
130 if (!AdtPrefs.getPrefs().getSkipLibrariesFromLint()) { in startLint()
159 if (AdtPrefs.getPrefs().isLintOnExport()) { in runLintOnExport()
DLintDeltaProcessor.java26 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
181 && AdtPrefs.getPrefs().isLintOnSave()) { in startListening()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DTargetMenuListener.java21 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
58 AdtPrefs prefs = AdtPrefs.getPrefs(); in widgetSelected()
87 if (AdtPrefs.getPrefs().isAutoPickRenderTarget()) { in show()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlFormatPreferences.java22 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
53 AdtPrefs prefs = AdtPrefs.getPrefs(); in create()
DXmlFormatProcessor.java22 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
44 if (!AdtPrefs.getPrefs().getUseCustomXmlFormatter()) { in formatModel()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
DSdkLoadingTestCase.java20 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
65 String sdkLocation = AdtPrefs.getPrefs().getOsSdkFolder(); in loadSdk()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonMatchingStrategy.java24 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
51 if (AdtPrefs.getPrefs().isSharedLayoutEditor()) { in matches()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java20 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
39 AdtPrefs.init(store); in setUp()
40 AdtPrefs prefs = AdtPrefs.getPrefs(); in setUp()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
DAdtStartup.java24 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
77 AdtPrefs.getPrefs().setSdkLocation(bundledSdk); in earlyStartup()
98 String osSdkFolder = AdtPrefs.getPrefs().getOsSdkFolder(); in isSdkSpecified()
157 AdtPrefs.getPrefs().setSdkLocation(new File(osSdkPath)); in isFirstTime()
DWelcomeWizard.java20 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
140 AdtPrefs.getPrefs().setSdkLocation(path); in performFinish()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintOverlay.java21 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
58 return super.isHiding() || !AdtPrefs.getPrefs().isLintOnSave(); in isHiding()
DLintTooltipManager.java23 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
122 if (!AdtPrefs.getPrefs().isLintOnSave()) { in show()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateManager.java28 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
56 String location = AdtPrefs.getPrefs().getOsSdkFolder(); in getTemplateRootFolder()
71 String location = AdtPrefs.getPrefs().getOsSdkFolder(); in getExtraTemplateRootFolders()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DResourceManagerBuilder.java23 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
24 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs.BuildVerbosity;
302 if (AdtPrefs.getPrefs().getBuildForceResResfresh()) { in build()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java37 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
38 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs.BuildVerbosity;
227 AdtPrefs.init(eclipseStore); in start()
234 AdtPrefs.getPrefs().loadValues(event); in start()
237 if (AdtPrefs.PREFS_SDK_DIR.equals(event.getProperty())) { in start()
254 AdtPrefs.getPrefs().loadValues(null /*event*/); in start()
434 return AdtPrefs.getPrefs().getOsSdkFolder(); in getOsSdkFolder()
1059 if (level.getLevel() <= AdtPrefs.getPrefs().getBuildVerbosity().getLevel()) {
1138 String sdkLocation = AdtPrefs.getPrefs().getOsSdkFolder();
1415 Sdk sdk = Sdk.loadSdk(AdtPrefs.getPrefs().getOsSdkFolder());
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java27 import com.android.ide.eclipse.adt.internal.preferences.AdtPrefs;
458 } else if (AdtPrefs.getPrefs().isXmlEditorPreferred(getPersistenceCategory())) {
550 AdtPrefs.getPrefs().setXmlEditorPreferred(getPersistenceCategory(), isTextPage);
613 if (AdtPrefs.getPrefs().isFormatOnSave()) {
629 if (AdtPrefs.getPrefs().isLintOnSave()) {
975 if (AdtPrefs.getPrefs().isLintOnSave()) {
1058 if (AdtPrefs.getPrefs().getFormatGuiXml() && mFormatNode != null) {
1384 if (!AdtPrefs.getPrefs().getUseCustomXmlFormatter()) {

123