Searched defs:constant (Results 1 - 9 of 9) sorted by relevance

/frameworks/rs/
H A DrsProgram.cpp59 uint32_t constant = 0; local
67 mConstantTypes[constant].set(reinterpret_cast<Type *>(params[ct+1]));
68 mHal.state.constantTypes[constant++] = reinterpret_cast<Type *>(params[ct+1]);
/frameworks/base/tools/stats_log_api_gen/
H A Dmain.cpp133 string constant = make_constant_name(atom->name); local
134 fprintf(out, " %s,\n", constant.c_str());
147 string constant = make_constant_name(atom->name); local
148 fprintf(out, " %s,\n", constant.c_str());
564 string constant = make_constant_name(atom->name); local
568 write_cpp_usage(out, "stats_write", constant, *atom, attributionDecl);
572 write_cpp_usage(out, "stats_write_non_chained", constant, *non_chained_decl->second,
577 fprintf(out, " %s = %d%s\n", constant.c_str(), atom->code, comma);
692 string constant = make_constant_name(atom->name); local
696 write_java_usage(out, "write", constant, *ato
[all...]
/frameworks/data-binding/compiler/src/test/java/android/databinding/
H A DBindingExpressionParserTest.java345 private void compareIntLiteral(String constant) throws Exception { argument
346 LiteralContext literal = parseLiteral(constant);
348 assertEquals(constant, token);
351 private void compareFloatLiteral(String constant) throws Exception { argument
352 LiteralContext literal = parseLiteral(constant);
354 assertEquals(constant, token);
357 private void compareBoolLiteral(String constant) throws Exception { argument
358 LiteralContext literal = parseLiteral(constant);
360 assertEquals(constant, token);
/frameworks/rs/script_api/
H A DGenerateHeaderFiles.cpp113 static void writeConstantComment(GeneratedFile* file, const Constant& constant) { argument
114 const string name = constant.getName();
115 writeComment(file, name, constant.getSummary(), constant.getDescription(),
116 constant.deprecated(), true);
120 const Constant* constant = spec.getConstant(); local
122 writeVersionGuardStart(file, info, constant->getFinalVersion());
123 *file << "static const " << spec.getType() << " " << constant->getName()
349 Constant* constant = spec->getConstant(); local
350 if (documentedConstants.find(constant)
[all...]
H A DGenerateDocumentation.cpp486 static bool writeDetailedConstant(GeneratedFile* file, Constant* constant) { argument
487 if (constant->hidden()) {
490 const string& name = constant->getName();
496 *file << " <span class='normal'>: " << constant->getSummary() << "</span>\n";
501 auto specifications = constant->getSpecifications();
514 writeDeprecatedWarning(file, constant);
515 if (!generateHtmlParagraphs(file, constant->getDescription())) {
649 // Write the full details of each constant, type, and function.
H A DSpecification.cpp376 Constant* constant = systemSpecification.findOrCreateConstant(name, &created); local
377 ConstantSpecification* spec = new ConstantSpecification(constant);
378 constant->addSpecification(spec);
379 constant->updateFinalVersion(info);
389 constant->scanDocumentationTags(scanner, created, specFile);
782 Constant* constant = spec->getConstant(); local
783 mDocumentedConstants.insert(pair<string, Constant*>(constant->getName(), constant));
844 } else if (tag == "constant:") {
847 scanner.error() << "Expected function:, type:, or constant
[all...]
H A DSpecification.h185 /* Represents a constant, like M_PI. This is a grouping of the version specific specifications.
261 /* Defines one of the many variations of a constant. There's a one to one correspondence between
271 ConstantSpecification(Constant* constant) : mConstant(constant) {} argument
277 // Parse a constant specification and add it to specFile.
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java659 * Returns a shallow copy of the container's constant state to be used as
662 * @return a shallow copy of the constant state
802 // Create futures for drawables with constant states. If a
803 // drawable doesn't have a constant state, then we can't clone
1075 public final void setConstantSize(boolean constant) { argument
1076 mConstantSize = constant;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 141 milliseconds