Home
last modified time | relevance | path

Searched refs:specSize (Results 1 – 11 of 11) 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/v7/gridlayout/src/android/support/v7/widget/
DSpace.java72 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2() local
79 result = Math.min(size, specSize); in getDefaultSize2()
82 result = specSize; in getDefaultSize2()
/frameworks/base/core/java/android/widget/
DSpace.java72 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2() local
79 result = Math.min(size, specSize); in getDefaultSize2()
82 result = specSize; in getDefaultSize2()
DImageView.java882 int specSize = MeasureSpec.getSize(measureSpec); in resolveAdjustedSize() local
894 result = Math.min(Math.min(desiredSize, specSize), maxSize); in resolveAdjustedSize()
898 result = specSize; in resolveAdjustedSize()
/frameworks/base/core/java/com/android/internal/widget/
DFaceUnlockView.java39 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() local
45 result = Math.max(specSize, desired); in resolveMeasured()
49 result = specSize; in resolveMeasured()
DLockPatternView.java459 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() local
465 result = Math.max(specSize, desired); in resolveMeasured()
469 result = specSize; in resolveMeasured()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java319 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() local
325 result = Math.min(specSize, desired); in resolveMeasured()
329 result = specSize; in resolveMeasured()
DGlowPadView.java344 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() local
350 result = Math.min(specSize, desired); in resolveMeasured()
354 result = specSize; in resolveMeasured()
/frameworks/base/core/java/android/view/
DView.java16639 int specSize = MeasureSpec.getSize(measureSpec);
16645 if (specSize < size) {
16646 result = specSize | MEASURED_STATE_TOO_SMALL;
16652 result = specSize;
16670 int specSize = MeasureSpec.getSize(measureSpec);
16678 result = specSize;
DViewGroup.java5149 int specSize = MeasureSpec.getSize(spec); in getChildMeasureSpec() local
5151 int size = Math.max(0, specSize - padding); in getChildMeasureSpec()