Home
last modified time | relevance | path

Searched refs:makeMeasureSpec (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DSurfaceViewRendererOnMeasureTest.java101 final int zeroMeasureSize = MeasureSpec.makeMeasureSpec(0, measureSpecMode); in testNoFrame()
106 MeasureSpec.makeMeasureSpec(1280, measureSpecMode), in testNoFrame()
107 MeasureSpec.makeMeasureSpec(720, measureSpecMode)); in testNoFrame()
115 final int zeroMeasureSize = MeasureSpec.makeMeasureSpec(0, measureSpecMode); in testNoFrame()
120 MeasureSpec.makeMeasureSpec(1280, measureSpecMode), in testNoFrame()
121 MeasureSpec.makeMeasureSpec(720, measureSpecMode)); in testNoFrame()
154 final int zeroMeasureSize = MeasureSpec.makeMeasureSpec(0, measureSpecMode); in testFrame1280x720()
165 MeasureSpec.makeMeasureSpec(rotatedWidth, measureSpecMode), in testFrame1280x720()
166 MeasureSpec.makeMeasureSpec(rotatedHeight, measureSpecMode)); in testFrame1280x720()
174 MeasureSpec.makeMeasureSpec(720, MeasureSpec.EXACTLY), in testFrame1280x720()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DViewMeasureSpecTest.java19 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); in testMode()
21 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(600, View.MeasureSpec.EXACTLY))); in testMode()
23 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(320, View.MeasureSpec.AT_MOST))); in testMode()
29 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); in testSize()
31 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(800, View.MeasureSpec.EXACTLY))); in testSize()
33 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(1280, View.MeasureSpec.AT_MOST))); in testSize()
39 MeasureSpec.toString(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); in testToString()
41 MeasureSpec.toString(MeasureSpec.makeMeasureSpec(480, View.MeasureSpec.EXACTLY))); in testToString()
43 MeasureSpec.toString(MeasureSpec.makeMeasureSpec(960, View.MeasureSpec.AT_MOST))); in testToString()
DViewTest.java354 view1.measure( MeasureSpec.makeMeasureSpec(150, MeasureSpec.AT_MOST), in test_measuredDimension()
355 MeasureSpec.makeMeasureSpec(300, MeasureSpec.AT_MOST) ); in test_measuredDimension()
373 view2.measure( MeasureSpec.makeMeasureSpec(1000, MeasureSpec.AT_MOST), in test_measuredDimensionCustomView()
374 MeasureSpec.makeMeasureSpec(600, MeasureSpec.AT_MOST) ); in test_measuredDimensionCustomView()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPercentFrameLayout.java58 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure()
59 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure()
62 MeasureSpec.makeMeasureSpec(width * widthPercent / 100, MeasureSpec.AT_MOST); in onMeasure()
64 MeasureSpec.makeMeasureSpec(height * heightPercent / 100, MeasureSpec.AT_MOST); in onMeasure()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowViewMeasureSpec.java30 public static int makeMeasureSpec (int size, int mode) { in makeMeasureSpec() method in ShadowViewMeasureSpec