/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormattingStrategyTest.java | 32 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/ |
D | EclipseXmlPrettyPrinterTest.java | 40 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/ |
D | EclipseXmlFormatPreferences.java | 53 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()
|
D | EclipseXmlPrettyPrinter.java | 57 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()
|
D | AndroidXmlFormattingStrategy.java | 344 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/ |
D | GLTraceOptionsDialog.java | 43 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/ |
D | ResourceExplorerView.java | 279 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/ |
D | TargetMenuListener.java | 58 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/ |
D | OtherXmlDescriptors.java | 143 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/ |
D | ExtractIncludeRefactoringTest.java | 122 AdtPrefs prefs = AdtPrefs.getPrefs(); in testExtract7() local 123 prefs.initializeStoreWithDefaults(store); in testExtract7() 125 prefs.loadValues(null); in testExtract7()
|
D | RefactoringTest.java | 70 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/ |
D | build.properties | 7 prefs.template,\
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | RunLintAction.java | 208 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/ |
D | LintPreferencePage.java | 320 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()
|
D | BuildPreferencePage.java | 22 import com.android.prefs.AndroidLocation.AndroidLocationException;
|
D | AdtPrefs.java | 25 import com.android.prefs.AndroidLocation.AndroidLocationException;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | AndroidTargetParser.java | 499 List<ViewClassInfo> prefs = ldp.getViews(); in collectPreferenceClasses() local 502 if (prefs != null && groups != null) { in collectPreferenceClasses() 503 mainList.addAll(prefs); in collectPreferenceClasses()
|
D | Sdk.java | 44 import com.android.prefs.AndroidLocation.AndroidLocationException;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
D | MonitorApplication.java | 20 import com.android.prefs.AndroidLocation;
|
/sdk/eclipse/ |
D | dictionary.txt | 218 prefs
|
/sdk/eclipse/plugins/com.android.ide.eclipse.base/META-INF/ |
D | MANIFEST.MF | 49 com.android.prefs,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | EmulatorConfigTab.java | 28 import com.android.prefs.AndroidLocation.AndroidLocationException;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateHandler.java | 990 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/ |
D | PostCompilerBuilder.java | 44 import com.android.prefs.AndroidLocation.AndroidLocationException;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | BuildHelper.java | 30 import com.android.prefs.AndroidLocation.AndroidLocationException;
|