Lines Matching refs:effect
134 struct LightEffect effect;
135 effect.lightColor.colorValue.rgbColor.r = 255;
136 effect.lightColor.colorValue.rgbColor.g = 0;
137 effect.lightColor.colorValue.rgbColor.b = 0;
138 effect.flashEffect.flashMode = LIGHT_FLASH_NONE;
139 effect.flashEffect.onTime = 0;
140 effect.flashEffect.offTime = 0;
143 ret = g_lightDev->TurnOnLight(g_lightInfo[i].lightId, &effect);
162 struct LightEffect effect;
163 effect.lightColor.colorValue.rgbColor.r = 255;
164 effect.lightColor.colorValue.rgbColor.g = 0;
165 effect.lightColor.colorValue.rgbColor.b = 0;
166 effect.flashEffect.flashMode = LIGHT_FLASH_BLINK;
167 effect.flashEffect.onTime = g_onTime;
168 effect.flashEffect.offTime = g_offTime;
171 ret = g_lightDev->TurnOnLight(g_lightInfo[i].lightId, &effect);
191 struct LightEffect effect;
193 ret = g_lightDev->TurnOnLight(lightId, &effect);
197 effect.lightColor.colorValue.rgbColor.r = 255;
198 effect.lightColor.colorValue.rgbColor.g = 0;
199 effect.lightColor.colorValue.rgbColor.b = 0;
200 effect.flashEffect.flashMode = LIGHT_FLASH_BUTT;
201 effect.flashEffect.onTime = g_onTime;
202 effect.flashEffect.offTime = g_offTime;
204 ret = g_lightDev->TurnOnLight(g_lightInfo[i].lightId, &effect);
207 effect.flashEffect.flashMode = LIGHT_FLASH_BLINK;
208 effect.flashEffect.onTime = 0;
209 ret = g_lightDev->TurnOnLight(g_lightInfo[i].lightId, &effect);
212 effect.flashEffect.onTime = g_onTime;
213 effect.flashEffect.offTime = 0;
214 ret = g_lightDev->TurnOnLight(g_lightInfo[i].lightId, &effect);