Searched refs:SCALE_ASPECT_FIT (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | RendererCommonTest.java | 17 import static org.webrtc.RendererCommon.ScalingType.SCALE_ASPECT_FIT; 32 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FIT, 0.0f, 0, 0)); in testDisplaySizeNoFrame() 40 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FIT, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio() 48 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FIT, 16.0f / 9, 0, 0)); in testZeroDisplaySize() 56 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FIT, 16.0f / 9, 1280, 720)); in testDisplaySizePerfectFit() 59 assertEquals(new Point(720, 1280), getDisplaySize(SCALE_ASPECT_FIT, 9.0f / 16, 720, 1280)); in testDisplaySizePerfectFit() 67 assertEquals(new Point(720, 405), getDisplaySize(SCALE_ASPECT_FIT, 16.0f / 9, 720, 1280)); in testLandscapeVideoInPortraitDisplay() 75 assertEquals(new Point(405, 720), getDisplaySize(SCALE_ASPECT_FIT, 9.0f / 16, 1280, 720)); in testPortraitVideoInLandscapeDisplay() 83 assertEquals(new Point(960, 720), getDisplaySize(SCALE_ASPECT_FIT, 4.0f / 3, 1280, 720)); in testFourToThreeVideoInSixteenToNineDisplay()
|
D | SurfaceViewRendererOnMeasureTest.java | 39 RendererCommon.ScalingType.SCALE_ASPECT_FIT, RendererCommon.ScalingType.SCALE_ASPECT_FILL,
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | RendererCommon.java | 127 public static enum ScalingType { SCALE_ASPECT_FIT, SCALE_ASPECT_FILL, SCALE_ASPECT_BALANCED } enumConstant 231 case SCALE_ASPECT_FIT: in convertScalingTypeToVisibleFraction()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | CallFragment.java | 84 scalingType = ScalingType.SCALE_ASPECT_FIT; in onCreateView()
|
D | CallActivity.java | 237 pipRenderer.setScalingType(ScalingType.SCALE_ASPECT_FIT); in onCreate()
|