Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/bufferqueue/2.0/
Dtypes.cpp222 size_t numRects; in b2h() local
223 BRect const* rectArray = from.getArray(&numRects); in b2h()
224 to->resize(numRects); in b2h()
225 for (size_t i = 0; i < numRects; ++i) { in b2h()
/frameworks/av/media/codec2/vndk/
Dtypes.cpp229 size_t numRects; in b2h() local
230 BRect const* rectArray = from.getArray(&numRects); in b2h()
231 to->resize(numRects); in b2h()
232 for (size_t i = 0; i < numRects; ++i) { in b2h()
/frameworks/native/libs/ui/
DRegion.cpp852 uint32_t numRects = 0; in unflatten() local
853 FlattenableUtils::read(buffer, size, numRects); in unflatten()
854 if (size < numRects * sizeof(Rect)) { in unflatten()
858 if (numRects > (UINT32_MAX / sizeof(Rect))) { in unflatten()
865 for (size_t r = 0; r < numRects; ++r) { in unflatten()
900 size_t numRects = isRect() ? 1 : mStorage.size() - 1; in end() local
901 return mStorage.data() + numRects; in end()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1063 uint32_t numRects = 0; in unflatten() local
1064 FlattenableUtils::read(buffer, size, numRects); in unflatten()
1065 if (size < numRects * sizeof(Rect)) { in unflatten()
1068 if (numRects > (UINT32_MAX / sizeof(Rect))) { in unflatten()
1072 t->resize(numRects); in unflatten()
1073 for (size_t r = 0; r < numRects; ++r) { in unflatten()
DH2BGraphicBufferProducer.cpp421 uint32_t numRects = 0; in unflatten() local
422 FlattenableUtils::read(buffer, size, numRects); in unflatten()
423 if (size < numRects * sizeof(HRect)) { in unflatten()
426 if (numRects > (UINT32_MAX / sizeof(HRect))) { in unflatten()
430 t->resize(numRects); in unflatten()
431 for (size_t r = 0; r < numRects; ++r) { in unflatten()
/frameworks/native/opengl/tests/hwc/
DhwcColorEquiv.cpp364 layer->visibleRegionScreen.numRects = 1; in main()
378 layer->visibleRegionScreen.numRects = 1; in main()
DhwcCommit.cpp641 for (unsigned int numRects = 1; numRects <= searchLimits.numOverlays; in maxOverlays() local
642 numRects++) { in maxOverlays()
659 if (rectList.size() >= numRects) { break; } in maxOverlays()
661 if (rectList.size() >= numRects) { break; } in maxOverlays()
1426 layer->visibleRegionScreen.numRects = 1; in numOverlays()
DhwcRects.cpp324 layer->visibleRegionScreen.numRects = 1; in main()
DhwcStress.cpp475 layer->visibleRegionScreen.numRects = 1; in main()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h915 const android_native_rect_t* rects, size_t numRects) in native_window_set_surface_damage() argument
918 rects, numRects); in native_window_set_surface_damage()
/frameworks/native/libs/gui/
DSurface.cpp1331 size_t numRects = va_arg(args, size_t); in dispatchSetSurfaceDamage() local
1332 setSurfaceDamage(rects, numRects); in dispatchSetSurfaceDamage()
1956 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { in setSurfaceDamage() argument
1961 if (mConnectedToCpu || numRects == 0) { in setSurfaceDamage()
1967 for (size_t r = 0; r < numRects; ++r) { in setSurfaceDamage()
/frameworks/native/libs/gui/include/gui/
DSurface.h291 virtual void setSurfaceDamage(android_native_rect_t* rects, size_t numRects);