Searched refs:sortedCards (Results 1 – 2 of 2) sorted by relevance
217 final List<ContextualCard> sortedCards = mManager.sortCards(cards); in sortCards_shouldBeDescendingOrder() local219 assertThat(sortedCards.get(0).getSliceUri()).isEqualTo(Uri.parse(TEST_SLICE_URI)); in sortCards_shouldBeDescendingOrder()228 final List<ContextualCard> sortedCards = mManager.sortCards(cards); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast() local230 assertThat(sortedCards.get(cards.size() - 1).getCardType()) in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()244 final List<ContextualCard> sortedCards = mManager.sortCards(cards); in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast() local246 assertThat(sortedCards.get(cards.size() - 1).getSliceUri()) in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast()248 assertThat(sortedCards.get(cards.size() - 2).getSliceUri()) in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast()
220 final List<ContextualCard> sortedCards = sortCards(allCards); in onContextualCardUpdated() local221 mContextualCards.addAll(getCardsWithViewType(sortedCards)); in onContextualCardUpdated()