/frameworks/layoutlib/bridge/src/android/graphics/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.graphics.text.Primitive.PrimitiveType; 27 import static android.graphics.text.Primitive.PrimitiveType.PENALTY_INFINITY; 38 public OptimizingLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in OptimizingLineBreaker() 50 Primitive p = mPrimitives.get(0); in computeBreaks() 67 Primitive p = mPrimitives.get(i); in computeBreaks() 148 Primitive p = mPrimitives.get(i); in computeMetrics() 178 Primitive p = mPrimitives.get(i); in desperateBreak()
|
D | LineBreaker_Delegate.java | 28 import android.graphics.text.Primitive.PrimitiveType; 121 List<Primitive> primitives = in nComputeLineBreaks() 196 private static List<Primitive> computePrimitives(@NonNull char[] text, @NonNull float[] widths, in computePrimitives() 200 List<Primitive> primitives = new ArrayList<Primitive>(((int) Math.ceil(length * 1.833))); in computePrimitives() 213 Primitive p; in computePrimitives()
|
D | GreedyLineBreaker.java | 20 import android.graphics.text.Primitive.PrimitiveType; 24 import static android.graphics.text.Primitive.PrimitiveType.PENALTY_INFINITY; 30 public GreedyLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in GreedyLineBreaker() 53 Primitive p = mPrimitives.get(i); in computeBreaks()
|
D | BaseLineBreaker.java | 31 protected final @NonNull List<Primitive> mPrimitives; 37 public BaseLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in BaseLineBreaker()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 49 public enum Primitive { enum in Mesh 87 Primitive(int id) { in Primitive() method in Mesh.Primitive 94 Primitive[] mPrimitives; 151 public Primitive getPrimitive(int slot) { in getPrimitive() 170 mPrimitives = new Primitive[idxCount]; in updateFromNative() 184 mPrimitives[i] = Primitive.values()[primitives[i]]; in updateFromNative() 203 Primitive prim; 296 public Builder addIndexSetType(Type t, Primitive p) { in addIndexSetType() 314 public Builder addIndexSetType(Primitive p) { in addIndexSetType() 334 public Builder addIndexSetType(Element e, int size, Primitive p) { in addIndexSetType() [all …]
|
/frameworks/av/media/codec2/core/include/ |
D | C2Param.h | 823 union Primitive { union 834 Primitive(uint64_t value) : u64(value) { } in Primitive() function 835 Primitive(int64_t value) : i64(value) { } in Primitive() function 836 Primitive(c2_cntr64_t value) : c64(value) { } in Primitive() function 837 Primitive(uint32_t value) : u32(value) { } in Primitive() function 838 Primitive(int32_t value) : i32(value) { } in Primitive() function 839 Primitive(c2_cntr32_t value) : c32(value) { } in Primitive() function 840 Primitive(uint8_t value) : u32(value) { } in Primitive() function 841 Primitive(char value) : i32(value) { } in Primitive() function 842 Primitive(float value) : fp(value) { } in Primitive() function [all …]
|
D | C2Enum.h | 46 inline operator C2Value::Primitive() { return (T)_mValue; } in Primitive() function 109 std::vector<C2Value::Primitive> { _C2_MAP(_C2_GET_ENUM_VALUE, type, __VA_ARGS__) }, \
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | Mesh.h | 31 enum Primitive { enum 91 Primitive getPrimitive() const; 133 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, 154 Primitive mPrimitive; 161 Builder& setPrimitive(Primitive primitive) { in setPrimitive() 200 Primitive mPrimitive;
|
/frameworks/av/media/codec2/tests/ |
D | C2SampleComponent_test.cpp | 223 int32_t get(const C2FieldSupportedValues::Primitive &p, int32_t*) { in get() 226 int64_t get(const C2FieldSupportedValues::Primitive &p, int64_t*) { in get() 229 uint32_t get(const C2FieldSupportedValues::Primitive &p, uint32_t*) { in get() 232 uint64_t get(const C2FieldSupportedValues::Primitive &p, uint64_t*) { in get() 235 float get(const C2FieldSupportedValues::Primitive &p, float*) { in get() 242 typename std::underlying_type<E>::type get(const C2FieldSupportedValues::Primitive &p, E*) { in get() 260 const C2FieldSupportedValues::Primitive &p, E*) { in get() 283 for (const C2FieldSupportedValues::Primitive &p : sv.values) { in dumpFSV()
|
D | C2ComponentInterface_test.cpp | 351 auto prim2Value = [](const C2Value::Primitive &prim) -> TField { in getTestValues() 444 for (const C2Value::Primitive &prim : c2FSV.values) { in getTestValues()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 834 const pb::Primitive& pb_prim = pb_item.prim(); in DeserializeItemFromPb() 837 case pb::Primitive::kNullValue: { in DeserializeItemFromPb() 841 case pb::Primitive::kEmptyValue: { in DeserializeItemFromPb() 845 case pb::Primitive::kFloatValue: { in DeserializeItemFromPb() 850 case pb::Primitive::kDimensionValue: { in DeserializeItemFromPb() 854 case pb::Primitive::kFractionValue: { in DeserializeItemFromPb() 858 case pb::Primitive::kIntDecimalValue: { in DeserializeItemFromPb() 862 case pb::Primitive::kIntHexadecimalValue: { in DeserializeItemFromPb() 866 case pb::Primitive::kBooleanValue: { in DeserializeItemFromPb() 870 case pb::Primitive::kColorArgb8Value: { in DeserializeItemFromPb() [all …]
|
D | ProtoSerialize.cpp | 517 pb::Primitive* pb_prim = out_value_->mutable_item()->mutable_prim(); in Visit()
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 35 inline static std::ostream& put(std::ostream &os, const C2Value::Primitive &p) { in put() 43 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p); 49 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p); 352 return C2SupportedFlags(std::initializer_list<C2Value::Primitive>()); 438 C2SupportedFlags(std::vector<C2Value::Primitive> &&values) 466 std::vector<C2Value::Primitive> _mValues; ///< the minimum flag set followed by the set of flags 577 C2SupportedValueSet(std::vector<C2Value::Primitive> &&values) 603 std::vector<C2Value::Primitive> _mValues; ///< the supported set of values
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 170 std::vector<C2Value::Primitive> values; in limitedTo() 188 for (const C2Value::Primitive &v : _mValues) { in contains() 204 [](const C2Value::Primitive &p)->T { in flags() 213 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() 221 const C2Value::Primitive &v) -> bool { in limitedTo() 228 for (const C2Value::Primitive &v : _mValues) { in limitedTo() 264 [value](const C2Value::Primitive &p) -> bool { in contains() 271 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() 273 [&limit](const C2Value::Primitive &v) -> bool { in limitedTo() 282 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() [all …]
|
D | C2Debug.cpp | 145 std::ostream& _C2FieldValueHelper<char>::put(std::ostream &os, const C2Value::Primitive &p) { in put() 153 std::ostream& _C2FieldValueHelper<uint8_t>::put(std::ostream &os, const C2Value::Primitive &p) { in put()
|
/frameworks/native/libs/renderengine/ |
D | Mesh.cpp | 24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, in Mesh() 66 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 999 public @interface Primitive {} annotation in VibrationEffect.Composition 1059 public Composition addPrimitive(@Primitive int primitiveId) { in addPrimitive() 1075 public Composition addPrimitive(@Primitive int primitiveId, in addPrimitive() 1091 public Composition addPrimitive(@Primitive int primitiveId, in addPrimitive() 1132 public static String primitiveToString(@Primitive int id) { in primitiveToString()
|
D | Vibrator.java | 423 @NonNull @VibrationEffect.Composition.Primitive int... primitiveIds) { in arePrimitivesSupported() 434 @NonNull @VibrationEffect.Composition.Primitive int... primitiveIds) { in areAllPrimitivesSupported()
|
D | SystemVibrator.java | 253 @NonNull @VibrationEffect.Composition.Primitive int... primitiveIds) { in arePrimitivesSupported()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 123 for (C2Value::Primitive profile : profileQuery[0].values.values) { in addSupportedProfileLevels() 139 C2Value::Primitive level = levelQuery[0].values.values.back(); in addSupportedProfileLevels() 170 for (C2Value::Primitive v : levelQuery[0].values.values) { in addSupportedProfileLevels()
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 116 smb.addIndexSetType(Mesh.Primitive.POINT); in init()
|
/frameworks/base/tools/aapt2/ |
D | Resources.proto | 256 Primitive prim = 7; 360 message Primitive { message
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 168 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForIonAllocator()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | types.cpp | 632 C2Value::Primitive(static_cast<uint64_t>(sNamedValue.value))); in objcpy()
|