/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 203 Primitive prim; field in Mesh.Builder.Entry 301 indexType.prim = p; in addIndexSetType() 319 indexType.prim = p; in addIndexSetType() 339 indexType.prim = p; in addIndexSetType() 359 int[] prim = new int[mIndexTypes.size()]; in create() local 393 primitives[ct] = entry.prim; in create() 396 prim[ct] = entry.prim.mID; in create() 399 long id = mRS.nMeshCreate(vtx, idx, prim); in create() 421 Primitive prim; field in Mesh.AllocationBuilder.Entry 493 indexType.prim = p; in addIndexSetAllocation() [all …]
|
D | RenderScript.java | 942 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); in rsnMeshCreate() argument 943 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { in nMeshCreate() argument 945 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
|
/frameworks/rs/ |
D | rsMesh.h | 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { in setPrimitive() argument 75 mHal.state.primitives[index] = prim; in setPrimitive()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 134 BinaryPrimitive* prim = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST() local 136 ASSERT_THAT(prim, NotNull()); in TEST() 137 EXPECT_THAT(prim->value.data, Eq(123u)); in TEST() 138 EXPECT_THAT(prim->value.dataType, Eq(0x10)); in TEST() 140 prim = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST() 142 ASSERT_THAT(prim, NotNull()); in TEST() 143 EXPECT_THAT(prim->value.data, Eq(321u)); in TEST() 144 EXPECT_THAT(prim->value.dataType, Eq(0x11)); in TEST() 249 const BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(actual_attr.compiled_value.get()); in TEST() local 250 ASSERT_THAT(prim, NotNull()); in TEST() [all …]
|
D | ProtoSerialize.cpp | 513 void Visit(const BinaryPrimitive* prim) override { in Visit() argument 515 prim->Flatten(&val); in Visit()
|
D | ProtoDeserialize.cpp | 834 const pb::Primitive& pb_prim = pb_item.prim(); in DeserializeItemFromPb()
|
/frameworks/av/media/codec2/tests/ |
D | C2ComponentInterface_test.cpp | 351 auto prim2Value = [](const C2Value::Primitive &prim) -> TField { in getTestValues() argument 352 return (TField)prim.ref<TStorage>(); in getTestValues() 444 for (const C2Value::Primitive &prim : c2FSV.values) { in getTestValues() local 445 validValues->emplace_back(prim2Value(prim)); in getTestValues()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 786 if (BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(attr->compiled_value.get())) { in ExtractCompileSdkVersions() local 787 switch (prim->value.dataType) { in ExtractCompileSdkVersions() 789 … compile_sdk_version = StringPrintf("%" PRId32, static_cast<int32_t>(prim->value.data)); in ExtractCompileSdkVersions() 792 compile_sdk_version = StringPrintf("%" PRIx32, prim->value.data); in ExtractCompileSdkVersions()
|
/frameworks/base/tools/aapt2/ |
D | Resources.proto | 256 Primitive prim = 7; field
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 2756 const jint prim = (jint)prims[i]; in nMeshGetIndices() local 2758 _env->SetIntArrayRegion(_primitives, i, 1, &prim); in nMeshGetIndices()
|