Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 53) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
DNdkDiscoveryUpdater.java77 String line = reader.readLine(); in runUpdate() local
78 while (line != null) { in runUpdate()
79 checkBuildLine(line); in runUpdate()
80 line = reader.readLine(); in runUpdate()
150 private final String line; field in NdkDiscoveryUpdater.Line
153 public Line(String line) { in Line() argument
154 this.line = line; in Line()
157 public Line(String line, int pos) { in Line() argument
158 this(line); in Line()
164 if (pos == line.length()) in getToken()
[all …]
DNdkDiscoveredPathInfo.java177 for (String line = reader.readLine(); line != null; line = reader.readLine()) { in load()
178 switch (line.charAt(0)) { in load()
180 timestamp = Long.valueOf(line.substring(2)); in load()
183 includes.add(Path.fromPortableString(line.substring(2))); in load()
186 int n = line.indexOf(',', 2); in load()
188 defines.put(line.substring(2), ""); //$NON-NLS-1$ in load()
190 defines.put(line.substring(2, n), line.substring(n + 1)); in load()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java163 String line = doc.get(info.getOffset(), info.getLength()); in saveFieldsToModel() local
164 line = line.trim(); in saveFieldsToModel()
165 if (line.startsWith("#")) { //$NON-NLS-1$ in saveFieldsToModel()
169 int pos = line.indexOf('='); in saveFieldsToModel()
170 if (pos > 0 && pos < line.length() - 1) { in saveFieldsToModel()
171 String key = line.substring(0, pos).trim(); in saveFieldsToModel()
177 line = key + "=" + getFieldText(field); in saveFieldsToModel()
183 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel() local
201 String line = key + "=" + getFieldText(field); in saveFieldsToModel() local
212 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLAPISpec.java76 String line; in parseApiSpecs() local
77 while ((line = reader.readLine()) != null) { in parseApiSpecs()
79 int commentPos = line.indexOf('#'); in parseApiSpecs()
81 line = line.substring(0, commentPos); in parseApiSpecs()
83 line = line.trim(); in parseApiSpecs()
86 if (line.length() > 0) { in parseApiSpecs()
87 GLAPISpec spec = parseLine(line); in parseApiSpecs()
107 static GLAPISpec parseLine(String line) { in parseLine() argument
108 List<String> words = Arrays.asList(line.split(",")); in parseLine()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewHierarchyLoader.java46 String line; in loadScene() local
70 while ((line = in.readLine()) != null) { in loadScene()
71 if ("DONE.".equalsIgnoreCase(line)) { in loadScene()
75 int whitespaceCount = countFrontWhitespace(line); in loadScene()
86 line = line.trim(); in loadScene()
87 int index = line.indexOf(' '); in loadScene()
90 lastNode.name = line.substring(0, index); in loadScene()
92 line = line.substring(index + 1); in loadScene()
93 loadProperties(lastNode, line); in loadScene()
146 private static int countFrontWhitespace(String line) { in countFrontWhitespace() argument
[all …]
DWindowsLoader.java53 String line; in loadWindows() local
54 while ((line = in.readLine()) != null) { in loadWindows()
55 if ("DONE.".equalsIgnoreCase(line)) { in loadWindows()
59 int index = line.indexOf(' '); in loadWindows()
61 String windowId = line.substring(0, index); in loadWindows()
70 Window w = new Window(line.substring(index + 1), id); in loadWindows()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java512 int line = -1; // default value for error with no line. in checkAndMark() local
516 line = Integer.parseInt(lineStr); in checkAndMark()
539 IRegion region = findRange((IFile) f2, line, message); in checkAndMark()
564 if (tmpLine != line) { in checkAndMark()
590 BaseProjectHelper.markResource(f2, markerId, message, line, in checkAndMark()
601 private static IRegion findRange(IFile file, int line, String message) { in findRange() argument
613 return findRange(file, line, property, value); in findRange()
616 IRegion region1 = findRange(file, line, property, "\"\""); //$NON-NLS-1$ in findRange()
617 IRegion region2 = findRange(file, line, property, "''"); //$NON-NLS-1$ in findRange()
621 return findRange(file, line, property, null); in findRange()
[all …]
DRenderScriptLauncher.java221 int line = 0; in parseLlvmOutput() local
223 line = Integer.parseInt(lineStr); in parseLlvmOutput()
231 BaseProjectHelper.markResource(f, AdtConstants.MARKER_RENDERSCRIPT, msg, line, in parseLlvmOutput()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/
DVersionCheck.java82 String line; in checkVersion() local
83 while ((line = reader.readLine()) != null) { in checkVersion()
84 Matcher m = sPluginVersionPattern.matcher(line); in checkVersion()
153 String line; in checkVersion() local
154 while ((line = reader.readLine()) != null) { in checkVersion()
155 Matcher m = sSourcePropPattern.matcher(line); in checkVersion()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DWidgetClassLoader.java172 String line; in parseWidgetList() local
173 while ((line = mReader.readLine()) != null) { in parseWidgetList()
174 if (line.length() > 0) { in parseWidgetList()
175 char prefix = line.charAt(0); in parseWidgetList()
180 classes = line.substring(1).split(" "); in parseWidgetList()
188 classes = line.substring(1).split(" "); in parseWidgetList()
196 classes = line.substring(1).split(" "); in parseWidgetList()
DAndroidTargetParser.java410 String line; in collectValues() local
411 while ((line = reader.readLine()) != null) { in collectValues()
412 line = line.trim(); in collectValues()
413 if (line.length() > 0 && line.startsWith("#") == false) { //$NON-NLS-1$ in collectValues()
414 values.add(line); in collectValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintColumn.java332 int line = marker.getAttribute(IMarker.LINE_NUMBER, -1); in getStyledValue() local
333 if (line > 1) { in getStyledValue()
334 styledString.append(':').append(Integer.toString(line)); in getStyledValue()
458 int line = getLine(marker); in getValue() local
459 if (line >= 1) { in getValue()
460 return Integer.toString(line); in getValue()
468 int line = marker.getAttribute(IMarker.LINE_NUMBER, -1); in getLine() local
469 return line; in getLine()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DDexDumpAction.java183 public void out(@Nullable String line) { in runDexDump()
184 if (line != null) { in runDexDump()
186 writer.write(line); in runDexDump()
193 public void err(@Nullable String line) { in runDexDump()
194 if (line != null) { in runDexDump()
196 project, line); in runDexDump()
DSdkManagerAction.java199 public void out(@Nullable String line) { in openExternalSdkManager()
204 public void err(@Nullable String line) { in openExternalSdkManager()
205 if (line != null) { in openExternalSdkManager()
206 logger.info("[SDK Manager] %s", line); in openExternalSdkManager()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DJavaSourceRevealer.java55 public static boolean reveal(String applicationName, String className, int line) { in reveal() argument
58 if (revealer.reveal(applicationName, className, line)) { in reveal()
DISourceRevealer.java31 boolean reveal(String applicationName, String className, int line); in reveal() argument
/sdk/templates/docs/
Ddefault.css77 line-height: 16px;
137 line-height: 48px;
145 line-height: 24px;
154 line-height: 24px;
163 line-height: 24px;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java591 protected static String getIndent(String line, int max) { in getIndent() argument
593 int n = Math.min(max, line.length()); in getIndent()
595 char c = line.charAt(i); in getIndent()
597 return line.substring(0, i); in getIndent()
601 if (n < line.length()) { in getIndent()
602 return line.substring(0, n); in getIndent()
604 return line; in getIndent()
618 String line = lines[i]; in dedent() local
621 if (line.trim().length() == 0) { in dedent()
625 indentPrefix = getIndent(line, indentPrefix.length()); in dedent()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DXmlErrorHandler.java158 int line = locator.getLineNumber(); in checkClass() local
162 AdtConstants.MARKER_ANDROID, result, line, IMarker.SEVERITY_ERROR); in checkClass()
DApkInstallManager.java91 for (String line : lines) { in processNewLines()
92 if (line.startsWith("package:/")) { in processNewLines()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DExportWizard.java577 public void out(@Nullable String line) { in zipAlign()
578 if (line != null) { in zipAlign()
580 project, line); in zipAlign()
585 public void err(@Nullable String line) { in zipAlign()
586 if (line != null) { in zipAlign()
587 output.add(line); in zipAlign()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
DAdtStartup.java211 public void out(@Nullable String line) { in getSdkPathFromWindowsRegistry()
212 if (line != null) { in getSdkPathFromWindowsRegistry()
213 Matcher m = regexp.matcher(line); in getSdkPathFromWindowsRegistry()
221 public void err(@Nullable String line) { in getSdkPathFromWindowsRegistry()
/sdk/apkbuilder/
Dreadme.txt1 The apkbuilder command line tool is deprecated, and is not maintained anymore.
/sdk/attribute_stats/src/
DAnalyzer.java470 String line = lines[i]; in printMergedMetadata() local
471 sb.append(line).append('\n'); in printMergedMetadata()
472 int classIndex = line.indexOf("class=\""); in printMergedMetadata()
475 int end = line.indexOf('"', start + 1); in printMergedMetadata()
477 String view = line.substring(start, end); in printMergedMetadata()
489 sb.append(line.substring(0, classIndex)); // Indentation in printMergedMetadata()
499 sb.append(line.substring(0, classIndex)); // Indentation in printMergedMetadata()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DSourceRevealer.java59 public boolean reveal(String applicationName, String className, int line) { in reveal() argument
99 IRegion lineInfo = document.getLineInformation(line - 1); in reveal()

123