Searched refs:sampleArea (Results 1 – 4 of 4) sorted by relevance
/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() 115 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, ui::Transform::ROT_0, in TEST_F() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | RegionSampling_test.cpp | 246 const Rect sampleArea{100, 100, 200, 200}; in TEST_F() local 250 status_t status = composer->addRegionSamplingListener(sampleArea, in TEST_F() 261 const Rect sampleArea{100, 100, 200, 200}; in TEST_F() local 262 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F() 275 const Rect sampleArea{100, 100, 200, 200}; in TEST_F() local 276 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F() 316 const Rect sampleArea{100, 100, 200, 200}; in TEST_F() local 323 EXPECT_EQ(NO_ERROR, composer->addRegionSamplingListener(sampleArea, NULL, listener)); in TEST_F() 326 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), NULL)); in TEST_F() 336 const Rect sampleArea{100, 100, 200, 200}; in TEST_F() local [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.h | 42 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 254 return sampleArea(data.get(), width, height, stride, orientation, in sampleBuffer()
|