Searched refs:desiredHeight (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 42 … 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 …]
|
D | ListScenario.java | 499 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); in getHeightForPosition() local 501 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition() 503 return desiredHeight; in getHeightForPosition() 537 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() argument 539 desiredHeight); in createView() 642 int desiredHeight = getHeightForPosition(position); in getView() local 643 result = createView(position, parent, desiredHeight); in getView()
|
D | ExpandableListScenario.java | 240 int desiredHeight = getHeightForPosition(flPos); in getView() local 241 return createView(packedPosition, flPos, parent, desiredHeight); in getView() 253 protected View createView(long packedPosition, int flPos, ViewGroup parent, int desiredHeight) { in createView() argument 255 result.setHeight(desiredHeight); in createView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ScrollViewTest.java | 890 public void setDesiredHeight(Integer desiredHeight) { in setDesiredHeight() argument 891 mDesiredHeight = desiredHeight; in setDesiredHeight()
|