Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java80 private static final int NUM_NON_CATEGORY_VIEW_HOLDERS = 0; field in CategorySelectorFragment
270 mAdapter.notifyItemInserted(index + NUM_NON_CATEGORY_VIEW_HOLDERS); in addCategory()
285 mAdapter.notifyItemRemoved(index + NUM_NON_CATEGORY_VIEW_HOLDERS); in removeCategory()
300 mAdapter.notifyItemChanged(index + NUM_NON_CATEGORY_VIEW_HOLDERS); in updateCategory()
749 Category category = mCategories.get(position - NUM_NON_CATEGORY_VIEW_HOLDERS); in onBindViewHolder()
760 int size = mCategories.size() + NUM_NON_CATEGORY_VIEW_HOLDERS; in getItemCount()
863 positionRelativeToCreativeCategory - NUM_NON_CATEGORY_VIEW_HOLDERS); in onBindViewHolder()
867 - NUM_NON_CATEGORY_VIEW_HOLDERS); in onBindViewHolder()
879 int size = mCategories.size() + NUM_NON_CATEGORY_VIEW_HOLDERS; in getItemCount()
926 int position = parent.getChildAdapterPosition(view) - NUM_NON_CATEGORY_VIEW_HOLDERS; in getItemOffsets()
[all …]