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

12

/frameworks/rs/script_api/
H A DUtilities.h85 indent() << "}" << (addSemicolon ? ";" : "") << "\n";
91 std::ofstream& indent() { function in class: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/aapt/
H A DIndentPrinter.h13 void indent(int amount = 1) { function in class:IndentPrinter
/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/tools/incident_report/
H A Dprinter.cpp102 Out::indent() function in class:Out
122 int indent = mIndent; local
123 while (indent > SPACE_COUNT) {
125 indent -= SPACE_COUNT;
127 fwrite(SPACES + SPACE_COUNT - indent, indent, 1, mOut);
/frameworks/av/media/libeffects/factory/
H A DEffectsFactoryState.c114 void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent) { argument
117 char idt[indent + 1];
119 memset(idt, ' ', indent);
120 idt[indent] = 0;
/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/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java28 * Delays writing indent until first actual write on a newline, enabling indent
35 /** Mutable version of current indent */
39 /** Length of current line being built, excluding any indent */
44 * next write should be prefixed with the current indent.
60 public IndentingPrintWriter setIndent(String indent) { argument
62 mIndentBuilder.append(indent);
67 public IndentingPrintWriter setIndent(int indent) { argument
69 for (int i = 0; i < indent; i++) {
/frameworks/base/libs/hwui/
H A DRenderProperties.cpp97 static void dumpMatrix(std::ostream& output, std::string& indent, const char* label, argument
100 output << indent << "(" << label << " " << matrix << ": ";
110 auto indent = std::string(level * 2, ' '); local
112 output << indent << "(Translate (left, top) " << mPrimitiveFields.mLeft << ", "
115 dumpMatrix(output, indent, "ConcatMatrix (static)", mStaticMatrix);
116 dumpMatrix(output, indent, "ConcatMatrix (animation)", mAnimationMatrix);
121 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY()
124 dumpMatrix(output, indent, "ConcatMatrix ", mComputedFields.mTransformMatrix);
137 output << indent << "(ScaleAlpha " << mPrimitiveFields.mAlpha << ")" << std::endl;
145 output << indent << "(SaveLayerAlph
170 output << indent << "(Clip to empty outline)"; local
[all...]
/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/tools/streaming_proto/cpp/
H A Dmain.cpp22 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) argument
25 text << indent << "// enum " << enu.name() << endl;
28 text << indent << "const int "
36 text << indent << "const int _ENUM_" << name << "_COUNT = " << N << ";" << endl;
37 text << indent << "const char* _ENUM_" << name << "_NAMES[" << N << "] = {" << endl;
39 text << indent << INDENT << "\"" << stripPrefix(enu.value(i).name(), prefix) << "\"," << endl;
41 text << indent << "};" << endl;
42 text << indent << "const int _ENUM_" << name << "_VALUES[" << N << "] = {" << endl;
44 text << indent << INDENT << make_constant_name(enu.value(i).name()) << "," << endl;
46 text << indent << "};" << end
53 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent) argument
77 write_message(stringstream& text, const DescriptorProto& message, const string& indent) argument
[all...]
/frameworks/base/tools/streaming_proto/java/
H A Dmain.cpp67 indent_more(const string& indent) argument
69 return indent + INDENT;
76 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) argument
79 text << indent << "// enum " << enu.name() << endl;
82 text << indent << "public static final int "
93 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent) argument
102 text << indent << "// " << optional_comment << repeated_comment << proto_type << ' '
105 text << indent << "public static final long " << make_constant_name(field.name()) << " = 0x";
120 write_message(stringstream& text, const DescriptorProto& message, const string& indent) argument
123 const string indented = indent_more(indent);
[all...]
/frameworks/av/media/libnblog/
H A DPerformanceAnalysis.cpp351 void dump(int fd, int indent, PerformanceAnalysisMap &threadPerformanceAnalysis) { argument
360 dumpLine(fd, indent, body);
372 void dumpLine(int fd, int indent, const String8 &body) { argument
373 dprintf(fd, "%.*s%s \n", indent, "", body.string());
/frameworks/native/include/binder/
H A DTextOutput.h65 TextOutput& indent(TextOutput& to);
158 inline TextOutput& indent(TextOutput& to) function in namespace:android
/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;
H A DDebug.cpp158 void printHexData(int32_t indent, const void *buf, size_t length, argument
202 indent++;
283 if (newLine && indent) func(cookie, stringForIndent(indent));
293 if (indent > 0) func(cookie, stringForIndent(indent-1));
/frameworks/native/libs/binder/include/binder/
H A DTextOutput.h65 TextOutput& indent(TextOutput& to);
158 inline TextOutput& indent(TextOutput& to) function in namespace:android
/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/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp38 static Formatter& indent(Formatter& f);
45 friend Formatter& indent(Formatter& f);
68 Formatter& indent(Formatter& f) { function in namespace:android
527 << "void main(void) {" << indent << "gl_Position = projection * position;"; local
613 fs << "void main(void) {" << indent; local
/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/support/slices/core/src/main/java/androidx/slice/
H A DSlice.java464 public String toString(String indent) { argument
466 sb.append(indent);
470 String nextIndent = indent + " ";
475 sb.append(indent);
H A DSliceItem.java414 public String toString(String indent) { argument
418 sb.append(getSlice().toString(indent));
421 sb.append(indent).append(getAction()).append(",\n");
422 sb.append(getSlice().toString(indent));
425 sb.append(indent).append('"').append(getText()).append('"');
428 sb.append(indent).append(getIcon());
431 sb.append(indent).append(getInt());
434 sb.append(indent).append(getLong());
437 sb.append(indent).append(SliceItem.typeToString(getFormat()));
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioOutputDescriptor.cpp215 void AudioOutputDescriptor::log(const char* indent) argument
218 indent, mId, mId, mSamplingRate, mFormat, mChannelMask);
/frameworks/base/cmds/incidentd/src/
H A DIncidentService.cpp331 static void printPrivacy(const Privacy* p, FILE* out, String8 indent) { argument
333 fprintf(out, "%sid:%d, type:%d, dest:%d\n", indent.string(), p->field_id, p->type, p->dest);
336 printPrivacy(p->children[i], out, indent + " ");

Completed in 1400 milliseconds

12