Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp279 const Rect sampledBounds = sampleRegion.bounds(); in captureSample() local
299 if (!transformed.intersect(sampledBounds, &ignore)) return false; in captureSample()
328 if (mCachedBuffer && mCachedBuffer->getBuffer()->getWidth() == sampledBounds.getWidth() && in captureSample()
329 mCachedBuffer->getBuffer()->getHeight() == sampledBounds.getHeight()) { in captureSample()
335 sp<GraphicBuffer>::make(sampledBounds.getWidth(), sampledBounds.getHeight(), in captureSample()
351 renderAreaBuilder(std::in_place_type<DisplayRenderAreaBuilder>, sampledBounds, in captureSample()
352 sampledBounds.getSize(), ui::Dataspace::V0_SRGB, displayWeak, in captureSample()
384 std::vector<float> lumas = sampleBuffer(buffer->getBuffer(), sampledBounds.leftTop(), in captureSample()