Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DRegionSamplingTest.cpp45 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
51 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
62 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, partial_region), in TEST_F()
72 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
80 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
89 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
93 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
97 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
101 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
111 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, ui::Transform::ROT_0, in TEST_F()
[all …]
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp248 const Rect sampleArea{100, 100, 200, 200}; in TEST_F() local
249 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
262 const Rect sampleArea{100, 100, 200, 200}; in TEST_F() local
263 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h40 float sampleArea(const uint32_t* data, int32_t width, int32_t height, int32_t stride,
DRegionSamplingThread.cpp285 float sampleArea(const uint32_t* data, int32_t width, int32_t height, int32_t stride, in sampleArea() function
346 return sampleArea(data.get(), width, height, stride, orientation, in sampleBuffer()