Lines Matching refs:config

194 bool AnnPlaneManager::isValidZOrder(int dsp, ZOrderConfig& config)  in isValidZOrder()  argument
196 int size = (int)config.size(); in isValidZOrder()
200 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
216 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in isValidZOrder()
224 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
225 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
244 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
245 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
260 bool AnnPlaneManager::assignPlanes(int dsp, ZOrderConfig& config) in assignPlanes() argument
267 int size = (int)config.size(); in assignPlanes()
272 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
293 if (assignPlanes(dsp, config, zorderDesc->zorder)) { in assignPlanes()
301 bool AnnPlaneManager::assignPlanes(int dsp, ZOrderConfig& config, const char *zorder) in assignPlanes() argument
306 int size = (int)config.size(); in assignPlanes()
316 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { 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()
372 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in assignPlanes()
374 ZOrderLayer *zLayer = config.itemAt(i); in assignPlanes()
384 ZOrderLayer *zLayer = config.itemAt(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()
415 const ZOrderLayer *l = config.itemAt(i); in assignPlanes()