Searched refs:numRects (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | types.cpp | 222 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/ |
D | types.cpp | 229 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/ |
D | Region.cpp | 852 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/ |
D | Conversion.cpp | 1063 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()
|
D | H2BGraphicBufferProducer.cpp | 421 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/ |
D | hwcColorEquiv.cpp | 364 layer->visibleRegionScreen.numRects = 1; in main() 378 layer->visibleRegionScreen.numRects = 1; in main()
|
D | hwcCommit.cpp | 641 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()
|
D | hwcRects.cpp | 324 layer->visibleRegionScreen.numRects = 1; in main()
|
D | hwcStress.cpp | 475 layer->visibleRegionScreen.numRects = 1; in main()
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 915 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/ |
D | Surface.cpp | 1331 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/ |
D | Surface.h | 291 virtual void setSurfaceDamage(android_native_rect_t* rects, size_t numRects);
|