Searched defs:out (Results 176 - 200 of 520) sorted by last modified time

1234567891011>>

/frameworks/base/tools/aapt/
H A DImages.cpp690 // Figure out the number of rows and columns in the N-patch
907 png_bytep out = outRows[j]; local
995 *out++ = idx;
1014 *out++ = idx;
1089 png_bytep out = outRows[j]; local
1093 out[i] += numAlphaColors;
1117 png_bytep out = outRows[j]; local
1125 *out++ = rr;
1127 *out++ = (png_byte) (rr * 0.2126f + gg * 0.7152f + bb * 0.0722f);
1130 *out
[all...]
H A DPackage.cpp403 ssize_t processJarFile(ZipFile* jar, ZipFile* out) argument
419 out->add(data, size, storageName, compressionMethod, NULL);
H A Dpseudolocalize.cpp41 String16 out; local
79 out.append(chunk);
82 out.append(mImpl->end());
84 out.append(mImpl->start());
90 return out;
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp38 static bool parseMcc(const char* name, ResTable_config* out) { argument
40 if (out) out->mcc = 0;
61 if (out) out->mcc = d;
68 static bool parseMnc(const char* name, ResTable_config* out) { argument
70 if (out) out->mcc = 0;
89 if (out) {
90 out
99 parseLayoutDirection(const char* name, ResTable_config* out) argument
120 parseScreenLayoutSize(const char* name, ResTable_config* out) argument
151 parseScreenLayoutLong(const char* name, ResTable_config* out) argument
172 parseScreenRound(const char* name, ResTable_config* out) argument
192 parseOrientation(const char* name, ResTable_config* out) argument
210 parseUiModeType(const char* name, ResTable_config* out) argument
246 parseUiModeNight(const char* name, ResTable_config* out) argument
267 parseDensity(const char* name, ResTable_config* out) argument
347 parseTouchscreen(const char* name, ResTable_config* out) argument
365 parseKeysHidden(const char* name, ResTable_config* out) argument
390 parseKeyboard(const char* name, ResTable_config* out) argument
408 parseNavHidden(const char* name, ResTable_config* out) argument
430 parseNavigation(const char* name, ResTable_config* out) argument
451 parseScreenSize(const char* name, ResTable_config* out) argument
485 parseSmallestScreenWidthDp(const char* name, ResTable_config* out) argument
509 parseScreenWidthDp(const char* name, ResTable_config* out) argument
531 parseScreenHeightDp(const char* name, ResTable_config* out) argument
553 parseVersion(const char* name, ResTable_config* out) argument
580 parse(const StringPiece& str, ConfigDescription* out) argument
[all...]
H A DConfigDescription.h44 static bool parse(const StringPiece& str, ConfigDescription* out = nullptr);
128 inline ::std::ostream& operator<<(::std::ostream& out, const ConfigDescription& o) { argument
129 return out << o.toString().string();
H A DFlags.cpp83 void Flags::usage(const StringPiece& command, std::ostream* out) { argument
86 *out << command << " [options]";
89 *out << " " << flag.name << " arg";
93 *out << " files...\n\nOptions:\n";
101 // Split the description by newlines and write out the argument (which is empty after
105 *out << " " << std::setw(kWidth) << std::left << argLine << line << "\n";
109 *out << " " << std::setw(kWidth) << std::left << "-h" << "Displays this help menu\n";
110 out->flush();
H A DResource.h233 inline ::std::ostream& operator<<(::std::ostream& out, const ResourceId& resId) { argument
234 std::ios_base::fmtflags oldFlags = out.flags();
235 char oldFill = out.fill();
236 out << "0x" << std::internal << std::setfill('0') << std::setw(8)
238 out.flags(oldFlags);
239 out.fill(oldFill);
240 return out;
247 inline ::std::ostream& operator<<(::std::ostream& out, const ResourceType& val) { argument
248 return out << toString(val);
286 inline ::std::ostream& operator<<(::std::ostream& out, cons argument
337 operator <<(::std::ostream& out, const ResourceNameRef& name) argument
[all...]
H A DResourceUtils.cpp563 std::stringstream out; local
564 out << "res/" << resFile.name.type;
566 out << "-" << resFile.config;
568 out << "/";
571 out << NameMangler::mangleEntry(resFile.name.package, resFile.name.entry);
573 out << resFile.name.entry;
575 out << file::getExtension(resFile.source.path);
576 return out.str();
H A DResourceValues.cpp55 void RawString::print(std::ostream* out) const {
56 *out << "(raw string) " << *value;
80 void Reference::print(std::ostream* out) const {
81 *out << "(reference) ";
83 *out << "@";
85 *out << "*";
88 *out << "?";
92 *out << name.value();
96 *out << " " << id.value();
100 bool Id::flatten(android::Res_value* out) cons
476 operator <<(::std::ostream& out, const Style::Entry& value) argument
520 operator <<(::std::ostream& out, const std::unique_ptr<Item>& item) argument
[all...]
H A DResourceValues.h100 virtual void print(std::ostream* out) const = 0;
163 void print(std::ostream* out) const override;
171 bool flatten(android::Res_value* out) const override;
173 void print(std::ostream* out) const override;
188 void print(std::ostream* out) const override;
203 void print(std::ostream* out) const override;
221 void print(std::ostream* out) const override;
240 void print(std::ostream* out) const override;
255 void print(std::ostream* out) const override;
272 void printMask(std::ostream* out) cons
331 operator <<(::std::ostream& out, const Value& value) argument
336 operator <<(::std::ostream& out, const Attribute::Symbol& s) argument
[all...]
H A DSource.h53 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) { argument
54 out << source.path;
56 out << ":" << source.line.value();
58 return out;
H A DStringPool.cpp297 bool StringPool::flatten(BigBuffer* out, const StringPool& pool, bool utf8) { argument
298 const size_t startIndex = out->size();
299 android::ResStringPool_header* header = out->nextBlock<android::ResStringPool_header>();
307 uint32_t* indices = pool.size() != 0 ? out->nextBlock<uint32_t>(pool.size()) : nullptr;
312 styleIndices = out->nextBlock<uint32_t>(header->styleCount);
315 const size_t beforeStringsIndex = out->size();
319 *indices = out->size() - beforeStringsIndex;
329 char* data = out->nextBlock<char>(totalSize);
341 char16_t* data = out->nextBlock<char16_t>(totalSize);
356 out
399 flattenUtf8(BigBuffer* out, const StringPool& pool) argument
403 flattenUtf16(BigBuffer* out, const StringPool& pool) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp257 png_bytep out = outRows[j]; local
311 *out++ = idx;
392 png_bytep out = outRows[j]; local
400 *out++ = rr;
402 *out++ = (png_byte) (rr * 0.2126f + gg * 0.7152f + bb * 0.0722f);
405 *out++ = aa;
1090 // Figure out the number of rows and columns in the N-patch
H A DPseudolocalizer.cpp83 std::u16string out; local
120 out.append(chunk);
123 out.append(mImpl->end());
125 out.append(mImpl->start());
131 return out;
/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor.cpp75 void AnnotationProcessor::writeToStream(std::ostream* out, const StringPiece& prefix) const { argument
79 *out << prefix << line << "\n";
81 *out << prefix << " */" << "\n";
85 *out << prefix << "@Deprecated\n";
89 *out << prefix << "@android.annotation.SystemApi\n";
H A DClassDefinition.cpp34 std::ostream* out) const {
39 ClassMember::writeToStream(prefix, final, out);
41 *out << prefix << "public ";
43 *out << "static ";
45 *out << "final class " << mName << " {\n";
51 member->writeToStream(newPrefix, final, out);
52 *out << "\n";
55 *out << prefix << "}";
69 std::ostream* out) {
70 *out << sWarningHeade
66 writeJavaFile(const ClassDefinition* def, const StringPiece& package, bool final, std::ostream* out) argument
[all...]
H A DJavaClassGenerator.cpp244 // Look up the symbol so that we can write out in the comments what are possible
473 // We list out the available values for the given attribute.
484 bool JavaClassGenerator::generate(const StringPiece16& packageNameToGenerate, std::ostream* out) { argument
485 return generate(packageNameToGenerate, packageNameToGenerate, out);
498 const StringPiece16& outPackageName, std::ostream* out) {
549 mOptions.useFinal, out)) {
553 out->flush();
497 generate(const StringPiece16& packageNameToGenerate, const StringPiece16& outPackageName, std::ostream* out) argument
H A DJavaClassGenerator_test.cpp38 std::stringstream out; local
39 EXPECT_FALSE(generator.generate(u"android", &out));
60 std::stringstream out; local
61 EXPECT_TRUE(generator.generate(u"android", &out));
63 std::string output = out.str();
87 std::stringstream out; local
88 ASSERT_TRUE(generator.generate(u"android", u"com.android.internal", &out));
90 std::string output = out.str();
109 std::stringstream out; local
110 ASSERT_TRUE(generator.generate(u"android", &out));
137 std::stringstream out; local
148 std::stringstream out; local
159 std::stringstream out; local
220 std::stringstream out; local
241 std::stringstream out; local
282 std::stringstream out; local
309 std::stringstream out; local
[all...]
H A DManifestClassGenerator_test.cpp33 std::stringstream out; local
34 if (!manifestClass->writeJavaFile(manifestClass.get(), "android", true, &out)) {
38 *outStr = out.str();
H A DProguardRules.cpp45 // This is a custom view, let's figure out the class name from this.
227 bool writeKeepSet(std::ostream* out, const KeepSet& keepSet) { argument
230 *out << "# Referenced at " << source << "\n";
232 *out << "-keep class " << entry.first << " { <init>(...); }\n" << std::endl;
237 *out << "# Referenced at " << source << "\n";
239 *out << "-keepclassmembers class * { *** " << entry.first << "(...); }\n" << std::endl;
/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer.cpp290 CompiledFileOutputStream::CompiledFileOutputStream(google::protobuf::io::ZeroCopyOutputStream* out, argument
292 mOut(out), mPbFile(pbFile) {
/frameworks/base/tools/aapt2/util/
H A DStringPiece.h195 inline ::std::ostream& operator<<(::std::ostream& out, const BasicStringPiece<char16_t>& str) { argument
197 return out.write(utf8.string(), utf8.size());
249 inline ::std::ostream& operator<<(::std::ostream& out, const BasicStringPiece<char>& str) { argument
250 return out.write(str.data(), str.size());
255 inline ::std::ostream& operator<<(::std::ostream& out, const std::u16string& str) { argument
257 return out.write(utf8.string(), utf8.size());
H A DUtil.cpp449 bool writeAll(std::ostream& out, const BigBuffer& buffer) { argument
451 if (!out.write(reinterpret_cast<const char*>(b.buffer.get()), b.size)) {
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.h194 inline ::std::ostream& operator<<(::std::ostream& out, XmlPullParser::Event event) { argument
196 case XmlPullParser::Event::kBadDocument: return out << "BadDocument";
197 case XmlPullParser::Event::kStartDocument: return out << "StartDocument";
198 case XmlPullParser::Event::kEndDocument: return out << "EndDocument";
199 case XmlPullParser::Event::kStartNamespace: return out << "StartNamespace";
200 case XmlPullParser::Event::kEndNamespace: return out << "EndNamespace";
201 case XmlPullParser::Event::kStartElement: return out << "StartElement";
202 case XmlPullParser::Event::kEndElement: return out << "EndElement";
203 case XmlPullParser::Event::kText: return out << "Text";
204 case XmlPullParser::Event::kComment: return out << "Commen
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DDelegateManager.java137 System.out.println(
155 System.out.println("Removing main Java ref on " + mClass.getSimpleName() +
163 public synchronized static void dump(PrintStream out) { argument
166 out.printf("[%d] %s\n", sDelegates.keyAt(idx), reference.getClass().getSimpleName());

Completed in 5589 milliseconds

1234567891011>>