Searched refs:specSize (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 133 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/ |
D | InternalSelectionView.java | 113 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/ |
D | Space.java | 62 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/ |
D | DrawingSpace.java | 54 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSizeNonGreedy() local 61 result = Math.min(size, specSize); in getDefaultSizeNonGreedy() 64 result = specSize; in getDefaultSizeNonGreedy()
|
D | LockPatternView.java | 628 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/ |
D | Space.java | 78 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2() local 85 result = Math.min(size, specSize); in getDefaultSize2() 88 result = specSize; in getDefaultSize2()
|
D | ImageView.java | 1063 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/ |
D | FloatingActionButton.java | 279 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/ |
D | View.java | 18949 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;
|
D | ViewGroup.java | 5975 int specSize = MeasureSpec.getSize(spec); in getChildMeasureSpec() local 5977 int size = Math.max(0, specSize - padding); in getChildMeasureSpec()
|