Home
last modified time | relevance | path

Searched refs:interpolation (Results 1 - 20 of 20) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_system.cpp296 void Interpolate(const AnimationSystem::InterpolationData& interpolation, array_view<const uint8_t> frameValues, in Interpolate() argument
300 if ((interpolation.startIndex < values.size()) && (interpolation.endIndex < values.size())) { in Interpolate()
302 switch (interpolation.mode) { in Interpolate()
304 result = Step(values[interpolation.startIndex], values[interpolation.endIndex], interpolation.t); in Interpolate()
309 result = Lerp(values[interpolation.startIndex], values[interpolation.endIndex], interpolation in Interpolate()
331 Interpolate(const AnimationSystem::InterpolationData& interpolation, array_view<const uint8_t> frameValues, const InitialTransformComponent& initialValue, InitialTransformComponent& animatedValue) Interpolate() argument
371 AnimateArray(const AnimationSystem::InterpolationData& interpolation, array_view<const uint8_t> frameValues, const InitialTransformComponent& initialValue, InitialTransformComponent& animatedValue) AnimateArray() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_paint_method.h37 ImageInterpolation interpolation = ImageInterpolation::NONE; member
46 canvasImage_(canvasImage), interpolationDefault_(imagePainterMethodConfig.interpolation),
H A Dimage_model_ng.h51 void SetImageInterpolation(ImageInterpolation interpolation) override;
98 static void SetImageInterpolation(FrameNode *frameNode, ImageInterpolation interpolation);
H A Dimage_model.h82 virtual void SetImageInterpolation(ImageInterpolation interpolation) = 0;
H A Dimage_model_ng.cpp458 void ImageModelNG::SetImageInterpolation(ImageInterpolation interpolation) in SetImageInterpolation() argument
460 ACE_UPDATE_PAINT_PROPERTY(ImageRenderProperty, ImageInterpolation, interpolation); in SetImageInterpolation()
755 void ImageModelNG::SetImageInterpolation(FrameNode *frameNode, ImageInterpolation interpolation) in SetImageInterpolation() argument
757 ACE_UPDATE_NODE_PAINT_PROPERTY(ImageRenderProperty, ImageInterpolation, interpolation, frameNode); in SetImageInterpolation()
760 pattern->SetImageInterpolation(interpolation); in SetImageInterpolation()
H A Dimage_pattern.cpp543 .interpolation = interpolationDefault_
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_image_ffi.cpp119 void FfiOHOSAceFrameworkImageSetInterpolation(int32_t interpolation) in FfiOHOSAceFrameworkImageSetInterpolation() argument
121 if (!OHOS::Ace::Framework::Utils::CheckParamsValid(interpolation, IMAGE_INTERPOLATIONS.size())) { in FfiOHOSAceFrameworkImageSetInterpolation()
122 LOGE("invalid value for image interpolation"); in FfiOHOSAceFrameworkImageSetInterpolation()
125 ImageModel::GetInstance()->SetImageInterpolation(IMAGE_INTERPOLATIONS[interpolation]); in FfiOHOSAceFrameworkImageSetInterpolation()
H A Dcj_image_ffi.h29 CJ_EXPORT void FfiOHOSAceFrameworkImageSetInterpolation(int32_t interpolation);
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/mock/
H A Dcj_image_ffi.cpp32 void FfiOHOSAceFrameworkImageSetInterpolation(int32_t interpolation) {} in FfiOHOSAceFrameworkImageSetInterpolation() argument
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_util.h38 bool GetAnimationInterpolation(BASE_NS::string_view interpolation, AnimationInterpolation& out);
53 BASE_NS::string_view GetAnimationInterpolation(AnimationInterpolation interpolation);
H A Dgltf2_util.cpp407 bool GetAnimationInterpolation(string_view interpolation, AnimationInterpolation& out) in GetAnimationInterpolation() argument
412 if (interpolation == "LINEAR") { in GetAnimationInterpolation()
414 } else if (interpolation == "STEP") { in GetAnimationInterpolation()
416 } else if (interpolation == "CUBICSPLINE") { in GetAnimationInterpolation()
607 string_view GetAnimationInterpolation(AnimationInterpolation interpolation) in GetAnimationInterpolation() argument
609 switch (interpolation) { in GetAnimationInterpolation()
H A Dgltf2_data_structures.h731 AnimationInterpolation interpolation; member
H A Dgltf2_exporter.cpp173 GLTF2::AnimationInterpolation GetAnimationInterpolation(AnimationTrackComponent::Interpolation interpolation) in GetAnimationInterpolation() argument
175 switch (interpolation) { in GetAnimationInterpolation()
801 exportSampler->interpolation = GetAnimationInterpolation(trackComponent.interpolationMode); in CreateAnimationSampler()
1394 if (sampler->interpolation != AnimationInterpolation::LINEAR) { in ExportAnimations()
1395 jsonSampler["interpolation"] = GetAnimationInterpolation(sampler->interpolation); in ExportAnimations()
H A Dgltf2_loader.cpp2441 string interpolation;
2442 if (!ParseOptionalString(loadResult, interpolation, samplerJson, "interpolation", string())) {
2447 GetAnimationInterpolation(interpolation, sampler->interpolation);
H A Dgltf2_importer.cpp2495 trackHandle->interpolationMode = ConvertAnimationInterpolation(track.sampler->interpolation);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/
H A Dcustomtitle.js133 Image.interpolation(ImageInterpolation.Medium);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_image.cpp578 auto interpolation = static_cast<ImageInterpolation>(imageInterpolation); in SetImageInterpolation() local
579 if (interpolation < ImageInterpolation::NONE || interpolation > ImageInterpolation::HIGH) { in SetImageInterpolation()
580 interpolation = ImageInterpolation::NONE; in SetImageInterpolation()
582 ImageModel::GetInstance()->SetImageInterpolation(interpolation); in SetImageInterpolation()
811 JSClass<JSImage>::StaticMethod("interpolation", &JSImage::SetImageInterpolation, opt); in JSBind()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_image_modifier.cpp415 auto interpolation = static_cast<Ace::ImageInterpolation>(value); in SetImageInterpolation() local
416 if (interpolation < Ace::ImageInterpolation::NONE || interpolation > Ace::ImageInterpolation::HIGH) { in SetImageInterpolation()
417 interpolation = Ace::ImageInterpolation::NONE; in SetImageInterpolation()
419 ImageModelNG::SetImageInterpolation(frameNode, interpolation); in SetImageInterpolation()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp11092 auto interpolation = fullImpl->getNodeModifiers()->getImageModifier()->getImageInterpolation(node->uiNodeHandle); in GetInterpolation() local
11093 g_numberValues[0].i32 = interpolation; in GetInterpolation()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js7148 interpolation(value) {

Completed in 72 milliseconds