/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 71 uint32_t DisplayDevice::sPrimaryDisplayOrientation = 0; 73 DisplayDevice::DisplayDevice( in DisplayDevice() function in DisplayDevice 134 if (mType >= DisplayDevice::DISPLAY_VIRTUAL) in DisplayDevice() 148 mPowerMode = (mType >= DisplayDevice::DISPLAY_VIRTUAL) ? in DisplayDevice() 173 DisplayDevice::~DisplayDevice() { in ~DisplayDevice() 180 void DisplayDevice::disconnect(HWComposer& hwc) { in disconnect() 191 bool DisplayDevice::isValid() const { in isValid() 195 int DisplayDevice::getWidth() const { in getWidth() 199 int DisplayDevice::getHeight() const { in getHeight() 204 PixelFormat DisplayDevice::getFormat() const { in getFormat() [all …]
|
D | Layer.h | 59 class DisplayDevice; variable 174 void computeGeometry(const sp<const DisplayDevice>& hw, Mesh& mesh, 226 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip, 233 void setGeometry(const sp<const DisplayDevice>& displayDevice); 235 void setPerFrameData(const sp<const DisplayDevice>& displayDevice); 246 void updateCursorPosition(const sp<const DisplayDevice>& hw); 248 void setGeometry(const sp<const DisplayDevice>& hw, 250 void setPerFrameData(const sp<const DisplayDevice>& hw, 252 void setAcquireFence(const sp<const DisplayDevice>& hw, 255 Rect getPosition(const sp<const DisplayDevice>& hw); [all …]
|
D | SurfaceFlinger.h | 114 sp<const DisplayDevice> getDefaultDisplayDevice() const { in getDefaultDisplayDevice() 115 return getDisplayDevice(mBuiltinDisplays[DisplayDevice::DISPLAY_PRIMARY]); in getDefaultDisplayDevice() 170 DisplayDeviceState(DisplayDevice::DisplayType type, bool isSecure); 172 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; } in isMainDisplay() 173 bool isVirtualDisplay() const { return type >= DisplayDevice::DISPLAY_VIRTUAL; } in isVirtualDisplay() 174 DisplayDevice::DisplayType type; 255 void setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode); 257 void setPowerModeInternal(const sp<DisplayDevice>& hw, int mode); 329 const sp<const DisplayDevice>& hw, 335 const sp<const DisplayDevice>& hw, [all …]
|
D | SurfaceFlinger_hwc1.cpp | 241 DisplayDeviceState info(DisplayDevice::DISPLAY_VIRTUAL, secure); in createDisplay() 267 void SurfaceFlinger::createBuiltinDisplayLocked(DisplayDevice::DisplayType type) { in createBuiltinDisplayLocked() 277 if (uint32_t(id) >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in getBuiltInDisplay() 480 for (size_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in init() 481 DisplayDevice::DisplayType type((DisplayDevice::DisplayType)i); in init() 483 if (mHwc->isConnected(i) || type==DisplayDevice::DISPLAY_PRIMARY) { in init() 497 sp<DisplayDevice> hw = new DisplayDevice(this, in init() 501 if (i > DisplayDevice::DISPLAY_PRIMARY) { in init() 534 int32_t SurfaceFlinger::allocateHwcDisplayId(DisplayDevice::DisplayType type) { in allocateHwcDisplayId() 535 return (uint32_t(type) < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) ? in allocateHwcDisplayId() [all …]
|
D | SurfaceFlinger.cpp | 242 DisplayDeviceState info(DisplayDevice::DISPLAY_VIRTUAL, secure); in createDisplay() 268 void SurfaceFlinger::createBuiltinDisplayLocked(DisplayDevice::DisplayType type) { in createBuiltinDisplayLocked() 279 if (uint32_t(id) >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in getBuiltInDisplay() 539 for (int i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in getDisplayConfigs() 575 if (type == DisplayDevice::DISPLAY_PRIMARY) { in getDisplayConfigs() 592 sp<const DisplayDevice> hw(getDefaultDisplayDevice()); in getDisplayConfigs() 649 sp<DisplayDevice> device(getDisplayDevice(display)); in getActiveConfig() 656 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) { in setActiveConfigInternal() 667 if (type >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in setActiveConfigInternal() 692 sp<DisplayDevice> hw(mFlinger.getDisplayDevice(mDisplay)); in setActiveConfig() [all …]
|
D | DisplayDevice.h | 58 class DisplayDevice : public LightRefBase<DisplayDevice> 86 DisplayDevice( 99 ~DisplayDevice();
|
D | EventThread.cpp | 55 for (int32_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in EventThread() 167 ALOGE_IF(type >= DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES, in onHotplugReceived() 171 if (type < DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES) { in onHotplugReceived() 225 for (int32_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { in waitForEvent() 326 mVSyncEvent[0].header.id = DisplayDevice::DISPLAY_PRIMARY; in waitForEvent() 375 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count); in dump()
|
D | Layer.cpp | 169 const sp<const DisplayDevice> hw(mFlinger->getDefaultDisplayDevice()); in onFirstRef() 201 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& /* hw */, in onLayerDisplayed() argument 392 FloatRect Layer::computeCrop(const sp<const DisplayDevice>& hw) const { in computeCrop() 447 DisplayDevice::getPrimaryDisplayOrientationTransform(); in computeCrop() 496 void Layer::setGeometry(const sp<const DisplayDevice>& displayDevice) 499 const sp<const DisplayDevice>& hw, 641 DisplayDevice::getPrimaryDisplayOrientationTransform(); 686 void Layer::setPerFrameData(const sp<const DisplayDevice>& displayDevice) { 754 void Layer::setPerFrameData(const sp<const DisplayDevice>& hw, 778 void Layer::updateCursorPosition(const sp<const DisplayDevice>& displayDevice) { [all …]
|
D | LayerDim.h | 37 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
|
D | LayerDim.cpp | 46 void LayerDim::onDraw(const sp<const DisplayDevice>& hw, in onDraw()
|
D | Android.mk | 9 DisplayDevice.cpp \
|
D | EventThread.h | 127 DisplayEventReceiver::Event mVSyncEvent[DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES];
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 168 private final ArrayList<DisplayDevice> mDisplayDevices = new ArrayList<DisplayDevice>(); 564 DisplayDevice device = mVirtualDisplayAdapter.createVirtualDisplayLocked( in createVirtualDisplayInternal() 613 DisplayDevice device = in releaseVirtualDisplayInternal() 676 private void handleDisplayDeviceAdded(DisplayDevice device) { in handleDisplayDeviceAdded() 682 private void handleDisplayDeviceAddedLocked(DisplayDevice device) { in handleDisplayDeviceAddedLocked() 701 private void handleDisplayDeviceChanged(DisplayDevice device) { in handleDisplayDeviceChanged() 725 private void handleDisplayDeviceRemoved(DisplayDevice device) { in handleDisplayDeviceRemoved() 731 private void handleDisplayDeviceRemovedLocked(DisplayDevice device) { in handleDisplayDeviceRemovedLocked() 748 DisplayDevice device = mDisplayDevices.get(i); in applyGlobalDisplayStateLocked() 756 private Runnable updateDisplayStateLocked(DisplayDevice device) { in updateDisplayStateLocked() [all …]
|
D | LogicalDisplay.java | 70 private DisplayDevice mPrimaryDisplayDevice; 87 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { in LogicalDisplay() 107 public DisplayDevice getPrimaryDisplayDeviceLocked() { in getPrimaryDisplayDeviceLocked() 190 public void updateLocked(List<DisplayDevice> devices) { in updateLocked() 280 public void configureDisplayInTransactionLocked(DisplayDevice device, in configureDisplayInTransactionLocked()
|
D | DisplayAdapter.java | 118 final DisplayDevice device, final int event) { in sendDisplayDeviceEventLocked() 150 public void onDisplayDeviceEvent(DisplayDevice device, int event); in onDisplayDeviceEvent()
|
D | DisplayDevice.java | 35 abstract class DisplayDevice { class 55 public DisplayDevice(DisplayAdapter displayAdapter, IBinder displayToken, String uniqueId) { in DisplayDevice() method in DisplayDevice
|
D | VirtualDisplayAdapter.java | 63 public DisplayDevice createVirtualDisplayLocked(IVirtualDisplayCallback callback, in createVirtualDisplayLocked() 110 public DisplayDevice releaseVirtualDisplayLocked(IBinder appToken) { in releaseVirtualDisplayLocked() 164 private final class VirtualDisplayDevice extends DisplayDevice implements DeathRecipient {
|
D | OverlayDisplayAdapter.java | 222 private abstract class OverlayDisplayDevice extends DisplayDevice {
|
D | WifiDisplayAdapter.java | 579 private final class WifiDisplayDevice extends DisplayDevice {
|
D | LocalDisplayAdapter.java | 143 private final class LocalDisplayDevice extends DisplayDevice {
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 57 class DisplayDevice; variable 93 status_t prepare(DisplayDevice& displayDevice);
|
D | HWComposer.cpp | 187 disp = DisplayDevice::DISPLAY_PRIMARY; in hotplug() 195 disp = DisplayDevice::DISPLAY_EXTERNAL; in hotplug() 420 status_t HWComposer::prepare(DisplayDevice& displayDevice) { in prepare()
|