Home
last modified time | relevance | path

Searched refs:mItemHeight (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/libs/hwui/tests/common/
H A DTestListViewSceneBase.cpp32 mItemHeight = dp(60); in createContent()
36 int heightWithSpacing = mItemHeight + mItemSpacing; in createContent()
40 std::placeholders::_2, id, mItemWidth, mItemHeight); in createContent()
42 TestUtils::createNode(mItemLeft, y, mItemLeft + mItemWidth, y + mItemHeight, setup); 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()
69 mItemLeft, top, mItemLeft + mItemWidth, top + mItemHeight); in doFrame()
H A DTestListViewSceneBase.h32 int mItemHeight;
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DAdjacentListsWithAdjacentISVsInside.java106 private final int mItemHeight; field in AdjacentListsWithAdjacentISVsInside.AdjacentISVAdapter
109 mItemHeight = itemHeight; in AdjacentISVAdapter()
127 isvLeft.setDesiredHeight(mItemHeight); in getView()
130 isvRight.setDesiredHeight(mItemHeight); in getView()
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/
H A DStretchyListViewAnimation.cpp80 int mItemHeight; member in StretchyListViewAnimation
171 mItemHeight = dp(60); in createContent()
175 int heightWithSpacing = mItemHeight + mItemSpacing; in createContent()
178 auto node = TestUtils::createNode(mItemLeft, y, mItemLeft + mItemWidth, y + mItemHeight, in createContent()
181 mItemHeight); in createContent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputBaseDialog.java103 private int mItemHeight; field in MediaOutputBaseDialog
116 int totalItemsHeight = mAdapter.getItemCount() * mItemHeight
224 mItemHeight = context.getResources().getDimensionPixelSize( in MediaOutputBaseDialog()