Home
last modified time | relevance | path

Searched refs:DisplayDevice (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp52 DisplayDevice::DisplayDevice( in DisplayDevice() function in DisplayDevice
103 if (mType >= DisplayDevice::DISPLAY_VIRTUAL) in DisplayDevice()
115 mPowerMode = (mType >= DisplayDevice::DISPLAY_VIRTUAL) ? in DisplayDevice()
136 DisplayDevice::~DisplayDevice() { in ~DisplayDevice()
143 void DisplayDevice::disconnect(HWComposer& hwc) { in disconnect()
152 bool DisplayDevice::isValid() const { in isValid()
156 int DisplayDevice::getWidth() const { in getWidth()
160 int DisplayDevice::getHeight() const { in getHeight()
164 PixelFormat DisplayDevice::getFormat() const { in getFormat()
168 EGLSurface DisplayDevice::getEGLSurface() const { in getEGLSurface()
[all …]
DLayer.h57 class DisplayDevice; variable
143 void computeGeometry(const sp<const DisplayDevice>& hw, Mesh& mesh,
192 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
198 void setGeometry(const sp<const DisplayDevice>& hw,
200 void setPerFrameData(const sp<const DisplayDevice>& hw,
202 void setAcquireFence(const sp<const DisplayDevice>& hw,
205 Rect getPosition(const sp<const DisplayDevice>& hw);
210 void onLayerDisplayed(const sp<const DisplayDevice>& hw,
230 void draw(const sp<const DisplayDevice>& hw, const Region& clip) const;
231 void draw(const sp<const DisplayDevice>& hw, bool useIdentityTransform) const;
[all …]
DSurfaceFlinger.h113 sp<const DisplayDevice> getDefaultDisplayDevice() const { in getDefaultDisplayDevice()
114 return getDisplayDevice(mBuiltinDisplays[DisplayDevice::DISPLAY_PRIMARY]); in getDefaultDisplayDevice()
163 DisplayDeviceState(DisplayDevice::DisplayType type);
165 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; } in isMainDisplay()
166 bool isVirtualDisplay() const { return type >= DisplayDevice::DISPLAY_VIRTUAL; } in isVirtualDisplay()
167 DisplayDevice::DisplayType type;
246 void setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode);
248 void setPowerModeInternal(const sp<DisplayDevice>& hw, int mode);
320 const sp<const DisplayDevice>& hw,
326 const sp<const DisplayDevice>& hw,
[all …]
DSurfaceFlinger.cpp230 DisplayDeviceState info(DisplayDevice::DISPLAY_VIRTUAL); in createDisplay()
257 void SurfaceFlinger::createBuiltinDisplayLocked(DisplayDevice::DisplayType type) { in createBuiltinDisplayLocked()
268 if (uint32_t(id) >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in getBuiltInDisplay()
413 for (size_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in init()
414 DisplayDevice::DisplayType type((DisplayDevice::DisplayType)i); in init()
416 if (mHwc->isConnected(i) || type==DisplayDevice::DISPLAY_PRIMARY) { in init()
430 sp<DisplayDevice> hw = new DisplayDevice(this, in init()
434 if (i > DisplayDevice::DISPLAY_PRIMARY) { in init()
476 int32_t SurfaceFlinger::allocateHwcDisplayId(DisplayDevice::DisplayType type) { in allocateHwcDisplayId()
477 return (uint32_t(type) < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) ? in allocateHwcDisplayId()
[all …]
DDisplayDevice.h47 class DisplayDevice : public LightRefBase<DisplayDevice>
75 DisplayDevice(
86 ~DisplayDevice();
DEventThread.cpp54 for (int32_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in EventThread()
158 ALOGE_IF(type >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES, in onHotplugReceived()
162 if (type < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in onHotplugReceived()
216 for (int32_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in waitForEvent()
317 mVSyncEvent[0].header.id = DisplayDevice::DISPLAY_PRIMARY; in waitForEvent()
366 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count); in dump()
DLayer.cpp138 const sp<const DisplayDevice> hw(mFlinger->getDefaultDisplayDevice()); in onFirstRef()
155 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& /* hw */, in onLayerDisplayed() argument
310 FloatRect Layer::computeCrop(const sp<const DisplayDevice>& hw) const { in computeCrop()
411 const sp<const DisplayDevice>& hw, in setGeometry()
506 void Layer::setPerFrameData(const sp<const DisplayDevice>& hw, in setPerFrameData()
526 void Layer::setAcquireFence(const sp<const DisplayDevice>& /* hw */, in setAcquireFence() argument
546 const sp<const DisplayDevice>& hw) in getPosition()
569 void Layer::draw(const sp<const DisplayDevice>& hw, const Region& clip) const { in draw()
573 void Layer::draw(const sp<const DisplayDevice>& hw, in draw()
578 void Layer::draw(const sp<const DisplayDevice>& hw) const { in draw()
[all …]
DLayerDim.h37 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
DLayerDim.cpp42 void LayerDim::onDraw(const sp<const DisplayDevice>& hw, in onDraw()
DAndroid.mk9 DisplayDevice.cpp \
DEventThread.h123 DisplayEventReceiver::Event mVSyncEvent[DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES];
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java70 private DisplayDevice mPrimaryDisplayDevice;
83 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { in LogicalDisplay()
103 public DisplayDevice getPrimaryDisplayDeviceLocked() { in getPrimaryDisplayDeviceLocked()
176 public void updateLocked(List<DisplayDevice> devices) { in updateLocked()
256 public void configureDisplayInTransactionLocked(DisplayDevice device, in configureDisplayInTransactionLocked()
DDisplayManagerService.java167 private final ArrayList<DisplayDevice> mDisplayDevices = new ArrayList<DisplayDevice>();
525 DisplayDevice device = mVirtualDisplayAdapter.createVirtualDisplayLocked( in createVirtualDisplayInternal()
574 DisplayDevice device = in releaseVirtualDisplayInternal()
637 private void handleDisplayDeviceAdded(DisplayDevice device) { in handleDisplayDeviceAdded()
643 private void handleDisplayDeviceAddedLocked(DisplayDevice device) { in handleDisplayDeviceAddedLocked()
661 private void handleDisplayDeviceChanged(DisplayDevice device) { in handleDisplayDeviceChanged()
678 private void handleDisplayDeviceRemoved(DisplayDevice device) { in handleDisplayDeviceRemoved()
683 private void handleDisplayDeviceRemovedLocked(DisplayDevice device) { in handleDisplayDeviceRemovedLocked()
699 DisplayDevice device = mDisplayDevices.get(i); in updateGlobalDisplayStateLocked()
707 private Runnable updateDisplayStateLocked(DisplayDevice device) { in updateDisplayStateLocked()
[all …]
DDisplayAdapter.java104 final DisplayDevice device, final int event) { in sendDisplayDeviceEventLocked()
126 public void onDisplayDeviceEvent(DisplayDevice device, int event); in onDisplayDeviceEvent()
DDisplayDevice.java34 abstract class DisplayDevice { class
50 public DisplayDevice(DisplayAdapter displayAdapter, IBinder displayToken, String uniqueId) { in DisplayDevice() method in DisplayDevice
DVirtualDisplayAdapter.java63 public DisplayDevice createVirtualDisplayLocked(IVirtualDisplayCallback callback, in createVirtualDisplayLocked()
110 public DisplayDevice releaseVirtualDisplayLocked(IBinder appToken) { in releaseVirtualDisplayLocked()
164 private final class VirtualDisplayDevice extends DisplayDevice implements DeathRecipient {
DLocalDisplayAdapter.java131 private final class LocalDisplayDevice extends DisplayDevice {
DOverlayDisplayAdapter.java192 private final class OverlayDisplayDevice extends DisplayDevice {
DWifiDisplayAdapter.java579 private final class WifiDisplayDevice extends DisplayDevice {