Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLayoutCache.h175 LayoutSlot* cachedSlot; in getOrCreate() local
178 cachedSlot = mCache.get(key); in getOrCreate()
180 if (cachedSlot != nullptr) { in getOrCreate()
181 if (boundsCalculation && !cachedSlot->mBounds.isValid()) { in getOrCreate()
182 MinikinRect bounds = LayoutPiece::calculateBounds(cachedSlot->mLayout, paint); in getOrCreate()
183 LayoutPiece lp = cachedSlot->mLayout; in getOrCreate()
185 cachedSlot->mBounds = bounds; in getOrCreate()
187 f(cachedSlot->mLayout, paint, cachedSlot->mBounds); in getOrCreate()