Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 124) sorted by relevance

12345

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DFinalPage.java72 sb.append("There was an error!").append("\n\n"); in setVisible()
76 sb.append(errorMsg); in setVisible()
82 sb.append("\n\n").append("Error on files:").append('\n'); in setVisible()
84 sb.append("\n").append(file.getAbsolutePath()); in setVisible()
88 sb.append("Export successful.\n\n"); in setVisible()
92 sb.append(String.format("Exported %s modules", count)).append('\n'); in setVisible()
93 sb.append(String.format( in setVisible()
96 sb.append("Exported project: ").append(mBuilder.getCommonRoot().toOSString()); in setVisible()
99 …sb.append("\n\n").append("Choose 'Import Non-Android Studio project' in Android Studio").append('\… in setVisible()
100 sb.append("and select the following file:").append("\n\t"); in setVisible()
[all …]
DBuildFileCreator.java348 builder.append("buildscript {\n"); //$NON-NLS-1$ in appendBuildScript()
349 builder.append(" repositories {\n"); //$NON-NLS-1$ in appendBuildScript()
350 builder.append(" " + MAVEN_REPOSITORY + "\n"); //$NON-NLS-1$ in appendBuildScript()
351 builder.append(" }\n"); //$NON-NLS-1$ in appendBuildScript()
352 builder.append(" dependencies {\n"); //$NON-NLS-1$ in appendBuildScript()
353 builder.append(" " + PLUGIN_CLASSPATH + "\n"); //$NON-NLS-1$ in appendBuildScript()
354 builder.append(" }\n"); //$NON-NLS-1$ in appendBuildScript()
355 builder.append("}\n"); //$NON-NLS-1$ in appendBuildScript()
363 …mBuildFile.append("apply plugin: '").append(LIB_PLUGIN_ID).append("'\n"); //$NON-NLS-1$ //$NON-NL… in appendHeader()
365 …mBuildFile.append("apply plugin: '").append(APP_PLUGIN_ID).append("'\n"); //$NON-NLS-1$ //$NON-NL… in appendHeader()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DWrapInRefactoring.java255 namespace.append('\n').append(startIndent).append(indentUnit); in computeChanges()
257 namespace.append(' '); in computeChanges()
259 namespace.append(text); in computeChanges()
266 sb.append('<'); in computeChanges()
267 sb.append(viewClass); in computeChanges()
270 sb.append(namespace); in computeChanges()
276 sb.append('\n').append(startIndent).append(indentUnit); in computeChanges()
278 sb.append(' '); in computeChanges()
280 sb.append(androidNsPrefix).append(':'); in computeChanges()
281 sb.append(ATTR_ID).append('=').append('"').append(id).append('"'); in computeChanges()
[all …]
DExtractStyleRefactoring.java399 sb.append(NewXmlFileWizard.XML_HEADER_LINE); in computeStyleDeclaration()
400 sb.append('<').append(TAG_RESOURCES).append(' '); in computeStyleDeclaration()
401 sb.append(XMLNS_PREFIX).append(ANDROID_NS_NAME).append('=').append('"'); in computeStyleDeclaration()
402 sb.append(ANDROID_URI); in computeStyleDeclaration()
403 sb.append('"').append('>').append('\n'); in computeStyleDeclaration()
416 sb.append(initialIndent); in computeStyleDeclaration()
418 sb.append('<').append(styleTag).append(' ').append(ATTR_NAME).append('=').append('"'); in computeStyleDeclaration()
419 sb.append(mStyleName); in computeStyleDeclaration()
420 sb.append('"'); in computeStyleDeclaration()
422 sb.append(' ').append(ATTR_PARENT).append('=').append('"'); in computeStyleDeclaration()
[all …]
DExtractIncludeRefactoring.java232 sb.append("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); //$NON-NLS-1$ in computeChanges()
233 sb.append(extractedText); in computeChanges()
234 sb.append('\n'); in computeChanges()
488 sb.append(' ');
490 sb.append(name);
491 sb.append('=').append('"');
500 sb.append(XmlUtils.toXmlAttributeValue(value));
501 sb.append('"');
512 sb.append(' ');
513 sb.append(XMLNS_PREFIX);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DOverviewLinksPart.java51 …buf.append(String.format("<form><li style=\"image\" value=\"app_img\"><a href=\"page:%1$s\">", //$… in OverviewLinksPart()
53 buf.append("Application"); in OverviewLinksPart()
54 buf.append("</a>"); //$NON-NLS-1$ in OverviewLinksPart()
55 buf.append(": Activities, intent filters, providers, services and receivers."); in OverviewLinksPart()
56 buf.append("</li>"); //$NON-NLS-1$ in OverviewLinksPart()
58 …buf.append(String.format("<li style=\"image\" value=\"perm_img\"><a href=\"page:%1$s\">", //$NON-N… in OverviewLinksPart()
60 buf.append("Permission"); in OverviewLinksPart()
61 buf.append("</a>"); //$NON-NLS-1$ in OverviewLinksPart()
62 buf.append(": Permissions defined and permissions used."); in OverviewLinksPart()
63 buf.append("</li>"); //$NON-NLS-1$ in OverviewLinksPart()
[all …]
DOverviewExportPart.java73 buf.append("<form><li><a href=\"wizard\">"); //$NON-NLS-1$ in OverviewExportPart()
74 buf.append("Use the Export Wizard"); in OverviewExportPart()
75 buf.append("</a>"); //$NON-NLS-1$ in OverviewExportPart()
76 buf.append(" to export and sign an APK"); in OverviewExportPart()
77 buf.append("</li>"); //$NON-NLS-1$ in OverviewExportPart()
78 buf.append("<li><a href=\"manual\">"); //$NON-NLS-1$ in OverviewExportPart()
79 buf.append("Export an unsigned APK"); in OverviewExportPart()
80 buf.append("</a>"); //$NON-NLS-1$ in OverviewExportPart()
81 buf.append(" and sign it manually"); in OverviewExportPart()
82 buf.append("</li></form>"); //$NON-NLS-1$ in OverviewExportPart()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLUtils.java52 sb.append(String.format("%.4f", bb.get())); in formatFloats()
53 sb.append(','); in formatFloats()
54 sb.append('\n'); in formatFloats()
66 sb.append(bb.get()); in formatInts()
67 sb.append(','); in formatInts()
68 sb.append('\n'); in formatInts()
81 sb.append(bb.get() & 0xffff); in formatShorts()
83 sb.append(bb.get()); in formatShorts()
85 sb.append(','); in formatShorts()
86 sb.append('\n'); in formatShorts()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DExportLinksPart.java50 buf.append("<form>"); //$NON-NLS-1$ in ExportLinksPart()
52 buf.append("<li style=\"image\" value=\"android_img\"><a href=\"action_dosomething\">"); in ExportLinksPart()
53 buf.append("TODO Custom Action"); in ExportLinksPart()
54 buf.append("</a>"); //$NON-NLS-1$ in ExportLinksPart()
55 buf.append(": blah blah do something (like build/export)."); in ExportLinksPart()
56 buf.append("</li>"); //$NON-NLS-1$ in ExportLinksPart()
58 …buf.append(String.format("<li style=\"image\" value=\"android_img\"><a href=\"page:%1$s\">", //$NO… in ExportLinksPart()
60 buf.append("XML Source"); in ExportLinksPart()
61 buf.append("</a>"); //$NON-NLS-1$ in ExportLinksPart()
62 buf.append(": Directly edit the AndroidManifest.xml file."); in ExportLinksPart()
[all …]
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
DCodeGenerator.java56 sb.append(INDENT + ".setSmallIcon(" + getResourceVar(context, SMALL_ICON) + ")"); in generate()
58 sb.append(INDENT + ".setContentTitle(" + quote(CONTENT_TITLE) + ")"); in generate()
60 sb.append(INDENT + ".setContentText(" + quote(CONTENT_TEXT) + ")"); in generate()
62 sb.append(INDENT + ".setSubText(" + quote(SUB_TEXT) + ")"); in generate()
64 sb.append(INDENT + ".setLargeIcon(largeIconBitmap)"); in generate()
66 sb.append(INDENT + ".setContentInfo(" + quote(CONTENT_INFO) + ")"); in generate()
68 sb.append(INDENT + ".setNumber(" + NUMBER.getValueInt() + ")"); in generate()
70 sb.append(INDENT + ".setWhen(" + WHEN.getValueLong() + ")"); in generate()
72 sb.append(INDENT + ".setProgress(0, 0, true)"); in generate()
74 sb.append(INDENT + ".setUsesChronometer(" + USES_CHRON.getValueBool() + ")"); in generate()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringProposal.java133 sb.append("...<br>"); //$NON-NLS-1$ in getAdditionalProposalInfo()
134 sb.append(linePrefix); in getAdditionalProposalInfo()
135 sb.append("<b>"); //$NON-NLS-1$ in getAdditionalProposalInfo()
137 sb.append("context.getString("); //$NON-NLS-1$ in getAdditionalProposalInfo()
139 sb.append("R.string."); //$NON-NLS-1$ in getAdditionalProposalInfo()
140 sb.append(token); in getAdditionalProposalInfo()
142 sb.append(")"); //$NON-NLS-1$ in getAdditionalProposalInfo()
144 sb.append("</b>"); //$NON-NLS-1$ in getAdditionalProposalInfo()
145 sb.append(lineSuffix); in getAdditionalProposalInfo()
146 sb.append("<br>...<br>"); //$NON-NLS-1$ in getAdditionalProposalInfo()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DStatePrettyPrinter.java33 mSb.append(name.toString()); in prettyPrint()
36 mSb.append(':'); in prettyPrint()
37 mSb.append(value); in prettyPrint()
39 mSb.append(mLineSeparator); in prettyPrint()
45 mSb.append(s); in prettyPrint()
46 mSb.append(mLineSeparator); in prettyPrint()
51 mSb.append(' '); in indentLine()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java193 sb.append(GRAVITY_VALUE_LEFT); in getGravity()
197 sb.append('|'); in getGravity()
199 sb.append(GRAVITY_VALUE_START); in getGravity()
203 sb.append(GRAVITY_VALUE_RIGHT); in getGravity()
207 sb.append('|'); in getGravity()
209 sb.append(GRAVITY_VALUE_END); in getGravity()
212 sb.append(GRAVITY_VALUE_CENTER_HORIZONTAL); in getGravity()
214 sb.append(GRAVITY_VALUE_FILL_HORIZONTAL); in getGravity()
218 sb.append('|'); in getGravity()
222 sb.append(GRAVITY_VALUE_TOP); in getGravity()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java272 buf.append(Character.toUpperCase(c));
278 buf.append(' ');
284 buf.append(c);
286 buf.append(Character.toLowerCase(c));
289 buf.append(' ');
291 buf.append(c);
323 buf.append(Character.toUpperCase(c));
329 buf.append(' ');
332 buf.append(c);
334 buf.append(' ');
[all …]
DTextAttributeDescriptor.java186 sb.append(rawTooltip); in getTooltip()
187 sb.append(" "); //$NON-NLS-1$ in getTooltip()
190 sb.append("@@"); //$NON-NLS-1$ @@ inserts a break before the types in getTooltip()
192 sb.append("["); //$NON-NLS-1$ in getTooltip()
198 sb.append(", "); in getTooltip()
200 sb.append(f.toString().toLowerCase(Locale.US)); in getTooltip()
203 sb.append("]"); //$NON-NLS-1$ in getTooltip()
207 … sb.append(".@@"); //$NON-NLS-1$ @@ inserts a break and is not translatable in getTooltip()
208 sb.append("* Required."); in getTooltip()
212 sb.append(" "); //$NON-NLS-1$ in getTooltip()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DFlagManagerTest.java133 sb.append("No icon found for region ").append(region).append(" ") in testAvailableImages()
134 .append(LocaleManager.getRegionName(region)); in testAvailableImages()
135 sb.append(", used for languages "); in testAvailableImages()
138 sb.append(language).append("(").append(LocaleManager.getLanguageName(language)) in testAvailableImages()
139 .append(") "); in testAvailableImages()
155 sb.append("The following icons are not referenced by any of the " in testAvailableImages()
158 sb.append(code.toLowerCase(Locale.US)).append(SdkConstants.DOT_PNG).append(" ("); in testAvailableImages()
159 sb.append(LocaleManager.getRegionName(code)).append(") "); in testAvailableImages()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java219 sb.append("Go To Declaration in " + basename + " for " + caretLocation + ":\n"); in checkXmlNavigation()
221 sb.append(link.getHyperlinkText()); in checkXmlNavigation()
222 sb.append(" : "); in checkXmlNavigation()
223 sb.append(" ["); in checkXmlNavigation()
225 sb.append(viewer.getDocument().get(region.getOffset(), region.getLength())); in checkXmlNavigation()
226 sb.append("]"); in checkXmlNavigation()
229 sb.append("\n "); in checkXmlNavigation()
239 sb.append(desc); in checkXmlNavigation()
241 sb.append('\n'); in checkXmlNavigation()
281 sb.append("\n\nAfter open, a browser is shown with this URL:\n"); in checkXmlNavigation()
[all …]
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java339 builder.append(activity).append(DATA_SEPARATOR); in analyzeData()
341 writer.write(builder.append('\n').toString()); in analyzeData()
355 builder.append(list.get(index).longValue()).append(DATA_SEPARATOR); in analyzeData()
357 builder.append(DATA_SEPARATOR); in analyzeData()
363 writer.write(builder.append('\n').toString()); in analyzeData()
372 builder.append(activity).append(DATA_SEPARATOR); in analyzeData()
381 builder.append(list.get(0).longValue()).append(DATA_SEPARATOR); in analyzeData()
382 builder.append(list.get(list.size()-1).longValue()).append(DATA_SEPARATOR); in analyzeData()
385 builder.append(list.get(list.size()/2).longValue()).append(DATA_SEPARATOR); in analyzeData()
393 builder.append(total / list.size()).append(DATA_SEPARATOR); in analyzeData()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintFixGenerator.java369 sb.append("Suppresses this type of lint warning in the current project only."); in getAdditionalProposalInfo()
371 sb.append("Suppresses this type of lint warning in all files."); in getAdditionalProposalInfo()
373 sb.append("Suppresses this type of lint warning in the current file only."); in getAdditionalProposalInfo()
375 sb.append("<br><br>"); //$NON-NLS-1$ in getAdditionalProposalInfo()
376 … sb.append("You can re-enable checks from the \"Android > Lint Error Checking\" preference page."); in getAdditionalProposalInfo()
445 sb.append("Clears all lint warning markers from the project."); in getAdditionalProposalInfo()
447 sb.append("Clears all lint warnings from this file."); in getAdditionalProposalInfo()
449 sb.append("<br><br>"); //$NON-NLS-1$ in getAdditionalProposalInfo()
450 sb.append("This temporarily hides the problem, but does not suppress it. " + in getAdditionalProposalInfo()
453 sb.append(' '); in getAdditionalProposalInfo()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java222 sb.append('<').append(root); in createXmlFile()
224 sb.append('\n').append(" xmlns:android=\"").append(xmlns).append('"'); //$NON-NLS-1$ in createXmlFile()
228 sb.append("\n "); //$NON-NLS-1$ in createXmlFile()
229 sb.append(rootAttributes.replace("\n", "\n ")); //$NON-NLS-1$ //$NON-NLS-2$ in createXmlFile()
232 sb.append(">\n"); //$NON-NLS-1$ in createXmlFile()
235 sb.append(child); in createXmlFile()
245 sb.append(indentToken); in createXmlFile()
246 sb.append(caretToken); in createXmlFile()
248 sb.append('\n'); in createXmlFile()
251 sb.append("</").append(root).append(">\n"); //$NON-NLS-1$ //$NON-NLS-2$ in createXmlFile()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLMessageFormatter.java75 sb.append("void"); //$NON-NLS-1$ in formatArgs()
77 sb.append(argSpec.getArgName()); in formatArgs()
78 sb.append(" = "); //$NON-NLS-1$ in formatArgs()
79 sb.append(formatDataValue(glMessage.getArgs(i), in formatArgs()
85 sb.append(", "); //$NON-NLS-1$ in formatArgs()
141 sb.append('['); in formatPointer()
143 sb.append(GLEnum.valueOf(v.intValue())); in formatPointer()
145 sb.append(']'); in formatPointer()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java426 sb.append('<').append(root).append('>').append('\n'); in createResource()
427 sb.append(" "); //$NON-NLS-1$ in createResource()
428 sb.append('<'); in createResource()
429 sb.append(tagName); in createResource()
430 sb.append(" name=\""); //$NON-NLS-1$ in createResource()
431 sb.append(name); in createResource()
432 sb.append('"'); in createResource()
434 sb.append(" type=\""); //$NON-NLS-1$ in createResource()
435 sb.append(typeName); in createResource()
436 sb.append('"'); in createResource()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/
DDebugPortProvider.java150 sb.append(appKey).append(':').append(port.intValue()).append(':'). in setPortList()
151 append(deviceKey).append('|'); in setPortList()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DViewHierarchy.java727 sb.append(" "); //$NON-NLS-1$ in dump()
729 sb.append(info.getClassName()); in dump()
730 sb.append(" ["); //$NON-NLS-1$ in dump()
731 sb.append(info.getLeft()); in dump()
732 sb.append(","); //$NON-NLS-1$ in dump()
733 sb.append(info.getTop()); in dump()
734 sb.append(","); //$NON-NLS-1$ in dump()
735 sb.append(info.getRight()); in dump()
736 sb.append(","); //$NON-NLS-1$ in dump()
737 sb.append(info.getBottom()); in dump()
[all …]
DRenderLogger.java88 sb.append(error).append('\n'); in getProblems()
94 sb.append(warning).append('\n'); in getProblems()
99 sb.append("The graphics preview in the layout editor may not be accurate:\n"); in getProblems()
101 sb.append("* "); in getProblems()
102 sb.append(warning).append('\n'); in getProblems()
107 sb.append("Exception details are logged in Window > Show View > Error Log"); in getProblems()

12345