Searched refs:sampleArea (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | RegionSampling_test.cpp | 250 gui::ARect sampleArea; in TEST_F() local 251 sampleArea.left = 100; in TEST_F() 252 sampleArea.top = 100; in TEST_F() 253 sampleArea.right = 200; in TEST_F() 254 sampleArea.bottom = 200; in TEST_F() 259 composer->addRegionSamplingListener(sampleArea, IInterface::asBinder(composer), in TEST_F() 270 gui::ARect sampleArea; in TEST_F() local 271 sampleArea.left = 100; in TEST_F() 272 sampleArea.top = 100; in TEST_F() 273 sampleArea.right = 200; in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RegionSamplingTest.cpp | 49 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F() 55 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F() 66 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, partial_region), in TEST_F() 77 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F() 84 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), 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() 105 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.h | 45 float sampleArea(const uint32_t* data, int32_t width, int32_t height, int32_t stride,
|
D | RegionSamplingThread.cpp | 200 float sampleArea(const uint32_t* data, int32_t width, int32_t height, int32_t stride, in sampleArea() function 243 return sampleArea(data.get(), width, height, stride, orientation, in sampleBuffer()
|