Home
last modified time | relevance | path

Searched refs:prefs (Results 1 – 25 of 26) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategyTest.java32 String expected, XmlFormatPreferences prefs) in check() argument
37 replaceEnd, formatted, prefs); in check()
68 XmlFormatPreferences prefs) in check() argument
78 check(before, replaceStart, replaceEnd, insert, expected, prefs); in check()
105 XmlFormatPreferences prefs = XmlFormatPreferences.defaults(); in test2() local
106 prefs.removeEmptyLines = true; in test2()
130 prefs); in test2()
134 XmlFormatPreferences prefs = XmlFormatPreferences.defaults(); in test3() local
135 prefs.removeEmptyLines = true; in test3()
159 prefs); in test3()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java40 AdtPrefs prefs = AdtPrefs.getPrefs(); in setUp() local
41 prefs.initializeStoreWithDefaults(store); in setUp()
42 prefs.loadValues(null); in setUp()
47 private void checkFormat(EclipseXmlFormatPreferences prefs, String baseLocation, in checkFormat() argument
65 EclipseXmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, delimiter); in checkFormat()
115 private void checkFormat(EclipseXmlFormatPreferences prefs, String baseLocation, String xml, in checkFormat() argument
117 checkFormat(prefs, baseLocation, xml, expected, delimiter, null, false, null); in checkFormat()
120 private void checkFormat(EclipseXmlFormatPreferences prefs, String baseLocation, String xml, in checkFormat() argument
122 checkFormat(prefs, baseLocation, xml, expected, "\n"); //$NON-NLS-1$ in checkFormat()
126 EclipseXmlFormatPreferences prefs = EclipseXmlFormatPreferences.create(); in checkFormat() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlFormatPreferences.java53 AdtPrefs prefs = AdtPrefs.getPrefs(); in create() local
55 p.useEclipseIndent = prefs.isUseEclipseIndent(); in create()
56 p.removeEmptyLines = prefs.isRemoveEmptyLines(); in create()
57 p.oneAttributeOnFirstLine = prefs.isOneAttributeOnFirstLine(); in create()
58 p.sortAttributes = prefs.getAttributeSort(); in create()
59 p.spaceBeforeClose = prefs.isSpaceBeforeClose(); in create()
132 IPreferenceStore prefs = EditorsPlugin.getDefault().getPreferenceStore(); in getTabWidth() local
133 mTabWidth = prefs.getInt(key); in getTabWidth()
DEclipseXmlPrettyPrinter.java57 XmlFormatPreferences prefs, in EclipseXmlPrettyPrinter() argument
60 super(prefs, style, lineSeparator == null ? getDefaultLineSeparator() : lineSeparator); in EclipseXmlPrettyPrinter()
78 @NonNull XmlFormatPreferences prefs, in prettyPrint() argument
83 EclipseXmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, in prettyPrint()
127 @NonNull XmlFormatPreferences prefs, in prettyPrint() argument
131 XmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, lineSeparator); in prettyPrint()
DAndroidXmlFormattingStrategy.java344 XmlFormatPreferences prefs = EclipseXmlFormatPreferences.create(); in format() local
346 XmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, delimiter); in format()
358 prefs); in format()
386 int replaceEnd, String formatted, XmlFormatPreferences prefs) { in createReplaceEdit() argument
446 if (prefs.removeEmptyLines && prevNewlineIndex != -1 && beginsWithNewline) { in createReplaceEdit()
479 if (prefs.removeEmptyLines && nextNewlineIndex != -1 && endsWithNewline) { in createReplaceEdit()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLTraceOptionsDialog.java43 import org.osgi.service.prefs.BackingStoreException;
378 IEclipsePreferences prefs = new InstanceScope().getNode(GlTracePlugin.PLUGIN_ID); in savePreferences() local
379 prefs.put(PREF_APP_PACKAGE, mAppPackageToTrace); in savePreferences()
380 prefs.put(PREF_ACTIVITY, mActivityToTrace); in savePreferences()
381 prefs.put(PREF_TRACEFILE, mTraceFilePath); in savePreferences()
382 prefs.put(PREF_DEVICE, mSelectedDevice); in savePreferences()
384 prefs.flush(); in savePreferences()
391 IEclipsePreferences prefs = new InstanceScope().getNode(GlTracePlugin.PLUGIN_ID); in loadPreferences() local
392 mAppPackageToTrace = prefs.get(PREF_APP_PACKAGE, ""); in loadPreferences()
393 mActivityToTrace = prefs.get(PREF_ACTIVITY, ""); in loadPreferences()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceExplorerView.java279 final IPreferenceStore prefs) { in createTreeColumn() argument
291 if (prefs == null || prefs.contains(pref_name) == false) { in createTreeColumn()
296 if (prefs != null) { in createTreeColumn()
297 prefs.setValue(pref_name, col.getWidth()); in createTreeColumn()
300 col.setWidth(prefs.getInt(pref_name)); in createTreeColumn()
305 if (prefs != null && pref_name != null) { in createTreeColumn()
317 prefs.setValue(pref_name, w); in createTreeColumn()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DTargetMenuListener.java58 AdtPrefs prefs = AdtPrefs.getPrefs(); in widgetSelected() local
60 boolean autoPick = prefs.isAutoPickRenderTarget(); in widgetSelected()
62 prefs.setAutoPickRenderTarget(autoPick); in widgetSelected()
71 prefs.setAutoPickRenderTarget(false); in widgetSelected()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/
DOtherXmlDescriptors.java143 ViewClassInfo[] prefs, ViewClassInfo[] prefGroups) {
150 ElementDescriptor preferences = createPreference(prefs, prefGroups, xmlns);
275 private ElementDescriptor createPreference(ViewClassInfo[] prefs,
279 if (prefs != null) {
280 for (ViewClassInfo info : prefs) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoringTest.java122 AdtPrefs prefs = AdtPrefs.getPrefs(); in testExtract7() local
123 prefs.initializeStoreWithDefaults(store); in testExtract7()
125 prefs.loadValues(null); in testExtract7()
DRefactoringTest.java70 AdtPrefs prefs = AdtPrefs.getPrefs(); in setUp() local
71 prefs.initializeStoreWithDefaults(store); in setUp()
75 prefs.loadValues(null); in setUp()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/
Dbuild.properties7 prefs.template,\
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DRunLintAction.java208 AdtPrefs prefs = AdtPrefs.getPrefs(); in run() local
209 prefs.setSkipLibrariesFromLint(!prefs.getSkipLibrariesFromLint()); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DLintPreferencePage.java320 AdtPrefs prefs = AdtPrefs.getPrefs(); in loadSettings() local
321 mCheckFileCheckbox.setSelection(prefs.isLintOnSave()); in loadSettings()
322 mCheckExportCheckbox.setSelection(prefs.isLintOnExport()); in loadSettings()
340 AdtPrefs prefs = AdtPrefs.getPrefs(); in storeSettings() local
341 prefs.setLintOnExport(mCheckExportCheckbox.getSelection()); in storeSettings()
342 prefs.setLintOnSave(mCheckFileCheckbox.getSelection()); in storeSettings()
DBuildPreferencePage.java22 import com.android.prefs.AndroidLocation.AndroidLocationException;
DAdtPrefs.java25 import com.android.prefs.AndroidLocation.AndroidLocationException;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidTargetParser.java499 List<ViewClassInfo> prefs = ldp.getViews(); in collectPreferenceClasses() local
502 if (prefs != null && groups != null) { in collectPreferenceClasses()
503 mainList.addAll(prefs); in collectPreferenceClasses()
DSdk.java44 import com.android.prefs.AndroidLocation.AndroidLocationException;
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/
DMonitorApplication.java20 import com.android.prefs.AndroidLocation;
/sdk/eclipse/
Ddictionary.txt218 prefs
/sdk/eclipse/plugins/com.android.ide.eclipse.base/META-INF/
DMANIFEST.MF49 com.android.prefs,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DEmulatorConfigTab.java28 import com.android.prefs.AndroidLocation.AndroidLocationException;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandler.java990 EclipseXmlFormatPreferences prefs = EclipseXmlFormatPreferences.create(); in format() local
991 return EclipseXmlPrettyPrinter.prettyPrint(contents, prefs, formatStyle, null); in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPostCompilerBuilder.java44 import com.android.prefs.AndroidLocation.AndroidLocationException;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DBuildHelper.java30 import com.android.prefs.AndroidLocation.AndroidLocationException;

12