Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp49 uint32_t DisplayDevice::sPrimaryDisplayOrientation = 0;
56 DisplayDevice::DisplayDevice(DisplayDeviceCreationArgs&& args) in DisplayDevice() function in android::DisplayDevice
93 DisplayDevice::~DisplayDevice() = default;
95 void DisplayDevice::disconnect() { in disconnect()
99 int DisplayDevice::getWidth() const { in getWidth()
103 int DisplayDevice::getHeight() const { in getHeight()
107 void DisplayDevice::setDisplayName(const std::string& displayName) { in setDisplayName()
115 uint32_t DisplayDevice::getPageFlipCount() const { in getPageFlipCount()
121 void DisplayDevice::setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers) { in setVisibleLayersSortedByZ()
125 const Vector< sp<Layer> >& DisplayDevice::getVisibleLayersSortedByZ() const { in getVisibleLayersSortedByZ()
[all …]
DDisplayDevice.h62 class DisplayDevice : public LightRefBase<DisplayDevice> {
71 explicit DisplayDevice(DisplayDeviceCreationArgs&& args);
72 virtual ~DisplayDevice();
213 uint32_t layerStack = DisplayDevice::NO_LAYER_STACK;
252 DisplayRenderArea(const sp<const DisplayDevice> device,
256 DisplayRenderArea(const sp<const DisplayDevice> device, Rect sourceCrop, uint32_t reqWidth,
270 const sp<const DisplayDevice> getDisplayDevice() const override { return mDevice; } in getDisplayDevice()
370 const sp<const DisplayDevice> mDevice;
DSurfaceFlinger.h280 sp<const DisplayDevice> getDefaultDisplayDevice() { in getDefaultDisplayDevice()
519 void setPowerModeInternal(const sp<DisplayDevice>& display, int mode) REQUIRES(mStateLock);
522 void setAllowedDisplayConfigsInternal(const sp<DisplayDevice>& display,
642 const sp<DisplayDevice> getDisplayByIdOrLayerStack(uint64_t displayOrLayerStack);
647 void traverseLayersInDisplay(const sp<const DisplayDevice>& display,
669 sp<const DisplayDevice> getDisplayDevice(const wp<IBinder>& displayToken) const { in getDisplayDevice()
674 sp<DisplayDevice> getDisplayDevice(const wp<IBinder>& displayToken) { in getDisplayDevice()
680 sp<const DisplayDevice> getDisplayDeviceLocked(const wp<IBinder>& displayToken) const { in getDisplayDeviceLocked()
685 sp<DisplayDevice> getDisplayDeviceLocked(const wp<IBinder>& displayToken) { in getDisplayDeviceLocked()
690 sp<const DisplayDevice> getDefaultDisplayDeviceLocked() const { in getDefaultDisplayDeviceLocked()
[all …]
DLayer.h65 class DisplayDevice; variable
444 void writeToProto(LayerProto* layerInfo, const sp<DisplayDevice>& displayDevice,
481 void forceClientComposition(const sp<DisplayDevice>& display);
482 bool getForceClientComposition(const sp<DisplayDevice>& display);
483 virtual void setPerFrameData(const sp<const DisplayDevice>& display,
490 void setCompositionType(const sp<const DisplayDevice>& display,
493 const sp<const DisplayDevice>& display) const;
494 bool getClearClientTarget(const sp<const DisplayDevice>& display) const;
495 void updateCursorPosition(const sp<const DisplayDevice>& display);
597 void updateTransformHint(const sp<const DisplayDevice>& display) const;
[all …]
DBufferLayer.h85 void setPerFrameData(const sp<const DisplayDevice>& display, const ui::Transform& transform,
150 virtual void setHwcLayerBuffer(const sp<const DisplayDevice>& displayDevice) = 0;
176 bool needsFiltering(const sp<const DisplayDevice>& displayDevice) const;
DRenderArea.h10 class DisplayDevice; variable
81 virtual const sp<const DisplayDevice> getDisplayDevice() const = 0;
DSurfaceFlingerFactory.h35 class DisplayDevice; variable
81 virtual sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs&&) = 0;
DContainerLayer.cpp42 void ContainerLayer::setPerFrameData(const sp<const DisplayDevice>&, const ui::Transform&, in setPerFrameData() argument
DSurfaceFlingerFactory.cpp92 sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs&& creationArgs) override { in createSurfaceFlinger()
93 return new DisplayDevice(std::move(creationArgs)); in createSurfaceFlinger()
DContainerLayer.h36 void setPerFrameData(const sp<const DisplayDevice>& display, const ui::Transform& transform,
DColorLayer.h40 void setPerFrameData(const sp<const DisplayDevice>& display, const ui::Transform& transform,
DBufferLayer.cpp191 uint32_t transform = DisplayDevice::getPrimaryDisplayOrientationTransform(); in prepareClientLayer()
256 void BufferLayer::setPerFrameData(const sp<const DisplayDevice>& displayDevice, in setPerFrameData()
642 bool BufferLayer::needsFiltering(const sp<const DisplayDevice>& displayDevice) const { in needsFiltering()
690 uint32_t invTransform = DisplayDevice::getPrimaryDisplayOrientationTransform(); in getBufferSize()
726 uint32_t invTransform = DisplayDevice::getPrimaryDisplayOrientationTransform(); in computeSourceBounds()
DLayer.cpp245 bool Layer::hasHwcLayer(const sp<const DisplayDevice>& displayDevice) { in hasHwcLayer()
251 HWC2::Layer* Layer::getHwcLayer(const sp<const DisplayDevice>& displayDevice) { in getHwcLayer()
468 void Layer::forceClientComposition(const sp<DisplayDevice>& display) { in forceClientComposition()
474 bool Layer::getForceClientComposition(const sp<DisplayDevice>& display) { in getForceClientComposition()
480 void Layer::updateCursorPosition(const sp<const DisplayDevice>& display) { in updateCursorPosition()
566 void Layer::setCompositionType(const sp<const DisplayDevice>& display, in setCompositionType()
590 const sp<const DisplayDevice>& display) const { in getCompositionType()
597 bool Layer::getClearClientTarget(const sp<const DisplayDevice>& display) const { in getClearClientTarget()
1258 void Layer::updateTransformHint(const sp<const DisplayDevice>& display) const { in updateTransformHint()
1341 void Layer::miniDump(std::string& result, const sp<DisplayDevice>& displayDevice) const { in miniDump()
[all …]
DLayerRejecter.cpp58 uint32_t invTransform = DisplayDevice::getPrimaryDisplayOrientationTransform(); in reject()
DBufferQueueLayer.h97 void setHwcLayerBuffer(const sp<const DisplayDevice>& displayDevice) override;
DSurfaceFlinger.cpp1569 sp<DisplayDevice> display = getDefaultDisplayDeviceLocked(); in updateVrFlinger()
1893 void SurfaceFlinger::doDebugFlashRegions(const sp<DisplayDevice>& displayDevice, in doDebugFlashRegions()
2271 Dataspace SurfaceFlinger::getBestDataspace(const sp<DisplayDevice>& display, in getBestDataspace()
2314 void SurfaceFlinger::pickColorMode(const sp<DisplayDevice>& display, ColorMode* outMode, in pickColorMode()
2364 void SurfaceFlinger::beginFrame(const sp<DisplayDevice>& displayDevice) { in beginFrame()
2396 void SurfaceFlinger::prepareFrame(const sp<DisplayDevice>& displayDevice) { in prepareFrame()
2409 void SurfaceFlinger::doComposition(const sp<DisplayDevice>& displayDevice, bool repaintEverything) { in doComposition()
2441 void SurfaceFlinger::postFramebuffer(const sp<DisplayDevice>& displayDevice) { in postFramebuffer()
2571 sp<DisplayDevice> SurfaceFlinger::setupNewDisplayDeviceInternal( in setupNewDisplayDeviceInternal()
2622 sp<DisplayDevice> display = getFactory().createDisplayDevice(std::move(creationArgs)); in setupNewDisplayDeviceInternal()
[all …]
DColorLayer.cpp94 void ColorLayer::setPerFrameData(const sp<const DisplayDevice>& display, in setPerFrameData()
DBufferStateLayer.h137 void setHwcLayerBuffer(const sp<const DisplayDevice>& display) override;
/frameworks/base/services/core/java/com/android/server/display/
DDisplayAdapter.java111 final DisplayDevice device, final int event) { in sendDisplayDeviceEventLocked()
138 public void onDisplayDeviceEvent(DisplayDevice device, int event); in onDisplayDeviceEvent()
DLogicalDisplay.java84 private DisplayDevice mPrimaryDisplayDevice;
109 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { in LogicalDisplay()
129 public DisplayDevice getPrimaryDisplayDeviceLocked() { in getPrimaryDisplayDeviceLocked()
220 public void updateLocked(List<DisplayDevice> devices) { in updateLocked()
352 DisplayDevice device, in configureDisplayLocked()
DDisplayManagerService.java213 private final ArrayList<DisplayDevice> mDisplayDevices = new ArrayList<DisplayDevice>();
756 DisplayDevice device = mVirtualDisplayAdapter.createVirtualDisplayLocked( in createVirtualDisplayInternal()
805 DisplayDevice device = in releaseVirtualDisplayInternal()
883 private void handleDisplayDeviceAdded(DisplayDevice device) { in handleDisplayDeviceAdded()
889 private void handleDisplayDeviceAddedLocked(DisplayDevice device) { in handleDisplayDeviceAddedLocked()
908 private void handleDisplayDeviceChanged(DisplayDevice device) { in handleDisplayDeviceChanged()
939 private void handleDisplayDeviceRemoved(DisplayDevice device) { in handleDisplayDeviceRemoved()
945 private void handleDisplayDeviceRemovedLocked(DisplayDevice device) { in handleDisplayDeviceRemovedLocked()
969 DisplayDevice device = mDisplayDevices.get(i); in applyGlobalDisplayStateLocked()
977 private Runnable updateDisplayStateLocked(DisplayDevice device) { in updateDisplayStateLocked()
[all …]
DDisplayDevice.java35 abstract class DisplayDevice { class
55 public DisplayDevice(DisplayAdapter displayAdapter, IBinder displayToken, String uniqueId) { in DisplayDevice() method in DisplayDevice
DVirtualDisplayAdapter.java86 public DisplayDevice createVirtualDisplayLocked(IVirtualDisplayCallback callback, in createVirtualDisplayLocked()
138 public DisplayDevice releaseVirtualDisplayLocked(IBinder appToken) { in releaseVirtualDisplayLocked()
193 private final class VirtualDisplayDevice extends DisplayDevice implements DeathRecipient {
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h105 sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs&& creationArgs) override { in createDisplayDevice()
107 return new DisplayDevice(std::move(creationArgs)); in createDisplayDevice()
273 auto setPowerModeInternal(const sp<DisplayDevice>& display, in setPowerModeInternal()
289 auto traverseLayersInDisplay(const sp<const DisplayDevice>& display, in traverseLayersInDisplay()
550 sp<DisplayDevice> inject() { in inject()
555 sp<DisplayDevice> device = new DisplayDevice(std::move(mCreationArgs)); in inject()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java230 public ArrayList<DisplayDevice> addedDisplays = new ArrayList<>();
233 public void onDisplayDeviceEvent(DisplayDevice device, int event) { in onDisplayDeviceEvent()

12