Searched refs:colorCount (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/input/edittext/ |
H A D | index.js | 20 var colorCount=0; variable 78 if (colorCount % 2 == 0) { 84 colorCount++;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-effectKit.md | 466 getTopProportionColors(colorCount: number): Array<Color | null> 468 读取图像占比靠前的颜色值,个数由`colorCount`指定,结果写入[Color](#color)的数组里,使用同步方式返回。 479 | colorCount | number | 是 | 需要取主色的个数,取值范围为[1, 10],向下取整。 | 485 … Array<[Color](#color) \| null> | Color数组,即图像占比前`colorCount`的颜色值数组,按占比排序。<br>- 当实际读取的特征色个数小于`color…
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_decoder.cpp | 446 int32_t colorCount = colorMap->ColorCount; in PaddingData() local 448 if ((bitsPerPixel < 0) || (colorCount != (1 << static_cast<uint32_t>(bitsPerPixel)))) { in PaddingData() 450 bitsPerPixel, colorCount); in PaddingData()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-effectKit.md | 466 getTopProportionColors(colorCount: number): Array<Color | null> 479 | colorCount | number | Yes | Number of colors to obtain. The value range is [1, 10]. If a non-int… 485 …colorCount**, the array size is the actual number obtained.<br>- If the color fails to be obtained…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_canvas.cpp | 470 const size_t colorCount = 4; in DrawPatch() local 473 skiaColors.resize(colorCount); in DrawPatch() 474 for (size_t i = 0; i < colorCount; ++i) { in DrawPatch()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/data_panel/ |
H A D | rosen_render_data_panel.cpp | 84 …endSkShader(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int colorCount, in BlendSkShader() argument 89 const std::vector<RSScalar>& pos, int colorCount, RSScalar startAngle, RSScalar drawAngle, in BlendSkShader()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 1546 int32_t colorCount = 0; in InvalidateColor() local 1556 … invalidateAttachment[static_cast<size_t>(colorCount)] = GL_COLOR_ATTACHMENT0 + ci; in InvalidateColor() 1557 colorCount++; in InvalidateColor() 1563 return colorCount; in InvalidateColor()
|