Lines Matching refs:res
61 status_t res = mQemuCameraDevice.Initialize(device_name); in Initialize() local
62 if (res != NO_ERROR) { in Initialize()
63 return res; in Initialize()
67 res = EmulatedCamera::Initialize(); in Initialize()
68 if (res != NO_ERROR) { in Initialize()
69 return res; in Initialize()
105 for (const auto& res : resolutions) { in Initialize() local
106 int area = res.first * res.second; in Initialize()
109 maxAreaWidth = res.first; in Initialize()
110 maxAreaHeight = res.second; in Initialize()
115 for (auto res = resolutions.begin(); res != resolutions.end(); ) { in Initialize() local
116 if (res->first > maxAreaWidth || res->second > maxAreaHeight) { in Initialize()
118 res = resolutions.erase(res); in Initialize()
120 ++res; in Initialize()