Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp120 SkRect newRect = in repack() local
122 canvas->drawImageRect(sourceImage, currentVDRect, newRect, nullptr); in repack()
123 entry.VDrect = newRect; in repack()
124 entry.rect = newRect; in repack()
136 SkRect newRect = SkRect::MakeWH(currentVDRect.width(), currentVDRect.height()); in repack() local
137 entry.surface = createSurface(newRect.width(), newRect.height(), context); in repack()
140 tempCanvas->drawImageRect(sourceImageAtlas, currentVDRect, newRect, nullptr); in repack()
141 entry.VDrect = newRect; in repack()
142 entry.rect = newRect; in repack()
DVectorDrawableAtlas.h119 CacheEntry(const SkRect& newVDrect, const SkRect& newRect, in CacheEntry()
121 : VDrect(newVDrect), rect(newRect), surface(newSurface) {} in CacheEntry()