Searched defs:indent (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
H A Dhexdump.cpp32 static void appendIndent(AString *s, int32_t indent) { argument
37 CHECK_LT((size_t)indent, sizeof(kWhitespace));
39 s->append(kWhitespace, indent);
42 void hexdump(const void *_data, size_t size, size_t indent, AString *appendTo) { argument
49 appendIndent(&line, indent);
H A DAMessage.cpp407 static void appendIndent(AString *s, int32_t indent) { argument
412 CHECK_LT((size_t)indent, sizeof(kWhitespace));
414 s->append(kWhitespace, indent);
424 AString AMessage::debugString(int32_t indent) const {
490 hexdump(buffer->data(), buffer->size(), indent + 4, &tmp);
491 appendIndent(&tmp, indent + 2);
505 indent + strlen(item.mName) + 14).c_str());
520 appendIndent(&s, indent);
526 appendIndent(&s, indent);
/frameworks/base/tools/aapt/
H A DIndentPrinter.h13 void indent(int amount = 1) { function in class:IndentPrinter
H A DResource.cpp1992 static const char* getIndentSpace(int indent) argument
1997 return whitespace + sizeof(whitespace) - 1 - indent*4;
2055 const sp<AaptSymbols>& symbols, int indent, bool includePrivate)
2060 const char* indentStr = getIndentSpace(indent);
2075 getIndentSpace(indent+1), nclassName.string(), nclassName.string(),
2084 const sp<AaptSymbols>& symbols, const String8& className, int indent)
2101 getIndentSpace(indent), className.string(), flat_name.string(),
2111 fp, assets, nsymbols, indent, includePrivate);
2114 nclassName, indent);
2126 const sp<AaptSymbols>& symbols, int indent, boo
2053 writeResourceLoadedCallbackForLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, int indent, bool includePrivate) argument
2082 writeResourceLoadedCallback( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className, int indent) argument
2124 writeLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, int indent, bool includePrivate, bool nonConstantId) argument
2458 writeSymbolClass( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className, int indent, bool nonConstantId, bool emitCallback) argument
[all...]
/frameworks/base/tools/split-select/
H A DRule.cpp25 inline static void indentStr(String8& str, int indent) { argument
26 while (indent > 0) {
28 indent--;
42 String8 Rule::toJson(int indent) const {
44 indentStr(str, indent);
46 indent++;
47 indentStr(str, indent);
79 indentStr(str, indent);
95 indentStr(str, indent);
122 indentStr(str, indent);
[all...]
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.h134 indent() << "}" << (addSemicolon ? ";" : "") << "\n\n";
140 std::ofstream &indent() { function in class:slang::GeneratedFile
/frameworks/base/core/java/android/util/
H A DJsonWriter.java134 private String indent; field in class:JsonWriter
157 * in the encoded document. If {@code indent.isEmpty()} the encoded document
161 * @param indent a string containing only whitespace.
163 public void setIndent(String indent) { argument
164 if (indent.isEmpty()) {
165 this.indent = null;
168 this.indent = indent;
462 if (indent == null) {
468 out.write(indent);
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp36 static Formatter& indent(Formatter& f);
43 friend Formatter& indent(Formatter& f);
67 Formatter& indent(Formatter& f) { function in namespace:android
145 << "void main(void) {" << indent local
178 fs << "void main(void) {" << indent; local
/frameworks/av/media/libnbaio/
H A DNBLog.cpp286 void NBLog::Reader::dump(int fd, size_t indent) argument
342 mIndent = indent;
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java122 private void appendIndent(int indent) throws IOException { argument
123 indent *= 4;
124 if (indent > sSpace.length()) {
125 indent = sSpace.length();
127 append(sSpace, 0, indent);
300 if (name.equals("http://xmlpull.org/v1/doc/features.html#indent-output")) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java282 public void dump(PrintWriter pw, String indent) { argument
284 pw.print(indent);
289 dumpEntry(pw, indent, active, e);
293 pw.print(indent);
299 dumpEntry(pw, indent, inactiveCount, entry);
305 private void dumpEntry(PrintWriter pw, String indent, int i, Entry e) { argument
306 pw.print(indent);
309 pw.print(indent);
312 pw.print(indent);
314 pw.print(indent);
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java227 private void getNode(Element node, Transform parent, String indent) { argument
240 //Log.v(TAG, indent + "|");
241 //Log.v(TAG, indent + "[" + name + "]");
252 //Log.v(TAG, indent + " translate " + description + toString(value));
255 //Log.v(TAG, indent + " rotate " + description + toString(value));
260 //Log.v(TAG, indent + " scale " + description + toString(value));
269 getNode(field, current, indent + " ");
493 String indent = "";
494 getNode((Element)childNode, null, indent);
/frameworks/native/include/binder/
H A DTextOutput.h66 TextOutput& indent(TextOutput& to);
137 inline TextOutput& indent(TextOutput& to) function in namespace:android
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp43 , indent(0)
78 int32_t indent; member in struct:android::BufferedTextOutput::BufferState
176 if (b->indent > 0) {
177 // If this is the start of a line, add the indent.
178 const char* prefix = stringForIndent(b->indent);
227 b->indent += delta;
228 if (b->indent < 0) b->indent = 0;
H A DDebug.cpp157 void printHexData(int32_t indent, const void *buf, size_t length, argument
201 indent++;
288 if (newLine && indent) func(cookie, stringForIndent(indent));
298 if (indent > 0) func(cookie, stringForIndent(indent-1));
H A DIPCThreadState.cpp174 out << ": " << indent; local
233 out << ": " << indent; local
557 << indent << data << dedent << endl;
597 if (reply) alog << indent << *reply << dedent << endl;
831 alog << "Sending commands to driver: " << indent; local
888 alog << "Received commands from driver: " << indent; local
1075 << TypeCode(tr.code) << ": " << indent << buffer
1109 << tr.target.ptr << ": " << indent << reply << dedent << endl;
/frameworks/native/opengl/tools/glgen/src/
H A DJniCodeEmitter.java34 protected static String indent = " "; field in class:JniCodeEmitter
178 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),");
179 out.print(iii + indent + "getOffset(" + argName + ")");
181 out.print(iii + indent + argName);
186 out.println(iii + indent + argName + ".remaining()");
212 out.println(iii + indent + "_exception = 1;");
213 out.println(iii + indent +
215 out.println(iii + indent +
219 out.println(iii + indent + "goto exit;");
372 out.println(iii + indent
[all...]
/frameworks/base/core/java/android/transition/
H A DTransitionSet.java548 String toString(String indent) { argument
549 String result = super.toString(indent);
551 result += "\n" + mTransitions.get(i).toString(indent + " ");
H A DTransition.java2205 String toString(String indent) { argument
2206 String result = indent + getClass().getSimpleName() + "@" +
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java182 public synchronized void dump(PrintWriter pw, String indent, DumpFilter filter) { argument
187 as.dump(pw, indent);
191 mSQLiteLog.dump(pw, indent, filter);
250 public void dump(PrintWriter pw, String indent) { argument
251 pw.println(toStringWithIndent(indent));
259 private String toStringWithIndent(String indent) { argument
260 return indent + "AggregatedStats{\n" +
261 indent + " key='" + key + "',\n" +
262 indent + " numPostedByApp=" + numPostedByApp + ",\n" +
263 indent
608 printPostFrequencies(PrintWriter pw, String indent, DumpFilter filter) argument
699 dump(PrintWriter pw, String indent, DumpFilter filter) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp305 void printFormatHeadings(size_t indent);
306 void printOverlapLine(size_t indent, const string formatStr,
590 size_t indent = 2; local
592 printFormatHeadings(indent);
595 printOverlapLine(indent, *it, measurements[it
601 printFormatHeadings(indent);
604 printOverlapLine(indent, *it, measurements[it
610 printFormatHeadings(indent);
613 printOverlapLine(indent, *it, measurements[it
1509 void printFormatHeadings(size_t indent) argument
1531 printOverlapLine(size_t indent, const string formatStr, const vector<uint32_t>& results) argument
[all...]
/frameworks/rs/api/
H A Dgen_runtime.cpp326 void writeJavaInputAllocationDefinition(ofstream& file, const string& indent,
328 void writeJavaOutputAllocationDefinition(ofstream& file, const string& indent,
341 void writeJavaTestAndSetValid(ofstream& file, int indent, const ParameterDefinition& p,
343 void writeJavaTestOneValue(ofstream& file, int indent, const ParameterDefinition& p,
345 void writeJavaAppendOutputToMessage(ofstream& file, int indent, const ParameterDefinition& p,
348 void writeJavaAppendInputToMessage(ofstream& file, int indent, const ParameterDefinition& p,
350 void writeJavaAppendNewLineToMessage(ofstream& file, int indent) const;
351 void writeJavaAppendVariableToMessage(ofstream& file, int indent, const ParameterDefinition& p,
353 void writeJavaAppendFloatVariableToMessage(ofstream& file, int indent, const string& value,
355 void writeJavaVectorComparison(ofstream& file, int indent, cons
1460 writeJavaInputAllocationDefinition(ofstream& file, const string& indent, const ParameterDefinition& param) const argument
1548 writeJavaOutputAllocationDefinition(ofstream& file, const string& indent, const ParameterDefinition& param) const argument
1682 writeJavaTestAndSetValid(ofstream& file, int indent, const ParameterDefinition& p, const string& argsIndex, const string& actualIndex) const argument
1690 writeJavaTestOneValue(ofstream& file, int indent, const ParameterDefinition& p, const string& argsIndex, const string& actualIndex) const argument
1709 writeJavaAppendOutputToMessage(ofstream& file, int indent, const ParameterDefinition& p, const string& argsIndex, const string& actualIndex, bool verifierValidates) const argument
1742 writeJavaAppendInputToMessage(ofstream& file, int indent, const ParameterDefinition& p, const string& actual) const argument
1754 writeJavaAppendVariableToMessage(ofstream& file, int indent, const ParameterDefinition& p, const string& value) const argument
1772 writeJavaAppendFloatVariableToMessage(ofstream& file, int indent, const string& value, bool regularFloat) const argument
1784 writeJavaVectorComparison(ofstream& file, int indent, const ParameterDefinition& p) const argument
1796 writeJavaAppendVectorInputToMessage(ofstream& file, int indent, const ParameterDefinition& p) const argument
1808 writeJavaAppendVectorOutputToMessage(ofstream& file, int indent, const ParameterDefinition& p) const argument
[all...]
/frameworks/base/core/java/android/view/
H A DView.java14071 public void outputDirtyFlags(String indent, boolean clear, int clearMask) { argument
14072 Log.d("View", indent + this + " DIRTY(" + (mPrivateFlags & View.PFLAG_DIRTY_MASK) +
14084 child.outputDirtyFlags(indent + " ", clear, clearMask);

Completed in 715 milliseconds