Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp290 const Rect sampledBounds = sampleRegion.bounds(); in captureSample() local
294 return DisplayRenderArea::create(displayWeak, sampledBounds, sampledBounds.getSize(), in captureSample()
322 if (!transformed.intersect(sampledBounds, &ignore)) return; in captureSample()
342 if (mCachedBuffer && mCachedBuffer->getBuffer()->getWidth() == sampledBounds.getWidth() && in captureSample()
343 mCachedBuffer->getBuffer()->getHeight() == sampledBounds.getHeight()) { in captureSample()
349 new GraphicBuffer(sampledBounds.getWidth(), sampledBounds.getHeight(), in captureSample()
372 std::vector<float> lumas = sampleBuffer(buffer->getBuffer(), sampledBounds.leftTop(), in captureSample()