Home
last modified time | relevance | path

Searched refs:transformJson (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimation_util.cpp54 std::string GetTransformTypeValue(const std::unique_ptr<JsonValue>& transformJson) in GetTransformTypeValue() argument
56 if (transformJson->IsNull()) { in GetTransformTypeValue()
60 std::string jsonValue = transformJson->GetString(); in GetTransformTypeValue()
62 double jsonDouble = transformJson->GetDouble(); in GetTransformTypeValue()
68 std::string GetTransformType(const std::unique_ptr<JsonValue>& transformJson) in GetTransformType() argument
70 if (transformJson->IsNull()) { in GetTransformType()
74 return transformJson->GetKey(); in GetTransformType()
463 std::unique_ptr<JsonValue> transformJson = JsonUtil::ParseJsonString(value); in KeyframesAddKeyFrame() local
464 if (transformJson->GetArraySize() == 0) { in KeyframesAddKeyFrame()
468 for (int32_t index = 0; index < transformJson->GetArraySize(); ++index) { in KeyframesAddKeyFrame()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.cpp824 std::string DOMNode::GetTransformType(const std::unique_ptr<JsonValue>& transformJson) in GetTransformType() argument
826 if (transformJson->IsNull()) { in GetTransformType()
829 return transformJson->GetKey(); in GetTransformType()
832 std::string DOMNode::GetTransformTypeValue(const std::unique_ptr<JsonValue>& transformJson) in GetTransformTypeValue() argument
834 if (transformJson->IsNull()) { in GetTransformTypeValue()
837 std::string jsonValue = transformJson->GetString(); in GetTransformTypeValue()
839 double jsonDouble = transformJson->GetDouble(); in GetTransformTypeValue()
852 std::unique_ptr<JsonValue> transformJson = JsonUtil::ParseJsonString(jsonValue); in SetTransform() local
853 for (int32_t index = 0; index < transformJson->GetArraySize(); ++index) { in SetTransform()
854 std::string typeKey = node.GetTransformType(transformJson->GetArrayItem(index)); in SetTransform()
[all …]
H A Ddom_node.h904 std::string GetTransformType(const std::unique_ptr<JsonValue>& transformJson);
905 std::string GetTransformTypeValue(const std::unique_ptr<JsonValue>& transformJson);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
H A Ddeclaration.h486 std::string GetTransformType(const std::unique_ptr<JsonValue>& transformJson);
487 std::string GetTransformTypeValue(const std::unique_ptr<JsonValue>& transformJson);
H A Ddeclaration.cpp3168 std::string Declaration::GetTransformType(const std::unique_ptr<JsonValue>& transformJson) in GetTransformType() argument
3170 if (transformJson->IsNull()) { in GetTransformType()
3174 return transformJson->GetKey(); in GetTransformType()
3177 std::string Declaration::GetTransformTypeValue(const std::unique_ptr<JsonValue>& transformJson) in GetTransformTypeValue() argument
3179 if (transformJson->IsNull()) { in GetTransformTypeValue()
3183 std::string jsonValue = transformJson->GetString(); in GetTransformTypeValue()
3185 double jsonDouble = transformJson->GetDouble(); in GetTransformTypeValue()