Searched defs:DisplayDeviceState (Results 1 – 2 of 2) sorted by relevance
279 struct DisplayDeviceState { struct283 bool isValid() const { return type >= 0; } in isValid()284 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; } in isMainDisplay()285 bool isVirtualDisplay() const { return type >= DisplayDevice::DISPLAY_VIRTUAL; } in isVirtualDisplay()287 static std::atomic<int32_t> nextDisplayId;288 int32_t displayId = nextDisplayId++;289 DisplayDevice::DisplayType type = DisplayDevice::DISPLAY_ID_INVALID;290 sp<IGraphicBufferProducer> surface;291 uint32_t layerStack = DisplayDevice::NO_LAYER_STACK;292 Rect viewport;[all …]
638 DisplayDeviceState::DisplayDeviceState(DisplayDevice::DisplayType type, bool isSecure) function in DisplayDeviceState