Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp1957 auto referenceFrame1 = Base::mBaseFrame; in Test_SurfacePositionLatching() local
1958 referenceFrame1[Base::FG_LAYER].mDisplayFrame = hwc_rect_t{100, 100, 100 + 64, 100 + 64}; in Test_SurfacePositionLatching()
1959 EXPECT_TRUE(framesAreSame(referenceFrame1, Base::sFakeComposer->getLatestFrame())); in Test_SurfacePositionLatching()
1980 auto referenceFrame1 = Base::mBaseFrame; in Test_CropLatching() local
1981 referenceFrame1[Base::FG_LAYER].mDisplayFrame = hwc_rect_t{64, 64, 64 + 63, 64 + 63}; in Test_CropLatching()
1982 referenceFrame1[Base::FG_LAYER].mSourceCrop = hwc_frect_t{0.f, 0.f, 63.f, 63.f}; in Test_CropLatching()
1983 EXPECT_TRUE(framesAreSame(referenceFrame1, Base::sFakeComposer->getLatestFrame())); in Test_CropLatching()