Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DMesh.java205 Primitive prim; field in Mesh.Builder.Entry
303 indexType.prim = p; in addIndexSetType()
321 indexType.prim = p; in addIndexSetType()
341 indexType.prim = p; in addIndexSetType()
361 int[] prim = new int[mIndexTypes.size()]; in create() local
395 primitives[ct] = entry.prim; in create()
398 prim[ct] = entry.prim.mID; in create()
401 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
423 Primitive prim; field in Mesh.AllocationBuilder.Entry
495 indexType.prim = p; in addIndexSetAllocation()
[all …]
DRenderScript.java947 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); in rsnMeshCreate() argument
948 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { in nMeshCreate() argument
950 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.cpp205 BinaryPrimitive* prim = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST() local
207 ASSERT_THAT(prim, NotNull()); in TEST()
208 EXPECT_THAT(prim->value.data, Eq(123u)); in TEST()
209 EXPECT_THAT(prim->value.dataType, Eq(0x10)); in TEST()
211 prim = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST()
213 ASSERT_THAT(prim, NotNull()); in TEST()
214 EXPECT_THAT(prim->value.data, Eq(321u)); in TEST()
215 EXPECT_THAT(prim->value.dataType, Eq(0x11)); in TEST()
320 const BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(actual_attr.compiled_value.get()); in TEST() local
321 ASSERT_THAT(prim, NotNull()); in TEST()
[all …]
DProtoSerialize.cpp566 void Visit(const BinaryPrimitive* prim) override { in Visit() argument
568 prim->Flatten(&val); in Visit()
DProtoDeserialize.cpp886 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/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp479 for (const C2Value::Primitive& prim : c2FSVWidth.values) { in getMaxMinResolutionSupported() local
480 curr = (uint32_t)prim.ref<uint32_t>(); in getMaxMinResolutionSupported()
484 for (const C2Value::Primitive& prim : c2FSVHeight.values) { in getMaxMinResolutionSupported() local
485 curr = (uint32_t)prim.ref<uint32_t>(); in getMaxMinResolutionSupported()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp273 for (const C2Value::Primitive& prim : c2FSV.values) { in getChannelCount() local
274 if ((uint32_t)prim.ref<uint32_t>() == 2) { in getChannelCount()
276 } else if ((uint32_t)prim.ref<uint32_t>() == 1) { in getChannelCount()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp797 if (BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(attr->compiled_value.get())) { in ExtractCompileSdkVersions() local
798 switch (prim->value.dataType) { in ExtractCompileSdkVersions()
800 … compile_sdk_version = StringPrintf("%" PRId32, static_cast<int32_t>(prim->value.data)); in ExtractCompileSdkVersions()
803 compile_sdk_version = StringPrintf("%" PRIx32, prim->value.data); in ExtractCompileSdkVersions()
/frameworks/base/tools/aapt2/
DResources.proto271 Primitive prim = 7; field
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2755 const jint prim = (jint)prims[i]; in nMeshGetIndices() local
2757 _env->SetIntArrayRegion(_primitives, i, 1, &prim); in nMeshGetIndices()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49322 Landroid/renderscript/Mesh$AllocationBuilder$Entry;->prim:Landroid/renderscript/Mesh$Primitive;
49330 Landroid/renderscript/Mesh$Builder$Entry;->prim:Landroid/renderscript/Mesh$Primitive;