Searched refs:rotationDegree (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | SurfaceViewRendererOnMeasureTest.java | 51 static VideoFrame createFrame(int width, int height, int rotationDegree) { in createFrame() argument 61 return new VideoFrame(buffer, rotationDegree, 0 /* timestamp */); in createFrame() 168 for (int rotationDegree : new int[] {0, 90, 180, 270}) { in testFrame1280x720() 171 final int unrotatedWidth = (rotationDegree % 180 == 0 ? rotatedWidth : rotatedHeight); in testFrame1280x720() 172 final int unrotatedHeight = (rotationDegree % 180 == 0 ? rotatedHeight : rotatedWidth); in testFrame1280x720() 173 final VideoFrame frame = createFrame(unrotatedWidth, unrotatedHeight, rotationDegree); in testFrame1280x720() 177 unrotatedWidth + "x" + unrotatedHeight + " with rotation " + rotationDegree; in testFrame1280x720() 180 rendererEvents.waitForFrameSize(unrotatedWidth, unrotatedHeight, rotationDegree); in testFrame1280x720()
|