Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java141 int toIndex = Math.max(0, n); in getCallRecords() local
142 toIndex = Math.min(toIndex, mCallRecords.size()); in getCallRecords()
143 if (toIndex == 0) { in getCallRecords()
146 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/WallpaperPicker2/src/com/android/wallpaper/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()
/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp1214 const uint32_t toIndex = indexMapping[i]; in updateOutputShapes() local
1215 NN_RET_CHECK_GT(to->size(), toIndex); in updateOutputShapes()
1216 NN_RET_CHECK(isUpdatable(to->at(toIndex).dimensions, from[i].dimensions)); in updateOutputShapes()
1217 (*to)[toIndex] = from[i]; in updateOutputShapes()
1218 update->mainOutputInsufficient |= !(*to)[toIndex].isSufficient; in updateOutputShapes()
1219 if (mExecutionStep->getModelOutputsThatAreDownstreamInputs().count(toIndex) && in updateOutputShapes()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java6946 final int toIndex = values.getAsInteger(Playlists.Members.PLAY_ORDER) - 1;
6956 final int finalIndex = playlist.move(fromIndex, toIndex);