Searched refs:mItemLengths (Results 1 – 1 of 1) sorted by relevance
129 private int[] mItemLengths; field in HorizontalGridTestActivity.MyAdapter132 mItemLengths = new int[NUM_ITEMS]; in MyAdapter()133 for (int i = 0; i < mItemLengths.length; i++) { in MyAdapter()134 mItemLengths[i] = STAGGERED ? (int)(Math.random() * 180) + 180 : 240; in MyAdapter()156 holder.itemView.setLayoutParams(new ViewGroup.MarginLayoutParams(mItemLengths[position], in onBindViewHolder()162 return mItemLengths.length; in getItemCount()