Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogAdapter.java119 int numCards = 0; in setCardAndHeaderPositions() local
122 numCards++; in setCardAndHeaderPositions()
164 todayHeaderPosition = numItemsInToday > 0 ? numCards : null; in setCardAndHeaderPositions()
165 yesterdayHeaderPosition = numItemsInYesterday > 0 ? numItemsInToday + numCards : null; in setCardAndHeaderPositions()
167 numItemsInOlder > 0 ? numItemsInToday + numItemsInYesterday + numCards : null; in setCardAndHeaderPositions()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletCardCarousel.java217 private static int numCardsOnScreen(int numCards, int selectedIndex) { in numCardsOnScreen() argument
218 if (numCards <= 2) { in numCardsOnScreen()
219 return numCards; in numCardsOnScreen()
223 return selectedIndex > 0 && selectedIndex < (numCards - 1) ? 3 : 2; in numCardsOnScreen()