Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp201 uint32_t orientation, const Rect& sample_area) { in sampleArea() argument
202 if (!sample_area.isValid() || (sample_area.getWidth() > width) || in sampleArea()
203 (sample_area.getHeight() > height)) { in sampleArea()
209 (sample_area.bottom - sample_area.top) * (sample_area.right - sample_area.left); in sampleArea()
213 for (int32_t row = sample_area.top; row < sample_area.bottom; ++row) { in sampleArea()
215 for (int32_t column = sample_area.left; column < sample_area.right; ++column) { in sampleArea()