Searched refs:itemSpacing (Results 1 – 3 of 3) sorted by relevance
708 int itemSpacing = mSpacing; in fillToGalleryLeftRtl() local720 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()733 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()739 int itemSpacing = mSpacing; in fillToGalleryLeftLtr() local749 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftLtr()765 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftLtr()779 int itemSpacing = mSpacing; in fillToGalleryRightRtl() local789 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightRtl()804 curLeftEdge = prevIterationView.getRight() + itemSpacing; in fillToGalleryRightRtl()810 int itemSpacing = mSpacing; in fillToGalleryRightLtr() local[all …]
307 int itemSpacing = a.getDimensionPixelSize(R.styleable.PagedListView_itemSpacing, 0); in init() local308 if (itemSpacing > 0) { in init()309 mRecyclerView.addItemDecoration(new ItemSpacingDecoration(itemSpacing)); in init()705 public void setItemSpacing(int itemSpacing) { in setItemSpacing() argument715 if (itemSpacing == 0 && existing != null) { in setItemSpacing()718 mRecyclerView.addItemDecoration(new ItemSpacingDecoration(itemSpacing)); in setItemSpacing()720 existing.setItemSpacing(itemSpacing); in setItemSpacing()1281 private ItemSpacingDecoration(int itemSpacing) { in ItemSpacingDecoration() argument1282 mItemSpacing = itemSpacing; in ItemSpacingDecoration()1303 public void setItemSpacing(int itemSpacing) { in setItemSpacing() argument[all …]
267 final int itemSpacing = 10; in setItemSpacing() local269 mPagedListView.setItemSpacing(itemSpacing); in setItemSpacing()277 assertThat(views[i + 1].getTop() - views[i].getBottom(), is(equalTo(itemSpacing))); in setItemSpacing()