Searched refs:newBlock (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 38 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock() argument 41 newBlock, newBlock->mX, newBlock->mY, in insertBlock() 42 newBlock->mWidth, newBlock->mHeight); in insertBlock() 49 if (newBlock->mWidth < currBlock->mWidth) { in insertBlock() 50 newBlock->mNext = currBlock; in insertBlock() 51 newBlock->mPrev = prevBlock; in insertBlock() 52 currBlock->mPrev = newBlock; in insertBlock() 55 prevBlock->mNext = newBlock; in insertBlock() 58 return newBlock; in insertBlock() 67 newBlock->mNext = currBlock; in insertBlock() [all …]
|
D | CacheTexture.h | 60 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
|
/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 87 ssize_t newBlock = mTargetTable.getResource(base::R::string::test2, &val, false); in TEST_F() local 88 ASSERT_GE(newBlock, 0); in TEST_F() 89 ASSERT_NE(block, newBlock); in TEST_F() 91 pool = mTargetTable.getTableStringBlock(newBlock); in TEST_F()
|
D | ResTable_test.cpp | 151 ssize_t newBlock = table.resolveReference(&val, block); in TEST() local 152 EXPECT_EQ(block, newBlock); in TEST()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1276 ssize_t newBlock = theme->resolveAttributeReference(&value, block, in android_content_AssetManager_resolveAttrs() local 1278 if (newBlock >= 0) block = newBlock; in android_content_AssetManager_resolveAttrs() 1285 ssize_t newBlock = theme->getAttribute(curIdent, &value, &typeSetFlags); in android_content_AssetManager_resolveAttrs() local 1286 if (newBlock >= 0) { in android_content_AssetManager_resolveAttrs() 1290 newBlock = res.resolveReference(&value, block, &resid, in android_content_AssetManager_resolveAttrs() 1293 if (newBlock == BAD_INDEX) { in android_content_AssetManager_resolveAttrs() 1298 if (newBlock >= 0) block = newBlock; in android_content_AssetManager_resolveAttrs() 1525 ssize_t newBlock = theme->resolveAttributeReference(&value, block, in android_content_AssetManager_applyStyle() local 1527 if (newBlock >= 0) { in android_content_AssetManager_applyStyle() 1528 block = newBlock; in android_content_AssetManager_applyStyle() [all …]
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 573 int8_t* newBlock = (int8_t*) malloc(CACHE_BLOCK_SIZE); in _cache_malloc() local 574 if (newBlock == NULL) { in _cache_malloc() 577 CACHE_NOISY(ALOGI("Allocated new cache mem block: %p", newBlock)); in _cache_malloc() 578 *(void**)newBlock = cache->memBlocks; in _cache_malloc() 579 cache->memBlocks = newBlock; in _cache_malloc() 580 res = cache->curMemBlockAvail = newBlock + sizeof(void*); in _cache_malloc() 581 cache->curMemBlockEnd = newBlock + CACHE_BLOCK_SIZE; in _cache_malloc()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CoordinatorLayout.java | 410 boolean newBlock = false; in performIntercept() 426 if ((intercepted || newBlock) && action != MotionEvent.ACTION_DOWN) { in performIntercept() 465 newBlock = isBlocking && !wasBlocking; in performIntercept() 466 if (isBlocking && !newBlock) { in performIntercept()
|