Home
last modified time | relevance | path

Searched refs:measureSpec (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java49 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testRequestLayout() local
52 listView.measure(measureSpec, measureSpec); in testRequestLayout()
59 listView.measure(measureSpec, measureSpec); in testRequestLayout()
81 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testNoSelectableItems() local
84 listView.measure(measureSpec, measureSpec); in testNoSelectableItems()
90 listView.measure(measureSpec, measureSpec); in testNoSelectableItems()
DLabelView.java130 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()
DInternalSelectionView.java109 private int measureWidth(int measureSpec) { in measureWidth() argument
110 int specMode = MeasureSpec.getMode(measureSpec); in measureWidth()
111 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth()
124 private int measureHeight(int measureSpec) { in measureHeight() argument
125 int specMode = MeasureSpec.getMode(measureSpec); in measureHeight()
126 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIntrinsicSizeFrameLayout.java74 private int getIntrinsicMeasureSpec(int measureSpec, int intrinsicSize) { in getIntrinsicMeasureSpec() argument
77 return measureSpec; in getIntrinsicMeasureSpec()
79 final int mode = MeasureSpec.getMode(measureSpec); in getIntrinsicMeasureSpec()
80 final int size = MeasureSpec.getSize(measureSpec); in getIntrinsicMeasureSpec()
90 return measureSpec; in getIntrinsicMeasureSpec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNeverExactlyLinearLayout.kt51 private fun getNonExactlyMeasureSpec(measureSpec: Int): Triple<Boolean, Int, Int> { in getNonExactlyMeasureSpec()
52 var newSpec = measureSpec in getNonExactlyMeasureSpec()
53 val isExactly = MeasureSpec.getMode(measureSpec) == MeasureSpec.EXACTLY in getNonExactlyMeasureSpec()
54 val size = MeasureSpec.getSize(measureSpec) in getNonExactlyMeasureSpec()
/frameworks/base/core/java/android/widget/
DSpace.java75 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()
DAdapterViewAnimator.java592 int measureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in addChild() local
593 child.measure(measureSpec, measureSpec); in addChild()
DNumberPicker.java1769 private int makeMeasureSpec(int measureSpec, int maxSize) { in makeMeasureSpec() argument
1771 return measureSpec; in makeMeasureSpec()
1773 final int size = MeasureSpec.getSize(measureSpec); in makeMeasureSpec()
1774 final int mode = MeasureSpec.getMode(measureSpec); in makeMeasureSpec()
1777 return measureSpec; in makeMeasureSpec()
1798 int minSize, int measuredSize, int measureSpec) { in resolveSizeAndStateRespectingMinSize() argument
1801 return resolveSizeAndState(desiredWidth, measureSpec, 0); in resolveSizeAndStateRespectingMinSize()
DImageView.java1248 int measureSpec) { in resolveAdjustedSize() argument
1250 final int specMode = MeasureSpec.getMode(measureSpec); in resolveAdjustedSize()
1251 final int specSize = MeasureSpec.getSize(measureSpec); in resolveAdjustedSize()
DGridLayout.java1071 static int adjust(int measureSpec, int delta) { in adjust() argument
1073 MeasureSpec.getSize(measureSpec + delta), MeasureSpec.getMode(measureSpec)); in adjust()
1884 public int getMeasure(int measureSpec) {
1885 int mode = MeasureSpec.getMode(measureSpec);
1886 int size = MeasureSpec.getSize(measureSpec);
DVideoView.java251 public int resolveAdjustedSize(int desiredSize, int measureSpec) { in resolveAdjustedSize() argument
252 return getDefaultSize(desiredSize, measureSpec); in resolveAdjustedSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DResizingSpace.java79 private static int getDefaultSize2(int size, int measureSpec) { in getDefaultSize2() argument
81 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2()
82 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize2()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DRemoteComposeCanvas.java178 public int measureDimension(int measureSpec, int intrinsicSize) { in measureDimension() argument
180 int mode = MeasureSpec.getMode(measureSpec); in measureDimension()
181 int size = MeasureSpec.getSize(measureSpec); in measureDimension()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java744 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument
747 int specSize = MeasureSpec.getSize(measureSpec); in resolveMeasured()
748 switch (MeasureSpec.getMode(measureSpec)) { in resolveMeasured()
/frameworks/base/core/java/android/view/
DView.java28256 public static int resolveSize(int size, int measureSpec) { in resolveSize() argument
28257 return resolveSizeAndState(size, measureSpec, 0) & MEASURED_SIZE_MASK; in resolveSize()
28276 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { in resolveSizeAndState() argument
28277 final int specMode = MeasureSpec.getMode(measureSpec); in resolveSizeAndState()
28278 final int specSize = MeasureSpec.getSize(measureSpec); in resolveSizeAndState()
28307 public static int getDefaultSize(int size, int measureSpec) { in getDefaultSize() argument
28309 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize()
28310 int specSize = MeasureSpec.getSize(measureSpec); in getDefaultSize()
31109 public static int getMode(int measureSpec) { in getMode() argument
31111 return (measureSpec & MODE_MASK); in getMode()
[all …]
DViewRootImpl.java5050 int measureSpec; in getRootMeasureSpec() local
5056 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.EXACTLY); in getRootMeasureSpec()
5060 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.AT_MOST); in getRootMeasureSpec()
5064 measureSpec = MeasureSpec.makeMeasureSpec(rootDimension, MeasureSpec.EXACTLY); in getRootMeasureSpec()
5067 return measureSpec; in getRootMeasureSpec()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...