Lines Matching refs:i

199     for (int i = 0; i < size; i++) {  in isValidZOrder()  local
200 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
215 for (int i = 0; i < size; i++) { in isValidZOrder() local
216 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in isValidZOrder()
217 firstOverlay = i; in isValidZOrder()
223 for (int i = 0; i < size; i++) { in isValidZOrder() local
224 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
225 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
243 for (int i = 0; i < size; i++) { in isValidZOrder() local
244 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
245 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
271 for (int i = 0; i < size; i++) { in assignPlanes() local
272 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
273 index += (1 << i); in assignPlanes()
287 for (int i = 0; i < combinations; i++) { in assignPlanes() local
288 ZOrderDescription *zorderDesc = table + i; in assignPlanes()
315 for (int i = 0; i < size; i++) { in assignPlanes() local
316 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in assignPlanes()
317 if (i != size - 1) { in assignPlanes()
328 if (i >= zorderLen) { in assignPlanes()
333 char id = *(zorder + i); in assignPlanes()
342 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY && in assignPlanes()
344 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
348 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
349 if (config[i]->planeType != DisplayPlane::PLANE_PRIMARY && in assignPlanes()
350 config[i]->planeType != DisplayPlane::PLANE_SPRITE) { in assignPlanes()
351 ETRACE("invalid plane type %d,", config[i]->planeType); in assignPlanes()
356 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
363 config[i]->hwcLayer->getTransform() != 0) { in assignPlanes()
371 for (int i = 0; i < size; i++) { in assignPlanes() local
372 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in assignPlanes()
374 ZOrderLayer *zLayer = config.itemAt(i); in assignPlanes()
382 char id = *(zorder + i); in assignPlanes()
384 ZOrderLayer *zLayer = config.itemAt(i); in assignPlanes()
398 for (int i = 0; i < size; i++) { in assignPlanes() local
399 slot = i; in assignPlanes()
403 config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
408 config[i]->plane->setZOrderConfig(config, (void *)(unsigned long)slot); in assignPlanes()
409 config[i]->plane->enable(); in assignPlanes()
414 for (int i = 0; i < size; i++) { in assignPlanes()
415 const ZOrderLayer *l = config.itemAt(i); in assignPlanes()
417 i, l->planeType, l->plane->getIndex(), l->zorder); in assignPlanes()
451 for (int i = start; i < stop; i++) { in getFreePlanes() local
452 if ((1 << i) & freePlanes) { in getFreePlanes()