Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DViewGroup.java5973 public static int getChildMeasureSpec(int spec, int padding, int childDimension) { in getChildMeasureSpec() argument
5985 if (childDimension >= 0) { in getChildMeasureSpec()
5986 resultSize = childDimension; in getChildMeasureSpec()
5988 } else if (childDimension == LayoutParams.MATCH_PARENT) { in getChildMeasureSpec()
5992 } else if (childDimension == LayoutParams.WRAP_CONTENT) { in getChildMeasureSpec()
6002 if (childDimension >= 0) { in getChildMeasureSpec()
6004 resultSize = childDimension; in getChildMeasureSpec()
6006 } else if (childDimension == LayoutParams.MATCH_PARENT) { in getChildMeasureSpec()
6011 } else if (childDimension == LayoutParams.WRAP_CONTENT) { in getChildMeasureSpec()
6021 if (childDimension >= 0) { in getChildMeasureSpec()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java6948 public static int getChildMeasureSpec(int parentSize, int padding, int childDimension, in getChildMeasureSpec() argument
6955 if (childDimension >= 0) { in getChildMeasureSpec()
6956 resultSize = childDimension; in getChildMeasureSpec()
6965 if (childDimension >= 0) { in getChildMeasureSpec()
6966 resultSize = childDimension; in getChildMeasureSpec()
6968 } else if (childDimension == LayoutParams.FILL_PARENT) { in getChildMeasureSpec()
6971 } else if (childDimension == LayoutParams.WRAP_CONTENT) { in getChildMeasureSpec()