Home
last modified time | relevance | path

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

12345678910

/development/tools/idegen/src/
DIntelliJ.java41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/") in generateFrom()
42 .append(sourceRoot.getPath()) in generateFrom()
43 .append("\" isTestSource=\"").append(isTests(sourceRoot)) in generateFrom()
44 .append("\"/>\n"); in generateFrom()
54 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/") in generateFrom()
55 .append(excludedDir.getPath()) in generateFrom()
56 .append("\"/>\n"); in generateFrom()
60 sourceRootsXml.append("<excludeFolder " in generateFrom()
64 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/.repo\"/>\n"); in generateFrom()
65 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/bluetooth\"/>\n"); in generateFrom()
[all …]
DEclipse.java38 classpath.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" in generateFrom()
82 classpath.append(" <classpathentry kind=\"src\""); in generateFrom()
85 classpath.append(" excluding=\"") in generateFrom()
86 .append(excluding).append("\""); in generateFrom()
88 classpath.append(" path=\"") in generateFrom()
89 .append(trimmed(sourceRoot)).append("\"/>\n"); in generateFrom()
96 classpath.append(" <classpathentry kind=\"lib\" path=\"") in generateFrom()
97 .append(trimmed(jar)).append("\"/>\n"); in generateFrom()
104 classpath.append(" <classpathentry kind=\"output\" path=\"" in generateFrom()
107 classpath.append("</classpath>\n"); in generateFrom()
[all …]
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DGrepHelper.java78 sb.append("grep"); in buildCommand()
80 sb.append(" -i"); in buildCommand()
83 sb.append(" -B"); in buildCommand()
84 sb.append(before); in buildCommand()
87 sb.append(" -A"); in buildCommand()
88 sb.append(after); in buildCommand()
90 sb.append(" -- "); in buildCommand()
91 sb.append(Utils.shellEscape(pattern)); in buildCommand()
133 sb.append("grep"); in buildCommand()
134 sb.append(" -E"); in buildCommand()
[all …]
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMidiPrinter.java65 sb.append(String.format(" %02X", data[offset + i])); in formatBytes()
74 sb.append(getName(status)).append("("); in formatMessage()
79 sb.append((channel + 1)).append(", "); in formatMessage()
83 sb.append(", "); in formatMessage()
85 sb.append(data[offset++]); in formatMessage()
87 sb.append(")"); in formatMessage()
97 sb.append(key).append(" = ").append(value).append('\n'); in formatDeviceInfo()
100 sb.append((port.getType() == PortInfo.TYPE_INPUT) ? "input" in formatDeviceInfo()
102 sb.append("[").append(port.getPortNumber()).append("] = \"").append(port.getName() in formatDeviceInfo()
DLoggingReceiver.java48 sb.append(String.format("-----0----: ")); in onSend()
52 sb.append(String.format("%10.3f: ", seconds)); in onSend()
54 sb.append(MidiPrinter.formatBytes(data, offset, count)); in onSend()
55 sb.append(": "); in onSend()
56 sb.append(MidiPrinter.formatMessage(data, offset, count)); in onSend()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DSignatureSourcer.java160 getBuf().append('<'); in visitFormalTypeParameter()
162 getBuf().append(", "); in visitFormalTypeParameter()
164 getBuf().append(name); in visitFormalTypeParameter()
165 getBuf().append(" extends "); in visitFormalTypeParameter()
213 getBuf().append('^'); in visitExceptionType()
219 getBuf().append(Type.getType(Character.toString(descriptor)).getClassName()); in visitBaseType()
224 getBuf().append(name.replace('/', '.')); in visitTypeVariable()
229 getBuf().append('['); in visitArrayType()
235 getBuf().append(name.replace('/', '.')); in visitClassType()
242 getBuf().append('.'); in visitInnerClassType()
[all …]
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java49 sb.append("Type: "); sb.append(intent.getType()); sb.append("\n"); in buildShareInfo()
53 sb.append("Text: "); sb.append(text); in buildShareInfo()
56 sb.append("\n\n"); sb.append("HTML: "); sb.append(html); in buildShareInfo()
61 sb.append("Uri: "); sb.append(uri.toString()); sb.append("\n"); in buildShareInfo()
65 sb.append("Start offset: "); in buildShareInfo()
66 sb.append(Long.toString(afd.getStartOffset())); in buildShareInfo()
67 sb.append("\n"); in buildShareInfo()
68 sb.append("Length: "); in buildShareInfo()
69 sb.append(Long.toString(afd.getLength())); in buildShareInfo()
70 sb.append("\n"); in buildShareInfo()
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyMotionEvent.java68 mPointers.append(id, c); in addPointer()
154 msg.append(getTypeLabel()).append(" ("); in injectEvent()
157 msg.append("ACTION_DOWN"); in injectEvent()
160 msg.append("ACTION_MOVE"); in injectEvent()
163 msg.append("ACTION_UP"); in injectEvent()
166 msg.append("ACTION_CANCEL"); in injectEvent()
169 msg.append("ACTION_POINTER_DOWN ").append(me.getPointerId(me.getActionIndex())); in injectEvent()
172 msg.append("ACTION_POINTER_UP ").append(me.getPointerId(me.getActionIndex())); in injectEvent()
175 msg.append(me.getAction()); in injectEvent()
178 msg.append("):"); in injectEvent()
[all …]
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DAMControl.java40 cmd.append(target.getPackageName()).append("/").append(target.getShortClassName()); in launchInBackground()
41 cmd.append(" -f ").append("0x").append(Integer.toHexString(intent.getFlags())); in launchInBackground()
42 cmd.append(" --ez moveToBack true"); in launchInBackground()
63 output.append(line).append('\n'); in execCmd()
70 output.append(line).append('\n'); in execCmd()
79 if (BuildConfig.DEBUG) Log.e(TAG, output.append(e.getMessage()).toString()); in execCmd()
DNode.java220 if (isCurrent()) output.append("current "); in toString()
221 if (isNew()) output.append("new "); in toString()
222 if (isModified()) output.append("modified "); in toString()
223 output.append("<<"); in toString()
224 if (mIsTaskNode) output.append("taskId=").append(mTaskId); in toString()
225 else output.append(mName.toShortString()); in toString()
227 output.append("intent:("); in toString()
229 output.append(flag.replace(FlagUtils.INTENT_FLAG_PREFIX, "")).append(','); in toString()
231 output.append(")"); in toString()
233 output.append(">> {"); in toString()
[all …]
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/
DDbQueryUtils.java38 clause.append(field); in getEqualityClause()
39 clause.append(" = "); in getEqualityClause()
68 builder.append(" ").append(operation).append(" "); in concatenateClausesWithOperation()
70 builder.append("("); in concatenateClausesWithOperation()
71 builder.append(clause); in concatenateClausesWithOperation()
72 builder.append(")"); in concatenateClausesWithOperation()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsArticle.java43 sb.append("<html><body>"); in NewsArticle()
44 sb.append("<h1>" + mHeadline + "</h1>"); in NewsArticle()
47 sb.append("<p>").append(ngen.makeText(SENTENCES_PER_PARAGRAPH)).append("</p>"); in NewsArticle()
50 sb.append("</body></html>"); in NewsArticle()
/development/samples/apkcachetest/src/com/android/apkcachetest/
DMain.java37 txt.append("WARNING: App must be installed in /system/priv-app directory to access " in onCreate()
40 txt.append("PreloadsFileCache app directory: " + preloadsFileCache + '\n'); in onCreate()
42 txt.append(" --- Directory does not exist ---\n"); in onCreate()
46 txt.append(" --- No files found ---\n"); in onCreate()
50 txt.append(" " + file.getName() + ": [" + readTextFile(file) + "]\n"); in onCreate()
52 txt.append(" " + file.getName() + ": Error " + e + "\n"); in onCreate()
56 txt.append(files.length + " files"); in onCreate()
/development/tools/idegen/src/com/android/idegen/
DFrameworkModule.java64 stringBuilder.append(" <content url=\"file://").append(intermediates).append("\">\n"); in appendContentRoot()
66 stringBuilder.append(" <sourceFolder url=\"file://") in appendContentRoot()
67 .append(src.getCanonicalPath()).append("\" isTestSource=\"false\" />\n"); in appendContentRoot()
69 stringBuilder.append(" </content>\n"); in appendContentRoot()
DModule.java128 sb.append("../"); in calculateRelativePartToRepoRoot()
233 sourceDirectories.append(" <content url=\"file://$MODULE_DIR$\">\n"); in buildImlFile()
242 sourceDirectories.append(" <sourceFolder url=\"file://$MODULE_DIR$") in buildImlFile()
243 .append(relative).append("\" isTestSource=\"").append(isTestSource) in buildImlFile()
244 .append("\" />\n"); in buildImlFile()
249 sourceDirectories.append(" <excludeFolder url=\"file://$MODULE_DIR$") in buildImlFile()
250 .append(relative).append("\"/>\n"); in buildImlFile()
252 sourceDirectories.append(" </content>\n"); in buildImlFile()
255 sourceDirectories.append(buildIntermediates()); in buildImlFile()
262 moduleDependencies.append(" <orderEntry type=\"module\" module-name=\"") in buildImlFile()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/content/
DPhotosContentJob.java149 selection.append(" OR "); in onStartJob()
151 selection.append(MediaStore.Images.ImageColumns._ID); in onStartJob()
152 selection.append("='"); in onStartJob()
153 selection.append(ids.get(i)); in onStartJob()
154 selection.append("'"); in onStartJob()
171 sb.append("New photos:\n"); in onStartJob()
173 sb.append(cursor.getInt(PROJECTION_ID)); in onStartJob()
174 sb.append(": "); in onStartJob()
175 sb.append(dir); in onStartJob()
176 sb.append("\n"); in onStartJob()
[all …]
DMediaContentJob.java85 sb.append("Media content has changed:\n"); in onStartJob()
87 sb.append("Authorities: "); in onStartJob()
93 sb.append(", "); in onStartJob()
95 sb.append(auth); in onStartJob()
99 sb.append("\n"); in onStartJob()
100 sb.append(uri); in onStartJob()
104 sb.append("(No content)"); in onStartJob()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortWrapper.java55 sb.append("#" + mInfo.getId()); in updateString()
56 sb.append(", ").append(name); in updateString()
58 sb.append("[" + mPortIndex + "]"); in updateString()
60 sb.append(", ").append(portInfo.getName()); in updateString()
62 sb.append(", null"); in updateString()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortWrapper.java55 sb.append("#" + mInfo.getId()); in updateString()
56 sb.append(", ").append(name); in updateString()
58 sb.append("[" + mPortIndex + "]"); in updateString()
60 sb.append(", ").append(portInfo.getName()); in updateString()
62 sb.append(", null"); in updateString()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DReceiveResult.java122 text.append("(cancelled)"); in onActivityResult()
127 text.append("(okay "); in onActivityResult()
128 text.append(Integer.toString(resultCode)); in onActivityResult()
129 text.append(") "); in onActivityResult()
131 text.append(data.getAction()); in onActivityResult()
135 text.append("\n"); in onActivityResult()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DDateWidgets1.java121 .append(mMonth + 1).append("-") in updateDisplay()
122 .append(mDay).append("-") in updateDisplay()
123 .append(mYear).append(" ") in updateDisplay()
124 .append(pad(mHour)).append(":") in updateDisplay()
125 .append(pad(mMinute))); in updateDisplay()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPurgeableBitmap.java94 sb.append("Out of memery occurs when the "); in getDialogMessage()
95 sb.append(index); in getDialogMessage()
96 sb.append("th Bitmap is decoded."); in getDialogMessage()
98 sb.append("Complete decoding ") in getDialogMessage()
99 .append(index) in getDialogMessage()
100 .append(" bitmaps without running out of memory."); in getDialogMessage()
/development/apps/Development/src/com/android/development/
DLogViewer.java70 builder.append("Error reading log: "); in appendThrowable()
71 builder.append(Log.getStackTraceString(t)); in appendThrowable()
72 text.getText().append(builder); in appendThrowable()
111 builder.append(tag) in run()
112 .append(": ") in run()
113 .append(message) in run()
114 .append("\n"); in run()
161 text.getText().append(message); in run()
/development/gsi/gsi_util/gsi_util/utils/
Dsepolicy_utils.py67 cmd.append('-' + option)
69 cmd.append('--' + option)
72 cmd.append(options[option])
/development/samples/SpellChecker/HelloSpellChecker/src/com/example/android/hellospellchecker/
DHelloSpellCheckerActivity.java93 sb.append('\n'); in dumpSuggestionsInfoInternal()
96 sb.append(", "); in dumpSuggestionsInfoInternal()
98 sb.append(si.getSuggestionAt(j)); in dumpSuggestionsInfoInternal()
100 sb.append(" (" + len + ")"); in dumpSuggestionsInfoInternal()
102 sb.append(" length = " + length + ", offset = " + offset); in dumpSuggestionsInfoInternal()
124 mMainView.append(sb.toString()); in onGetSuggestions()
154 mMainView.append(sb.toString()); in onGetSentenceSuggestions()

12345678910