Searched refs:oldSize (Results 1 – 5 of 5) sorted by relevance
179 int oldSize = mItemList.size(); in setItemList() local182 if (oldSize > newSize) { in setItemList()184 notifyItemRangeRemoved(newSize, oldSize - newSize); in setItemList()185 } else if (oldSize < newSize) { in setItemList()186 notifyItemRangeChanged(0, oldSize); in setItemList()187 notifyItemRangeInserted(oldSize, newSize - oldSize); in setItemList()189 notifyItemRangeChanged(0, oldSize); in setItemList()
150 auto oldSize = blocks->size(); in appendBlocks() local151 blocks->resize(oldSize + count); in appendBlocks()152 std::iota(blocks->begin() + oldSize, blocks->end(), start); in appendBlocks()
190 int oldSize = size(); in shrink() local196 return size() < oldSize; in shrink()
151 size_t oldSize = mVar->range.size(); in setRange() local154 if (mVar->range.size() != oldSize) mVar->updateTimestamp(); in setRange()
359 const uint32_t oldSize = (memory ? memory->getSize() : 0); in allocate() local360 if ((oldSize >= newSize) && (oldSize <= newSize * (1 + kWaste))) { in allocate()