Searched defs:childDimension (Results 1 - 4 of 4) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DFillContentLayout.java108 private static int getMaxSizeMeasureSpec(int maxSize, int padding, int childDimension) { argument
112 if (childDimension >= 0) {
114 return MeasureSpec.makeMeasureSpec(childDimension, MeasureSpec.EXACTLY);
115 } else if (childDimension == LayoutParams.MATCH_PARENT) {
118 } else if (childDimension == LayoutParams.WRAP_CONTENT) {
/frameworks/base/core/java/android/view/
H A DViewGroup.java6767 * @param childDimension How big the child wants to be in the current
6771 public static int getChildMeasureSpec(int spec, int padding, int childDimension) { argument
6783 if (childDimension >= 0) {
6784 resultSize = childDimension;
6786 } else if (childDimension == LayoutParams.MATCH_PARENT) {
6790 } else if (childDimension == LayoutParams.WRAP_CONTENT) {
6800 if (childDimension >= 0) {
6802 resultSize = childDimension;
6804 } else if (childDimension == LayoutParams.MATCH_PARENT) {
6809 } else if (childDimension
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java8491 * @param childDimension Desired size of the child view, or MATCH_PARENT/WRAP_CONTENT.
8499 public static int getChildMeasureSpec(int parentSize, int padding, int childDimension, argument
8505 if (childDimension >= 0) {
8506 resultSize = childDimension;
8515 if (childDimension >= 0) {
8516 resultSize = childDimension;
8518 } else if (childDimension == LayoutParams.MATCH_PARENT) {
8522 } else if (childDimension == LayoutParams.WRAP_CONTENT) {
8536 * @param childDimension Desired size of the child view, or MATCH_PARENT/WRAP_CONTENT.
8543 int childDimension, boolea
8542 getChildMeasureSpec(int parentSize, int parentMode, int padding, int childDimension, boolean canScroll) argument
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java9082 * @param childDimension Desired size of the child view, or MATCH_PARENT/WRAP_CONTENT.
9090 public static int getChildMeasureSpec(int parentSize, int padding, int childDimension, argument
9096 if (childDimension >= 0) {
9097 resultSize = childDimension;
9106 if (childDimension >= 0) {
9107 resultSize = childDimension;
9109 } else if (childDimension == LayoutParams.MATCH_PARENT) {
9113 } else if (childDimension == LayoutParams.WRAP_CONTENT) {
9127 * @param childDimension Desired size of the child view, or MATCH_PARENT/WRAP_CONTENT.
9134 int childDimension, boolea
9133 getChildMeasureSpec(int parentSize, int parentMode, int padding, int childDimension, boolean canScroll) argument
[all...]

Completed in 149 milliseconds