Home
last modified time | relevance | path

Searched refs:normalized (Results 1 - 21 of 21) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_animation.h43 void UpdatePosition(float normalized);
47 void OnNormalizedTimestampChanged(float normalized, bool reverse) override
49 if (normalized < NORMALIZED_DURATION_MIN || normalized > NORMALIZED_DURATION_MAX) {
50 LOGE("normalized time check failed. normalized: %{public}f", normalized);
53 UpdatePosition(normalized); variable
H A Dpicture_animation.h65 // add picture. duration in normalized time.
91 // if total normalized duration of all pictures not equals 1.0, scale it to 1.0
127 void OnNormalizedTimestampChanged(float normalized, bool revserse) override
129 if (normalized < NORMALIZED_DURATION_MIN || normalized > NORMALIZED_DURATION_MAX) {
130 LOGE("normalized time check failed. normalized: %{public}f", normalized);
140 if (normalized < elapsedPictureTime) {
H A Dcurve_animation.h98 // Use the normalized time [0.0, 1.0] to get the current data value.
113 void OnNormalizedTimestampChanged(float normalized, bool reverse) override
115 if (normalized < NORMALIZED_DURATION_MIN || normalized > NORMALIZED_DURATION_MAX) {
116 LOGE("normalized time check failed. normalized: %{public}f", normalized);
119 Calculate(normalized, reverse ? reverseCurve_ : curve_);
H A Dproperty_animation.cpp55 void PropertyAnimation::OnNormalizedTimestampChanged(float normalized, bool reverse) in OnNormalizedTimestampChanged() argument
57 if (normalized < NORMALIZED_DURATION_MIN || normalized > NORMALIZED_DURATION_MAX) { in OnNormalizedTimestampChanged()
58 LOGE("normalized time check failed. normalized: %{public}f", normalized); in OnNormalizedTimestampChanged()
61 Calculate(normalized); in OnNormalizedTimestampChanged()
H A Dkeyframe_animation.h181 void OnNormalizedTimestampChanged(float normalized, bool reverse) override
183 if (normalized < NORMALIZED_DURATION_MIN || normalized > NORMALIZED_DURATION_MAX) {
184 LOGE("normalized time check failed. normalized: %{public}f", normalized);
187 Calculate(normalized); variable
H A Dspring_animation.cpp62 void SpringAnimation::UpdatePosition(float normalized) in UpdatePosition() argument
64 currentPosition_ = endPosition_ - solution_->Position(normalized * estimateDuration_); in UpdatePosition()
65 currentVelocity_ = solution_->Velocity(normalized * estimateDuration_); in UpdatePosition()
H A Dinterpolator.h34 // interpolate animations must have duration, and accept normalized timestamp.
49 // just pass normalized time to subclass.
54 virtual void OnNormalizedTimestampChanged(float normalized, bool reverse) = 0;
H A Dproperty_animation.h57 void OnNormalizedTimestampChanged(float normalized, bool reverse) override;
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dpipeline_state_object_gles.cpp34 GLenum& type, GLboolean& normalized, bool& isFloat) in FormatToVertexType()
39 normalized = false; in FormatToVertexType()
44 normalized = false; in FormatToVertexType()
49 normalized = true; in FormatToVertexType()
54 normalized = false; in FormatToVertexType()
59 normalized = false; in FormatToVertexType()
64 normalized = false; in FormatToVertexType()
69 normalized = false; in FormatToVertexType()
74 normalized = false; in FormatToVertexType()
79 normalized in FormatToVertexType()
33 FormatToVertexType(const VertexInputDeclaration::VertexInputAttributeDescription& attributeRef, GLuint& count, GLenum& type, GLboolean& normalized, bool& isFloat) FormatToVertexType() argument
219 GLboolean normalized = false; global() variable
[all...]
/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_animation.cpp55 * @param normalized
58 void APngImageAnimation::OnNormalizedTimestampChanged(float normalized, bool revserse) in OnNormalizedTimestampChanged() argument
60 totalTime_ += normalized; in OnNormalizedTimestampChanged()
H A Dapng_image_animation.h30 // add picture. duration in normalized time.
44 // if total normalized duration of all pictures not equals 1.0, scale it to 1.0
71 * @param normalized
74 void OnNormalizedTimestampChanged(float normalized, bool revserse) override;
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_util.cpp1045 : success(other.success), normalized(other.normalized), error(move(other.error)),
1054 normalized = other.normalized;
1140 result.normalized = accessor.normalized; in LoadData()
H A Dgltf2_util.h88 bool normalized { false };
H A Dgltf2_data_structures.h289 // Specifies whether integer data values should be normalized
295 bool normalized = false; member
302 // `normalized` property has no effect on array values:
315 // `normalized` property has no effect on array values:
H A Dgltf2_importer.cpp100 Format Convert(GLTF2::ComponentType componentType, size_t componentCount, bool normalized) in Convert() argument
107 if (normalized) { in Convert()
133 if (normalized) { in Convert()
159 if (normalized) { in Convert()
185 if (normalized) { in Convert()
499 if (data.normalized) { in ConvertLoadResultToFloat()
645 loadDataResult.normalized = true; in GenerateMorphTargets()
804 Convert(attribute.componentType, attribute.componentCount, attribute.normalized), in ProcessPrimitives()
1350 if (animationFrameDataResult.normalized) { in CopyFrames()
H A Dgltf2_loader.cpp571 bool normalized = false;
572 if (!ParseOptionalBoolean(loadResult, normalized, jsonData, "normalized", false)) {
575 return normalized;
722 const auto normalized = AccessorNormalized(loadResult, jsonData);
744 accessor->normalized = *normalized;
H A Dgltf2_exporter.cpp294 accessor.byteOffset, accessor.normalized, accessor.sparse.count, accessor.sparse.indices.bufferView, in StoreAccessor()
1358 if (accessor->normalized) { in ExportAccessors()
1359 jsonAccessor["normalized"] = accessor->normalized; in ExportAccessors()
1375 jsonAccessor["name"] = accessor->normalized; in ExportAccessors()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_arg.h347 GLboolean normalized; member
385 bool normalized; member
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_arg.cpp872 info.c_str(), index, size, type, normalized, stride, static_cast<unsigned int>(offset)); in Dump()
H A Dwebgl_rendering_context_base_impl.cpp1389 glVertexAttribPointer(vertexInfo.index, vertexInfo.size, vertexInfo.type, vertexInfo.normalized, in VertexAttribPointer()
H A Dwebgl_rendering_context_base.cpp2074 tie(succ, vertexInfo.normalized) = NVal(env, funcArg[NARG_POS::FOURTH]).ToBool(); in VertexAttribPointer()

Completed in 48 milliseconds