/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewMeasureSpecTest.java | 19 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); 21 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(600, View.MeasureSpec.EXACTLY))); 23 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(320, View.MeasureSpec.AT_MOST))); 29 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); 31 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(800, View.MeasureSpec.EXACTLY))); 33 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(1280, View.MeasureSpec.AT_MOST))); 39 MeasureSpec.toString(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); 41 MeasureSpec.toString(MeasureSpec.makeMeasureSpec(480, View.MeasureSpec.EXACTLY))); 43 MeasureSpec.toString(MeasureSpec.makeMeasureSpec(960, View.MeasureSpec.AT_MOST)));
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
DefaultMeasureSpecTest.java | 22 import static android.view.View.MeasureSpec.makeMeasureSpec; 71 new Object[]{null, makeMeasureSpec(10, EXACTLY), makeMeasureSpec(20, EXACTLY), 10, 73 new Object[]{null, makeMeasureSpec(10, EXACTLY), makeMeasureSpec(100, AT_MOST), 10, 75 new Object[]{null, makeMeasureSpec(10, AT_MOST), makeMeasureSpec(100, EXACTLY), 0, 77 new Object[]{null, makeMeasureSpec(10, EXACTLY), makeMeasureSpec(100, UNSPECIFIED), 79 new Object[]{null, makeMeasureSpec(10, UNSPECIFIED), makeMeasureSpec(100, EXACTLY) [all...] |
ScrollToPositionWithAutoMeasure.java | 21 import static android.view.View.MeasureSpec.makeMeasureSpec; 79 makeMeasureSpec(recyclerView.getWidth(), EXACTLY), 80 makeMeasureSpec(recyclerView.getHeight(), AT_MOST)); 87 makeMeasureSpec(recyclerView.getWidth(), EXACTLY), 88 makeMeasureSpec(size + 1, EXACTLY));
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
SurfaceViewRendererOnMeasureTest.java | 101 final int zeroMeasureSize = MeasureSpec.makeMeasureSpec(0, measureSpecMode); 106 MeasureSpec.makeMeasureSpec(1280, measureSpecMode), 107 MeasureSpec.makeMeasureSpec(720, measureSpecMode)); 115 final int zeroMeasureSize = MeasureSpec.makeMeasureSpec(0, measureSpecMode); 120 MeasureSpec.makeMeasureSpec(1280, measureSpecMode), 121 MeasureSpec.makeMeasureSpec(720, measureSpecMode)); 154 final int zeroMeasureSize = MeasureSpec.makeMeasureSpec(0, measureSpecMode); 165 MeasureSpec.makeMeasureSpec(rotatedWidth, measureSpecMode), 166 MeasureSpec.makeMeasureSpec(rotatedHeight, measureSpecMode)); 174 MeasureSpec.makeMeasureSpec(720, MeasureSpec.EXACTLY) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
RingProgressBarTest.java | 49 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 50 MeasureSpec.makeMeasureSpec(200, MeasureSpec.EXACTLY)); 58 MeasureSpec.makeMeasureSpec(200, MeasureSpec.EXACTLY), 59 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY));
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
ShadowOverlayContainerTest.java | 55 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY), 56 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY)); 67 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY), 68 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY)); 86 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY), 87 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY)); 97 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY), 98 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY)); 117 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY), 118 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY)) [all...] |
ThumbsBarTest.java | 119 mBar.measure(View.MeasureSpec.makeMeasureSpec(screenWidthInPixelForTest, 121 View.MeasureSpec.makeMeasureSpec(screenHeightInPixelForTest, 163 mBar.measure(View.MeasureSpec.makeMeasureSpec( 165 View.MeasureSpec.makeMeasureSpec( 234 mBar.measure(View.MeasureSpec.makeMeasureSpec( 236 View.MeasureSpec.makeMeasureSpec( 263 mBar.measure(View.MeasureSpec.makeMeasureSpec( 265 View.MeasureSpec.makeMeasureSpec( 291 mBar.measure(View.MeasureSpec.makeMeasureSpec( 293 View.MeasureSpec.makeMeasureSpec( [all...] |
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
FillContentLayoutTest.java | 46 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), 47 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)); 64 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY), 65 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY)); 82 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY), 83 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY));
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ExpandedGridView.java | 33 heightMeasureSpec = MeasureSpec.makeMeasureSpec(65536, MeasureSpec.AT_MOST);
|
OneRowGridView.java | 43 widthMeasureSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY);
|
ControlPanelLayout.java | 81 widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); 83 heightSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 315 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 316 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)); 322 child, MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 323 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)); 337 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 338 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)); 344 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5, 345 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5); 358 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 359 MeasureSpec.makeMeasureSpec(150, MeasureSpec.EXACTLY)) [all...] |
ScrollViewTest.java | 329 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 330 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)); 336 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 337 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)); 351 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 352 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)); 358 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5, 359 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5); 372 MeasureSpec.makeMeasureSpec(150, MeasureSpec.EXACTLY), 373 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_MeasureSpecTest.java | 44 mUnspecifiedMeasureSpec = View.MeasureSpec.makeMeasureSpec(MEASURE_SPEC_SIZE, 46 mExactlyMeasureSpec = View.MeasureSpec.makeMeasureSpec(MEASURE_SPEC_SIZE, 48 mAtMostMeasureSpec = View.MeasureSpec.makeMeasureSpec(MEASURE_SPEC_SIZE,
|
/frameworks/base/core/java/com/android/internal/widget/ |
WeightedLinearLayout.java | 69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); 77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); 80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY);
|
PreferenceImageView.java | 53 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); 63 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorScrollView.java | 47 return MeasureSpec.makeMeasureSpec(size, UNSPECIFIED); 56 parentWidthMeasureSpec = MeasureSpec.makeMeasureSpec( 72 parentWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
PercentFrameLayout.java | 58 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), 59 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); 62 MeasureSpec.makeMeasureSpec(width * widthPercent / 100, MeasureSpec.AT_MOST); 64 MeasureSpec.makeMeasureSpec(height * heightPercent / 100, MeasureSpec.AT_MOST);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSContainerImpl.java | 74 mQSPanel.measure(widthMeasureSpec, MeasureSpec.makeMeasureSpec( 80 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), 81 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); 87 MeasureSpec.makeMeasureSpec(mSizePoint.y, MeasureSpec.EXACTLY));
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
FullHeightLinearLayout.java | 46 heightMeasureSpec = MeasureSpec.makeMeasureSpec(
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
IllustrationTest.java | 59 illustration.measure(View.MeasureSpec.makeMeasureSpec(300, View.MeasureSpec.EXACTLY), 60 View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerCircleFrameLayout.java | 67 widthMeasureSpec = MeasureSpec.makeMeasureSpec(size + paddingLeft + paddingRight, 69 heightMeasureSpec = MeasureSpec.makeMeasureSpec(size + paddingTop + paddingBottom,
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
PreviewFrameLayout.java | 85 super.onMeasure(MeasureSpec.makeMeasureSpec(previewWidth, MeasureSpec.EXACTLY), 86 MeasureSpec.makeMeasureSpec(previewHeight, MeasureSpec.EXACTLY));
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
PreferenceImageView.java | 53 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); 63 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
FlowLayout.java | 49 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); 51 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 57 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST),
|