Home
last modified time | relevance | path

Searched refs:primitive (Results 1 – 23 of 23) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelMethod.java150 public static int getImplicitConversionLevel(ModelClass primitive) { in getImplicitConversionLevel() argument
151 if (primitive == null) { in getImplicitConversionLevel()
153 } else if (primitive.isByte()) { in getImplicitConversionLevel()
155 } else if (primitive.isChar()) { in getImplicitConversionLevel()
157 } else if (primitive.isShort()) { in getImplicitConversionLevel()
159 } else if (primitive.isInt()) { in getImplicitConversionLevel()
161 } else if (primitive.isLong()) { in getImplicitConversionLevel()
163 } else if (primitive.isFloat()) { in getImplicitConversionLevel()
165 } else if (primitive.isDouble()) { in getImplicitConversionLevel()
/frameworks/native/services/surfaceflinger/RenderEngine/
DMesh.cpp23 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize) in Mesh() argument
25 mPrimitive(primitive) in Mesh()
DMesh.h32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationAnalyzer.java95 AnnotationClass primitive = loadPrimitive(className); in findClass() local
96 if (primitive != null) { in findClass()
97 return addDimension(primitive.mTypeMirror, numDimensions); in findClass()
/frameworks/rs/scriptc/
Drs_graphics.rsh157 RS_PRIMITIVE_INVALID = 100 // Invalid primitive
764 …* primitiveIndex: for meshes that contain multiple primitive groups this parameter specifies the…
1064 * allocation if only the primitive is specified
1084 * rsgMeshGetPrimitive: Return the primitive
1088 * Returns the primitive describing how a part of the mesh is
1093 * index: index of the primitive
1095 * Returns: primitive describing how the mesh is rendered
1119 …* Returns: number of primitive groups in the mesh. This would include simple primitives as well as…
Drs_allocation_data.rsh1084 * For primitive types, always use the latter as it is more efficient.
2690 * rsSetElementAt_int4(). For primitive types, always use the latter as it is
/frameworks/rs/api/
Drs_graphics.spec720 allocation if only the primitive is specified
731 summary: Return the primitive
733 Returns the primitive describing how a part of the mesh is
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd232 <li>Draw primitive shapes using {@link android.graphics.Canvas#drawRect drawRect()}, {@link
243 Just as with primitive shapes, paths can be outlined, filled, or both, depending on the
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd11 <li>Use Shared Preferences for primitive data</li>
44 <dd>Store private primitive data in key-value pairs.</dd>
70 to save and retrieve persistent key-value pairs of primitive data types. You can use {@link
71 android.content.SharedPreferences} to save any primitive data: booleans, floats, ints, longs, and
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd79 <li>Conversion routines for primitive data types and vectors, matrix routines, and date and time
485 primitive types. You can see how to do this in the
587 …{@link android.renderscript.Allocation} manually, which is required for things such as primitive t…
591 <p>The example below allocates memory for both a primitive type pointer,
Dcompute.jd571 value. This is a useful primitive in parallel programming, with applications such as the
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_graphics.jd340 <b>Deprecated</b>. Return the primitive
644 <tr><th>RS_PRIMITIVE_INVALID = 100</th><td>Invalid primitive</td></tr>
1154 …<tr><th>primitiveIndex</th><td>for meshes that contain multiple primitive groups this parameter sp…
1491 allocation if only the primitive is specified
1500 <span class='normal'>: Return the primitive</span>
1515 <tr><th>index</th><td>index of the primitive</td></tr>
1520 <tr><td>primitive describing how the mesh is rendered</td></tr>
1525 <p> Returns the primitive describing how a part of the mesh is
1554 …<tr><td>number of primitive groups in the mesh. This would include simple primitives as well as al…
Dindex.jd2841 <b>Deprecated</b>. Return the primitive
Drs_allocation_data.jd2085 For primitive types, always use the latter as it is more efficient.
3060 rsSetElementAt_int4(). For primitive types, always use the latter as it is
/frameworks/base/docs/html/training/articles/
Dperf-tips.jd90 objects. The same goes for any combination of primitive types.</li>
149 <p class="note"><strong>Note:</strong> This optimization applies only to primitive types and
Dsmp.jd56 … <li style="margin:0"><a href="#sync_guarantees">Synchronization primitive guarantees</a></li>
791 unsynchronized updates to packed structures or arrays of primitive types.</p>
837 going to consider a basic mutual-exclusion primitive called a <em>spin
844 <p>To make this work we use an atomic RMW primitive called
881 and then fall back on an OS primitive (such as a Linux futex) that allows the
1080 <p>In most cases you’d be better off with a synchronization primitive (like a
1262 most primitive types are atomic, <code>long</code> and <code>double</code>
1511 <h4 id="sync_guarantees">Synchronization primitive guarantees</h4>
Dperf-jni.jd228 are C-style pointers to primitive data rather than local references. They
Dmemory.jd371 "Automatic conversion from primitive types to object classes (such as int to Integer)"
/frameworks/base/docs/html/guide/components/
Daidl.jd126 <li>All primitive types in the Java programming language (such as {@code int}, {@code long},
155 <li>All non-primitive parameters require a directional tag indicating which way the data goes.
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd337 primitive shapes and style them in any way imaginable.</p>
411 <p>You can also define primitive drawable shapes using XML. For more information, see the
/frameworks/base/docs/html/topic/performance/
Dthreads.jd312 is a simple, useful primitive for apps that need to quickly move work from the
/frameworks/base/docs/html/topic/libraries/data-binding/
Dindex.jd1205 field. The primitive versions avoid boxing and unboxing during access operations.
/frameworks/native/vulkan/api/
Dvulkan.api2316 …maxTessellationGenerationLevel /// max level supported by tess primitive generator