Home
last modified time | relevance | path

Searched refs:adapterPosition (Results 1 – 16 of 16) sorted by relevance

/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java301 int adapterPosition = adapter.mAliases.indexOf(alias); in displayCertChooserDialog() local
302 if (adapterPosition != -1) { in displayCertChooserDialog()
304 selectedItem = adapterPosition + 1; in displayCertChooserDialog()
316 int adapterPosition = listViewPosition-1; in displayCertChooserDialog()
317 String alias = ((adapterPosition >= 0) in displayCertChooserDialog()
318 ? adapter.getItem(adapterPosition) in displayCertChooserDialog()
411 @Override public String getItem(int adapterPosition) { in getItem() argument
412 return mAliases.get(adapterPosition); in getItem()
414 @Override public long getItemId(int adapterPosition) { in getItemId() argument
415 return adapterPosition; in getItemId()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DSetIndividualHolder.java98 final int adapterPosition = getAdapterPosition(); in setWallpaper() local
99 mOnSetListener.onPendingWallpaperSet(adapterPosition); in setWallpaper()
117 mOnSetListener.onWallpaperSet(adapterPosition); in setWallpaper()
142 void onPendingWallpaperSet(int adapterPosition); in onPendingWallpaperSet() argument
147 void onWallpaperSet(int adapterPosition); in onWallpaperSet() argument
DIndividualPickerFragment.java875 public void onPendingWallpaperSet(int adapterPosition) { in createIndividualHolder()
895 mPendingSelectedAdapterPosition = adapterPosition; in createIndividualHolder()
899 public void onWallpaperSet(int adapterPosition) { in createIndividualHolder() argument
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java143 private int getRowsNotForAccessibility(int adapterPosition) { in getRowsNotForAccessibility() argument
145 adapterPosition = Math.max(adapterPosition, mApps.getAdapterItems().size() - 1); in getRowsNotForAccessibility()
147 for (int i = 0; i <= adapterPosition; i++) { in getRowsNotForAccessibility()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DSeriesFragment.java204 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
205 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
DGenreFragment.java200 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
201 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
DArtistFragment.java215 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
216 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
DAlbumFragment.java204 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
205 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
DMovieFragment.java209 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
210 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
DPlaylistFragment.java260 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
261 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
DOtherFragment.java236 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanSizeLookup() argument
238 return super.getSpanGroupIndex(adapterPosition, spanCount); in getSpanSizeLookup()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java169 public String getStableId(int adapterPosition) { in getStableId() argument
170 return mModelIds.get(adapterPosition); in getStableId()
DDocumentsAdapter.java54 public abstract String getStableId(int adapterPosition); in getStableId() argument
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackLayout.java89 final int adapterPosition = viewHolder.getAdapterPosition();
121 presenter.onVoicemailDeleteUndo(adapterPosition);
DVoicemailPlaybackPresenter.java805 void onVoicemailDeleteUndo(int adapterPosition) { in onVoicemailDeleteUndo() argument
807 onVoicemailDeletedListener.onVoicemailDeleteUndo(rowId, adapterPosition, voicemailUri); in onVoicemailDeleteUndo()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAdapter.java1242 public void onVoicemailDeleteUndo(long rowId, int adapterPosition, Uri uri) { in onVoicemailDeleteUndo() argument
1245 notifyItemChanged(adapterPosition); in onVoicemailDeleteUndo()
1247 notifyItemChanged(adapterPosition + 1); in onVoicemailDeleteUndo()