Searched refs:max_builtin (Results 1 – 2 of 2) sorted by relevance
299 int max_builtin = 0; in InitSupportedDisplaySlots() local303 error = core_intf_->GetMaxDisplaysSupported(kBuiltIn, &max_builtin); in InitSupportedDisplaySlots()327 } else if (max_builtin != 0) { in InitSupportedDisplaySlots()328 max_builtin--; in InitSupportedDisplaySlots()339 disp_count = UINT32(std::min(max_builtin, HWCCallbacks::kNumBuiltIn)); in InitSupportedDisplaySlots()
294 int max_builtin = 0; in InitSupportedDisplaySlots() local298 error = core_intf_->GetMaxDisplaysSupported(kBuiltIn, &max_builtin); in InitSupportedDisplaySlots()328 max_builtin--; in InitSupportedDisplaySlots()339 disp_count = UINT32(std::min(max_builtin, HWCCallbacks::kNumBuiltIn)); in InitSupportedDisplaySlots()