Home
last modified time | relevance | path

Searched refs:childDimension (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java105 private static int getMaxSizeMeasureSpec(int maxSize, int padding, int childDimension) { in getMaxSizeMeasureSpec() argument
109 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()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java8501 public static int getChildMeasureSpec(int parentSize, int padding, int childDimension, in getChildMeasureSpec() argument
8507 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() argument
8550 if (childDimension >= 0) { in getChildMeasureSpec()
8551 resultSize = childDimension; in getChildMeasureSpec()
[all …]
/frameworks/base/core/java/android/view/
DViewGroup.java6894 public static int getChildMeasureSpec(int spec, int padding, int childDimension) { in getChildMeasureSpec() argument
6906 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 …]