Searched refs:colors (Results 1 - 11 of 11) sorted by relevance
/drivers/peripheral/display/composer/test/common/ |
H A D | hdi_composition_check.cpp | 59 std::vector<uint32_t> colors; in GetCheckColors() local 75 colors.push_back(color); in GetCheckColors() 77 return colors; in GetCheckColors() 100 std::vector<uint32_t> colors = GetCheckColors(layers, points); in Check() local 101 DISPLAY_TEST_CHK_RETURN((colors.size() != points.size()), DISPLAY_FAILURE, in Check() 102 DISPLAY_TEST_LOGE("Points and colors don't match")); in Check() 108 ret = CheckPixel(clientBuffer, points[i].x, points[i].y, colors[i]); in Check()
|
H A D | display_test_utils.cpp | 212 std::vector<IRect> SplitBuffer(const BufferHandle &handle, std::vector<uint32_t> &colors) in SplitBuffer() argument 215 if (colors.empty()) { in SplitBuffer() 216 DISPLAY_TEST_LOGD("the colors empty"); in SplitBuffer() 218 const uint32_t ROW_NUM = sqrt(colors.size()); in SplitBuffer() 235 ClearColorRect(handle, colors[count++], rect); in SplitBuffer()
|
H A D | display_test_utils.h | 87 std::vector<IRect> SplitBuffer(const BufferHandle& handle, std::vector<uint32_t> &colors);
|
/drivers/peripheral/light/hal/src/ |
H A D | light_controller.c | 260 static int32_t OnMultiLightsValidityJudgment(uint32_t lightId, const struct LightColor *colors, const uint32_t count) in OnMultiLightsValidityJudgment() argument 267 if (colors == NULL) { in OnMultiLightsValidityJudgment() 268 HDF_LOGE("%{public}s: colors is nullptr", __func__); in OnMultiLightsValidityJudgment() 280 static int32_t OnMultiLights(uint32_t lightId, const struct LightColor *colors, const uint32_t count) in OnMultiLights() argument 285 ret = OnMultiLightsValidityJudgment(lightId, colors, count); in OnMultiLights() 312 if (!HdfSbufWriteBuffer(sbuf, colors, sizeof(*colors))) { in OnMultiLights() 334 colors, sizeof(*colors)) != EOK) { in OnMultiLights() 335 HDF_LOGE("%{public}s: Light colors cp in OnMultiLights() [all...] |
/drivers/peripheral/light/interfaces/include/ |
H A D | light_if.h | 91 * @param colors Color and brightness corresponding to multiple lights, see {@link LightColor}. 98 int32_t (*TurnOnMultiLights)(uint32_t lightId, const struct LightColor *colors, const uint32_t count);
|
/drivers/peripheral/light/hdi_service/ |
H A D | light_if_service.h | 34 int32_t TurnOnMultiLights(int32_t lightId, const std::vector<HdfLightColor>& colors) override;
|
H A D | light_if_service.cpp | 145 int32_t LightIfService::TurnOnMultiLights(int32_t lightId, const std::vector<HdfLightColor>& colors)
in TurnOnMultiLights() argument 154 for (auto iter : colors) {
in TurnOnMultiLights()
|
/drivers/peripheral/light/hdi_impl/ |
H A D | light_interface_impl.h | 33 int32_t TurnOnMultiLights(int32_t lightId, const std::vector<HdfLightColorVdi>& colors) override;
|
H A D | light_interface_impl.cpp | 103 int32_t LightInterfaceImpl::TurnOnMultiLights(int32_t lightId, const std::vector<HdfLightColorVdi>& colors) in TurnOnMultiLights() argument 112 uint32_t num = colors.size(); in TurnOnMultiLights() 115 for (auto iter : colors) { in TurnOnMultiLights()
|
/drivers/peripheral/light/interfaces/v1_0/ |
H A D | ilight_interface_vdi.h | 38 virtual int32_t TurnOnMultiLights(int32_t lightId, const std::vector<HdfLightColorVdi>& colors) = 0;
|
/drivers/peripheral/display/test/unittest/lite/ |
H A D | loadbmp_test.h | 94 OsdRgbQuad colors[1];
member
|
Completed in 4 milliseconds