/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | Primitive.java | 23 public class Primitive { class 36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { in Primitive() method in Primitive 69 public Primitive getNewPrimitive(int location) { in getNewPrimitive() 71 return new Primitive(this, location, 0f, 0f); in getNewPrimitive() 74 public Primitive getNewPrimitive(int location, float value) { in getNewPrimitive() 77 return new Primitive(this, location, value, 0f); in getNewPrimitive() 79 return new Primitive(this, location, 0f, value); in getNewPrimitive() 83 public Primitive getNewPrimitive(int location, float width, float penalty) { in getNewPrimitive() 85 return new Primitive(this, location, width, penalty); in getNewPrimitive()
|
D | OptimizingLineBreaker.java | 20 import android.text.Primitive.PrimitiveType; 27 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY; 38 public OptimizingLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in OptimizingLineBreaker() 49 Primitive p = mPrimitives.get(0); in computeBreaks() 64 Primitive p = mPrimitives.get(i); in computeBreaks() 159 Primitive p = mPrimitives.get(i); in computeMetrics() 189 Primitive p = mPrimitives.get(i); in desperateBreak()
|
D | StaticLayout_Delegate.java | 13 import android.text.Primitive.PrimitiveType; 152 List<Primitive> primitives = in nComputeLineBreaks() 180 private static List<Primitive> computePrimitives(@NonNull char[] text, @NonNull float[] widths, in computePrimitives() 184 List<Primitive> primitives = new ArrayList<Primitive>(((int) Math.ceil(length * 1.833))); in computePrimitives() 197 Primitive p; in computePrimitives()
|
D | LineBreaker.java | 31 protected final @NonNull List<Primitive> mPrimitives; 35 public LineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in LineBreaker()
|
D | GreedyLineBreaker.java | 20 import android.text.Primitive.PrimitiveType; 26 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY; 32 public GreedyLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in GreedyLineBreaker() 55 Primitive p = mPrimitives.get(i); in computeBreaks()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 47 public enum Primitive { enum in Mesh 83 Primitive(int id) { in Primitive() method in Mesh.Primitive 90 Primitive[] mPrimitives; 146 public Primitive getPrimitive(int slot) { in getPrimitive() 165 mPrimitives = new Primitive[idxCount]; in updateFromNative() 179 mPrimitives[i] = Primitive.values()[primitives[i]]; in updateFromNative() 198 Primitive prim; 291 public Builder addIndexSetType(Type t, Primitive p) { in addIndexSetType() 309 public Builder addIndexSetType(Primitive p) { in addIndexSetType() 329 public Builder addIndexSetType(Element e, int size, Primitive p) { in addIndexSetType() [all …]
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Mesh.h | 26 enum Primitive { enum 32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0); 59 Primitive getPrimitive() const; 94 Primitive mPrimitive;
|
D | Mesh.cpp | 23 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize) in Mesh() 59 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive()
|
/frameworks/av/media/libstagefright/codec2/include/ |
D | C2Param.h | 610 union Primitive { union 618 Primitive(int32_t value) : i32(value) { } in Primitive() function 619 Primitive(uint32_t value) : u32(value) { } in Primitive() function 620 Primitive(int64_t value) : i64(value) { } in Primitive() function 621 Primitive(uint64_t value) : u64(value) { } in Primitive() function 622 Primitive(float value) : fp(value) { } in Primitive() function 624 Primitive() : u64(0) { } in Primitive() function 661 Primitive mValue; 664 template<> const int32_t &C2Value::Primitive::ref<int32_t>() const { return i32; } 665 template<> const int64_t &C2Value::Primitive::ref<int64_t>() const { return i64; } [all …]
|
/frameworks/base/tools/aapt2/ |
D | Format.proto | 119 message Primitive { message 193 optional Primitive prim = 6;
|
/frameworks/av/media/libstagefright/codec2/vndk/include/util/ |
D | C2ParamUtils.h | 47 inline operator C2Value::Primitive() { return (T)_mValue; } in Primitive() function 65 std::vector<C2Value::Primitive> { _C2_MAP(_C2_GET_ENUM_VALUE, type, __VA_ARGS__) }, \
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 116 smb.addIndexSetType(Mesh.Primitive.POINT); in init()
|
/frameworks/av/media/libstagefright/codec2/tests/ |
D | C2Param_test.cpp | 2341 int32_t get(const C2FieldSupportedValues::Primitive &p, int32_t*) { in get() 2344 int64_t get(const C2FieldSupportedValues::Primitive &p, int64_t*) { in get() 2347 uint32_t get(const C2FieldSupportedValues::Primitive &p, uint32_t*) { in get() 2350 uint64_t get(const C2FieldSupportedValues::Primitive &p, uint64_t*) { in get() 2353 float get(const C2FieldSupportedValues::Primitive &p, float*) { in get() 2360 typename std::underlying_type<E>::type get(const C2FieldSupportedValues::Primitive &p, E*) { in get() 2378 const C2FieldSupportedValues::Primitive &p, E*) { in get() 2401 for (const C2FieldSupportedValues::Primitive &p : sv.values) { in dumpFSV()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 85 pb::Primitive* pb_prim = pb_item()->mutable_prim(); in Visit()
|
D | TableProtoDeserializer.cpp | 175 const pb::Primitive& pb_prim = pb_item.prim(); in DeserializeItemFromPb()
|
/frameworks/native/opengl/libagl/ |
D | array.cpp | 530 #pragma mark Primitive Assembly
|