Searched defs:contents (Results 1 - 7 of 7) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
H A DBinaryXMLDescriber.java53 public int describe(InputStream contents, IContentDescription description) throws IOException { argument
57 if (contents.read(bytes, 0, length) == length) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
H A DValueCompleter.java63 public IContentProposal[] getProposals(String contents, int position) { argument
70 String prefix = contents; // TODO: Go back to position inside the array?
76 && !contents.isEmpty()
79 && !contents.startsWith(PREFIX_RESOURCE_REF)
80 && !contents.startsWith(PREFIX_THEME_REF)) {
81 proposals.add(new ContentProposal(contents));
84 if (!contents.isEmpty() && Character.isDigit(contents.charAt(0))
89 for (int i = 0, n = contents.length(); i < n; i++) {
90 char c = contents
[all...]
H A DResourceValueCompleter.java63 public IContentProposal[] getProposals(String contents, int position) { argument
64 if (contents.startsWith(PREFIX_RESOURCE_REF)) {
69 this.xmlProperty.mDescriptor, contents.substring(0, position));
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
H A DRenameResourceXmlTextActionTest.java80 private void checkClassName(String contents, String expectedClassName) argument
82 int cursor = contents.indexOf('^');
83 assertTrue("Must set cursor position with ^ in " + contents, cursor != -1);
84 contents = contents.substring(0, cursor) + contents.substring(cursor + 1);
85 assertEquals(-1, contents.indexOf('^'));
86 assertEquals(-1, contents.indexOf('['));
87 assertEquals(-1, contents.indexOf(']'));
90 document.replace(0, 0, contents);
96 checkWord(String contents, ResourceUrl expectedResource) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
H A DGLSparseArrayProperty.java51 boolean createOnAccess, SparseArray<IGLProperty> contents) {
55 mSparseArray = contents;
50 GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue, boolean createOnAccess, SparseArray<IGLProperty> contents) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
H A DNewProjectCreator.java687 /** Handler which can write contents into a project */
690 * Add contents into the given project
873 * @param projectPopulator a handler for writing the template contents
1135 /** Reformats the given contents with the current formatting settings */
1136 private String reformat(XmlFormatStyle style, String contents) { argument
1139 return EclipseXmlPrettyPrinter.prettyPrint(contents, formatPrefs, style,
1142 return contents;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
H A DTemplateHandler.java254 * Should files that we merge contents into be backed up? If yes, will
276 // Use the TemplateManager iteration which should merge contents between the
401 * @return the string contents of the template text file
426 * Reads the contents of a resource
776 String contents = null;
779 contents = EclipseXmlPrettyPrinter.prettyPrint(currentDocument,
787 contents =
795 if (contents != null) {
798 rootEdit.addChild(new ReplaceEdit(0, currentXml.length(), contents));
805 /** Merges the given resource file contents int
986 format(IProject project, String contents, IPath to) argument
[all...]

Completed in 275 milliseconds