Home
last modified time | relevance | path

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

/packages/services/Car/tests/libvehiclenetwork-native-test/
DIVehicleNetworkMockedTest.cpp83 int originalCount = listener->getHalRestartCount(); in TEST_F() local
87 ASSERT_EQ(originalCount + 1, listener->getHalRestartCount()); in TEST_F()
90 ASSERT_EQ(originalCount + 2, listener->getHalRestartCount()); in TEST_F()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DPagedListView.java308 int originalCount = mAdapter.getItemCount(); in tryUpdateMaxPages() local
311 if (newCount < originalCount) { in tryUpdateMaxPages()
312 mAdapter.notifyItemRangeChanged(newCount, originalCount); in tryUpdateMaxPages()
313 } else if (newCount > originalCount) { in tryUpdateMaxPages()
314 mAdapter.notifyItemInserted(originalCount); in tryUpdateMaxPages()