Home
last modified time | relevance | path

Searched refs:styleName (Results 1 - 25 of 31) sorted by relevance

12

/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/arc/
H A Darc_tdd_test.cpp328 const char* styleName = "centerY"; in ComponentProgressStyleSetTest003() local
334 JerrySetNumberProperty(styleObj_, styleName, centerY); in ComponentProgressStyleSetTest003()
360 UpdateNumAttributeOrStyleValue(circleComponent, styleName, centerYBoundary, false); in ComponentProgressStyleSetTest003()
371 UpdateNumAttributeOrStyleValue(circleComponent, styleName, centerYBoundaryIn, false); in ComponentProgressStyleSetTest003()
388 const char* styleName = "centerY"; in ComponentProgressStyleSetTest004() local
394 JerrySetNumberProperty(styleObj_, styleName, centerY); in ComponentProgressStyleSetTest004()
416 UpdateNumAttributeOrStyleValue(circleComponent, styleName, centerYNormal, false); in ComponentProgressStyleSetTest004()
423 UpdateNumAttributeOrStyleValue(circleComponent, styleName, centerYBoundary, false); in ComponentProgressStyleSetTest004()
428 UpdateCharAttributeOrStyleValue(circleComponent, styleName, "abc", false); in ComponentProgressStyleSetTest004()
445 const char* styleName in ComponentProgressStyleSetTest005() local
514 const char* styleName = "radius"; ComponentProgressStyleSetTest006() local
560 const char* styleName = "startAngle"; ComponentProgressStyleSetTest008() local
629 const char* styleName = "startAngle"; ComponentProgressStyleSetTest009() local
679 const char* styleName = "totalAngle"; ComponentProgressStyleSetTest010() local
756 const char* styleName = "totalAngle"; ComponentProgressStyleSetTest011() local
809 const char* styleName = "color"; ComponentProgressStyleSetTest012() local
873 const char* styleName = "color"; ComponentProgressStyleSetTest013() local
925 const char* styleName = "strokeWidth"; ComponentProgressStyleSetTest014() local
985 const char* styleName = "strokeWidth"; ComponentProgressStyleSetTest015() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Ddiv_tdd_test.cpp147 const char *styleName = "width"; in ComponentDivStyleSetTest010() local
152 JerrySetNumberProperty(styleObj_, styleName, width); in ComponentDivStyleSetTest010()
155 JerrySetNumberProperty(styleObj_, styleName, widthLarge); in ComponentDivStyleSetTest010()
164 JerrySetNumberProperty(styleObj_, styleName, widthNormal); in ComponentDivStyleSetTest010()
173 JerrySetNumberProperty(styleObj_, styleName, widthIn); in ComponentDivStyleSetTest010()
233 const char *styleName = "height"; in ComponentDivStyleSetTest012() local
238 JerrySetNumberProperty(styleObj_, styleName, height); in ComponentDivStyleSetTest012()
241 JerrySetNumberProperty(styleObj_, styleName, heightBoundary); in ComponentDivStyleSetTest012()
249 JerrySetStringProperty(styleObj_, styleName, "10"); in ComponentDivStyleSetTest012()
258 JerrySetNumberProperty(styleObj_, styleName, heightNorma in ComponentDivStyleSetTest012()
328 const char *styleName = "margin"; ComponentDivStyleSetTest014() local
416 const char *styleName = "borderWidth"; ComponentDivStyleSetTest016() local
500 const char *styleName = "borderRadius"; ComponentDivStyleSetTest018() local
584 const char *styleName = "left"; ComponentDivStyleSetTest020() local
668 const char *styleName = "top"; ComponentDivStyleSetTest022() local
762 const char *styleName = "borderColor"; ComponentDivStyleSetTest024() local
862 const char *styleName = "backgroundColor"; ComponentDivStyleSetTest026() local
[all...]
H A Dpicker_view_tdd_test.cpp115 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()
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style_list.cpp64 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 Dapp_style_sheet.cpp213 const char *styleName = first->GetStyleName(); in GetStyleFromSelectors() local
214 if (styleName != nullptr && !strcmp(name, styleName)) { in GetStyleFromSelectors()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_font_style_set.cpp46 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 : nullptr); in GetStyle()
64 if (styleName) { in GetStyle()
65 SkiaConvertUtils::SkStringCastToStdString(skStyleName, *styleName); in GetStyle()
H A Dskia_font_style_set.h43 void GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) override;
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dchart_component.cpp590 const char* styleName = isStrokeColor ? STROKE_COLOR : FILL_COLOR; in UpdateColorToSerial() local
591 if (jerryx_has_property_str(dataSet, styleName)) { in UpdateColorToSerial()
595 styleName = COMMON_STYLE_BACKGROUND_COLOR; in UpdateColorToSerial()
596 if (jerryx_has_property_str(dataSet, styleName)) { in UpdateColorToSerial()
603 colorVal = GetColor(dataSet, const_cast<char *>(styleName), defaultColorVal); in UpdateColorToSerial()
751 const char * const styleName = COLOR; in SetOptionsAxisColor() local
753 if (jerryx_has_property_str(xAxisValue, styleName)) { in SetOptionsAxisColor()
755 char* styleValue = JerryMallocStringProperty(xAxisValue, styleName, len); in SetOptionsAxisColor()
783 char* styleName = const_cast<char *>(LINE_STYLE); in RecordOptionsSeriesLineStyle() local
784 if (!jerryx_has_property_str(jSeriesVal, styleName)) { in RecordOptionsSeriesLineStyle()
803 char* styleName = nullptr; RecordOptionsSeriesPoint() local
827 SetOptionsInfo(jerry_value_t jSeriesVal, PointType type, char* styleName) SetOptionsInfo() argument
877 char* styleName = const_cast<char *>(LOOP); RecordOptionsSeriesLoop() local
966 GetSizeVal(jerry_value_t obj, const char * const styleName, uint16_t defaultValue) GetSizeVal() argument
983 GetColor(jerry_value_t obj, const char * const styleName, uint32_t defaultValue) GetColor() argument
[all...]
H A Dchart_component.h92 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);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font_mgr.cpp218 OH_Drawing_FontStyleSet* fontStyleSet, int32_t index, char** styleName) in OH_Drawing_FontStyleSetGetStyle()
224 if (styleName == nullptr || fontStyleSet == nullptr || index < 0) { in OH_Drawing_FontStyleSetGetStyle()
229 *styleName = nullptr; in OH_Drawing_FontStyleSetGetStyle()
242 *styleName = nullptr; in OH_Drawing_FontStyleSetGetStyle()
246 *styleName = nullptr; in OH_Drawing_FontStyleSetGetStyle()
249 *styleName = allocatedMemoryForStyleName; in OH_Drawing_FontStyleSetGetStyle()
256 void OH_Drawing_FontStyleSetFreeStyleName(char** styleName) in OH_Drawing_FontStyleSetFreeStyleName() argument
258 if (styleName == nullptr) { in OH_Drawing_FontStyleSetFreeStyleName()
261 if (*styleName != nullptr) { in OH_Drawing_FontStyleSetFreeStyleName()
262 free(*styleName); in OH_Drawing_FontStyleSetFreeStyleName()
217 OH_Drawing_FontStyleSetGetStyle( OH_Drawing_FontStyleSet* fontStyleSet, int32_t index, char** styleName) OH_Drawing_FontStyleSetGetStyle() argument
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_font_style_set_test.cpp50 std::string* styleName = nullptr; in HWTEST_F() local
51 skiaFontStyleSet->GetStyle(0, &fontStyle, styleName); in HWTEST_F()
52 ASSERT_TRUE(styleName == nullptr); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dblur_style_theme.cpp56 const RefPtr<ThemeStyle>& themeStyle, const std::string& styleName, bool isDark) const in ParseBlurParam()
65 auto radiusFullName = std::string(prefix) + "_" + styleName + "_" + radiusName; in ParseBlurParam()
66 auto saturationFullName = std::string(prefix) + "_" + styleName + "_" + saturationName; in ParseBlurParam()
67 auto brightnessFullName = std::string(prefix) + "_" + styleName + "_" + brightnessName; in ParseBlurParam()
68 auto maskColorFullName = std::string(prefix) + "_" + styleName + "_" + maskColorName; in ParseBlurParam()
55 ParseBlurParam( const RefPtr<ThemeStyle>& themeStyle, const std::string& styleName, bool isDark) const ParseBlurParam() argument
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/
H A Ddrawing_font_mgr.h185 * @param styleName Indicates the style name returned.
191 char** styleName);
194 * @brief Releases the memory styleName string.
197 * @param styleName Indicates the pointer to a string type.
201 void OH_Drawing_FontStyleSetFreeStyleName(char** styleName);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dfont_style_set.cpp35 void FontStyleSet::GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) in GetStyle() argument
38 fontStyleSetImpl_->GetStyle(index, fontStyle, styleName); in GetStyle()
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_context.h57 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 Dsvg_style.cpp54 void SvgStyle::ParseCssAttrs(const std::string& styleName, const std::string& attrs, const PushAttr& callback) in ParseCssAttrs() argument
62 callback(styleName, std::make_pair(arrPair[0], arrPair[1])); in ParseCssAttrs()
H A Dsvg_dom.cpp102 const std::string& styleName, const std::pair<std::string, std::string>& attrPair) { in SvgDom()
112 svgDom->svgContext_->PushStyle(styleName, attrPair); in SvgDom()
246 for (const auto& styleName : styleNameVector) { in ParseClassAttr()
247 auto attrMap = svgContext_->GetAttrMap(styleName); in ParseClassAttr()
H A Dsvg_style.h35 static void ParseCssAttrs(const std::string& styleName, const std::string& attrs, const PushAttr& callback);
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_style.cpp54 void SvgStyle::ParseCssAttrs(const std::string& styleName, const std::string& attrs, const PushAttr& callback) in ParseCssAttrs() argument
62 callback(styleName, std::make_pair(arrPair[0], arrPair[1])); in ParseCssAttrs()
H A Dsvg_style.h35 static void ParseCssAttrs(const std::string& styleName, const std::string& attrs, const PushAttr& callback);
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/
H A Dsvg_context.cpp33 void SvgContext::PushStyle(const std::string& styleName, const std::pair<std::string, std::string>& attrPair) in PushStyle() argument
35 const auto& arrMapIter = styleMap_.find(styleName); in PushStyle()
39 styleMap_.emplace(std::make_pair(styleName, attrMap)); in PushStyle()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dfont_style_set_impl.h35 virtual void GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) = 0;
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dnumber_format_module.cpp141 char *styleName = MallocStringOf(key, &styleLen); in SetStyle() local
142 uint32_t styleNameId = KeyParser::ParseKeyId(styleName, styleLen); in SetStyle()
143 ACE_FREE(styleName); in SetStyle()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_font_mgr_test.cpp229 char** styleName = nullptr; in HWTEST_F() local
230 normalStyle = OH_Drawing_FontStyleSetGetStyle(fontStyleSet, 0, styleName); in HWTEST_F()
232 OH_Drawing_FontStyleSetFreeStyleName(styleName); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dfont_style_set.h46 * @param styleName The style name returned to the caller.
48 void GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName);

Completed in 11 milliseconds

12