Lines Matching refs:IDisplayDevice
34 mVsyncSource(IDisplayDevice::DEVICE_COUNT), in VsyncManager()
48 mVsyncSource = IDisplayDevice::DEVICE_COUNT; in initialize()
60 mVsyncSource = IDisplayDevice::DEVICE_COUNT; in deinitialize()
70 if (disp != IDisplayDevice::DEVICE_PRIMARY) { in handleVsyncControl()
142 IDisplayDevice* VsyncManager::getDisplayDevice(int dispType ) { in getDisplayDevice()
149 return IDisplayDevice::DEVICE_PRIMARY; in getCandidate()
152 IDisplayDevice *device = NULL; in getCandidate()
154 device = getDisplayDevice(IDisplayDevice::DEVICE_EXTERNAL); in getCandidate()
156 return IDisplayDevice::DEVICE_EXTERNAL; in getCandidate()
161 device = getDisplayDevice(IDisplayDevice::DEVICE_VIRTUAL); in getCandidate()
163 return IDisplayDevice::DEVICE_VIRTUAL; in getCandidate()
167 return IDisplayDevice::DEVICE_PRIMARY; in getCandidate()
172 if (mVsyncSource != IDisplayDevice::DEVICE_COUNT) { in enableVsync()
177 IDisplayDevice *device = getDisplayDevice(candidate); in enableVsync()
188 if (candidate != IDisplayDevice::DEVICE_PRIMARY) { in enableVsync()
190 device = getDisplayDevice(IDisplayDevice::DEVICE_PRIMARY); in enableVsync()
192 mVsyncSource = IDisplayDevice::DEVICE_PRIMARY; in enableVsync()
202 if (mVsyncSource == IDisplayDevice::DEVICE_COUNT) { in disableVsync()
207 IDisplayDevice *device = getDisplayDevice(mVsyncSource); in disableVsync()
211 mVsyncSource = IDisplayDevice::DEVICE_COUNT; in disableVsync()