Searched refs:heightSpec (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | SurfaceViewRendererOnMeasureTest.java | 74 int widthSpec, int heightSpec) { in assertMeasuredSize() argument 76 surfaceViewRenderer.onMeasure(widthSpec, heightSpec); in assertMeasuredSize() 81 + MeasureSpec.toString(widthSpec) + ", " + MeasureSpec.toString(heightSpec) + ")" in assertMeasuredSize() 182 final int heightSpec = MeasureSpec.makeMeasureSpec(1280, MeasureSpec.AT_MOST); in testFrame1280x720() local 187 expectedSize.x, expectedSize.y, widthSpec, heightSpec); in testFrame1280x720() 194 final int heightSpec = MeasureSpec.makeMeasureSpec(1280, MeasureSpec.AT_MOST); in testFrame1280x720() local 199 expectedSize.x, expectedSize.y, widthSpec, heightSpec); in testFrame1280x720() 205 final int heightSpec = MeasureSpec.makeMeasureSpec(1280, MeasureSpec.EXACTLY); in testFrame1280x720() local 208 720, 1280, widthSpec, heightSpec); in testFrame1280x720()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | SurfaceViewRenderer.java | 322 private Point getDesiredLayoutSize(int widthSpec, int heightSpec) { in getDesiredLayoutSize() argument 325 final int maxHeight = getDefaultSize(Integer.MAX_VALUE, heightSpec); in getDesiredLayoutSize() 331 if (MeasureSpec.getMode(heightSpec) == MeasureSpec.EXACTLY) { in getDesiredLayoutSize() 340 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument 343 super.onMeasure(widthSpec, heightSpec); in onMeasure() 346 desiredLayoutSize = getDesiredLayoutSize(widthSpec, heightSpec); in onMeasure()
|