Home
last modified time | relevance | path

Searched refs:red (Results 1 – 14 of 14) sorted by relevance

/base/security/security_component_manager/frameworks/common/src/
Dsec_comp_tool.cpp60 double red = static_cast<double>(r) / MAX_RGB_VALUE; in RgbToHsv() local
63 double max = MaxValue(red, green, blue); in RgbToHsv()
64 double min = MinValue(red, green, blue); in RgbToHsv()
68 } else if (max == red) { in RgbToHsv()
72 …hsv.h = fmod((SIXTY_ANGLE * ((blue - red) / delta) + ONE_HUNDRED_TWEENTY_ANGLE), THREE_HUNDREDS_SI… in RgbToHsv()
74 …hsv.h = fmod((SIXTY_ANGLE * ((red - green) / delta) + TWO_HUNDREDS_FORTY_ANGLE), THREE_HUNDREDS_SI… in RgbToHsv()
126 HsvColor hsv1 = RgbToHsv(color1.argb.red, color1.argb.green, color1.argb.blue); in IsColorSimilar()
127 HsvColor hsv2 = RgbToHsv(color2.argb.red, color2.argb.green, color2.argb.blue); in IsColorSimilar()
/base/powermgr/battery_lite/services/include/
Dbattery_device.h55 int (*TurnOnLed)(int red, int green, int blue);
57 int (*SetLedColor)(int red, int green, int blue);
58 int (*GetLedColor)(int *red, int *green, int *blue);
Dibattery.h53 int (*TurnOnLed)(int red, int green, int blue);
55 int (*SetLedColor)(int red, int green, int blue);
56 int (*GetLedColor)(int* red, int* green, int* blue);
/base/web/webview/test/unittest/aafwk_app_client_adapter/
Dnweb_aafwk_adapter_test.cpp146 int red = 0; variable
149 red = -1;
151 EXPECT_EQ(RESULT_OK, red);
176 pid_t red = 1; variable
177 int result = g_adapter->GetRenderProcessTerminationStatus(red, statused);
200 pid_t red = 1; variable
201 int result = g_adapter->GetRenderProcessTerminationStatus(red, statused);
224 pid_t red = 1; variable
225 int result = g_adapter->GetRenderProcessTerminationStatus(red, statused);
253 pid_t red = 1; variable
[all …]
/base/powermgr/battery_lite/services/src/
Dbattery_device.c99 int TurnOnLedImpl(int red, int green, int blue) in TurnOnLedImpl() argument
101 (void)red; in TurnOnLedImpl()
110 int SetLedColorImpl(int red, int green, int blue) in SetLedColorImpl() argument
112 (void)red; in SetLedColorImpl()
117 int GetLedColorImpl(int *red, int *green, int *blue) in GetLedColorImpl() argument
119 (void)red; in GetLedColorImpl()
/base/theme/wallpaper_mgr/frameworks/js/napi/
Dwallpaper_js_util.cpp63 napi_value red = nullptr; in Convert2JSRgbaArray() local
67 napi_create_int32(env, static_cast<int32_t>(colors.r * COLOR_MASK), &red); in Convert2JSRgbaArray()
73 napi_set_named_property(env, element, "red", red); in Convert2JSRgbaArray()
/base/update/updater/services/ui/driver/
Dfbdev_driver.cpp54 LOG(INFO) << "red.offset=" << vinfo_.red.offset; in FBLog()
55 LOG(INFO) << "red.length=" << vinfo_.red.length; in FBLog()
56 LOG(INFO) << "red.msb_right=" << vinfo_.red.msb_right; in FBLog()
/base/security/security_component_manager/interfaces/inner_api/security_component/include/
Dsec_comp_info.h52 uint8_t red; member
/base/update/updater/services/fs_manager/
Dpartitions.cpp120 bool red = ReadDeviceSysfsFile(dev, nameStr, name); in SdmmcGetProductInfo() local
121 return (ret || red); in SdmmcGetProductInfo()
/base/startup/init/services/etc/
Dinit.without_two_stages.cfg197 "chown system system /sys/class/leds/red/brightness",
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg346 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/brightness' in sub …
347 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/delay_on' in sub in…
348 …Init][ERROR][init_common_cmds.c:323]Failed to change owner for /sys/class/leds/red/delay_on, err 2.
349 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/delay_off' in sub i…
350 …nit][ERROR][init_common_cmds.c:323]Failed to change owner for /sys/class/leds/red/delay_off, err 2.
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/
Dlast_kmsg346 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/brightness' in sub …
347 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/delay_on' in sub in…
348 …Init][ERROR][init_common_cmds.c:323]Failed to change owner for /sys/class/leds/red/delay_on, err 2.
349 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/delay_off' in sub i…
350 …nit][ERROR][init_common_cmds.c:323]Failed to change owner for /sys/class/leds/red/delay_off, err 2.
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Dlast_kmsg346 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/brightness' in sub …
347 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/delay_on' in sub in…
348 …Init][ERROR][init_common_cmds.c:323]Failed to change owner for /sys/class/leds/red/delay_on, err 2.
349 …[init_context.c:184]Exec cmd 'chown light_host light_host /sys/class/leds/red/delay_off' in sub i…
350 …nit][ERROR][init_common_cmds.c:323]Failed to change owner for /sys/class/leds/red/delay_off, err 2.
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
Dhvigor-wrapper.js16 …,39],black:[90,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[91,39],yellow:[33,… property