Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp107 SkRect currentVDRect = entry.VDrect; in repack() local
110 if (!fitInAtlas(currentVDRect.width(), currentVDRect.height())) { in repack()
117 size_t VDRectArea = currentVDRect.width() * currentVDRect.height(); in repack()
119 if (canvas && mRectanizer->addRect(currentVDRect.width(), currentVDRect.height(), &pos)) { in repack()
121 SkRect::MakeXYWH(pos.fX, pos.fY, currentVDRect.width(), currentVDRect.height()); in repack()
122 canvas->drawImageRect(sourceImage, currentVDRect, newRect, nullptr); in repack()
136 SkRect newRect = SkRect::MakeWH(currentVDRect.width(), currentVDRect.height()); in repack()
140 tempCanvas->drawImageRect(sourceImageAtlas, currentVDRect, newRect, nullptr); in repack()