Searched refs:mItemWidth (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/common/ |
D | TestListViewSceneBase.cpp | 34 mItemWidth = std::min((height - mItemSpacing * 2), (int)dp(300)); in createContent() 35 mItemLeft = (width - mItemWidth) / 2; in createContent() 40 std::placeholders::_2, id, mItemWidth, mItemHeight); in createContent() 42 TestUtils::createNode(mItemLeft, y, mItemLeft + mItemWidth, y + mItemHeight, setup); in createContent() 69 mItemLeft, top, mItemLeft + mItemWidth, top + mItemHeight); in doFrame()
|
D | TestListViewSceneBase.h | 34 int mItemWidth; variable
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | StretchyListViewAnimation.cpp | 82 int mItemWidth; member in StretchyListViewAnimation 173 mItemWidth = std::min((height - mItemSpacing * 2), (int)dp(300)); in createContent() 174 mItemLeft = (width - mItemWidth) / 2; in createContent() 178 auto node = TestUtils::createNode(mItemLeft, y, mItemLeft + mItemWidth, y + mItemHeight, in createContent() 180 createListItem(props, canvas, id, mItemWidth, in createContent()
|