Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 25 of 110) sorted by relevance

12345

/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-layout-development-grid-layout.md69 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
70 'rgb(255,192,0)', 'rgb(170,10,33)'];
109 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
110 …'rgb(255,192,0)', 'rgb(170,10,33)', 'rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(…
136 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
137 'rgb(255,192,0)', 'rgb(170,10,33)'];
187 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
297 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
319 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
346 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
[all …]
H A Darkts-particle-animation.md13 .width(300).height(300).backgroundColor('rgb(240, 250, 255)')
26 range:['rgb(39, 135, 217)','rgb(0, 74, 175)'],//初始颜色范围
68 range: ['rgb(39, 135, 217)','rgb(0, 74, 175)'], // 初始颜色范围
94 range: ['rgb(39, 135, 217)','rgb(0, 74, 175)'], // 初始颜色范围
H A Darkts-layout-development-linear.md100 }.width('100%').alignItems(HorizontalAlign.Start).backgroundColor('rgb(242,242,242)')
117 }.width('100%').alignItems(HorizontalAlign.Center).backgroundColor('rgb(242,242,242)')
134 }.width('100%').alignItems(HorizontalAlign.End).backgroundColor('rgb(242,242,242)')
158 }.width('100%').height(200).alignItems(VerticalAlign.Top).backgroundColor('rgb(242,242,242)')
175 }.width('100%').height(200).alignItems(VerticalAlign.Center).backgroundColor('rgb(242,242,242)')
192 }.width('100%').height(200).alignItems(VerticalAlign.Bottom).backgroundColor('rgb(242,242,242)')
221 }.width('100%').height(300).backgroundColor('rgb(242,242,242)').justifyContent(FlexAlign.Start)
238 }.width('100%').height(300).backgroundColor('rgb(242,242,242)').justifyContent(FlexAlign.Center)
255 }.width('100%').height(300).backgroundColor('rgb(242,242,242)').justifyContent(FlexAlign.End)
330 }.width('100%').height(200).backgroundColor('rgb(242,242,242)').justifyContent(FlexAlign.Start)
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-layout-development-grid-layout.md69 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
70 'rgb(255,192,0)', 'rgb(170,10,33)'];
109 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
110 …'rgb(255,192,0)', 'rgb(170,10,33)', 'rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(…
136 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
137 'rgb(255,192,0)', 'rgb(170,10,33)'];
187 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
297 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
319 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
346 …['rgb(213,213,213)', 'rgb(150,150,150)', 'rgb(0,74,175)', 'rgb(39,135,217)', 'rgb(61,157,180)', 'r…
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/shader/
H A Dfullscreen_combined_post_process.frag41 uPc.viewportSizeInvSize.zw, uImgSampler, outColor.rgb, outColor.rgb);
44 uBloomSampler, uDirtSampler, outColor.rgb, outColor.rgb);
47 … uGlobalData.flags.x, uGlobalData.factors[POST_PROCESS_INDEX_TONEMAP], outColor.rgb, outColor.rgb);
51 …ta.flags.x, uGlobalData.factors[POST_PROCESS_INDEX_DITHER], vecCoeffs, outColor.rgb, outColor.rgb);
53 …lData.flags.x, uGlobalData.factors[POST_PROCESS_INDEX_VIGNETTE], inUv, outColor.rgb, outColor.rgb);
55 …ata.flags.x, uGlobalData.factors[POST_PROCESS_INDEX_COLOR_CONVERSION], outColor.rgb, outColor.rgb);
H A Dfullscreen_taa.frag120 vec3 bc1 = textureLodOffset(sampler2D(uColor, uSampler), inUv.xy, 0.0, ivec2(0, -1)).rgb;
123 vec3 bc4 = currColor.rgb;
127 vec3 bc5 = textureLodOffset(sampler2D(uColor, uSampler), inUv.xy, 0.0, ivec2(1, 0)).rgb;
128 vec3 bc7 = textureLodOffset(sampler2D(uColor, uSampler), inUv.xy, 0.0, ivec2(0, 1)).rgb;
141 vec3 bc8 = textureLodOffset(sampler2D(uColor, uSampler), inUv.xy, 0.0, ivec2(1, 1)).rgb;
156 history.rgb = clamp(history.rgb, boxMin, boxMax);
159 const float historyLuma = CalcLuma(history.rgb);
160 const float colorLuma = CalcLuma(currColor.rgb);
162 history.rgb *= 1.0 / (1.0 + historyLuma);
163 currColor.rgb *= 1.0 / (1.0 + colorLuma);
[all …]
H A Ddepth_of_field.frag46 color.rgb = (farPlane.rgb * farWeight) + focusPlane.rgb * (1.0 - farWeight);
49 color.rgb = (nearPlane.rgb * nearWeight) + color.rgb * (1.0 - nearWeight);
H A Dfullscreen_post_process_tonemap.frag64 const vec3 x = outColor.rgb * exposure;
67 outColor.rgb = TonemapAces(x);
69 outColor.rgb = TonemapAcesFilmRec2020(x);
72 outColor.rgb = TonemapFilmic(x * exposureEstimate);
81 outColor.rgb *= vignette;
88 outColor.rgb = LinearToSrgb(outColor.rgb);
H A Ddepth_of_field_blur.frag69 outNearColor.rgb = color.rgb;
71 outFarColor.rgb = color.rgb;
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_inplace_post_process.h30 …stProcessData.flags.x, uPostProcessData.factors[POST_PROCESS_INDEX_TONEMAP], color.rgb, color.rgb); in InplacePostProcess()
35 …ata.flags.x, uPostProcessData.factors[POST_PROCESS_INDEX_DITHER], vecCoeffs, color.rgb, color.rgb); in InplacePostProcess()
37 …Data.flags.x, uPostProcessData.factors[POST_PROCESS_INDEX_VIGNETTE], fragUv, color.rgb, color.rgb); in InplacePostProcess()
39 …Data.flags.x, uPostProcessData.factors[POST_PROCESS_INDEX_COLOR_CONVERSION], color.rgb, color.rgb); in InplacePostProcess()
H A D3d_dm_inplace_fog_common.h46 outCol = inCol.rgb; in InplaceFogBlock()
86 …const vec3 fogColor = inscatteringColor.rgb * inscatteringColor.a + envMapColor.rgb * envMapColor.… in InplaceFogBlock()
87 const vec3 baseColor = inCol.rgb; in InplaceFogBlock()
89 outCol.rgb = mix(baseColor, fogColor, expFogFactor); in InplaceFogBlock()
H A D3d_dm_inplace_env_common.h70 color.rgb = unpackEnvMap(textureLod(cubeMap, worldView, lodLevel)); in InplaceEnvironmentBlock()
85 vec3 fogColor = color.rgb; in InplaceEnvironmentBlock()
87 color.rgb = fogColor.rgb; in InplaceEnvironmentBlock()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-power-level-LED-color.md47 "rgb": [255, 192, 203]
51 "rgb": [255, 0, 255]
55 "rgb": [0, 0, 255]
74 | rgb | LED灯RGB组合 |
169 "rgb": [255, 192, 203]
173 "rgb": [255, 0, 255]
177 "rgb": [0, 0, 255]
223 "rgb": [255, 0, 0]
227 "rgb": [255, 255, 0]
231 "rgb": [0, 255, 0]
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dbattery_config.cpp148 Json::Value rgb = GetValue("light." + level + ".rgb"); in ParseLightConf() local
149 if (!soc.isArray() || !rgb.isArray()) { in ParseLightConf()
158 if (rgb.size() != MAX_RGB_RANGE || !rgb[RED_INDEX].isUInt() || !rgb[GREEN_INDEX].isUInt() || in ParseLightConf()
159 !rgb[BLUE_INDEX].isUInt()) { in ParseLightConf()
166 .rgb = (rgb[RED_INDEX].asUInt() << MOVE_LEFT_16) | in ParseLightConf()
167 (rgb[GREEN_INDEX].asUInt() << MOVE_LEFT_8) | in ParseLightConf()
168 rgb[BLUE_INDEX].asUInt() in ParseLightConf()
/ohos5.0/base/powermgr/battery_manager/services/native/src/
H A Dbattery_config.cpp132 Json::Value rgb = GetValue("light." + level + ".rgb"); in ParseLightConf() local
133 if (!soc.isArray() || !rgb.isArray()) { in ParseLightConf()
142 if (rgb.size() != MAX_RGB_RANGE || !rgb[RED_INDEX].isUInt() || !rgb[GREEN_INDEX].isUInt() || in ParseLightConf()
143 !rgb[BLUE_INDEX].isUInt()) { in ParseLightConf()
150 .rgb = (rgb[RED_INDEX].asUInt() << MOVE_LEFT_16) | in ParseLightConf()
151 (rgb[GREEN_INDEX].asUInt() << MOVE_LEFT_8) | in ParseLightConf()
152 rgb[BLUE_INDEX].asUInt() in ParseLightConf()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-common-gradient.md34 支持以下四种方式:\#ff0000、\#ffff0000、rgb(255, 0, 0)、rgba(255, 0, 0, 1),需要指定至少两种颜色。
63 background: linear-gradient(45deg, rgb(255, 0, 0),rgb(0, 255, 0));
72 background: linear-gradient(to right, rgb(255, 0, 0) 90px, rgb(0, 255, 0) 60%);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-common-gradient.md32 支持以下四种方式:\#ff0000、\#ffff0000、rgb(255, 0, 0)、rgba(255, 0, 0, 1),需要指定至少两种颜色。
61 background: linear-gradient(45deg, rgb(255,0,0),rgb(0, 255, 0));
72 background: linear-gradient(to right, rgb(255,0,0) 90px, rgb(0, 255, 0) 60%);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-folderstack.md168 }.backgroundColor('rgb(0, 74, 175)').width("100%").height("100%").id("upperitemsId")
176 .backgroundColor('rgb(213, 213, 213)')
185 .backgroundColor('rgb(213, 213, 213)')
189 .backgroundColor('rgb(39, 135, 217)')
215 .backgroundColor('rgb(39, 135, 217)')
221 .borderColor('rgb(213, 213, 213)')
222 .backgroundColor('rgb(0, 74, 175)')
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/
H A Drender_post_process_blocks.h57 outCol.rgb *= vignette; in PostProcessVignetteBlock()
108 outCol.rgb = LinearToSrgb(outCol.rgb); in PostProcessColorConversionBlock()
122 const vec3 bloomColor = textureLod(imgSampler, uv, 0).rgb * bloomFactor.z; in PostProcessBloomCombineBlock()
123 const vec3 dirtColor = textureLod(dirtImgSampler, uv, 0).rgb * bloomFactor.w; in PostProcessBloomCombineBlock()
125 outCol.rgb = min(bloomCombine, CORE_CLAMP_MAX_VALUE); in PostProcessBloomCombineBlock()
H A Drender_color_conversion_common.h101 vec3 rgbToYCoCg(const vec3 rgb) in rgbToYCoCg() argument
103 const float y = dot(rgb, vec3(0.25, 0.5, 0.25)); in rgbToYCoCg()
104 const float co = dot(rgb, vec3(0.5, 0.0, -0.5)); in rgbToYCoCg()
105 const float cg = dot(rgb, vec3(-0.25, 0.5, -0.25)); in rgbToYCoCg()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/shaders/shader/
H A Dcore3d_dm_fullscreen_deferred_shading.frag59 GetUnpackBaseColorWithAo(subpassLoad(uGBufferBaseColor), fd.baseColor.rgb, fd.ao);
65 GetUnpackBaseColorWithAo(textureLod(uGBufferBaseColor, uv, 0), fd.baseColor.rgb, fd.ao);
99 GetUnpackBaseColorWithAo(subpassLoad(uGBufferBaseColor), color.rgb, color.a);
101 GetUnpackBaseColorWithAo(textureLod(uGBufferBaseColor, uv, 0), color.rgb, color.a);
126 uEnvironmentData.indirectDiffuseColorFactor.rgb;
134 uEnvironmentData.indirectSpecularColorFactor.rgb;
145 color.rgb = GetRadianceSample(worldReflect, roughness);
147 return color.rgb;
159 return vec4(color.rgb, 1.0);
300 color.rgb = clamp(color.rgb, 0.0, CORE_HDR_FLOAT_CLAMP_MAX_VALUE); // zero to hdr max
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_color_picker.cpp154 HSV RSColorPicker::RGB2HSV(uint32_t rgb) const in RGB2HSV()
161 r = GetARGB32ColorR(rgb) / 255.0; // 255.0 is used to normalize color to [0, 1]. in RGB2HSV()
162 g = GetARGB32ColorG(rgb) / 255.0; // 255.0 is used to normalize color to [0, 1]. in RGB2HSV()
163 b = GetARGB32ColorB(rgb) / 255.0; // 255.0 is used to normalize color to [0, 1]. in RGB2HSV()
232 uint32_t rgb = 0; in HSVtoRGB() local
285 rgb = r << ARGB_R_SHIFT | g << ARGB_G_SHIFT | b << ARGB_B_SHIFT; in HSVtoRGB()
286 return rgb; in HSVtoRGB()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp211 Json::Value rgb = GetValue(valueObj, "rgb"); in ParseLightConfig() local
212 if (!soc.isArray() || !rgb.isArray()) { in ParseLightConfig()
220 if (rgb.size() != MAX_RGB_RANGE || !rgb[RED_INDEX].isUInt() || !rgb[GREEN_INDEX].isUInt() || in ParseLightConfig()
221 !rgb[BLUE_INDEX].isUInt()) { in ParseLightConfig()
229 .rgb = (rgb[RED_INDEX].asUInt() << MOVE_LEFT_16) | in ParseLightConfig()
230 (rgb[GREEN_INDEX].asUInt() << MOVE_LEFT_8) | in ParseLightConfig()
231 rgb[BLUE_INDEX].asUInt() in ParseLightConfig()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-power-level-LED-color.md47 "rgb": [255, 192, 203]
51 "rgb": [255, 0, 255]
55 "rgb": [0, 0, 255]
74 | rgb | LED RGB combination|
169 "rgb": [255, 192, 203]
173 "rgb": [255, 0, 255]
177 "rgb": [0, 0, 255]
223 "rgb": [255, 0, 0]
227 "rgb": [255, 255, 0]
231 "rgb": [0, 255, 0]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_encoder.cpp372 colorCoordinate[i].rgb[R_IN_RGB] = (i >> RED_COORDINATE) & 0x1F; in InitColorCube()
373 colorCoordinate[i].rgb[G_IN_RGB] = (i >> GREEN_COORDINATE) & 0x1F; in InitColorCube()
374 colorCoordinate[i].rgb[B_IN_RGB] = (i >> BLUE_COORDINATE) & 0x1F; in InitColorCube()
454 red += coordinate->rgb[R_IN_RGB]; in doColorQuantize()
455 green += coordinate->rgb[G_IN_RGB]; in doColorQuantize()
456 blue += coordinate->rgb[B_IN_RGB]; in doColorQuantize()
482 int32_t hash1 = entry1->rgb[(g_sortRGBAxis + R_IN_RGB)] * COLOR_OF_GIF * COLOR_OF_GIF + in SortCmpRtn()
483 entry1->rgb[(g_sortRGBAxis + G_IN_RGB) % NUM_OF_RGB] * COLOR_OF_GIF + in SortCmpRtn()
484 entry1->rgb[(g_sortRGBAxis + B_IN_RGB) % NUM_OF_RGB]; in SortCmpRtn()
486 entry2->rgb[(g_sortRGBAxis + G_IN_RGB) % NUM_OF_RGB] * COLOR_OF_GIF + in SortCmpRtn()
[all …]

12345