Home
last modified time | relevance | path

Searched refs:itemIndex (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoritesTileAdapter.java468 boolean isIndexInBound(int itemIndex) { in isIndexInBound() argument
469 return itemIndex >= 0 && itemIndex < contactEntries.size(); in isIndexInBound()
477 private void markDropArea(int itemIndex) { in markDropArea() argument
480 && isIndexInBound(itemIndex)) { in markDropArea()
484 dragEnteredEntryIndex = itemIndex; in markDropArea()
644 final int itemIndex = contactEntries.indexOf(view.getContactEntry()); in onDragStarted() local
645 popContactEntry(itemIndex); in onDragStarted()
655 final int itemIndex = contactEntries.indexOf(view.getContactEntry()); in onDragHovered() local
657 && dragEnteredEntryIndex != itemIndex in onDragHovered()
658 && isIndexInBound(itemIndex) in onDragHovered()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DPlaylistResolver.java103 final int itemIndex = res.size() + 1; in resolvePlaylistM3u() local
106 res.add(resolvePlaylistItem(resolver, uri, itemIndex, itemFile)); in resolvePlaylistM3u()
127 final int itemIndex = Integer.parseInt(matcher.group(1)); in resolvePlaylistPls() local
130 res.add(resolvePlaylistItem(resolver, uri, itemIndex, itemFile)); in resolvePlaylistPls()
157 final int itemIndex = res.size() + 1; in resolvePlaylistWpl() local
160 res.add(resolvePlaylistItem(resolver, uri, itemIndex, itemFile)); in resolvePlaylistWpl()
174 @NonNull ContentResolver resolver, @NonNull Uri uri, int itemIndex, File itemFile) in resolvePlaylistItem() argument
186 op.withValue(MediaStore.Audio.Playlists.Members.PLAY_ORDER, itemIndex); in resolvePlaylistItem()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2315 private boolean goToItem(int itemIndex) {
2316 final ViewItem nextItem = mViewItems[itemIndex];