Lines Matching refs:DisplayDevice
241 DisplayDeviceState info(DisplayDevice::DISPLAY_VIRTUAL, secure); in createDisplay()
267 void SurfaceFlinger::createBuiltinDisplayLocked(DisplayDevice::DisplayType type) { in createBuiltinDisplayLocked()
277 if (uint32_t(id) >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in getBuiltInDisplay()
480 for (size_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in init()
481 DisplayDevice::DisplayType type((DisplayDevice::DisplayType)i); in init()
483 if (mHwc->isConnected(i) || type==DisplayDevice::DISPLAY_PRIMARY) { in init()
497 sp<DisplayDevice> hw = new DisplayDevice(this, in init()
501 if (i > DisplayDevice::DISPLAY_PRIMARY) { in init()
534 int32_t SurfaceFlinger::allocateHwcDisplayId(DisplayDevice::DisplayType type) { in allocateHwcDisplayId()
535 return (uint32_t(type) < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) ? in allocateHwcDisplayId()
572 for (int i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in getDisplayConfigs()
611 if (type == DisplayDevice::DISPLAY_PRIMARY) { in getDisplayConfigs()
628 sp<const DisplayDevice> hw(getDefaultDisplayDevice()); in getDisplayConfigs()
683 sp<DisplayDevice> device(getDisplayDevice(display)); in getActiveConfig()
690 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) { in setActiveConfigInternal()
701 if (type >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in setActiveConfigInternal()
726 sp<DisplayDevice> hw(mFlinger.getDisplayDevice(mDisplay)); in setActiveConfig()
730 } else if (hw->getDisplayType() >= DisplayDevice::DISPLAY_VIRTUAL) { in setActiveConfig()
888 if (uint32_t(type) < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in onHotplugReceived()
891 createBuiltinDisplayLocked((DisplayDevice::DisplayType)type); in onHotplugReceived()
985 const sp<DisplayDevice>& hw(mDisplays[dpy]); in doDebugFlashRegions()
1055 const sp<const DisplayDevice> hw(getDefaultDisplayDevice()); in postComposition()
1114 const sp<DisplayDevice>& hw(mDisplays[dpy]); in rebuildLayerStacks()
1159 ALOGV_IF(mDisplays[dpy]->getDisplayType() == DisplayDevice::DISPLAY_VIRTUAL, in setUpHWComposer()
1179 sp<const DisplayDevice> hw(mDisplays[dpy]); in setUpHWComposer()
1202 sp<const DisplayDevice> hw(mDisplays[dpy]); in setUpHWComposer()
1223 sp<const DisplayDevice> hw(mDisplays[dpy]); in setUpHWComposer()
1245 sp<const DisplayDevice> hw(mDisplays[dpy]); in setUpHWComposer()
1255 const sp<DisplayDevice>& hw(mDisplays[dpy]); in doComposition()
1298 sp<const DisplayDevice> hw(mDisplays[dpy]); in postFramebuffer()
1408 const sp<const DisplayDevice> defaultDisplay(getDefaultDisplayDevice()); in handleTransactionLocked()
1410 sp<DisplayDevice> hw(getDisplayDevice(draw.keyAt(i))); in handleTransactionLocked()
1413 if (draw[i].type < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) in handleTransactionLocked()
1430 sp<DisplayDevice> hw(getDisplayDevice(display)); in handleTransactionLocked()
1440 const sp<DisplayDevice> disp(getDisplayDevice(display)); in handleTransactionLocked()
1517 sp<DisplayDevice> hw = new DisplayDevice(this, in handleTransactionLocked()
1562 sp<const DisplayDevice> disp; in handleTransactionLocked()
1577 sp<const DisplayDevice> hw(mDisplays[dpy]); in handleTransactionLocked()
1642 sp<const DisplayDevice> hw(mDisplays[dpy]); in updateCursorAsync()
1822 const sp<DisplayDevice>& hw(mDisplays[dpy]); in invalidateLayerStack()
1887 void SurfaceFlinger::doDisplayComposition(const sp<const DisplayDevice>& hw, in doDisplayComposition()
1905 if (flags & DisplayDevice::SWAP_RECTANGLE) { in doDisplayComposition()
1911 if (flags & DisplayDevice::PARTIAL_UPDATES) { in doDisplayComposition()
1944 bool SurfaceFlinger::doComposeSurfaces(const sp<const DisplayDevice>& hw, const Region& dirty) in doComposeSurfaces()
1995 if (hw->getDisplayType() != DisplayDevice::DISPLAY_PRIMARY) { in doComposeSurfaces()
2072 void SurfaceFlinger::drawWormhole(const sp<const DisplayDevice>& hw, const Region& region) const { in drawWormhole()
2460 d.token = mBuiltinDisplays[DisplayDevice::DISPLAY_PRIMARY]; in onInitializeDisplays()
2490 void SurfaceFlinger::setPowerModeInternal(const sp<DisplayDevice>& hw, in setPowerModeInternal()
2503 if (type >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in setPowerModeInternal()
2510 if (type == DisplayDevice::DISPLAY_PRIMARY) { in setPowerModeInternal()
2520 if (type == DisplayDevice::DISPLAY_PRIMARY) { in setPowerModeInternal()
2545 sp<DisplayDevice> hw(mFlinger.getDisplayDevice(mDisplay)); in setPowerMode()
2549 } else if (hw->getDisplayType() >= DisplayDevice::DISPLAY_VIRTUAL) { in setPowerMode()
2826 const sp<const DisplayDevice>& hw(mDisplays[dpy]); in dumpAllLocked()
2839 sp<const DisplayDevice> hw(getDefaultDisplayDevice()); in dumpAllLocked()
2913 dpy = getBuiltInDisplay(DisplayDevice::DISPLAY_PRIMARY); in getLayerSortedByZForHwcDisplay()
3035 sp<const DisplayDevice> hw(getDefaultDisplayDevice()); in onTransact()
3297 sp<const DisplayDevice> hw(flinger->getDisplayDevice(display)); in captureScreen()
3327 const sp<const DisplayDevice>& hw, in renderScreenImplLocked()
3396 const sp<const DisplayDevice>& hw, in captureScreenImplLocked()
3552 const sp<const DisplayDevice>& hw, uint32_t minLayerZ, uint32_t maxLayerZ) { in checkScreenshot()
3611 : type(DisplayDevice::DISPLAY_ID_INVALID), in DisplayDeviceState()
3612 layerStack(DisplayDevice::NO_LAYER_STACK), in DisplayDeviceState()
3620 DisplayDevice::DisplayType type, bool isSecure) in DisplayDeviceState()
3622 layerStack(DisplayDevice::NO_LAYER_STACK), in DisplayDeviceState()