Lines Matching refs:index
55 static SLresult ILEDArray_SetColor(SLLEDArrayItf self, SLuint8 index, const SLHSL *pColor)
61 if (!(index < MAX_LED_COUNT) || NULL == pColor)
73 thiz->mColors[index] = color;
82 static SLresult ILEDArray_GetColor(SLLEDArrayItf self, SLuint8 index, SLHSL *pColor)
86 if (!(index < MAX_LED_COUNT) || NULL == pColor) {
92 SLHSL color = thiz->mColors[index];
115 SLuint8 index;
116 for (index = 0; index < MAX_LED_COUNT; ++index, ++color) {