/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 | 59 private static int getDefaultSize2(int size, int measureSpec) { in getDefaultSize2() argument 61 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2() 62 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawingSpace.java | 51 private static int getDefaultSizeNonGreedy(int size, int measureSpec) { in getDefaultSizeNonGreedy() argument 53 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSizeNonGreedy() 54 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSizeNonGreedy()
|
D | LockPatternView.java | 626 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument 629 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured() 630 switch (MeasureSpec.getMode(measureSpec)) { in resolveMeasured()
|
/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 | 1645 private int makeMeasureSpec(int measureSpec, int maxSize) { in makeMeasureSpec() argument 1647 return measureSpec; in makeMeasureSpec() 1649 final int size = MeasureSpec.getSize(measureSpec); in makeMeasureSpec() 1650 final int mode = MeasureSpec.getMode(measureSpec); in makeMeasureSpec() 1653 return measureSpec; in makeMeasureSpec() 1674 int minSize, int measuredSize, int measureSpec) { in resolveSizeAndStateRespectingMinSize() argument 1677 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
|
D | ImageView.java | 1122 int measureSpec) { 1124 final int specMode = MeasureSpec.getMode(measureSpec); 1125 final int specSize = MeasureSpec.getSize(measureSpec);
|
D | GridLayout.java | 1033 static int adjust(int measureSpec, int delta) { in adjust() argument 1035 MeasureSpec.getSize(measureSpec + delta), MeasureSpec.getMode(measureSpec)); in adjust() 1846 public int getMeasure(int measureSpec) { 1847 int mode = MeasureSpec.getMode(measureSpec); 1848 int size = MeasureSpec.getSize(measureSpec);
|
D | VideoView.java | 208 public int resolveAdjustedSize(int desiredSize, int measureSpec) { in resolveAdjustedSize() argument 209 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 | 176 private static int getScaledMeasureSpec(int measureSpec, float scale) { in getScaledMeasureSpec() argument 177 return scale == 1f ? measureSpec : MeasureSpec.makeMeasureSpec( in getScaledMeasureSpec() 178 (int) (MeasureSpec.getSize(measureSpec) / scale + 0.5f), in getScaledMeasureSpec() 179 MeasureSpec.getMode(measureSpec)); in getScaledMeasureSpec()
|
/frameworks/support/compat/honeycomb/android/support/v4/view/ |
D | ViewCompatHC.java | 42 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument 43 return View.resolveSizeAndState(size, measureSpec, childMeasuredState); in resolveSizeAndState()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | FloatingActionButton.java | 502 private static int resolveAdjustedSize(int desiredSize, int measureSpec) { 504 int specMode = MeasureSpec.getMode(measureSpec); 505 int specSize = MeasureSpec.getSize(measureSpec);
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | ViewCompat.java | 400 int resolveSizeAndState(int size, int measureSpec, int childMeasuredState); in resolveSizeAndState() argument 620 public int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument 621 return View.resolveSize(size, measureSpec); in resolveSizeAndState() 1185 public int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument 1186 return ViewCompatHC.resolveSizeAndState(size, measureSpec, childMeasuredState); in resolveSizeAndState() 2435 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument 2436 return IMPL.resolveSizeAndState(size, measureSpec, childMeasuredState); in resolveSizeAndState()
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 932 static int adjust(int measureSpec, int delta) { in adjust() argument 934 MeasureSpec.getSize(measureSpec + delta), MeasureSpec.getMode(measureSpec)); in adjust() 1740 public int getMeasure(int measureSpec) { 1741 int mode = MeasureSpec.getMode(measureSpec); 1742 int size = MeasureSpec.getSize(measureSpec);
|
/frameworks/base/core/java/android/view/ |
D | View.java | 19998 public static int resolveSize(int size, int measureSpec) { in resolveSize() argument 19999 return resolveSizeAndState(size, measureSpec, 0) & MEASURED_SIZE_MASK; in resolveSize() 20018 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument 20019 final int specMode = MeasureSpec.getMode(measureSpec); in resolveSizeAndState() 20020 final int specSize = MeasureSpec.getSize(measureSpec); in resolveSizeAndState() 20049 public static int getDefaultSize(int size, int measureSpec) { in getDefaultSize() argument 20051 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize() 20052 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize() 22289 public static int getMode(int measureSpec) { in getMode() argument 22291 return (measureSpec & MODE_MASK); in getMode() [all …]
|
D | ViewRootImpl.java | 2491 int measureSpec; in getRootMeasureSpec() local 2496 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.EXACTLY); in getRootMeasureSpec() 2500 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.AT_MOST); in getRootMeasureSpec() 2504 measureSpec = MeasureSpec.makeMeasureSpec(rootDimension, MeasureSpec.EXACTLY); in getRootMeasureSpec() 2507 return measureSpec; in getRootMeasureSpec()
|