Searched refs:mediaItemCount (Results 1 – 2 of 2) sorted by relevance
77 final int mediaItemCount = 13; in test_exceedMinCount_notSameDay_hasRecentItemAndOneDateItem() local78 final List<Item> mediaItems = generateFakeImageItemList(mediaItemCount); in test_exceedMinCount_notSameDay_hasRecentItemAndOneDateItem()83 assertThat(adapter.getItemCount()).isEqualTo(mediaItemCount + 2); in test_exceedMinCount_notSameDay_hasRecentItemAndOneDateItem()131 final int mediaItemCount = 3; in test_noRecentSection() local132 final List<Item> mediaItems = generateFakeImageItemList(mediaItemCount); in test_noRecentSection()137 assertThat(adapter.getItemCount()).isEqualTo(2 * mediaItemCount); in test_noRecentSection()162 final int mediaItemCount = 3; in testGetCategoryItems_dataIsUpdated() local163 final List<Item> mediaItems = generateFakeImageItemList(mediaItemCount); in testGetCategoryItems_dataIsUpdated()168 assertThat(adapter.getItemCount()).isEqualTo(2 * mediaItemCount); in testGetCategoryItems_dataIsUpdated()
451 int mediaItemCount = mMediaSet.getMediaItemCount(); in onCreate() local452 if (mediaItemCount > 0) { in onCreate()453 if (mCurrentIndex >= mediaItemCount) mCurrentIndex = 0; in onCreate()