Home
last modified time | relevance | path

Searched refs:childSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/widget/
DRelativeLayout.java735 int childSize, int startMargin, int endMargin, int startPadding, in getChildMeasureSpec() argument
749 } else if (childSize >= 0) { in getChildMeasureSpec()
751 childSpecSize = childSize; in getChildMeasureSpec()
783 if (childSize >= 0) { in getChildMeasureSpec()
789 childSpecSize = Math.min(maxAvailable, childSize); in getChildMeasureSpec()
792 childSpecSize = childSize; in getChildMeasureSpec()
794 } else if (childSize == LayoutParams.MATCH_PARENT) { in getChildMeasureSpec()
799 } else if (childSize == LayoutParams.WRAP_CONTENT) { in getChildMeasureSpec()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java829 final int childSize = mOrientationHelper.getDecoratedMeasurement(child);
830 if (childSize > mOrientationHelper.getTotalSpace()) {
2340 final int childSize = mOrientationHelper.getDecoratedMeasurement(child);
2341 final int estimatedChildStart = mCoordinate - childSize;
DRecyclerView.java8437 private static boolean isMeasurementUpToDate(int childSize, int spec, int dimension) { in isMeasurementUpToDate() argument
8440 if (dimension > 0 && childSize != dimension) { in isMeasurementUpToDate()
8447 return specSize >= childSize; in isMeasurementUpToDate()
8449 return specSize == childSize; in isMeasurementUpToDate()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java853 final int childSize = mOrientationHelper.getDecoratedMeasurement(child);
854 if (childSize > mOrientationHelper.getTotalSpace()) {
2430 final int childSize = mOrientationHelper.getDecoratedMeasurement(child);
2431 final int estimatedChildStart = mCoordinate - childSize;
DStaggeredGridLayoutManager.java881 final int childSize = mPrimaryOrientation.getDecoratedMeasurement(child);
882 if (childSize > mPrimaryOrientation.getTotalSpace()) {
DRecyclerView.java8746 private static boolean isMeasurementUpToDate(int childSize, int spec, int dimension) { in isMeasurementUpToDate() argument
8749 if (dimension > 0 && childSize != dimension) { in isMeasurementUpToDate()
8756 return specSize >= childSize; in isMeasurementUpToDate()
8758 return specSize == childSize; in isMeasurementUpToDate()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java860 final int childSize = helper in keepFocusOnResizeTest() local
862 expectedOffset = childSize / 3; in keepFocusOnResizeTest()