Home
last modified time | relevance | path

Searched refs:hwc_rect_t (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp106 res.mDisplayFrame = hwc_rect_t{left, top, right, bottom}; in makeSimpleRect()
597 hwc_rect_t{128, 128, 128 + 64, 128 + 64}; // Top-most layer moves. in TEST_F()
624 frame2Ref[FG_LAYER].mDisplayFrame = hwc_rect_t{64, 64, 64 + 128, 64 + 128}; in TEST_F()
640 referenceFrame[FG_LAYER].mDisplayFrame = hwc_rect_t{64 + 16, 64 + 16, 64 + 32, 64 + 32}; in TEST_F()
741 hwc_rect_t expectedDisplayFrame; in TEST_F()
859 referenceFrame[FG_LAYER].mDisplayFrame = hwc_rect_t{128, 128, 128 + 64, 128 + 64}; in TEST_F()
932 referenceFrame[FG_LAYER].mDisplayFrame = hwc_rect_t{64, 64, 64 + 64, 64 + 64}; in TEST_F()
934 hwc_rect_t{64 + 10, 64 + 10, 64 + 10 + 10, 64 + 10 + 10}; in TEST_F()
943 referenceFrame2[FG_LAYER].mDisplayFrame = hwc_rect_t{0, 0, 0 + 64, 0 + 64}; in TEST_F()
945 hwc_rect_t{0 + 10, 0 + 10, 0 + 10 + 10, 0 + 10 + 10}; in TEST_F()
[all …]
DFakeComposerUtils.h31 inline ::std::ostream& operator<<(::std::ostream& os, const hwc_rect_t& rect) {
51 inline bool operator==(const hwc_rect_t& a, const hwc_rect_t& b) {
66 inline bool operator!=(const hwc_rect_t& a, const hwc_rect_t& b) {
DRenderState.h32 hwc_rect_t mDisplayFrame = {0, 0, 0, 0};
34 std::vector<hwc_rect_t> mVisibleRegion;
DFakeComposerClient.h95 int32_t dataspace, const std::vector<hwc_rect_t>& damage) override;
109 const std::vector<hwc_rect_t>& damage) override;
114 Error setLayerDisplayFrame(Display display, Layer layer, const hwc_rect_t& frame) override;
120 const std::vector<hwc_rect_t>& visible) override;
DFakeComposerClient.cpp346 const std::vector<hwc_rect_t>& /*damage*/) { in setClientTarget() argument
423 const std::vector<hwc_rect_t>& /*damage*/) { in setLayerSurfaceDamage() argument
457 const hwc_rect_t& frame) { in setLayerDisplayFrame()
490 const std::vector<hwc_rect_t>& visible) { in setLayerVisibleRegion()
DFakeComposerUtils.cpp51 inline void printDisplayRectAligned(::std::ostream& os, const hwc_rect_t& displayRect, int align) { in printDisplayRectAligned()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestLayers.h65 hwc_rect_t getCursorPosition(hwc2_layer_t layer) const;
67 hwc_rect_t getDisplayFrame(hwc2_layer_t layer) const;
DHwc2TestLayer.h56 hwc_rect_t getCursorPosition() const;
58 hwc_rect_t getDisplayFrame() const;
DHwc2TestProperties.cpp395 const hwc_rect_t& displayFrame = get(); in dump()
550 const hwc_rect_t& rect = curr.rects[i]; in dump()
579 hwc_rect_t* rects = new hwc_rect_t[damage.numRects]; in update()
592 damage.rects = static_cast<hwc_rect_t const*>(rects); in update()
672 const hwc_rect_t& rect = curr.rects[i]; in dump()
691 hwc_rect_t* hwcRects = new hwc_rect_t[size]; in set()
DHwc2TestLayers.cpp164 hwc_rect_t Hwc2TestLayers::getCursorPosition(hwc2_layer_t layer) const in getCursorPosition()
180 hwc_rect_t Hwc2TestLayers::getDisplayFrame(hwc2_layer_t layer) const in getDisplayFrame()
251 const hwc_rect_t displayFrame = testLayer.second.getDisplayFrame(); in setVisibleRegions()
DHwc2TestLayer.cpp144 hwc_rect_t Hwc2TestLayer::getCursorPosition() const in getCursorPosition()
154 hwc_rect_t Hwc2TestLayer::getDisplayFrame() const in getDisplayFrame()
DHwc2TestProperties.h270 class Hwc2TestDisplayFrame : public Hwc2TestProperty<hwc_rect_t> {
286 std::vector<hwc_rect_t> mDisplayFrames;
DHwc2TestBuffer.cpp501 const hwc_rect_t df = testLayers->getDisplayFrame(*layer); in compositeBufferFromLayers()
DHwc2Test.cpp462 const hwc_rect_t& displayFrame, hwc2_error_t* outErr = nullptr) in setLayerDisplayFrame()
1645 const hwc_rect_t cursor = testLayers->getCursorPosition(layer); in setLayerProperties()
2036 const hwc_rect_t cursorPosition = testLayer->getCursorPosition(); in setCursorPosition()
3045 const hwc_rect_t cursorPosition = testLayer->getCursorPosition(); in TEST_F()
3075 const hwc_rect_t cursorPosition = testLayer->getCursorPosition(); in TEST_F()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h75 std::vector<hwc_rect_t> visible_regions;
76 std::vector<hwc_rect_t> damaged_regions;
248 const std::vector<hwc_rect_t>& damage) override;
267 const std::vector<hwc_rect_t>& damage) override;
276 const hwc_rect_t& frame) override;
285 const std::vector<hwc_rect_t>& visible) override;
Dvr_hwc.cpp568 const std::vector<hwc_rect_t>& /* damage */) { in setClientTarget() argument
697 const std::vector<hwc_rect_t>& damage) { in setLayerSurfaceDamage()
774 const hwc_rect_t& frame) { in setLayerDisplayFrame()
845 const std::vector<hwc_rect_t>& visible) { in setLayerVisibleRegion()
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
Dparcelable_composer_layer.cpp200 hwc_rect_t rect; in readFromParcel()
220 hwc_rect_t rect; in readFromParcel()