/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 50 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testRequestLayout() local 53 listView.measure(measureSpec, measureSpec); in testRequestLayout() 60 listView.measure(measureSpec, measureSpec); in testRequestLayout() 82 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testNoSelectableItems() local 85 listView.measure(measureSpec, measureSpec); in testNoSelectableItems() 91 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | IntrinsicSizeFrameLayout.java | 73 private int getIntrinsicMeasureSpec(int measureSpec, int intrinsicSize) { in getIntrinsicMeasureSpec() argument 76 return measureSpec; in getIntrinsicMeasureSpec() 78 final int mode = MeasureSpec.getMode(measureSpec); in getIntrinsicMeasureSpec() 79 final int size = MeasureSpec.getSize(measureSpec); in getIntrinsicMeasureSpec() 90 return measureSpec; in getIntrinsicMeasureSpec()
|
/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/support/core-ui/java/android/support/v4/widget/ |
D | Space.java | 61 private static int getDefaultSize2(int size, int measureSpec) { in getDefaultSize2() argument 63 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2() 64 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2()
|
/frameworks/base/core/java/android/widget/ |
D | Space.java | 75 private static int getDefaultSize2(int size, int measureSpec) { in getDefaultSize2() argument 77 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2() 78 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2()
|
D | AdapterViewAnimator.java | 584 int measureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in addChild() local 585 child.measure(measureSpec, measureSpec); in addChild()
|
D | NumberPicker.java | 1663 private int makeMeasureSpec(int measureSpec, int maxSize) { in makeMeasureSpec() argument 1665 return measureSpec; in makeMeasureSpec() 1667 final int size = MeasureSpec.getSize(measureSpec); in makeMeasureSpec() 1668 final int mode = MeasureSpec.getMode(measureSpec); in makeMeasureSpec() 1671 return measureSpec; in makeMeasureSpec() 1692 int minSize, int measuredSize, int measureSpec) { in resolveSizeAndStateRespectingMinSize() argument 1695 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
|
D | ImageView.java | 1181 int measureSpec) { 1183 final int specMode = MeasureSpec.getMode(measureSpec); 1184 final int specSize = MeasureSpec.getSize(measureSpec);
|
D | GridLayout.java | 1042 static int adjust(int measureSpec, int delta) { in adjust() argument 1044 MeasureSpec.getSize(measureSpec + delta), MeasureSpec.getMode(measureSpec)); in adjust() 1855 public int getMeasure(int measureSpec) { 1856 int mode = MeasureSpec.getMode(measureSpec); 1857 int size = MeasureSpec.getSize(measureSpec);
|
D | VideoView.java | 238 public int resolveAdjustedSize(int desiredSize, int measureSpec) { in resolveAdjustedSize() argument 239 return getDefaultSize(desiredSize, measureSpec); in resolveAdjustedSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ResizingSpace.java | 78 private static int getDefaultSize2(int size, int measureSpec) { in getDefaultSize2() argument 80 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2() 81 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ScaleFrameLayout.java | 180 private static int getScaledMeasureSpec(int measureSpec, float scale) { in getScaledMeasureSpec() argument 181 return scale == 1f ? measureSpec : MeasureSpec.makeMeasureSpec( in getScaledMeasureSpec() 182 (int) (MeasureSpec.getSize(measureSpec) / scale + 0.5f), in getScaledMeasureSpec() 183 MeasureSpec.getMode(measureSpec)); in getScaledMeasureSpec()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | FloatingActionButton.java | 506 private static int resolveAdjustedSize(int desiredSize, int measureSpec) { 508 int specMode = MeasureSpec.getMode(measureSpec); 509 int specSize = MeasureSpec.getSize(measureSpec);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 938 static int adjust(int measureSpec, int delta) { in adjust() argument 940 MeasureSpec.getSize(measureSpec + delta), MeasureSpec.getMode(measureSpec)); in adjust() 1746 public int getMeasure(int measureSpec) { 1747 int mode = MeasureSpec.getMode(measureSpec); 1748 int size = MeasureSpec.getSize(measureSpec);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 640 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument 643 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() 644 switch (MeasureSpec.getMode(measureSpec)) { in resolveMeasured()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 22137 public static int resolveSize(int size, int measureSpec) { 22138 return resolveSizeAndState(size, measureSpec, 0) & MEASURED_SIZE_MASK; 22157 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { 22158 final int specMode = MeasureSpec.getMode(measureSpec); 22159 final int specSize = MeasureSpec.getSize(measureSpec); 22188 public static int getDefaultSize(int size, int measureSpec) { 22190 int specMode = MeasureSpec.getMode(measureSpec); 22191 int specSize = MeasureSpec.getSize(measureSpec); 24594 public static int getMode(int measureSpec) { 24596 return (measureSpec & MODE_MASK); [all …]
|
D | ViewRootImpl.java | 2634 int measureSpec; in getRootMeasureSpec() local 2639 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.EXACTLY); in getRootMeasureSpec() 2643 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.AT_MOST); in getRootMeasureSpec() 2647 measureSpec = MeasureSpec.makeMeasureSpec(rootDimension, MeasureSpec.EXACTLY); in getRootMeasureSpec() 2650 return measureSpec; in getRootMeasureSpec()
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | ViewCompat.java | 2228 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument 2229 return View.resolveSizeAndState(size, measureSpec, childMeasuredState); in resolveSizeAndState()
|