Home
last modified time | relevance | path

Searched refs:specSize (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java133 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth() local
137 result = specSize; in measureWidth()
144 result = Math.min(result, specSize); in measureWidth()
159 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight() local
164 result = specSize; in measureHeight()
171 result = Math.min(result, specSize); in measureHeight()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java113 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth() local
118 return specSize; in measureWidth()
120 return desiredWidth < specSize ? desiredWidth : specSize; in measureWidth()
128 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight() local
135 return specSize; in measureHeight()
137 return desiredHeight < specSize ? desiredHeight : specSize; in measureHeight()
/frameworks/support/v4/java/android/support/v4/widget/
DSpace.java62 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2() local
69 result = Math.min(size, specSize); in getDefaultSize2()
72 result = specSize; in getDefaultSize2()
/frameworks/base/core/java/com/android/internal/widget/
DDrawingSpace.java54 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSizeNonGreedy() local
61 result = Math.min(size, specSize); in getDefaultSizeNonGreedy()
64 result = specSize; in getDefaultSizeNonGreedy()
DLockPatternView.java628 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() local
634 result = Math.max(specSize, desired); in resolveMeasured()
638 result = specSize; in resolveMeasured()
/frameworks/base/core/java/android/widget/
DSpace.java78 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2() local
85 result = Math.min(size, specSize); in getDefaultSize2()
88 result = specSize; in getDefaultSize2()
DImageView.java1063 int specSize = MeasureSpec.getSize(measureSpec); in resolveAdjustedSize() local
1075 result = Math.min(Math.min(desiredSize, specSize), maxSize); in resolveAdjustedSize()
1079 result = specSize; in resolveAdjustedSize()
/frameworks/support/design/src/android/support/design/widget/
DFloatingActionButton.java279 int specSize = MeasureSpec.getSize(measureSpec); in resolveAdjustedSize() local
290 result = Math.min(desiredSize, specSize); in resolveAdjustedSize()
294 result = specSize; in resolveAdjustedSize()
/frameworks/base/core/java/android/view/
DView.java18949 final int specSize = MeasureSpec.getSize(measureSpec);
18953 if (specSize < size) {
18954 result = specSize | MEASURED_STATE_TOO_SMALL;
18960 result = specSize;
18981 int specSize = MeasureSpec.getSize(measureSpec);
18989 result = specSize;
DViewGroup.java5975 int specSize = MeasureSpec.getSize(spec); in getChildMeasureSpec() local
5977 int size = Math.max(0, specSize - padding); in getChildMeasureSpec()