Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp38 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock()
45 CacheBlock* currBlock = head; in insertBlock()
46 CacheBlock* prevBlock = nullptr; in insertBlock()
82 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { in removeBlock()
89 CacheBlock* newHead = head; in removeBlock()
90 CacheBlock* nextBlock = blockToRemove->mNext; in removeBlock()
91 CacheBlock* prevBlock = blockToRemove->mPrev; in removeBlock()
121 mCacheBlocks = new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE, in CacheTexture()
139 CacheBlock* tmpBlock = mCacheBlocks; in reset()
150 mCacheBlocks = new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE, in init()
[all …]
DCacheTexture.h48 struct CacheBlock { struct
53 CacheBlock* mNext; argument
54 CacheBlock* mPrev; argument
56 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height): in CacheBlock() argument
60 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
61 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove);
64 CacheBlock* currBlock = this; in output() argument
194 CacheBlock* mCacheBlocks;