Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java317 int adapterCount = 0; in isEnabled() local
319 adapterCount = mAdapter.getCount(); in isEnabled()
320 if (adjPosition < adapterCount) { in isEnabled()
341 int adapterCount = 0; in getItem() local
343 adapterCount = mAdapter.getCount(); in getItem()
344 if (adjPosition < adapterCount) { in getItem()
357 int adapterCount = mAdapter.getCount(); in getItemId() local
358 if (adjPosition < adapterCount) { in getItemId()
396 int adapterCount = 0; in getView() local
398 adapterCount = mAdapter.getCount(); in getView()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java289 int adapterCount = mAdapter.getCount(); in createPageListener() local
290 if (position < 0 || position >= adapterCount) { in createPageListener()
310 int adapterCount = mAdapter.getCount();
311 if (adapterCount > 1) {
313 mNextArrow.setVisibility(position != (adapterCount - 1) ? View.VISIBLE : View.GONE);