OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scalingType
(Results
1 - 6
of
6
) sorted by null
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
SurfaceViewRendererOnMeasureTest.java
43
private static final List<RendererCommon.
ScalingType
> scalingTypes = Arrays.asList(
44
RendererCommon.
ScalingType
.SCALE_ASPECT_FIT,
45
RendererCommon.
ScalingType
.SCALE_ASPECT_FILL,
46
RendererCommon.
ScalingType
.SCALE_ASPECT_BALANCED);
71
SurfaceViewRenderer surfaceViewRenderer, RendererCommon.
ScalingType
scalingType
,
75
surfaceViewRenderer.setScalingType(
scalingType
);
82
+ " with scaling type " +
scalingType
99
for (RendererCommon.
ScalingType
scalingType
: scalingTypes)
[
all
...]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
CallFragment.java
23
import org.webrtc.RendererCommon.
ScalingType
;
37
private
ScalingType
scalingType
;
46
public void onVideoScalingSwitch(
ScalingType
scalingType
);
88
if (
scalingType
==
ScalingType
.SCALE_ASPECT_FILL) {
91
scalingType
=
ScalingType
.SCALE_ASPECT_FIT;
95
scalingType
= ScalingType.SCALE_ASPECT_FILL
[
all
...]
CallActivity.java
37
import org.webrtc.RendererCommon.
ScalingType
;
123
private
ScalingType
scalingType
;
162
scalingType
=
ScalingType
.SCALE_ASPECT_FILL;
313
public void onVideoScalingSwitch(
ScalingType
scalingType
) {
314
this.
scalingType
=
scalingType
;
346
remoteRender.setScalingType(
scalingType
);
[
all
...]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
VideoRendererGui.java
113
private RendererCommon.
ScalingType
scalingType
;
142
// |screenHeight|, |videoWidth|, |videoHeight|, |rotationDegree|, |
scalingType
|, and |mirror|.
160
RendererCommon.
ScalingType
scalingType
, boolean mirror, RendererCommon.GlDrawer drawer) {
164
this.
scalingType
=
scalingType
;
217
// Adjust display size based on |
scalingType
|.
218
final Point displaySize = RendererCommon.getDisplaySize(
scalingType
,
327
RendererCommon.
ScalingType
scalingType, boolean mirror)
[
all
...]
RendererCommon.java
129
public static enum
ScalingType
{ SCALE_ASPECT_FIT, SCALE_ASPECT_FILL, SCALE_ASPECT_BALANCED }
206
public static Point getDisplaySize(
ScalingType
scalingType
, float videoAspectRatio,
208
return getDisplaySize(convertScalingTypeToVisibleFraction(
scalingType
), videoAspectRatio,
230
private static float convertScalingTypeToVisibleFraction(
ScalingType
scalingType
) {
231
switch (
scalingType
) {
SurfaceViewRenderer.java
102
// |
scalingType
| determines how the video will fill the allowed layout area in onMeasure().
103
private RendererCommon.
ScalingType
scalingType
= RendererCommon.
ScalingType
.SCALE_ASPECT_BALANCED;
287
public void setScalingType(RendererCommon.
ScalingType
scalingType
) {
289
this.
scalingType
=
scalingType
;
327
RendererCommon.getDisplaySize(
scalingType
, frameAspectRatio(), maxWidth, maxHeight);
Completed in 1161 milliseconds