Lines Matching refs:DisplayDevice
54 #include "DisplayDevice.h"
120 sp<const DisplayDevice> getDefaultDisplayDevice() const {
121 return getDisplayDevice(mBuiltinDisplays[DisplayDevice::DISPLAY_PRIMARY]);
176 DisplayDeviceState(DisplayDevice::DisplayType type, bool isSecure);
178 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; }
179 bool isVirtualDisplay() const { return type >= DisplayDevice::DISPLAY_VIRTUAL; }
180 DisplayDevice::DisplayType type;
265 void setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode);
267 void setPowerModeInternal(const sp<DisplayDevice>& hw, int mode);
270 void setActiveColorModeInternal(const sp<DisplayDevice>& hw, android_color_mode_t colorMode);
342 const sp<const DisplayDevice>& hw,
348 const sp<const DisplayDevice>& hw,
368 void createBuiltinDisplayLocked(DisplayDevice::DisplayType type);
371 sp<const DisplayDevice> getDisplayDevice(const wp<IBinder>& dpy) const {
376 sp<DisplayDevice> getDisplayDevice(const wp<IBinder>& dpy) {
382 for (int i = 0; i < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES; ++i) {
395 int32_t allocateHwcDisplayId(DisplayDevice::DisplayType type);
418 void doDisplayComposition(const sp<const DisplayDevice>& hw, const Region& dirtyRegion);
422 bool doComposeSurfaces(const sp<const DisplayDevice>& hw, const Region& dirty);
425 void drawWormhole(const sp<const DisplayDevice>& hw, const Region& region) const;
451 const sp<const DisplayDevice>& hw,
495 sp<IBinder> mBuiltinDisplays[DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES];
515 DefaultKeyedVector< wp<IBinder>, sp<DisplayDevice> > mDisplays;