/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceXmlTextActionTest.java | 80 private void checkClassName(String contents, String expectedClassName) in checkClassName() argument 82 int cursor = contents.indexOf('^'); in checkClassName() 83 assertTrue("Must set cursor position with ^ in " + contents, cursor != -1); in checkClassName() 84 contents = contents.substring(0, cursor) + contents.substring(cursor + 1); in checkClassName() 85 assertEquals(-1, contents.indexOf('^')); in checkClassName() 86 assertEquals(-1, contents.indexOf('[')); in checkClassName() 87 assertEquals(-1, contents.indexOf(']')); in checkClassName() 90 document.replace(0, 0, contents); in checkClassName() 96 private void checkWord(String contents, ResourceUrl expectedResource) in checkWord() argument 98 int cursor = contents.indexOf('^'); in checkWord() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | ValueCompleter.java | 63 public IContentProposal[] getProposals(String contents, int position) { in getProposals() argument 70 String prefix = contents; // TODO: Go back to position inside the array? in getProposals() 76 && !contents.isEmpty() in getProposals() 79 && !contents.startsWith(PREFIX_RESOURCE_REF) in getProposals() 80 && !contents.startsWith(PREFIX_THEME_REF)) { in getProposals() 81 proposals.add(new ContentProposal(contents)); in getProposals() 84 if (!contents.isEmpty() && Character.isDigit(contents.charAt(0)) in getProposals() 89 for (int i = 0, n = contents.length(); i < n; i++) { in getProposals() 90 char c = contents.charAt(i); in getProposals() 110 if (formats.contains(REFERENCE) || contents.startsWith(PREFIX_RESOURCE_REF) in getProposals() [all …]
|
D | ResourceValueCompleter.java | 63 public IContentProposal[] getProposals(String contents, int position) { in getProposals() argument 64 if (contents.startsWith(PREFIX_RESOURCE_REF)) { in getProposals() 69 this.xmlProperty.mDescriptor, contents.substring(0, position)); in getProposals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormattingStrategyTest.java | 40 String contents = document.get(); in check() local 44 for (int i = 0, n = contents.length(); i < n; i++) { in check() 45 char c = contents.charAt(i); in check() 51 + ": " + contents.substring(i - 1, Math.min(contents.length(), i + 10)) in check() 61 assertEquals(expected, contents); in check()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/ |
D | AdtPluginTest.java | 38 String contents = AdtPlugin.readFile(new StringReader(input)); in testReadStream() local 39 assertEquals(input, contents); in testReadStream()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
D | BinaryXMLDescriber.java | 53 public int describe(InputStream contents, IContentDescription description) throws IOException { in describe() argument 57 if (contents.read(bytes, 0, length) == length) { in describe()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
D | ExportGradleTest.java | 79 String contents = Files.toString(buildfile, Charsets.UTF_8); in testSimpleAndroidApp() 116 assertEqualsWhitespaceInsensitive(expectedContents, contents); in testSimpleAndroidApp() 156 String contents = Files.toString(buildfile, Charsets.UTF_8); in testSimpleAndroidLib() 193 assertEqualsWhitespaceInsensitive(expectedContents, contents); in testSimpleAndroidLib() 223 String contents = Files.toString(buildfile, Charsets.UTF_8); in testPlainJavaProject() 230 assertEqualsWhitespaceInsensitive(expectedContents, contents); in testPlainJavaProject()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
D | NinePatchedImage.java | 493 Tick contents = null; in findContentArea() local 500 if (contents != null) { in findContentArea() 501 if (contents.color != pixels[x]) { in findContentArea() 502 contents.end = x; in findContentArea() 503 out.add(contents); in findContentArea() 504 contents = null; in findContentArea() 507 if (contents == null) { in findContentArea() 508 contents = new Tick(pixels[x]); in findContentArea() 509 contents.start = x; in findContentArea() 513 if (contents != null) { in findContentArea() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
D | NewItemSelectionDialog.java | 277 Composite contents = (Composite) super.createDialogArea(parent); in createDialogArea() local 279 createRadioControl(contents); in createDialogArea() 280 createFilterText(contents); in createDialogArea() 281 createFilteredList(contents); in createDialogArea() 286 Label label = createMessageArea(contents); in createDialogArea() 298 return contents; in createDialogArea()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateHandler.java | 776 String contents = null; in merge() local 779 contents = EclipseXmlPrettyPrinter.prettyPrint(currentDocument, in merge() 787 contents = in merge() 795 if (contents != null) { in merge() 798 rootEdit.addChild(new ReplaceEdit(0, currentXml.length(), contents)); in merge() 974 String contents = out.toString(); in instantiate() local 976 contents = format(mProject, contents, to); in instantiate() 980 rootEdit.addChild(new InsertEdit(0, contents)); in instantiate() 986 private static String format(IProject project, String contents, IPath to) { in format() argument 991 return EclipseXmlPrettyPrinter.prettyPrint(contents, prefs, formatStyle, null); in format() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
D | GLSparseArrayProperty.java | 51 boolean createOnAccess, SparseArray<IGLProperty> contents) { in GLSparseArrayProperty() argument 55 mSparseArray = contents; in GLSparseArrayProperty()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
D | AdtPlugin.java | 461 InputStream contents = null; in readFile() local 464 contents = file.getContents(); in readFile() 466 reader = new InputStreamReader(contents, charset); in readFile() 481 Closeables.closeQuietly(contents); in readFile() 540 InputStream contents = null; in fileContains() local 542 contents = file.getContents(); in fileContains() 544 return streamContains(new InputStreamReader(contents, charset), string); in fileContains() 701 InputStream contents = null; 703 contents = file.getFile().getContents(); 704 return readFile(new InputStreamReader(contents)); [all …]
|
D | AdtUtils.java | 1100 InputStream contents = null; 1102 contents = file.getContents(); 1103 return ByteStreams.toByteArray(contents); 1107 Closeables.closeQuietly(contents);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintListDialog.java | 92 Control contents = super.createContents(parent); in createContents() local 97 return contents; in createContents()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RefactoringTestBase.java | 274 String contents = (String) o; in createTestDataDir() local 275 Files.write(contents, to, Charsets.UTF_8); in createTestDataDir()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | RefactoringTest.java | 120 String contents = AdtPlugin.readFile(file); in checkEdits() local 121 assertEquals(contents, xml); in checkEdits()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
D | BuildFileCreator.java | 509 StringBuilder contents = new StringBuilder(); in writeGradleSettingsFile() local 511 contents.append("include '").append(path).append("'\n"); //$NON-NLS-1$ //$NON-NLS-2$ in writeGradleSettingsFile() 514 Files.write(contents.toString(), settingsFile, Charsets.UTF_8); in writeGradleSettingsFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ExtractStyleRefactoring.java | 498 String contents = AdtPlugin.readFile(file); in computeInsertContext() local 499 insertAtIndex = contents.indexOf("</" + TAG_RESOURCES + ">"); //$NON-NLS-1$ in computeInsertContext() 501 insertAtIndex = contents.length(); in computeInsertContext()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | NewProjectCreator.java | 1136 private String reformat(XmlFormatStyle style, String contents) { in reformat() argument 1139 return EclipseXmlPrettyPrinter.prettyPrint(contents, formatPrefs, style, in reformat() 1142 return contents; in reformat()
|
/sdk/files/ant/ |
D | NOTICE | 128 wherever such third-party notices normally appear. The contents
|
/sdk/find_java/ |
D | NOTICE | 128 wherever such third-party notices normally appear. The contents
|
/sdk/find_lock/ |
D | NOTICE | 128 wherever such third-party notices normally appear. The contents
|
/sdk/apps/SdkController/ |
D | NOTICE | 128 wherever such third-party notices normally appear. The contents
|
/sdk/bash_completion/ |
D | NOTICE | 128 wherever such third-party notices normally appear. The contents
|
/sdk/eventanalyzer/ |
D | NOTICE | 128 wherever such third-party notices normally appear. The contents
|