Home
last modified time | relevance | path

Searched refs:widthSpec (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DSurfaceViewRendererOnMeasureTest.java74 int widthSpec, int heightSpec) { in assertMeasuredSize() argument
76 surfaceViewRenderer.onMeasure(widthSpec, heightSpec); in assertMeasuredSize()
81 + MeasureSpec.toString(widthSpec) + ", " + MeasureSpec.toString(heightSpec) + ")" in assertMeasuredSize()
181 final int widthSpec = MeasureSpec.makeMeasureSpec(720, MeasureSpec.AT_MOST); in testFrame1280x720() local
187 expectedSize.x, expectedSize.y, widthSpec, heightSpec); in testFrame1280x720()
193 final int widthSpec = MeasureSpec.makeMeasureSpec(720, MeasureSpec.EXACTLY); in testFrame1280x720() local
199 expectedSize.x, expectedSize.y, widthSpec, heightSpec); in testFrame1280x720()
204 final int widthSpec = MeasureSpec.makeMeasureSpec(720, MeasureSpec.AT_MOST); in testFrame1280x720() local
208 720, 1280, widthSpec, heightSpec); in testFrame1280x720()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DSurfaceViewRenderer.java322 private Point getDesiredLayoutSize(int widthSpec, int heightSpec) { in getDesiredLayoutSize() argument
324 final int maxWidth = getDefaultSize(Integer.MAX_VALUE, widthSpec); in getDesiredLayoutSize()
328 if (MeasureSpec.getMode(widthSpec) == 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()