Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp38 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 …]
DCacheTexture.h60 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp87 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()
DResTable_test.cpp151 ssize_t newBlock = table.resolveReference(&val, block); in TEST() local
152 EXPECT_EQ(block, newBlock); in TEST()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1276 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/
Dutils.cpp573 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/
DCoordinatorLayout.java410 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()