Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/common/
DTestListViewSceneBase.cpp31 mItemSpacing = dp(16); in createContent()
32 mItemWidth = std::min((height - mItemSpacing * 2), (int)dp(300)); in createContent()
34 int heightWithSpacing = mItemHeight + mItemSpacing; in createContent()
56 int itemIndexOffset = scrollPx / (mItemSpacing + mItemHeight); in doFrame()
57 int pxOffset = -(scrollPx % (mItemSpacing + mItemHeight)); in doFrame()
65 int top = ((int)ci) * (mItemSpacing + mItemHeight) + pxOffset; in doFrame()
DTestListViewSceneBase.h33 int mItemSpacing; variable
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java406 private int mItemSpacing; field in UserGridRecyclerView.ItemSpacingDecoration
409 mItemSpacing = itemSpacing; in ItemSpacingDecoration()
424 outRect.bottom = mItemSpacing; in getItemOffsets()