Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: talk/app/webrtc/java/android/org/webrtc/RendererCommon.java

Issue 1313513002: Android RendererCommon: Add unittests for getDisplaySize() (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/androidtests/src/org/webrtc/RendererCommonTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/java/android/org/webrtc/RendererCommon.java
diff --git a/talk/app/webrtc/java/android/org/webrtc/RendererCommon.java b/talk/app/webrtc/java/android/org/webrtc/RendererCommon.java
index f54d5edca640931a529856d72285bc62ff538860..9f419da20312f45f59da0a322b43fb901e8ba52b 100644
--- a/talk/app/webrtc/java/android/org/webrtc/RendererCommon.java
+++ b/talk/app/webrtc/java/android/org/webrtc/RendererCommon.java
@@ -59,7 +59,7 @@ public class RendererCommon {
public static enum ScalingType { SCALE_ASPECT_FIT, SCALE_ASPECT_FILL, SCALE_ASPECT_BALANCED }
// The minimum fraction of the frame content that will be shown for |SCALE_ASPECT_BALANCED|.
// This limits excessive cropping when adjusting display size.
- private static float BALANCED_VISIBLE_FRACTION = 0.56f;
+ private static float BALANCED_VISIBLE_FRACTION = 0.5625f;
/**
* Calculates a texture transformation matrix based on rotation, mirror, and video vs display
« no previous file with comments | « talk/app/webrtc/androidtests/src/org/webrtc/RendererCommonTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698