/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | GenreFragment.java | 185 private HeaderSpanSizeLookup(int spanCount) { in HeaderSpanSizeLookup() argument 186 mSpanCount = spanCount; in HeaderSpanSizeLookup() 195 public int getSpanIndex(int position, int spanCount) { in getSpanIndex() argument 196 return position == 0 ? 0 : (position - 1) % spanCount; in getSpanIndex() 200 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument 201 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
|
D | SeriesFragment.java | 189 private HeaderSpanSizeLookup(int spanCount) { in HeaderSpanSizeLookup() argument 190 mSpanCount = spanCount; in HeaderSpanSizeLookup() 199 public int getSpanIndex(int position, int spanCount) { in getSpanIndex() argument 200 return position == 0 ? 0 : (position - 1) % spanCount; in getSpanIndex() 204 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument 205 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
|
D | MovieFragment.java | 194 private HeaderSpanSizeLookup(int spanCount) { in HeaderSpanSizeLookup() argument 195 mSpanCount = spanCount; in HeaderSpanSizeLookup() 204 public int getSpanIndex(int position, int spanCount) { in getSpanIndex() argument 205 return position == 0 ? 0 : (position - 1) % spanCount; in getSpanIndex() 209 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument 210 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
|
D | AlbumFragment.java | 189 private HeaderSpanSizeLookup(int spanCount) { in HeaderSpanSizeLookup() argument 190 mSpanCount = spanCount; in HeaderSpanSizeLookup() 199 public int getSpanIndex(int position, int spanCount) { in getSpanIndex() argument 200 return position == 0 ? 0 : (position - 1) % spanCount; in getSpanIndex() 204 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument 205 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
|
D | ArtistFragment.java | 200 private HeaderSpanSizeLookup(int spanCount) { in HeaderSpanSizeLookup() argument 201 mSpanCount = spanCount; in HeaderSpanSizeLookup() 210 public int getSpanIndex(int position, int spanCount) { in getSpanIndex() argument 211 return position == 0 ? 0 : (position - 1) % spanCount; in getSpanIndex() 215 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument 216 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
|
D | PlaylistFragment.java | 245 private HeaderSpanSizeLookup(int spanCount) { in HeaderSpanSizeLookup() argument 246 mSpanCount = spanCount; in HeaderSpanSizeLookup() 255 public int getSpanIndex(int position, int spanCount) { in getSpanIndex() argument 256 return position == 0 ? 0 : (position - 1) % spanCount; in getSpanIndex() 260 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument 261 return adapterPosition == 0 ? 0 : ((adapterPosition - 1) / spanCount) + 1; in getSpanGroupIndex()
|
D | OtherFragment.java | 230 public int getSpanIndex(int position, int spanCount) { in getSpanSizeLookup() argument 232 return super.getSpanIndex(position, spanCount); in getSpanSizeLookup() 236 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanSizeLookup() argument 238 return super.getSpanGroupIndex(adapterPosition, spanCount); in getSpanSizeLookup()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | GridSpacingItemDecoration.java | 47 int spanCount = layoutManager.getSpanCount(); in getItemOffsets() local 48 outRect.left = column * mSpacing / spanCount; in getItemOffsets() 49 outRect.right = mSpacing - (column + 1) * mSpacing / spanCount; in getItemOffsets()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiGridLayoutStyle.java | 66 public void setSpanCount(int spanCount) { in setSpanCount() argument 67 if (spanCount <= 0) { in setSpanCount() 70 mSpanCount = spanCount; in setSpanCount()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/ |
D | SpeedDialLayoutManager.java | 27 public SpeedDialLayoutManager(Context context, int spanCount) { in SpeedDialLayoutManager() argument 28 super(context, spanCount); in SpeedDialLayoutManager()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestGridLayoutManager.java | 39 private TestGridLayoutManager(Context context, int spanCount) { in TestGridLayoutManager() argument 40 super(context, spanCount); in TestGridLayoutManager()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/sharedlibrarysupport/ |
D | SharedLibraryFactoryAdapterV1.java | 164 final int spanCount = a.getInt( in from() local 181 return spanCount; in from()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerFragment.java | 1413 int spanCount = ((GridLayoutManager) mImageGrid.getLayoutManager()).getSpanCount(); 1414 int numRows = (int) Math.ceil((float) getItemCount() / spanCount); 1415 int rowOfNewlySelectedTile = newlySelectedPosition / spanCount;
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 274 public int getSpanIndex(int position, int spanCount) { in getSpanIndex() argument
|