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

123

/frameworks/native/vulkan/tools/
H A Dvkinfo.cpp339 size_t indent) {
341 printf("%s%s (v%u)\n", Indent(indent), e.extensionName, e.specVersion);
348 size_t indent) {
350 printf("%s%s %u.%u.%u/%u\n", Indent(indent), layers[i].layerName,
356 printf("%s%s\n", Indent(indent + 1), layers[i].description);
359 printf("%sExtensions [%zu]:\n", Indent(indent + 1),
361 PrintExtensions(extensions[i], options, indent + 2);
367 void PrintAllFeatures(const char* indent, argument
370 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO");
371 printf("%sfullDrawIndexUint32: %s\n", indent, feature
337 PrintExtensions(const std::vector<VkExtensionProperties>& extensions, const Options& , size_t indent) argument
344 PrintLayers( const std::vector<VkLayerProperties>& layers, const std::vector<std::vector<VkExtensionProperties>> extensions, const Options& options, size_t indent) argument
428 PrintSupportedFeatures(const char* indent, const VkPhysicalDeviceFeatures& features) argument
489 PrintGpuInfo(const GpuInfo& info, const Options& options, size_t indent) argument
570 size_t indent = 0; local
[all...]
/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;");
389 out.println(iii + indent
[all...]
/frameworks/rs/script_api/
H A DGenerateTestFiles.cpp250 mJava->indent() << "public class " << name;
257 mJava->indent() << "public ";
271 mJava->indent() << "public double";
284 mJava->indent() << "private void " << mJavaCheckMethodName << "()";
297 mJava->indent() << "enforceOrdering(" << smallerAlloc << ", " << p->javaAllocName
309 mJava->indent() << p->javaAllocName << ".destroy();\n";
323 mJava->indent() << "Allocation " << param.javaAllocName << " = ";
404 mJava->indent() << "Allocation " << param.javaAllocName << " = Allocation.createSized(mRS, "
425 mJava->indent() << "StringBuilder message = new StringBuilder();\n";
426 mJava->indent() << "boolea
[all...]
H A DUtilities.h85 indent() << "}" << (addSemicolon ? ";" : "") << "\n";
91 std::ofstream& indent() { function in class:GeneratedFile
/frameworks/av/include/media/stagefright/foundation/
H A Dhexdump.h29 size_t indent = 0, AString *appendTo = NULL);
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A Dhexdump.h29 size_t indent = 0, AString *appendTo = NULL);
/frameworks/av/media/libstagefright/include/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...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DAsn1Constructed.java31 sb.append(indent(level)).append(super.toString()).append(":\n");
36 sb.append(indent(level + 1)).append(child.toString()).append('\n');
41 public static String indent(int level) { method in class:Asn1Constructed
42 char[] indent = new char[level * 2];
43 Arrays.fill(indent, ' ');
44 return new String(indent);
/frameworks/compile/slang/
H A Dslang_rs_reflection.cpp466 mOut.indent() << "private static final String " RS_RESOURCE_NAME " = \""
471 mOut.indent() << "// Constructor\n";
480 mOut.indent() << "super(rs,\n";
481 mOut.indent() << " " << RS_RESOURCE_NAME ",\n";
482 mOut.indent() << " " << className << ".getBitCode32(),\n";
483 mOut.indent() << " " << className << ".getBitCode64());\n";
487 mOut.indent() << "this(rs,\n";
488 mOut.indent() << " rs.getApplicationContext().getResources(),\n";
489 mOut.indent() << " rs.getApplicationContext().getResources()."
491 mOut.indent() << " " RS_RESOURCE_NAM
[all...]
H A Dslang_rs_reflection_cpp.cpp149 mOut.indent() << "#include \"RenderScript.h\"\n\n";
152 mOut.indent() << "using namespace android::RSC; // NOLINT\n\n";
158 mOut.indent() << "class " << mClassName << " : public android::RSC::ScriptC";
162 mOut.indent() << "private:\n";
170 mOut.indent() << "public:\n";
174 mOut.indent() << mClassName << "(android::RSC::sp<android::RSC::RS> rs);\n";
175 mOut.indent() << "virtual ~" << mClassName << "();\n\n";
217 mOut.indent() << "android::RSC::sp<const android::RSC::Element> "
242 mOut.indent() << GetTypeName(ev->getType()) << " " RS_EXPORT_VAR_PREFIX
256 mOut.indent() << "// N
[all...]
H A Dslang_rs_reflect_utils.cpp122 out.indent() << "// return byte array representation of the " << bitwidth
124 out.indent() << "public static byte[] getBitCode" << bitwidth << "()";
126 out.indent() << "return getBitCode" << bitwidth << "Internal();\n";
135 out.indent() << "private static byte[] getSegment" << bitwidth << "_"
138 out.indent() << "byte[] data = {";
142 int position = kEntriesPerLine; // We start with a new line and indent.
146 out.indent();
156 out.indent() << "};\n";
157 out.indent() << "return data;\n";
198 out.indent() << "privat
[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);
/frameworks/base/tools/incident_report/
H A Dprinter.cpp103 Out::indent() function in class:Out
123 int indent = mIndent; local
124 while (indent > SPACE_COUNT) {
126 indent -= SPACE_COUNT;
128 fwrite(SPACES + SPACE_COUNT - indent, indent, 1, mOut);
H A Dprinter.h30 void indent();
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DVolumeDialogController.java124 public String toString(int indent) { argument
126 if (indent > 0) sep(sb, indent);
129 sep(sb, indent);
139 sep(sb, indent); sb.append("ringerModeExternal:").append(ringerModeExternal);
140 sep(sb, indent); sb.append("ringerModeInternal:").append(ringerModeInternal);
141 sep(sb, indent); sb.append("zenMode:").append(zenMode);
142 sep(sb, indent); sb.append("effectsSuppressor:").append(effectsSuppressor);
143 sep(sb, indent); sb.append("effectsSuppressorName:").append(effectsSuppressorName);
144 sep(sb, indent); s
149 sep(StringBuilder sb, int indent) argument
[all...]
/frameworks/base/libs/hwui/
H A DRenderProperties.cpp102 static void dumpMatrix(std::ostream& output, std::string& indent, argument
105 output << indent << "(" << label << " " << matrix << ": ";
115 auto indent = std::string(level * 2, ' '); local
117 output << indent << "(Translate (left, top) " << mPrimitiveFields.mLeft
120 dumpMatrix(output, indent, "ConcatMatrix (static)", mStaticMatrix);
121 dumpMatrix(output, indent, "ConcatMatrix (animation)", mAnimationMatrix);
126 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY()
129 dumpMatrix(output, indent, "ConcatMatrix ", mComputedFields.mTransformMatrix);
143 output << indent << "(ScaleAlpha " << mPrimitiveFields.mAlpha << ")" << std::endl;
151 output << indent << "(SaveLayerAlph
179 output << indent << "(Clip to empty outline)"; local
[all...]
/frameworks/native/include/binder/
H A DDebug.h37 void printHexData(int32_t indent, const void *buf, size_t length,
/frameworks/native/libs/binder/include/binder/
H A DDebug.h37 void printHexData(int32_t indent, const void *buf, size_t length,
/frameworks/base/tools/aapt2/
H A DDominatorTree_test.cpp32 explicit PrettyPrinter(const int indent = 2) : indent_(indent) {}
49 void VisitConfig(const DominatorTree::Node* node, const int indent) { argument
51 buffer_ << std::string(indent, ' ')
56 void VisitNode(const DominatorTree::Node* node, const int indent) { argument
57 VisitConfig(node, indent);
59 VisitNode(child.get(), indent + indent_);
/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/tools/streaming_proto/
H A Dmain.cpp113 indent_more(const string& indent) argument
115 return indent + " ";
122 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) argument
125 text << indent << "// enum " << enu.name() << endl;
128 text << indent << "public static final int "
263 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent) argument
272 text << indent << "// " << optional_comment << repeated_comment << proto_type << ' '
275 text << indent << "public static final long " << make_constant_name(field.name()) << " = 0x";
290 write_message(stringstream& text, const DescriptorProto& message, const string& indent) argument
293 const string indented = indent_more(indent);
[all...]
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp43 , indent(0)
81 int32_t indent; member in struct:android::BufferedTextOutput::BufferState
179 if (b->indent > 0) {
180 // If this is the start of a line, add the indent.
181 const char* prefix = stringForIndent(b->indent);
230 b->indent += delta;
231 if (b->indent < 0) b->indent = 0;
/frameworks/base/tools/aapt/
H A DIndentPrinter.h13 void indent(int amount = 1) { function in class:IndentPrinter

Completed in 588 milliseconds

123