Searched defs:Primitive (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DPrimitive.java21 // Based on the native implementation of Primitive in
23 public class Primitive { class
36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { method in class:Primitive
69 public Primitive getNewPrimitive(int location) {
71 return new Primitive(this, location, 0f, 0f);
74 public Primitive getNewPrimitive(int location, float value) {
77 return new Primitive(this, location, value, 0f);
79 return new Primitive(this, location, 0f, value);
83 public Primitive getNewPrimitive(int location, float width, float penalty) {
85 return new Primitive(thi
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DMesh.h26 enum Primitive { enum in class:android::Mesh
32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
59 Primitive getPrimitive() const;
94 Primitive mPrimitive;
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java47 public enum Primitive { enum in class:Mesh
83 Primitive(int id) { method in class:Mesh.Primitive
90 Primitive[] mPrimitives;
146 public Primitive getPrimitive(int slot) {
165 mPrimitives = new Primitive[idxCount];
179 mPrimitives[i] = Primitive.values()[primitives[i]];
198 Primitive prim;
291 public Builder addIndexSetType(Type t, Primitive p) {
309 public Builder addIndexSetType(Primitive p) {
329 public Builder addIndexSetType(Element e, int size, Primitive
[all...]

Completed in 114 milliseconds