Home
last modified time | relevance | path

Searched refs:prim (Results 1 – 11 of 11) 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.java953 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); in rsnMeshCreate() argument
954 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { in nMeshCreate() argument
956 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.cpp132 BinaryPrimitive* prim = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST() local
134 ASSERT_THAT(prim, NotNull()); in TEST()
135 EXPECT_THAT(prim->value.data, Eq(123u)); in TEST()
137 prim = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST()
139 ASSERT_THAT(prim, NotNull()); in TEST()
140 EXPECT_THAT(prim->value.data, Eq(321u)); in TEST()
245 const BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(actual_attr.compiled_value.get()); in TEST() local
246 ASSERT_THAT(prim, NotNull()); in TEST()
247 EXPECT_THAT(prim->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST()
DProtoSerialize.cpp492 void Visit(const BinaryPrimitive* prim) override { in Visit() argument
494 prim->Flatten(&val); in Visit()
DProtoDeserialize.cpp826 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.cpp778 if (BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(attr->compiled_value.get())) { in ExtractCompileSdkVersions() local
779 switch (prim->value.dataType) { in ExtractCompileSdkVersions()
781 … compile_sdk_version = StringPrintf("%" PRId32, static_cast<int32_t>(prim->value.data)); in ExtractCompileSdkVersions()
784 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.cpp2760 const jint prim = (jint)prims[i]; in nMeshGetIndices() local
2762 _env->SetIntArrayRegion(_primitives, i, 1, &prim); in nMeshGetIndices()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt59911 Landroid/renderscript/Mesh$AllocationBuilder$Entry;->prim:Landroid/renderscript/Mesh$Primitive;
59919 Landroid/renderscript/Mesh$Builder$Entry;->prim:Landroid/renderscript/Mesh$Primitive;