Searched refs:indent (Results 1 - 25 of 45) sorted by relevance

12

/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/av/include/media/stagefright/foundation/
H A Dhexdump.h29 size_t indent = 0, AString *appendTo = NULL);
/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...]
H A DRule.h67 android::String8 toJson(int indent=0) const;
/frameworks/compile/slang/
H A Dslang_rs_reflection.cpp355 mOut.indent() << "private static final String " RS_RESOURCE_NAME " = \""
360 mOut.indent() << "// Constructor\n";
366 mOut.indent() << "super(rs,\n";
367 mOut.indent() << " " << RS_RESOURCE_NAME ",\n";
368 mOut.indent() << " " << className << ".getBitCode32(),\n";
369 mOut.indent() << " " << className << ".getBitCode64());\n";
373 mOut.indent() << "this(rs,\n";
374 mOut.indent() << " rs.getApplicationContext().getResources(),\n";
375 mOut.indent() << " rs.getApplicationContext().getResources()."
377 mOut.indent() << " " RS_RESOURCE_NAM
[all...]
H A Dslang_rs_reflect_utils.cpp121 out.indent() << "// return byte array representation of the " << bitwidth
123 out.indent() << "public static byte[] getBitCode" << bitwidth << "()";
125 out.indent() << "return getBitCode" << bitwidth << "Internal();\n";
134 out.indent() << "private static byte[] getSegment" << bitwidth << "_"
137 out.indent() << "byte[] data = {";
141 int position = kEntriesPerLine; // We start with a new line and indent.
145 out.indent();
155 out.indent() << "};\n";
156 out.indent() << "return data;\n";
197 out.indent() << "privat
[all...]
H A Dslang_rs_reflection_cpp.cpp143 mOut.indent() << "#include \"RenderScript.h\"\n\n";
144 mOut.indent() << "using namespace android::RSC;\n\n";
150 mOut.indent() << "class " << mClassName << " : public android::RSC::ScriptC";
154 mOut.indent() << "private:\n";
162 mOut.indent() << "public:\n";
166 mOut.indent() << mClassName << "(android::RSC::sp<android::RSC::RS> rs);\n";
167 mOut.indent() << "virtual ~" << mClassName << "();\n\n";
210 mOut.indent() << "android::RSC::sp<const android::RSC::Element> "
235 mOut.indent() << GetTypeName(ev->getType()) << " " RS_EXPORT_VAR_PREFIX
249 mOut.indent() << "// N
[all...]
H A Dslang_rs_reflect_utils.h134 indent() << "}" << (addSemicolon ? ";" : "") << "\n\n";
140 std::ofstream &indent() { function in class:slang::GeneratedFile
/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/native/include/binder/
H A DDebug.h37 void printHexData(int32_t indent, const void *buf, size_t length,
H A DTextOutput.h66 TextOutput& indent(TextOutput& to);
137 inline TextOutput& indent(TextOutput& to) function in namespace:android
/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/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/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/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/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;
/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/services/core/java/com/android/server/media/
H A DMediaRouterService.java531 final String indent = prefix + " ";
532 pw.println(indent + "mTrusted=" + mTrusted);
533 pw.println(indent + "mRouteTypes=0x" + Integer.toHexString(mRouteTypes));
534 pw.println(indent + "mActiveScan=" + mActiveScan);
535 pw.println(indent + "mSelectedRouteId=" + mSelectedRouteId);
563 final String indent = prefix + " ";
567 mClientRecords.get(i).dump(pw, indent);
570 pw.println(indent + "<no clients>");
573 pw.println(indent + "State");
574 pw.println(indent
[all...]
H A DMediaSessionRecord.java493 final String indent = prefix + " ";
494 pw.println(indent + "ownerPid=" + mOwnerPid + ", ownerUid=" + mOwnerUid
496 pw.println(indent + "package=" + mPackageName);
497 pw.println(indent + "launchIntent=" + mLaunchIntent);
498 pw.println(indent + "mediaButtonReceiver=" + mMediaButtonReceiver);
499 pw.println(indent + "active=" + mIsActive);
500 pw.println(indent + "flags=" + mFlags);
501 pw.println(indent + "rating type=" + mRatingType);
502 pw.println(indent + "controllers: " + mControllerCallbacks.size());
503 pw.println(indent
[all...]
H A DMediaSessionStack.java257 String indent = prefix + " ";
260 record.dump(pw, indent);
/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/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DConsole.java142 String indent = "";
145 tinyStackTrace += indent + " -> " + el.getClassName() +
149 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")) {

Completed in 2112 milliseconds

12