Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/common/
DTestListViewSceneBase.cpp33 mItemSpacing = dp(16); in createContent()
34 mItemWidth = std::min((height - mItemSpacing * 2), (int)dp(300)); in createContent()
36 int heightWithSpacing = mItemHeight + mItemSpacing; in createContent()
58 int itemIndexOffset = scrollPx / (mItemSpacing + mItemHeight); in doFrame()
59 int pxOffset = -(scrollPx % (mItemSpacing + mItemHeight)); in doFrame()
67 int top = ((int)ci) * (mItemSpacing + mItemHeight) + pxOffset; in doFrame()
DTestListViewSceneBase.h33 int mItemSpacing; variable
/frameworks/base/libs/hwui/tests/common/scenes/
DStretchyListViewAnimation.cpp81 int mItemSpacing; member in StretchyListViewAnimation
172 mItemSpacing = dp(16); in createContent()
173 mItemWidth = std::min((height - mItemSpacing * 2), (int)dp(300)); in createContent()
175 int heightWithSpacing = mItemHeight + mItemSpacing; in createContent()