Home
last modified time | relevance | path

Searched refs:oldSize (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DItemListRowView.java179 int oldSize = mItemList.size(); in setItemList() local
182 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()
/packages/modules/adb/client/
Dincremental_utils.cpp150 auto oldSize = blocks->size(); in appendBlocks() local
151 blocks->resize(oldSize + count); in appendBlocks()
152 std::iota(blocks->begin() + oldSize, blocks->end(), start); in appendBlocks()
/packages/modules/NetworkStack/src/android/net/apf/
DApfGenerator.java190 int oldSize = size(); in shrink() local
196 return size() < oldSize; in shrink()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.cpp151 size_t oldSize = mVar->range.size(); in setRange() local
154 if (mVar->range.size() != oldSize) mVar->updateTimestamp(); in setRange()
/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp359 const uint32_t oldSize = (memory ? memory->getSize() : 0); in allocate() local
360 if ((oldSize >= newSize) && (oldSize <= newSize * (1 + kWaste))) { in allocate()