Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/rs/api/
DGenerateHeaderFiles.cpp113 static void writeConstantComment(GeneratedFile* file, const Constant& constant) { in writeConstantComment() argument
114 const string name = constant.getName(); in writeConstantComment()
115 writeComment(file, name, constant.getSummary(), constant.getDescription(), in writeConstantComment()
116 constant.deprecated(), true); in writeConstantComment()
120 const Constant* constant = spec.getConstant(); in writeConstantSpecification() local
122 writeVersionGuardStart(file, info, constant->getFinalVersion()); in writeConstantSpecification()
123 *file << "#define " << constant->getName() << " " << spec.getValue() << "\n\n"; in writeConstantSpecification()
348 Constant* constant = spec->getConstant(); in writeHeaderFile() local
349 if (documentedConstants.find(constant) == documentedConstants.end()) { in writeHeaderFile()
350 documentedConstants.insert(constant); in writeHeaderFile()
[all …]
DGenerateDocumentation.cpp480 static bool writeDetailedConstant(GeneratedFile* file, Constant* constant) { in writeDetailedConstant() argument
481 if (constant->hidden()) { in writeDetailedConstant()
484 const string& name = constant->getName(); in writeDetailedConstant()
490 *file << " <span class='normal'>: " << constant->getSummary() << "</span>\n"; in writeDetailedConstant()
495 auto specifications = constant->getSpecifications(); in writeDetailedConstant()
508 writeDeprecatedWarning(file, constant); in writeDetailedConstant()
509 if (!generateHtmlParagraphs(file, constant->getDescription())) { in writeDetailedConstant()
DSpecification.cpp375 Constant* constant = systemSpecification.findOrCreateConstant(name, &created); in scanConstantSpecification() local
376 ConstantSpecification* spec = new ConstantSpecification(constant); in scanConstantSpecification()
377 constant->addSpecification(spec); in scanConstantSpecification()
378 constant->updateFinalVersion(info); in scanConstantSpecification()
385 constant->scanDocumentationTags(scanner, created, specFile); in scanConstantSpecification()
778 Constant* constant = spec->getConstant(); in addConstantSpecification() local
779 mDocumentedConstants.insert(pair<string, Constant*>(constant->getName(), constant)); in addConstantSpecification()
Drs_math.spec52 constant: M_1_PI
59 constant: M_2_PI
66 constant: M_2_PIl
75 constant: M_2_SQRTPI
82 constant: M_E
89 constant: M_LN10
96 constant: M_LN2
103 constant: M_LOG10E
110 constant: M_LOG2E
117 constant: M_PI
[all …]
Drs_graphics.spec259 summary: Bind a constant allocation
262 The Allocation must be a valid constant input for the Program.
788 summary: Set the constant color for a fixed function emulation program
790 Set the constant color for a fixed function emulation program.
DSpecification.h270 ConstantSpecification(Constant* constant) : mConstant(constant) {} in ConstantSpecification() argument
/frameworks/data-binding/compiler/src/test/java/android/databinding/
DBindingExpressionParserTest.java344 private void compareIntLiteral(String constant) throws Exception { in compareIntLiteral() argument
345 LiteralContext literal = parseLiteral(constant); in compareIntLiteral()
347 assertEquals(constant, token); in compareIntLiteral()
350 private void compareFloatLiteral(String constant) throws Exception { in compareFloatLiteral() argument
351 LiteralContext literal = parseLiteral(constant); in compareFloatLiteral()
353 assertEquals(constant, token); in compareFloatLiteral()
356 private void compareBoolLiteral(String constant) throws Exception { in compareBoolLiteral() argument
357 LiteralContext literal = parseLiteral(constant); in compareBoolLiteral()
359 assertEquals(constant, token); in compareBoolLiteral()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java110 final Constant constant = field.getAnnotation(annotationClass); in Constants() local
111 if (constant != null) { in Constants()
112 final int type = constant.type(); in Constants()
/frameworks/compile/slang/tests/P_constant/
Dstderr.txt.expect1 constant.rs:21:18: warning: 'extern' variable has an initializer
/frameworks/compile/slang/tests/F_extern_const/
Dstderr.txt.expect1 extern_const.rs:4:18: error: invalid declaration of uninitialized constant variable 'extern_const_i…
/frameworks/rs/
DrsProgram.cpp59 uint32_t constant = 0; in Program() local
67 mConstantTypes[constant].set(reinterpret_cast<Type *>(params[ct+1])); in Program()
68 mHal.state.constantTypes[constant++] = reinterpret_cast<Type *>(params[ct+1]); in Program()
/frameworks/compile/slang/tests/P_extern_const/
Drs_core.rsh6 // Declare an uninitialized external constant, which should be ok for our
/frameworks/compile/slang/tests/F_bad_version_pragma/
Dstderr.txt.expect4 bad_version_pragma.rs:4:18: error: invalid digit 'a' in decimal constant
/frameworks/base/docs/html/training/contacts-provider/
Dretrieve-details.jd129 Define a constant for your selection clause, an array to hold selection arguments, and a
194 // Defines a constant that identifies the loader
214 the {@link android.provider.ContactsContract.Data} table, use the constant
351 of the constant; otherwise, the provider interprets the constant as a variable name rather
353 using a constant rather than a user-supplied value. For example:
Dretrieve-names.jd317 Define a constant that contains the columns you want to return from your query. Each item in
365 For the text expression, define a constant that lists the search columns. Although this
580 value defined by a constant <code>CONTENT_ITEM_TYPE</code> in the subclass of
584 type for email data is defined by the constant
641 The custom MIME type value for the data type. As described previously, this is the constant
647 "<code>'</code>" (single quote) character to the start and end of the constant; otherwise,
649 You don't need to use a placeholder for this value, because you're using a constant
669 * the value of the constant
/frameworks/base/tools/orientationplot/
DREADME.txt72 should be a fairly constant 60ms. If the latency jumps around wildly or
77 degrees (refer to MAX_TILT constant). Consequently, you should expect there
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcontent-provider-basics.jd416 UserDictionary.Words._ID, // Contract class constant for the _ID column name
417 UserDictionary.Words.WORD, // Contract class constant for the word column name
418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name
607 UserDictionary.Words.WORD, // Contract class constant containing the word column name
608 UserDictionary.Words.LOCALE // Contract class constant containing the locale column name
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcontent-provider-basics.jd416 UserDictionary.Words._ID, // Contract class constant for the _ID column name
417 UserDictionary.Words.WORD, // Contract class constant for the word column name
418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name
607 UserDictionary.Words.WORD, // Contract class constant containing the word column name
608 UserDictionary.Words.LOCALE // Contract class constant containing the locale column name
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcontent-provider-basics.jd416 UserDictionary.Words._ID, // Contract class constant for the _ID column name
417 UserDictionary.Words.WORD, // Contract class constant for the word column name
418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name
607 UserDictionary.Words.WORD, // Contract class constant containing the word column name
608 UserDictionary.Words.LOCALE // Contract class constant containing the locale column name
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.in98 /* Define to necessary symbol if this constant uses a non-standard name on
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcontent-provider-basics.jd416 UserDictionary.Words._ID, // Contract class constant for the _ID column name
417 UserDictionary.Words.WORD, // Contract class constant for the word column name
418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name
607 UserDictionary.Words.WORD, // Contract class constant containing the word column name
608 UserDictionary.Words.LOCALE // Contract class constant containing the locale column name
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Dcontent-provider-basics.jd416 UserDictionary.Words._ID, // Contract class constant for the _ID column name
417 UserDictionary.Words.WORD, // Contract class constant for the word column name
418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name
607 UserDictionary.Words.WORD, // Contract class constant containing the word column name
608 UserDictionary.Words.LOCALE // Contract class constant containing the locale column name
/frameworks/base/docs/html/distribute/stories/games/
Dconcrete-bowling.jd63 increased overtime, while daily active users (DAU) remained constant. Among
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_motion.jd270 // where t is the low-pass filter's time-constant and
288 The code sample above uses a simple filter constant (alpha) to create a low-pass filter. This filter
289 constant is derived from a time constant (t), which is a rough representation of the latency that
365 // Create a constant to convert nanoseconds to seconds.
/frameworks/rs/scriptc/
Drs_graphics.rsh472 * rsgBindConstant: Bind a constant allocation
477 * The Allocation must be a valid constant input for the Program.
481 * slot: index of the constant buffer on the program
1182 * rsgProgramFragmentConstantColor: Set the constant color for a fixed function emulation program
1186 * Set the constant color for a fixed function emulation program.

1234