Home
last modified time | relevance | path

Searched refs:desiredHeight (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java42 … public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { in twoButtonsSeparatedByFiller() argument
43 if (desiredHeight < 90) { in twoButtonsSeparatedByFiller()
65 desiredHeight - 100)); in twoButtonsSeparatedByFiller()
91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { in horizontalButtonSlots() argument
97 = new LinearLayout.LayoutParams(0, desiredHeight); in horizontalButtonSlots()
154 public static View button(int position, Context context, String text, int desiredHeight) { in button() argument
156 result.setHeight(desiredHeight); in button()
194 public static View text(int position, Context context, String text, int desiredHeight) { in text() argument
196 result.setHeight(desiredHeight); in text()
235 public static View doubleText(int position, Context context, String text, int desiredHeight) { in doubleText() argument
[all …]
DListScenario.java475 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); in getHeightForPosition() local
477 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition()
479 return desiredHeight; in getHeightForPosition()
513 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument
515 desiredHeight); in createView()
618 int desiredHeight = getHeightForPosition(position); in getView() local
619 result = createView(position, parent, desiredHeight); in getView()
DExpandableListScenario.java243 int desiredHeight = getHeightForPosition(flPos); in getView() local
244 return createView(packedPosition, flPos, parent, desiredHeight); in getView()
256 protected View createView(long packedPosition, int flPos, ViewGroup parent, int desiredHeight) { in createView() argument
258 result.setHeight(desiredHeight); in createView()
/cts/tests/tests/widget/src/android/widget/cts/
DScrollViewTest.java1048 public void setDesiredHeight(Integer desiredHeight) { in setDesiredHeight() argument
1049 mDesiredHeight = desiredHeight; in setDesiredHeight()