Searched refs:childDimension (Results 1 – 3 of 3) sorted by relevance
105 private static int getMaxSizeMeasureSpec(int maxSize, int padding, int childDimension) { in getMaxSizeMeasureSpec() argument109 if (childDimension >= 0) { in getMaxSizeMeasureSpec()111 return MeasureSpec.makeMeasureSpec(childDimension, MeasureSpec.EXACTLY); in getMaxSizeMeasureSpec()112 } else if (childDimension == LayoutParams.MATCH_PARENT) { in getMaxSizeMeasureSpec()115 } else if (childDimension == LayoutParams.WRAP_CONTENT) { in getMaxSizeMeasureSpec()
8501 public static int getChildMeasureSpec(int parentSize, int padding, int childDimension, in getChildMeasureSpec() argument8507 if (childDimension >= 0) { in getChildMeasureSpec()8508 resultSize = childDimension; in getChildMeasureSpec()8517 if (childDimension >= 0) { in getChildMeasureSpec()8518 resultSize = childDimension; in getChildMeasureSpec()8520 } else if (childDimension == LayoutParams.MATCH_PARENT) { in getChildMeasureSpec()8524 } else if (childDimension == LayoutParams.WRAP_CONTENT) { in getChildMeasureSpec()8545 int childDimension, boolean canScroll) { in getChildMeasureSpec() argument8550 if (childDimension >= 0) { in getChildMeasureSpec()8551 resultSize = childDimension; in getChildMeasureSpec()[all …]
6894 public static int getChildMeasureSpec(int spec, int padding, int childDimension) { in getChildMeasureSpec() argument6906 if (childDimension >= 0) { in getChildMeasureSpec()6907 resultSize = childDimension; in getChildMeasureSpec()6909 } else if (childDimension == LayoutParams.MATCH_PARENT) { in getChildMeasureSpec()6913 } else if (childDimension == LayoutParams.WRAP_CONTENT) { in getChildMeasureSpec()6923 if (childDimension >= 0) { in getChildMeasureSpec()6925 resultSize = childDimension; in getChildMeasureSpec()6927 } else if (childDimension == LayoutParams.MATCH_PARENT) { in getChildMeasureSpec()6932 } else if (childDimension == LayoutParams.WRAP_CONTENT) { in getChildMeasureSpec()6942 if (childDimension >= 0) { in getChildMeasureSpec()[all …]