Searched refs:mNumCols (Results 1 – 2 of 2) sorted by relevance
29 private final int mNumCols; field in UserPickerItemSpacingDecoration34 mNumCols = numCols; in UserPickerItemSpacingDecoration()55 int splitHorizontalSpacing = mHorizontalSpacing / mNumCols; in getItemOffsets()56 int col = position % mNumCols; in getItemOffsets()58 outRect.right = (mNumCols - (col + 1)) * splitHorizontalSpacing; in getItemOffsets()
47 private final int mNumCols; field in UserPickerAdapter65 mNumCols = mContext.getResources().getInteger(R.integer.user_fullscreen_switcher_num_col); in UserPickerAdapter()153 int splitHorizontalSpacing = mHorizontalSpacing / mNumCols; in setItemSpacing()154 int col = position % mNumCols; in setItemSpacing()156 marginLayoutParams.rightMargin = (mNumCols - (col + 1)) * splitHorizontalSpacing; in setItemSpacing()