Searched refs:SCALE_ASPECT_BALANCED (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | RendererCommonTest.java | 46 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_BALANCED, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 53 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_BALANCED, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 60 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_BALANCED, 16.0f / 9, 0, 0)); in testZeroDisplaySize() 67 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_BALANCED, 16.0f / 9, 1280, 720)); in testDisplaySizePerfectFit() 70 assertEquals(new Point(720, 1280), getDisplaySize(SCALE_ASPECT_BALANCED, 9.0f / 16, 720, 1280)); in testDisplaySizePerfectFit() 77 assertEquals(new Point(720, 720), getDisplaySize(SCALE_ASPECT_BALANCED, 16.0f / 9, 720, 1280)); in testLandscapeVideoInPortraitDisplay() 84 assertEquals(new Point(720, 720), getDisplaySize(SCALE_ASPECT_BALANCED, 9.0f / 16, 1280, 720)); in testPortraitVideoInLandscapeDisplay() 91 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_BALANCED, 4.0f / 3, 1280, 720)); in testFourToThreeVideoInSixteenToNineDisplay()
|
D | SurfaceViewRendererOnMeasureTest.java | 46 RendererCommon.ScalingType.SCALE_ASPECT_BALANCED);
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | RendererCommon.java | 129 public static enum ScalingType { SCALE_ASPECT_FIT, SCALE_ASPECT_FILL, SCALE_ASPECT_BALANCED } enumConstant 236 case SCALE_ASPECT_BALANCED: in convertScalingTypeToVisibleFraction()
|
D | SurfaceViewRenderer.java | 103 private RendererCommon.ScalingType scalingType = RendererCommon.ScalingType.SCALE_ASPECT_BALANCED;
|