Home
last modified time | relevance | path

Searched refs:SCALE_ASPECT_FILL (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DRendererCommonTest.java45 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FILL, 0.0f, 0, 0)); in testDisplaySizeNoFrame()
52 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FILL, 0.0f, 1280, 720)); in testDisplaySizeDegenerateAspectRatio()
59 assertEquals(new Point(0, 0), getDisplaySize(SCALE_ASPECT_FILL, 16.0f / 9, 0, 0)); in testZeroDisplaySize()
66 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FILL, 16.0f / 9, 1280, 720)); in testDisplaySizePerfectFit()
69 assertEquals(new Point(720, 1280), getDisplaySize(SCALE_ASPECT_FILL, 9.0f / 16, 720, 1280)); in testDisplaySizePerfectFit()
76 assertEquals(new Point(720, 1280), getDisplaySize(SCALE_ASPECT_FILL, 16.0f / 9, 720, 1280)); in testLandscapeVideoInPortraitDisplay()
83 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FILL, 9.0f / 16, 1280, 720)); in testPortraitVideoInLandscapeDisplay()
90 assertEquals(new Point(1280, 720), getDisplaySize(SCALE_ASPECT_FILL, 4.0f / 3, 1280, 720)); in testFourToThreeVideoInSixteenToNineDisplay()
DSurfaceViewRendererOnMeasureTest.java45 RendererCommon.ScalingType.SCALE_ASPECT_FILL,
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallFragment.java88 if (scalingType == ScalingType.SCALE_ASPECT_FILL) { in onCreateView()
95 scalingType = ScalingType.SCALE_ASPECT_FILL; in onCreateView()
100 scalingType = ScalingType.SCALE_ASPECT_FILL; in onCreateView()
DCallActivity.java162 scalingType = ScalingType.SCALE_ASPECT_FILL; in onCreate()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DRendererCommon.java129 public static enum ScalingType { SCALE_ASPECT_FIT, SCALE_ASPECT_FILL, SCALE_ASPECT_BALANCED } enumConstant
234 case SCALE_ASPECT_FILL: in convertScalingTypeToVisibleFraction()