Home
last modified time | relevance | path

Searched refs:toIndex (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java101 int toIndex = Math.max(0, n); in getCallRecords() local
102 toIndex = Math.min(toIndex, mCallRecords.size()); in getCallRecords()
103 if (toIndex == 0) { in getCallRecords()
106 return new ArrayList<>(mCallRecords.subList(0, toIndex)); in getCallRecords()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java239 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex, in insertNameVariants() argument
241 if (fromIndex == toIndex) { in insertNameVariants()
242 insertNameVariant(rawContactId, dataId, toIndex, in insertNameVariants()
251 for (int i = fromIndex; i < toIndex; i++) { in insertNameVariants()
255 insertNameVariants(rawContactId, dataId, fromIndex + 1, toIndex, in insertNameVariants()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DPageIndicator.java172 int toIndex = to >> 1; in animate() local
180 int firstIndex = Math.min(fromIndex, toIndex); in animate()
181 int secondIndex = Math.max(fromIndex, toIndex); in animate()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrStorageStatusManager.java90 int toIndex = in doInBackground() local
95 new ArrayList<>(ops.subList(i, toIndex)); in doInBackground()