Searched refs:CacheBlock (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 38 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock() 44 CacheBlock* currBlock = head; in insertBlock() 45 CacheBlock* prevBlock = nullptr; in insertBlock() 81 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { in removeBlock() 87 CacheBlock* newHead = head; in removeBlock() 88 CacheBlock* nextBlock = blockToRemove->mNext; in removeBlock() 89 CacheBlock* prevBlock = blockToRemove->mPrev; in removeBlock() 123 new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE, in CacheTexture() 141 CacheBlock* tmpBlock = mCacheBlocks; in reset() 153 new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE, in init() [all …]
|
D | CacheTexture.h | 47 struct CacheBlock { struct 52 CacheBlock* mNext; argument 53 CacheBlock* mPrev; argument 55 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height) in CacheBlock() argument 58 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock); 59 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove); 62 CacheBlock* currBlock = this; in output() argument 165 CacheBlock* mCacheBlocks;
|