Home
last modified time | relevance | path

Searched refs:itemHeight (Results 1 – 10 of 10) sorted by relevance

/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DThemePreviewLayout.java108 int itemHeight = 0; in onMeasure() local
119 itemHeight = Math.max(itemHeight, v.getMeasuredHeight()); in onMeasure()
141 childHeightSpec = MeasureSpec.makeMeasureSpec(itemHeight, MeasureSpec.EXACTLY); in onMeasure()
160 int totalHeight = firstColumnItems * itemHeight + verticalMarginsTotalHeight + in onMeasure()
167 mItemHeight = itemHeight; in onMeasure()
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapFillrate.cpp58 int itemHeight = 2 * height / 3; in createNode() local
60 left, top, left + itemWidth, top + itemHeight, in createNode()
61 [this, itemWidth, itemHeight, color](RenderProperties& props, Canvas& canvas) { in createNode()
63 mAllocator(itemWidth, itemHeight, kRGBA_8888_SkColorType, in createNode()
DListViewAnimation.cpp78 int itemHeight) override { in createListItem() argument
85 canvas.drawRoundRect(0, 0, itemWidth, itemHeight, dp(6), dp(6), roundRectPaint); in createListItem()
93 TestUtils::drawUtf8ToCanvas(&canvas, buf, textPaint, itemHeight, dp(25)); in createListItem()
96 itemHeight, dp(45)); in createListItem()
98 auto randomIcon = createRandomCharIcon(itemHeight); in createListItem()
DListOfFadedTextAnimation.cpp32 int itemHeight) override { in createListItem() argument
35 canvas.saveLayer(0, 0, length, itemHeight, nullptr, SaveFlags::HasAlphaLayer); in createListItem()
55 canvas.drawRect(0, 0, length, itemHeight, fadingPaint); in createListItem()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Drslist.rscript56 int itemHeight = 80;
57 int totalItemHeight = itemHeight * allocSize;
78 int currentYPos = itemHeight + textPos;
81 if(currentYPos - itemHeight > height) {
103 currentYPos += itemHeight;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Drslist.rscript56 int itemHeight = 80;
57 int totalItemHeight = itemHeight * allocSize;
78 int currentYPos = itemHeight + textPos;
81 if(currentYPos - itemHeight > height) {
103 currentYPos += itemHeight;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Drslist.rscript56 int itemHeight = 80;
57 int totalItemHeight = itemHeight * allocSize;
78 int currentYPos = itemHeight + textPos;
81 if(currentYPos - itemHeight > height) {
103 currentYPos += itemHeight;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java105 AdjacentISVAdapter(int itemHeight) { in AdjacentISVAdapter() argument
106 mItemHeight = itemHeight; in AdjacentISVAdapter()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java352 final float itemHeight = (menuHeight - mHorizontalDividerHeight * (numRows - 1)) in positionChildren() local
367 MeasureSpec.makeMeasureSpec((int) itemHeight, MeasureSpec.EXACTLY)); in positionChildren()
374 childLayoutParams.bottom = (int) (itemTop + itemHeight); in positionChildren()
384 (int) (itemTop + itemHeight))); in positionChildren()
398 itemTop += itemHeight; in positionChildren()
/frameworks/base/libs/hwui/tests/common/
DTestListViewSceneBase.h29 int itemHeight) = 0;