/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 48 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testRequestLayout() local 51 listView.measure(measureSpec, measureSpec); in testRequestLayout() 58 listView.measure(measureSpec, measureSpec); in testRequestLayout() 80 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testNoSelectableItems() local 83 listView.measure(measureSpec, measureSpec); in testNoSelectableItems() 89 listView.measure(measureSpec, measureSpec); in testNoSelectableItems()
|
D | LabelView.java | 130 private int measureWidth(int measureSpec) { in measureWidth() argument 132 int specMode = MeasureSpec.getMode(measureSpec); in measureWidth() 133 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth() 156 private int measureHeight(int measureSpec) { in measureHeight() argument 158 int specMode = MeasureSpec.getMode(measureSpec); in measureHeight() 159 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight()
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | ViewGroup.java | 55 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument 57 return View.resolveSizeAndState(size, measureSpec, childMeasuredState); in resolveSizeAndState() 60 int specMode = MeasureSpec.getMode(measureSpec); in resolveSizeAndState() 61 int specSize = MeasureSpec.getSize(measureSpec); in resolveSizeAndState()
|
D | Space.java | 69 private static int getDefaultSize2(int size, int measureSpec) { in getDefaultSize2() argument 71 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2() 72 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2()
|
D | GridLayout.java | 1620 public int getMeasure(int measureSpec) { 1621 int mode = MeasureSpec.getMode(measureSpec); 1622 int size = MeasureSpec.getSize(measureSpec);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 111 private int measureWidth(int measureSpec) { in measureWidth() argument 112 int specMode = MeasureSpec.getMode(measureSpec); in measureWidth() 113 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth() 126 private int measureHeight(int measureSpec) { in measureHeight() argument 127 int specMode = MeasureSpec.getMode(measureSpec); in measureHeight() 128 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight()
|
/frameworks/base/core/java/android/widget/ |
D | Space.java | 69 private static int getDefaultSize2(int size, int measureSpec) { in getDefaultSize2() argument 71 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2() 72 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2()
|
D | VideoView.java | 142 public int resolveAdjustedSize(int desiredSize, int measureSpec) { in resolveAdjustedSize() argument 144 int specMode = MeasureSpec.getMode(measureSpec); in resolveAdjustedSize() 145 int specSize = MeasureSpec.getSize(measureSpec); in resolveAdjustedSize()
|
D | NumberPicker.java | 1485 private int makeMeasureSpec(int measureSpec, int maxSize) { in makeMeasureSpec() argument 1487 return measureSpec; in makeMeasureSpec() 1489 final int size = MeasureSpec.getSize(measureSpec); in makeMeasureSpec() 1490 final int mode = MeasureSpec.getMode(measureSpec); in makeMeasureSpec() 1493 return measureSpec; in makeMeasureSpec() 1514 int minSize, int measuredSize, int measureSpec) { in resolveSizeAndStateRespectingMinSize() argument 1517 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
|
D | AdapterViewAnimator.java | 582 int measureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in addChild() local 583 child.measure(measureSpec, measureSpec); in addChild()
|
D | ImageView.java | 827 int measureSpec) { in resolveAdjustedSize() argument 829 int specMode = MeasureSpec.getMode(measureSpec); in resolveAdjustedSize() 830 int specSize = MeasureSpec.getSize(measureSpec); in resolveAdjustedSize()
|
D | GridLayout.java | 1685 public int getMeasure(int measureSpec) { 1686 int mode = MeasureSpec.getMode(measureSpec); 1687 int size = MeasureSpec.getSize(measureSpec);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | FaceUnlockView.java | 36 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument 39 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() 40 switch (MeasureSpec.getMode(measureSpec)) { in resolveMeasured()
|
D | SizeAdaptiveLayout.java | 241 int measureSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, in onLayout() local 243 mActiveChild = selectActiveChild(measureSpec); in onLayout()
|
D | LockPatternView.java | 454 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument 457 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() 458 switch (MeasureSpec.getMode(measureSpec)) { in resolveMeasured()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | SizeAdaptiveLayoutTest.java | 156 int measureSpec = View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.AT_MOST); in testOpenWrapContent() local 157 mSizeAdaptiveLayout.measure(500, measureSpec); in testOpenWrapContent() 486 int measureSpec = View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.AT_MOST); in measureAndLayout() local 487 mSizeAdaptiveLayout.measure(500, measureSpec); in measureAndLayout()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | MultiWaveView.java | 316 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument 319 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() 320 switch (MeasureSpec.getMode(measureSpec)) { in resolveMeasured()
|
D | GlowPadView.java | 341 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument 344 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() 345 switch (MeasureSpec.getMode(measureSpec)) { in resolveMeasured()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 15621 public static int resolveSize(int size, int measureSpec) { 15622 return resolveSizeAndState(size, measureSpec, 0) & MEASURED_SIZE_MASK; 15638 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { 15640 int specMode = MeasureSpec.getMode(measureSpec); 15641 int specSize = MeasureSpec.getSize(measureSpec); 15669 public static int getDefaultSize(int size, int measureSpec) { 15671 int specMode = MeasureSpec.getMode(measureSpec); 15672 int specSize = MeasureSpec.getSize(measureSpec); 17286 public static int getMode(int measureSpec) { 17287 return (measureSpec & MODE_MASK); [all …]
|
D | ViewRootImpl.java | 1925 int measureSpec; in getRootMeasureSpec() local 1930 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.EXACTLY); in getRootMeasureSpec() 1934 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.AT_MOST); in getRootMeasureSpec() 1938 measureSpec = MeasureSpec.makeMeasureSpec(rootDimension, MeasureSpec.EXACTLY); in getRootMeasureSpec() 1941 return measureSpec; in getRootMeasureSpec()
|