Home
last modified time | relevance | path

Searched refs:prim (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DMesh.java203 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 …]
DRenderScript.java942 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/
DrsMesh.h72 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/
DProtoSerialize_test.cpp134 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 …]
DProtoSerialize.cpp513 void Visit(const BinaryPrimitive* prim) override { in Visit() argument
515 prim->Flatten(&val); in Visit()
DProtoDeserialize.cpp834 const pb::Primitive& pb_prim = pb_item.prim(); in DeserializeItemFromPb()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp351 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/
DLink.cpp786 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/
DResources.proto256 Primitive prim = 7; field
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2756 const jint prim = (jint)prims[i]; in nMeshGetIndices() local
2758 _env->SetIntArrayRegion(_primitives, i, 1, &prim); in nMeshGetIndices()