Searched refs:rgb (Results 1 – 5 of 5) sorted by relevance
118 Json::Value rgb = GetValue("light." + level + ".rgb"); in ParseLightConf() local119 if (!soc.isArray() || !rgb.isArray()) { in ParseLightConf()127 .rgb = (rgb[RED_INDEX].asUInt() << MOVE_LEFT_16) | in ParseLightConf()128 (rgb[GREEN_INDEX].asUInt() << MOVE_LEFT_8) | in ParseLightConf()129 rgb[BLUE_INDEX].asUInt() in ParseLightConf()
101 RETURN_IF_WITH_RET(lightColor_ == it.rgb, true); in UpdateColor()103 TurnOn(it.rgb); in UpdateColor()
35 uint32_t rgb; member
63 EXPECT_TRUE(lightConf[i].rgb >= 0 && lightConf[i].rgb <= maxRgb);
285 "path" : ["/system/bin/misc_daemon", "--write_logo", "/vendor/logo.rgb"],