Home
last modified time | relevance | path

Searched refs:colorValue (Results 1 - 25 of 74) sorted by relevance

123

/foundation/window/window_manager/utils/src/
H A Dcolor_parser.cpp22 bool ColorParser::Parse(const std::string& colorStr, uint32_t& colorValue) in Parse() argument
34 colorValue = std::strtoul(color.c_str(), 0, HEX); // convert hex string to number in Parse()
36 colorValue |= 0xff000000; in Parse()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_loading_progress_modifier.cpp30 void SetLoadingProgressColor(ArkUINodeHandle node, uint32_t colorValue) in SetLoadingProgressColor() argument
34 LoadingProgressModelNG::SetColor(frameNode, Color(colorValue)); in SetLoadingProgressColor()
71 void SetLoadingProgressForegroundColor(ArkUINodeHandle node, ArkUI_Uint32 colorValue) in SetLoadingProgressForegroundColor() argument
75 LoadingProgressModelNG::SetForegroundColor(frameNode, Color(colorValue)); in SetLoadingProgressForegroundColor()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_gradient.cpp29 void NativeCanvasGradient::AddColorStop(double offsetValue, const Color& colorValue) in AddColorStop() argument
32 color.SetColor(colorValue); in AddColorStop()
H A Dcanvas_gradient.h30 void AddColorStop(double offsetValue, const Color& colorValue);
/foundation/arkui/ace_engine_lite/test/moduletest/common/
H A Dbase_test.cpp68 uint32_t colorValue = colorIntValue; in GetRGBColor() local
69 uint8_t red8 = uint8_t((colorValue & TEXT_RED_COLOR_MASK) >> RED_COLOR_START_BIT); in GetRGBColor()
70 uint8_t green8 = uint8_t((colorValue & TEXT_GREEN_COLOR_MASK) >> GREEN_COLOR_START_BIT); in GetRGBColor()
71 uint8_t blue8 = uint8_t((colorValue & TEXT_BLUE_COLOR_MASK)); in GetRGBColor()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dhorizonprogress_tdd_test.cpp422 jerry_value_t colorValue = jerry_create_number(percentNum); in HorizonProgressTest009() local
423 jerry_set_property(objStaticStyle, colorKey, colorValue); in HorizonProgressTest009()
474 jerry_value_t colorValue = jerry_create_number(percentNum); in HorizonProgressTest013() local
475 jerry_set_property(objStaticStyle, colorKey, colorValue); in HorizonProgressTest013()
522 jerry_value_t colorValue = jerry_create_number(strokeWidth); in HorizonProgressTest014() local
523 jerry_set_property(objStaticStyle, colorKey, colorValue); in HorizonProgressTest014()
563 jerry_value_t colorValue = jerry_create_number(strokeWidth); in HorizonProgressTest015() local
564 jerry_set_property(objStaticStyle, colorKey, colorValue); in HorizonProgressTest015()
604 jerry_value_t colorValue = jerry_create_number(strokeWidth); in HorizonProgressTest016() local
605 jerry_set_property(objStaticStyle, colorKey, colorValue); in HorizonProgressTest016()
645 jerry_value_t colorValue = jerry_create_number(strokeWidth); HorizonProgressTest017() local
[all...]
H A Dopacity_tdd_test.cpp183 const char * const colorValue = "#66666666"; in SetOpacityTest005() local
185 JerrySetStringProperty(styleObj_, colorKey, colorValue); in SetOpacityTest005()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_container_span.cpp36 JSRef<JSVal> colorValue = obj->GetProperty("color"); in ParseTextBackgroundStyle() local
38 if (ParseJsColor(colorValue, colorVal)) { in ParseTextBackgroundStyle()
H A Djs_badge.cpp105 JSRef<JSVal> colorValue = value->GetProperty("color"); in CreateBadgeParameters() local
117 if (ParseJsColor(colorValue, colorVal)) { in CreateBadgeParameters()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_filter.cpp52 float brightness, uint32_t colorValue, BLUR_COLOR_MODE mode) in CreateMaterialFilter()
54 MaterialParam materialParam = {radius, saturation, brightness, Color::FromArgbInt(colorValue)}; in CreateMaterialFilter()
51 CreateMaterialFilter(float radius, float saturation, float brightness, uint32_t colorValue, BLUR_COLOR_MODE mode) CreateMaterialFilter() argument
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_object.cpp70 uint64_t colorValue = 0; in BuildImageObject()
72 colorValue = color.value().GetValue(); in BuildImageObject()
74 colorValue = colorValue | (static_cast<int64_t>(0b1) << 32); in BuildImageObject()
76 auto skiaDom = SkSVGDOM::MakeFromStream(*svgStream, colorValue); in BuildImageObject()
/foundation/window/window_manager/utils/include/
H A Dcolor_parser.h25 static bool Parse(const std::string& colorStr, uint32_t& colorValue);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_canvas_node_test.cpp2525 constexpr uint32_t colorValue = 0x034123; in HWTEST_F() local
2526 canvasNode->SetShadowColor(colorValue); in HWTEST_F()
2527 EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue)); in HWTEST_F()
2538 constexpr uint32_t colorValue = 0x45ba87; in HWTEST_F() local
2539 canvasNode->SetShadowColor(colorValue); in HWTEST_F()
2540 EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue)); in HWTEST_F()
2551 constexpr uint32_t colorValue = 0x32aadd; in HWTEST_F() local
2552 canvasNode->SetShadowColor(colorValue); in HWTEST_F()
2553 EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue)); in HWTEST_F()
2564 constexpr uint32_t colorValue in HWTEST_F() local
2577 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
3114 constexpr uint32_t colorValue = 0x034123; HWTEST_F() local
3127 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::max(); HWTEST_F() local
3140 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
3153 constexpr uint32_t colorValue = 0x034123; HWTEST_F() local
3166 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::max(); HWTEST_F() local
3179 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
3192 constexpr uint32_t colorValue = 0x034123; HWTEST_F() local
3205 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::max(); HWTEST_F() local
3218 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
[all...]
H A Drs_node_test.cpp2659 constexpr uint32_t colorValue = 0x034123; in HWTEST_F() local
2660 rsNode->SetShadowColor(colorValue); in HWTEST_F()
2661 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue)); in HWTEST_F()
2672 constexpr uint32_t colorValue = 0x45ba87; in HWTEST_F() local
2673 rsNode->SetShadowColor(colorValue); in HWTEST_F()
2674 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue)); in HWTEST_F()
2685 constexpr uint32_t colorValue = 0x32aadd; in HWTEST_F() local
2686 rsNode->SetShadowColor(colorValue); in HWTEST_F()
2687 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue)); in HWTEST_F()
2698 constexpr uint32_t colorValue in HWTEST_F() local
2711 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
3618 constexpr uint32_t colorValue = 0x034123; HWTEST_F() local
3631 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::max(); HWTEST_F() local
3644 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
3657 constexpr uint32_t colorValue = 0x034123; HWTEST_F() local
3670 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::max(); HWTEST_F() local
3683 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
3696 constexpr uint32_t colorValue = 0x034123; HWTEST_F() local
3709 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::max(); HWTEST_F() local
3722 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
3735 constexpr uint32_t colorValue = 0x034123; HWTEST_F() local
3748 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::max(); HWTEST_F() local
3761 constexpr uint32_t colorValue = std::numeric_limits<uint32_t>::min(); HWTEST_F() local
5246 uint32_t colorValue = 1; // for test HWTEST_F() local
6784 uint32_t colorValue = 1; // for test HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_resource_bridge.cpp86 uint32_t colorValue = color.GetValue(); in GetColorValue() local
87 return panda::NumberRef::New(vm, colorValue); in GetColorValue()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/
H A Dfill_gradient_lut.h145 ColorPoint(float offsetValue, const Rgba8T& colorValue) in ColorPoint()
146 : offset(offsetValue), color(colorValue) in ColorPoint()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_system_effect.cpp146 uint32_t colorValue; in SetWindowShadow() local
147 if (!ColorParser::Parse(shadow.color_, colorValue)) { in SetWindowShadow()
162 surfaceNode->SetShadowColor(colorValue); in SetWindowShadow()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_text_ffi.cpp116 void FfiOHOSAceFrameworkTextSetDecoration(int32_t typeValue, uint32_t colorValue) in FfiOHOSAceFrameworkTextSetDecoration() argument
123 TextModel::GetInstance()->SetTextDecorationColor(Color(colorValue)); in FfiOHOSAceFrameworkTextSetDecoration()
H A Dcj_text_ffi.h39 CJ_EXPORT void FfiOHOSAceFrameworkTextSetDecoration(int32_t typeValue, uint32_t colorValue);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/color_fuzzer/
H A Dcolor_fuzzer.cpp53 uint32_t colorValue = GetObject<uint32_t>(); in ColorFuzzTest001() local
54 color.SetColorQuad(colorValue); in ColorFuzzTest001()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.h250 void SetEnvForegroundColor(uint32_t colorValue);
256 void SetForegroundColor(uint32_t colorValue);
257 void SetBackgroundColor(uint32_t colorValue);
269 void SetBorderColor(uint32_t colorValue);
322 void SetShadowColor(uint32_t colorValue);
439 void SetColorBlend(uint32_t colorValue);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/modifier/
H A Drs_render_property_test.cpp302 std::shared_ptr<RSRenderProperty<Color>> colorValue = std::make_shared<RSRenderProperty<Color>>(); in HWTEST_F() local
304 colorValue->Set(color1); in HWTEST_F()
315 EXPECT_TRUE(propertyColor.IsNearEqual(colorValue, 1.f)); in HWTEST_F()
431 std::shared_ptr<RSRenderProperty<Color>> colorValue = std::make_shared<RSRenderProperty<Color>>(); in HWTEST_F() local
432 colorValue->Set(color); in HWTEST_F()
444 EXPECT_TRUE(property6.IsNearEqual(colorValue, zeroThreshold)); in HWTEST_F()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnative_node_extented.cpp348 indicator->colorValue = ArkUI_OptionalUint { 0, 0xFF000000 }; in OH_ArkUI_SwiperIndicator_Create()
482 indicator->colorValue.isSet = 1; in OH_ArkUI_SwiperIndicator_SetColor()
483 indicator->colorValue.value = color; in OH_ArkUI_SwiperIndicator_SetColor()
489 return indicator->colorValue.value; in OH_ArkUI_SwiperIndicator_GetColor()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_filter.h50 float radius, float saturation, float brightness, uint32_t colorValue,
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dcolor.h158 constexpr explicit Color(ColorParam colorValue) : colorValue_(colorValue) {} in Color() argument

Completed in 32 milliseconds

123