Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp382 const Rect sampledArea = sampleRegion.bounds(); in captureSample() local
404 DisplayRenderArea renderArea(device, screencapRegion.bounds(), sampledArea.getWidth(), in captureSample()
405 sampledArea.getHeight(), ui::Dataspace::V0_SRGB, orientation); in captureSample()
431 if (!transformed.intersect(sampledArea, &ignore)) return; in captureSample()
451 if (mCachedBuffer && mCachedBuffer->getWidth() == sampledArea.getWidth() && in captureSample()
452 mCachedBuffer->getHeight() == sampledArea.getHeight()) { in captureSample()
456 buffer = new GraphicBuffer(sampledArea.getWidth(), sampledArea.getHeight(), in captureSample()
472 sampleBuffer(buffer, sampledArea.leftTop(), activeDescriptors, orientation); in captureSample()