/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/arc/ |
H A D | arc_tdd_test.cpp | 328 const char* styleName = "centerY"; in ComponentProgressStyleSetTest003() local 388 const char* styleName = "centerY"; in ComponentProgressStyleSetTest004() local 445 const char* styleName = "radius"; in ComponentProgressStyleSetTest005() local 514 const char* styleName = "radius"; in ComponentProgressStyleSetTest006() local 560 const char* styleName = "startAngle"; in ComponentProgressStyleSetTest008() local 629 const char* styleName = "startAngle"; in ComponentProgressStyleSetTest009() local 679 const char* styleName = "totalAngle"; in ComponentProgressStyleSetTest010() local 756 const char* styleName = "totalAngle"; in ComponentProgressStyleSetTest011() local 809 const char* styleName = "color"; in ComponentProgressStyleSetTest012() local 873 const char* styleName = "color"; in ComponentProgressStyleSetTest013() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | div_tdd_test.cpp | 147 const char *styleName = "width"; in ComponentDivStyleSetTest010() local 152 JerrySetNumberProperty(styleObj_, styleName, width); in ComponentDivStyleSetTest010() 233 const char *styleName = "height"; in ComponentDivStyleSetTest012() local 249 JerrySetStringProperty(styleObj_, styleName, "10"); in ComponentDivStyleSetTest012() 328 const char *styleName = "margin"; in ComponentDivStyleSetTest014() local 416 const char *styleName = "borderWidth"; in ComponentDivStyleSetTest016() local 500 const char *styleName = "borderRadius"; in ComponentDivStyleSetTest018() local 584 const char *styleName = "left"; in ComponentDivStyleSetTest020() local 668 const char *styleName = "top"; in ComponentDivStyleSetTest022() local 762 const char *styleName = "borderColor"; in ComponentDivStyleSetTest024() local [all …]
|
H A D | picker_view_tdd_test.cpp | 115 jerry_value_t styleName = jerry_create_string(reinterpret_cast<const jerry_char_t *>(keyName)); in SetNumStyle() local 117 jerry_release_value(jerry_set_property(g_styleObj, styleName, styleValue)); in SetNumStyle() 118 jerry_release_value(styleName); in SetNumStyle()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | chart_component.cpp | 751 const char * const styleName = COLOR; in SetOptionsAxisColor() local 788 styleName = const_cast<char *>(WIDTH); in RecordOptionsSeriesLineStyle() 792 styleName = const_cast<char *>(SMOOTH); in RecordOptionsSeriesLineStyle() 803 char* styleName = nullptr; in RecordOptionsSeriesPoint() local 821 if ((styleName == nullptr) || !jerryx_has_property_str(jSeriesVal, styleName)) { in RecordOptionsSeriesPoint() 824 SetOptionsInfo(jSeriesVal, type, styleName); in RecordOptionsSeriesPoint() 830 styleName = const_cast<char *>(SIZE); in SetOptionsInfo() 834 styleName = const_cast<char *>(STROKE_COLOR); in SetOptionsInfo() 839 styleName = const_cast<char *>(FILL_COLOR); in SetOptionsInfo() 877 char* styleName = const_cast<char *>(LOOP); in RecordOptionsSeriesLoop() local [all …]
|
H A D | chart_component.h | 92 void SetOptionsInfo(jerry_value_t jSeriesVal, PointType type, char* styleName); 120 uint16_t GetSizeVal(jerry_value_t obj, const char * const styleName, uint16_t defaultValue); 121 uint32_t GetColor(jerry_value_t obj, const char * const styleName, uint32_t defaultValue);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_font_style_set.cpp | 46 void SkiaFontStyleSet::GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) in GetStyle() argument 57 if (styleName) { in GetStyle() 58 SkiaConvertUtils::StdStringCastToSkString(*styleName, skStyleName); in GetStyle() 60 …skFontStyleSet_->getStyle(index, fontStyle ? &skFontStyle : nullptr, styleName ? &skStyleName : nu… in GetStyle() 64 if (styleName) { in GetStyle() 65 SkiaConvertUtils::SkStringCastToStdString(skStyleName, *styleName); in GetStyle()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | app_style_list.cpp | 64 const char *styleName = existCurrentStyle->GetStyleName(); in GetExistStyle() local 66 if (styleName == nullptr || strlen(styleName) == 0) { in GetExistStyle() 69 if ((strlen(styleName) == strlen(name)) && strcmp(styleName, name) == 0) { in GetExistStyle()
|
H A D | app_style_sheet.cpp | 213 const char *styleName = first->GetStyleName(); in GetStyleFromSelectors() local 214 if (styleName != nullptr && !strcmp(name, styleName)) { in GetStyleFromSelectors()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_font_mgr.cpp | 215 OH_Drawing_FontStyleSet* fontStyleSet, int32_t index, char** styleName) in OH_Drawing_FontStyleSetGetStyle() argument 221 if (styleName == nullptr || fontStyleSet == nullptr || index < 0) { in OH_Drawing_FontStyleSetGetStyle() 226 *styleName = nullptr; in OH_Drawing_FontStyleSetGetStyle() 239 *styleName = nullptr; in OH_Drawing_FontStyleSetGetStyle() 243 *styleName = nullptr; in OH_Drawing_FontStyleSetGetStyle() 246 *styleName = allocatedMemoryForStyleName; in OH_Drawing_FontStyleSetGetStyle() 253 void OH_Drawing_FontStyleSetFreeStyleName(char** styleName) in OH_Drawing_FontStyleSetFreeStyleName() argument 255 if (styleName == nullptr) { in OH_Drawing_FontStyleSetFreeStyleName() 258 if (*styleName != nullptr) { in OH_Drawing_FontStyleSetFreeStyleName() 259 free(*styleName); in OH_Drawing_FontStyleSetFreeStyleName() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | blur_style_theme.cpp | 63 const RefPtr<ThemeStyle>& themeStyle, const std::string& styleName, bool isDark) const in ParseBlurParam() argument 72 auto radiusFullName = std::string(prefix) + "_" + styleName + "_" + radiusName; in ParseBlurParam() 73 auto saturationFullName = std::string(prefix) + "_" + styleName + "_" + saturationName; in ParseBlurParam() 74 auto brightnessFullName = std::string(prefix) + "_" + styleName + "_" + brightnessName; in ParseBlurParam() 75 auto maskColorFullName = std::string(prefix) + "_" + styleName + "_" + maskColorName; in ParseBlurParam()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_font_style_set_test.cpp | 50 std::string* styleName = nullptr; variable 51 skiaFontStyleSet->GetStyle(0, &fontStyle, styleName); 52 ASSERT_TRUE(styleName == nullptr);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_context.h | 57 … void PushStyle(const std::string& styleName, const std::pair<std::string, std::string>& attrPair) in PushStyle() argument 59 const auto& arrMapIter = styleMap_.find(styleName); in PushStyle() 63 styleMap_.emplace(std::make_pair(styleName, attrMap)); in PushStyle()
|
H A D | svg_style.cpp | 54 void SvgStyle::ParseCssAttrs(const std::string& styleName, const std::string& attrs, const PushAttr… in ParseCssAttrs() argument 62 callback(styleName, std::make_pair(arrPair[0], arrPair[1])); in ParseCssAttrs()
|
H A D | svg_dom.cpp | 102 … const std::string& styleName, const std::pair<std::string, std::string>& attrPair) { in SvgDom() argument 112 svgDom->svgContext_->PushStyle(styleName, attrPair); in SvgDom() 246 for (const auto& styleName : styleNameVector) { in ParseClassAttr() local 247 auto attrMap = svgContext_->GetAttrMap(styleName); in ParseClassAttr()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/ |
H A D | font_style_set.cpp | 35 void FontStyleSet::GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) in GetStyle() argument 38 fontStyleSetImpl_->GetStyle(index, fontStyle, styleName); in GetStyle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_font_mgr.h | 191 char** styleName); 201 void OH_Drawing_FontStyleSetFreeStyleName(char** styleName);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/ |
H A D | svg_context.cpp | 34 void SvgContext::PushStyle(const std::string& styleName, const std::pair<std::string, std::string>&… in PushStyle() argument 36 const auto& arrMapIter = styleMap_.find(styleName); in PushStyle() 40 styleMap_.emplace(std::make_pair(styleName, attrMap)); in PushStyle()
|
H A D | svg_dom.cpp | 94 … const std::string& styleName, const std::pair<std::string, std::string>& attrPair) { in SvgDom() argument 98 svgDom->svgContext_->PushStyle(styleName, attrPair); in SvgDom() 206 for (const auto& styleName : styleNameVector) { in ParseClassAttr() local 207 auto attrMap = svgContext_->GetAttrMap(styleName); in ParseClassAttr()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_style.cpp | 54 void SvgStyle::ParseCssAttrs(const std::string& styleName, const std::string& attrs, const PushAttr… in ParseCssAttrs() argument 62 callback(styleName, std::make_pair(arrPair[0], arrPair[1])); in ParseCssAttrs()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | number_format_module.cpp | 141 char *styleName = MallocStringOf(key, &styleLen); in SetStyle() local 142 uint32_t styleNameId = KeyParser::ParseKeyId(styleName, styleLen); in SetStyle() 143 ACE_FREE(styleName); in SetStyle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_font_mgr_test.cpp | 226 char** styleName = nullptr; variable 227 normalStyle = OH_Drawing_FontStyleSetGetStyle(fontStyleSet, 0, styleName); 229 OH_Drawing_FontStyleSetFreeStyleName(styleName);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | drawing__font__mgr_8h.md | 35 …tStyleSet](_drawing.md#oh_drawing_fontstyleset) \*, int32_t index, char \*\*styleName) | 获取字体样式。 | 36 …eStyleName](_drawing.md#oh_drawing_fontstylesetfreestylename) (char \*\*styleName) | 释放指定字体样式的内存。 …
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | font_style_set_impl.h | 35 virtual void GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) = 0;
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | drawing__font__mgr_8h.md | 35 …leSet](_drawing.md#oh_drawing_fontstyleset) \*, int32_t index, char \*\*styleName) | Obtains the f… 36 …eStyleName](_drawing.md#oh_drawing_fontstylesetfreestylename) (char \*\*styleName) | Reclaims the …
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | font_style_set.h | 48 void GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName);
|