HomeSort by relevance Sort by last modified time
    Searched refs:makeMeasureSpec (Results 1 - 25 of 254) sorted by null

1 2 3 4 5 6 7 8 91011

  /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));
TestResizingRelayoutWithAutoMeasure.java 21 import static android.view.View.MeasureSpec.makeMeasureSpec;
98 makeMeasureSpec((int) (startWidth * mWidthMultiplier),
100 makeMeasureSpec((int) (startHeight * mHeightMultiplier),
104 makeMeasureSpec(startWidth, EXACTLY),
105 makeMeasureSpec(startHeight, 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...]
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
ShadowOverlayContainerTest.java 38 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY),
39 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY));
50 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY),
51 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY));
68 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY),
69 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY));
79 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY),
80 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY));
98 frameLayout.measure(MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY),
99 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY))
    [all...]
  /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 301 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY),
302 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY));
307 scrollView.measureChild(child, MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY),
308 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY));
322 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY),
323 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY));
329 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5,
330 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5);
341 scrollView.measureChild(child, MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY),
342 MeasureSpec.makeMeasureSpec(150, MeasureSpec.EXACTLY))
    [all...]
ScrollViewTest.java 323 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY),
324 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY));
329 scrollView.measureChild(child, MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY),
330 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY));
344 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY),
345 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY));
351 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5,
352 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), 5);
363 scrollView.measureChild(child, MeasureSpec.makeMeasureSpec(150, MeasureSpec.EXACTLY),
364 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY))
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
View_MeasureSpecTest.java 36 mUnspecifiedMeasureSpec = View.MeasureSpec.makeMeasureSpec(MEASURE_SPEC_SIZE,
38 mExactlyMeasureSpec = View.MeasureSpec.makeMeasureSpec(MEASURE_SPEC_SIZE,
40 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);
  /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);
  /packages/apps/Contacts/src/com/android/contacts/widget/
FullHeightLinearLayout.java 46 heightMeasureSpec = MeasureSpec.makeMeasureSpec(
  /cts/tests/tests/text/src/android/text/cts/
MyanmarTest.java 76 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED),
77 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
  /frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
IllustrationTest.java 50 illustration.measure(View.MeasureSpec.makeMeasureSpec(300, View.MeasureSpec.EXACTLY),
51 View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED));
  /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),
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
ExpandingLayout.java 57 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mExpandedHeight, MeasureSpec.AT_MOST);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewMeasureSpec.java 30 public static int makeMeasureSpec (int size, int mode) {
  /frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
ThemePreviewLayout.java 105 int childWidthSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
106 int childHeightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
140 childWidthSpec = MeasureSpec.makeMeasureSpec(itemWidth, MeasureSpec.EXACTLY);
141 childHeightSpec = MeasureSpec.makeMeasureSpec(itemHeight, MeasureSpec.EXACTLY);
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
MessageBubbleBackground.java 44 MeasureSpec.makeMeasureSpec(bubbleWidth + widthPadding, MeasureSpec.EXACTLY),

Completed in 1296 milliseconds

1 2 3 4 5 6 7 8 91011