Lines Matching defs:DisplayDeviceState
315 struct DisplayDeviceState { struct
319 bool isValid() const { return type >= 0; } in isValid()
320 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; } in isMainDisplay()
321 bool isVirtualDisplay() const { return type >= DisplayDevice::DISPLAY_VIRTUAL; } in isVirtualDisplay()
323 static std::atomic<int32_t> nextDisplayId;
324 int32_t displayId = nextDisplayId++;
325 DisplayDevice::DisplayType type = DisplayDevice::DISPLAY_ID_INVALID;
326 sp<IGraphicBufferProducer> surface;
327 uint32_t layerStack = DisplayDevice::NO_LAYER_STACK;
328 Rect viewport;
329 Rect frame;
330 uint8_t orientation = 0;
331 uint32_t width = 0;
332 uint32_t height = 0;
333 String8 displayName;
334 bool isSecure = false;