Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 70) sorted by relevance

123

/sdk/eclipse/scripts/
Dupdate_version.sh32 function replace() { function
51 replace "$i"
67 replace "$i"
Dcollect_sources_for_sdk.py117 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view
/sdk/templates/docs/
Ddefault.js22 return (s || '').replace(/ /g, '-').replace(/[^\w-]/g, '').toLowerCase();
70 var navId = tocId.replace(/toc_/, 'nav_');
93 id: $(this).attr('id').replace(/toc_/, 'nav_'),
Dprettify.js5replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}))…
6 …<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\…
7 …hite-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}fu…
11 …^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
12 "");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/…
Djquery-1.8.0.min.js2replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d===…
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
DAdtTestData.java75 mOsRootDataPath = mOsRootDataPath.replace("/./", "/"); in AdtTestData()
93 mOsRootDataPath.replace('\\', DIR_SEP_CHAR); in AdtTestData()
127 path = new File(mOsRootDataPath.replace(pkgAdt, pkgTests), osRelativePath); in getTestFilePath()
DEclipseTestCollector.java54 String filePath = entry.getPath().replace(".class", ""); in addTestCases()
112 String dotPath = filePath.replace('/', '.'); in getClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DPasteAction.java86 sse_doc.replace(region.getStartOffset(), 0, data); in run()
99 sse_doc.replace(start_tag.getEndOffset(), 0, data); in run()
114 sse_doc.replace(region.getEndOffset(), 0, data); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DChooseAssetTypePage.java130 String replace = "name"; in updateAssetType() local
131 String suggestedName = String.format(mValues.type.getDefaultNameFormat(), replace); in updateAssetType()
137 int start = suggestedName.indexOf(replace); in updateAssetType()
139 mNameText.setSelection(start, start + replace.length()); in updateAssetType()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DBaseLayoutRuleTest.java191 public String replace(String attributeUri, String attributeName, in testAddAttributes2()
223 … assertEquals("true", BaseLayoutRule.DEFAULT_ATTR_FILTER.replace("myuri", "layout_alignRight", in testDefaultAttributeFilter()
225 assertEquals(null, BaseLayoutRule.DEFAULT_ATTR_FILTER.replace(ANDROID_URI, in testDefaultAttributeFilter()
227 assertEquals("true", BaseLayoutRule.DEFAULT_ATTR_FILTER.replace(ANDROID_URI, in testDefaultAttributeFilter()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java168 FD_SOURCES + "/" + TEST_PROJECT_PACKAGE.replace('.', '/') + "/TestFragment.java"); in testNavigate13()
177 FD_SOURCES + "/" + TEST_PROJECT_PACKAGE.replace('.', '/') + "/TestFragment.java"); in testNavigate14()
232 desc = desc.replace('\\', '/'); in checkXmlNavigation()
280 initialUrl = initialUrl.replace('\\', '/'); in checkXmlNavigation()
DAndroidXmlAutoEditStrategyTest.java49 document.replace(0, document.getLength(), newDocumentContent); in checkInsertNewline()
68 document.replace(c.offset, c.length, c.text); in checkInsertNewline()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DFmSlashedPackageNameMethod.java37 return new SimpleScalar(args.get(0).toString().replace('.', '/')); in exec()
DTemplateManager.java113 rootPath.replace('/', File.separatorChar) + File.separator in getTemplateLocation()
114 + relativePath.replace('/', File.separatorChar)); in getTemplateLocation()
134 relativePath.replace('/', File.separatorChar)); in getTemplateLocation()
DTemplateHandler.java407 relativePath.replace('/', File.separatorChar)), Charsets.UTF_8); in readTemplateTextResource()
686 + fromPath.substring(VALUE_TEMPLATE_DIR.length() + 1).replace('/', in getFullPath()
695 relative = relative.replace('\\', '/'); in getTargetPath()
861 Node replace = name != null ? old.get(name) : null; in mergeResourceFile() local
862 if (replace != null) { in mergeResourceFile()
1053 document.replace(0, document.getLength(), ""); in createNewFileChange()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextActionTest.java90 document.replace(0, 0, contents); in checkClassName()
106 document.replace(0, 0, contents); in checkWord()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java183 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel()
212 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel()
224 doc.replace(len, 0, line); in saveFieldsToModel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DTypoFix.java74 document.replace(start, end - start, replacements.get(0)); in apply()
97 document.replace(start, end - start, replacements.get(0)); in apply()
DDosLineEndingsFix.java53 document.replace(i, 1, "\n"); //$NON-NLS-1$ in apply()
DAddPrefixFix.java53 document.replace(start, 0, prefix + ':'); in apply()
DTypographyFix.java72 document.replace(edit.offset + region.getStartOffset(), in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java229 sb.append(rootAttributes.replace("\n", "\n ")); //$NON-NLS-1$ //$NON-NLS-2$ in createXmlFile()
264 fileContents = fileContents.replace(indentToken, formatPrefs.getOneIndentUnit()); in createXmlFile()
267 fileContents = fileContents.replace(caretToken, ""); //$NON-NLS-1$ in createXmlFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DGuidelinePainter.java155 String description = constraint.replace(NEW_ID_PREFIX, "").replace(ID_PREFIX, ""); in showMatch()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidPackageRenameParticipantTest.java211 EXPECTED_WARNINGS_TEMPLATE.replace("PROJECTNAME", project.getName()) : null; in renamePackage()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistantTest.java116 sb.append(help.replace('\n', ' ')); in checkFixes()

123