Home
last modified time | relevance | path

Searched refs:primitive (Results 1 – 25 of 25) 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.java87 AnnotationClass primitive = loadPrimitive(className); in findClass() local
88 if (primitive != null) { in findClass()
89 return addDimension(primitive.mTypeMirror, numDimensions); in findClass()
/frameworks/base/tools/aapt2/
DResourceValues.h328 virtual void visit(BinaryPrimitive& primitive, ValueVisitorArgs& args) { in visit()
329 visitItem(primitive, args); in visit()
369 virtual void visit(const BinaryPrimitive& primitive, ValueVisitorArgs& args) { in visit()
370 visitItem(primitive, args); in visit()
/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.rsh1076 * For primitive types, always use the latter as it is more efficient.
2682 * rsSetElementAt_int4(). For primitive types, always use the latter as it is
/frameworks/rs/api/
Drs_graphics.spec721 allocation if only the primitive is specified
732 summary: Return the primitive
734 Returns the primitive describing how a part of the mesh is
/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/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/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,
/frameworks/base/docs/html/tools/performance/hierarchy-viewer/
Dprofiling.jd129 information. Rasterization is the process of taking a high-level primitive, such as a
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_graphics.jd340 <b>Deprecated</b>. Return the primitive
652 <tr><th>RS_PRIMITIVE_INVALID = 100</th><td>Invalid primitive</td></tr>
1178 …<tr><th>primitiveIndex</th><td>for meshes that contain multiple primitive groups this parameter sp…
1515 allocation if only the primitive is specified
1524 <span class='normal'>: Return the primitive</span>
1539 <tr><th>index</th><td>index of the primitive</td></tr>
1544 <tr><td>primitive describing how the mesh is rendered</td></tr>
1549 <p> Returns the primitive describing how a part of the mesh is
1578 …<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/training/notepad/
Dnotepad-ex3.jd108 <code>Bundle.getLong()</code>. The latter encoding returns a <code>long</code> primitive and
/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/tools/debugging/
Ddebugging-memory.jd542 objects. Large objects are all primitive array allocations larger than 12KB.
/frameworks/base/docs/html/tools/data-binding/
Dguide.jd1077 field. The primitive versions avoid boxing and unboxing during access operations.
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...