Home
last modified time | relevance | path

Searched refs:colorValue (Results 1 – 25 of 96) sorted by relevance

1234

/ohos5.0/drivers/peripheral/light/hdi_impl/
H A Dlight_interface_impl.cpp85 lightEffect.lightColor.colorValue.rgbColor.b = effect.lightColor.colorValue.rgbColor.b; in TurnOnLight()
86 lightEffect.lightColor.colorValue.rgbColor.g = effect.lightColor.colorValue.rgbColor.g; in TurnOnLight()
87 lightEffect.lightColor.colorValue.rgbColor.r = effect.lightColor.colorValue.rgbColor.r; in TurnOnLight()
88 lightEffect.lightColor.colorValue.wrgbColor.b = effect.lightColor.colorValue.wrgbColor.b; in TurnOnLight()
116 lightColor[i].colorValue.rgbColor.b = iter.colorValue.rgbColor.b; in TurnOnMultiLights()
117 lightColor[i].colorValue.rgbColor.g = iter.colorValue.rgbColor.g; in TurnOnMultiLights()
118 lightColor[i].colorValue.rgbColor.r = iter.colorValue.rgbColor.r; in TurnOnMultiLights()
119 lightColor[i].colorValue.wrgbColor.b = iter.colorValue.wrgbColor.b; in TurnOnMultiLights()
120 lightColor[i].colorValue.wrgbColor.g = iter.colorValue.wrgbColor.g; in TurnOnMultiLights()
121 lightColor[i].colorValue.wrgbColor.r = iter.colorValue.wrgbColor.r; in TurnOnMultiLights()
[all …]
/ohos5.0/drivers/peripheral/light/hdi_service/
H A Dlight_if_service.cpp124 lightEffectVdi.lightColor.colorValue.rgbColor.b = effect.lightColor.colorValue.rgbColor.b; in TurnOnLight()
125 lightEffectVdi.lightColor.colorValue.rgbColor.g = effect.lightColor.colorValue.rgbColor.g; in TurnOnLight()
126 lightEffectVdi.lightColor.colorValue.rgbColor.r = effect.lightColor.colorValue.rgbColor.r; in TurnOnLight()
127 lightEffectVdi.lightColor.colorValue.wrgbColor.b = effect.lightColor.colorValue.wrgbColor.b; in TurnOnLight()
156 lightColorVdi.colorValue.rgbColor.b = iter.colorValue.rgbColor.b; in TurnOnMultiLights()
157 lightColorVdi.colorValue.rgbColor.g = iter.colorValue.rgbColor.g; in TurnOnMultiLights()
158 lightColorVdi.colorValue.rgbColor.r = iter.colorValue.rgbColor.r; in TurnOnMultiLights()
159 lightColorVdi.colorValue.wrgbColor.b = iter.colorValue.wrgbColor.b; in TurnOnMultiLights()
160 lightColorVdi.colorValue.wrgbColor.g = iter.colorValue.wrgbColor.g; in TurnOnMultiLights()
161 lightColorVdi.colorValue.wrgbColor.r = iter.colorValue.wrgbColor.r; in TurnOnMultiLights()
[all …]
/ohos5.0/drivers/peripheral/light/test/unittest/hdi/
H A Dhdf_light_hdi_test.cpp65 effect.lightColor.colorValue.rgbColor.r = MIN_VALUE; in InitConfig()
66 effect.lightColor.colorValue.rgbColor.g = MIN_VALUE; in InitConfig()
67 effect.lightColor.colorValue.rgbColor.b = MIN_VALUE; in InitConfig()
83 effect.lightColor.colorValue.rgbColor.r = MAX_VALUE;
106 effect.lightColor.colorValue.rgbColor.g = MAX_VALUE;
129 effect.lightColor.colorValue.rgbColor.b = MAX_VALUE;
152 effect.lightColor.colorValue.rgbColor.r = MAX_VALUE;
178 effect.lightColor.colorValue.rgbColor.g = MAX_VALUE;
399 light.colorValue.rgbColor.r = MAX_VALUE;
400 light.colorValue.rgbColor.g = MIN_VALUE;
[all …]
H A Dhdf_light_hdi_common_test.cpp63 effect.lightColor.colorValue.rgbColor.r = MIN_VALUE; in InitConfig()
64 effect.lightColor.colorValue.rgbColor.g = MIN_VALUE; in InitConfig()
65 effect.lightColor.colorValue.rgbColor.b = MIN_VALUE; in InitConfig()
113 effect.lightColor.colorValue.rgbColor.r = MAX_VALUE;
136 effect.lightColor.colorValue.rgbColor.g = MAX_VALUE;
158 effect.lightColor.colorValue.rgbColor.b = MAX_VALUE;
181 effect.lightColor.colorValue.rgbColor.r = MAX_VALUE;
182 effect.lightColor.colorValue.rgbColor.g = MAX_VALUE;
183 effect.lightColor.colorValue.rgbColor.b = MAX_VALUE;
205 effect.lightColor.colorValue.rgbColor.r = MAX_VALUE;
[all …]
/ohos5.0/drivers/peripheral/light/test/unittest/common/
H A Dhdf_light_test.cpp145 effect.lightColor.colorValue.rgbColor.g = 0;
146 effect.lightColor.colorValue.rgbColor.b = 0;
155 effect.lightColor.colorValue.rgbColor.r = 0;
157 effect.lightColor.colorValue.rgbColor.b = 0;
184 effect.lightColor.colorValue.rgbColor.g = 0;
185 effect.lightColor.colorValue.rgbColor.b = 0;
194 effect.lightColor.colorValue.rgbColor.r = 0;
196 effect.lightColor.colorValue.rgbColor.b = 0;
207 effect.lightColor.colorValue.rgbColor.b = 0;
236 effect.lightColor.colorValue.rgbColor.g = 0;
[all …]
/ohos5.0/drivers/peripheral/light/test/benchmarktest/
H A Dhdf_light_benchmark_test.cpp106 effect.lightColor.colorValue.rgbColor.r = COLORVALUE_RED; in BENCHMARK_F()
107 effect.lightColor.colorValue.rgbColor.g = COLORVALUE_GREEN; in BENCHMARK_F()
108 effect.lightColor.colorValue.rgbColor.b = COLORVALUE_BLUE; in BENCHMARK_F()
144 effect.lightColor.colorValue.rgbColor.r = COLORVALUE_RED; in BENCHMARK_F()
145 effect.lightColor.colorValue.rgbColor.g = COLORVALUE_GREEN; in BENCHMARK_F()
146 effect.lightColor.colorValue.rgbColor.b = COLORVALUE_BLUE; in BENCHMARK_F()
183 light.colorValue.rgbColor.b = COLORVALUE_BLUE; in BENCHMARK_F()
/ohos5.0/drivers/peripheral/light/test/performance/common/
H A Dhdf_light_performance_test.cpp70 effect.lightColor.colorValue.rgbColor.r = MIN_VALUE; in InitConfig()
71 effect.lightColor.colorValue.rgbColor.g = MIN_VALUE; in InitConfig()
72 effect.lightColor.colorValue.rgbColor.b = MIN_VALUE; in InitConfig()
88 effect.lightColor.colorValue.rgbColor.r = MAX_VALUE;
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/light/
H A D_hdf_light_color_v10.md22 | union [ColorValue](union_color_value_v10.md)[colorValue](#colorvalue) | 设置灯的模式, 详见[ColorValue](un…
28 ### colorValue subsection
31 union ColorValue HdfLightColor::colorValue
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_loading_progress_modifier.cpp33 void SetLoadingProgressColor(ArkUINodeHandle node, uint32_t colorValue) in SetLoadingProgressColor() argument
37 LoadingProgressModelNG::SetColor(frameNode, Color(colorValue)); in SetLoadingProgressColor()
74 void SetLoadingProgressForegroundColor(ArkUINodeHandle node, ArkUI_Uint32 colorValue) in SetLoadingProgressForegroundColor() argument
78 LoadingProgressModelNG::SetForegroundColor(frameNode, Color(colorValue)); in SetLoadingProgressForegroundColor()
/ohos5.0/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()
/ohos5.0/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()
[all …]
/ohos5.0/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()
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dbattery_led.cpp67 effect.lightColor.colorValue.rgbColor.r = static_cast<uint8_t>((color >> MOVE_RIGHT_16) & 0xFF); in TurnOn()
68 effect.lightColor.colorValue.rgbColor.g = static_cast<uint8_t>((color >> MOVE_RIGHT_8) & 0xFF); in TurnOn()
69 effect.lightColor.colorValue.rgbColor.b = static_cast<uint8_t>(color & 0xFF); in TurnOn()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_gradient.cpp31 void NativeCanvasGradient::AddColorStop(double offsetValue, const Color& colorValue) in AddColorStop() argument
34 color.SetColor(colorValue); in AddColorStop()
/ohos5.0/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; variable
2526 canvasNode->SetShadowColor(colorValue);
2538 constexpr uint32_t colorValue = 0x45ba87; variable
2539 canvasNode->SetShadowColor(colorValue);
2551 constexpr uint32_t colorValue = 0x32aadd; variable
2552 canvasNode->SetShadowColor(colorValue);
2565 canvasNode->SetShadowColor(colorValue);
2578 canvasNode->SetShadowColor(colorValue);
3193 canvasNode->SetBorderColor(colorValue);
3206 canvasNode->SetBorderColor(colorValue);
[all …]
H A Drs_node_test.cpp2660 rsNode->SetShadowColor(colorValue);
2673 rsNode->SetShadowColor(colorValue);
2686 rsNode->SetShadowColor(colorValue);
2699 rsNode->SetShadowColor(colorValue);
2712 rsNode->SetShadowColor(colorValue);
3697 rsNode->SetBorderColor(colorValue);
3710 rsNode->SetBorderColor(colorValue);
3723 rsNode->SetBorderColor(colorValue);
5146 EXPECT_EQ(colorValue, 1);
6696 rsNode->SetColorBlend(colorValue);
[all …]
/ohos5.0/drivers/peripheral/light/hal/src/
H A Dlight_dump.c102 lightEffect->lightColor.colorValue.rgbColor.r, in ShowLightEffectInfo()
103 lightEffect->lightColor.colorValue.rgbColor.g, in ShowLightEffectInfo()
104 lightEffect->lightColor.colorValue.rgbColor.b, in ShowLightEffectInfo()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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() argument
54 MaterialParam materialParam = {radius, saturation, brightness, Color::FromArgbInt(colorValue)}; in CreateMaterialFilter()
/ohos5.0/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>>(); variable
304 colorValue->Set(color1);
315 EXPECT_TRUE(propertyColor.IsNearEqual(colorValue, 1.f));
430 … std::shared_ptr<RSRenderProperty<Color>> colorValue = std::make_shared<RSRenderProperty<Color>>(); variable
431 colorValue->Set(color);
443 EXPECT_TRUE(property6.IsNearEqual(colorValue, zeroThreshold));
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_resource_bridge.cpp110 uint32_t colorValue = color.GetValue(); in GetColorValue() local
111 return panda::NumberRef::New(vm, colorValue); in GetColorValue()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-light-des.md407 if (buf->lightColor.colorValue.rgbColor.r != 0) {
411 if (buf->lightColor.colorValue.rgbColor.g != 0) {
415 if (buf->lightColor.colorValue.rgbColor.b != 0) {
841 effect.lightColor.colorValue.rgbColor.r = 255;
842 effect.lightColor.colorValue.rgbColor.g = 0;
843 effect.lightColor.colorValue.rgbColor.b = 0;
852 effect.lightColor.colorValue.rgbColor.r = 0;
853 effect.lightColor.colorValue.rgbColor.g = 255;
854 effect.lightColor.colorValue.rgbColor.b = 0;

1234