Modify sizeutil for Odroid.
authorcskim <charles0.kim@samsung.com>
Tue, 18 Apr 2017 10:02:31 +0000 (19:02 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:53 +0000 (18:34 +0900)
Change-Id: If1831d32af89dfbca0ce8823a5b11bdca5a92a55

LibTVRefCommonPortable/Utils/SizeUtils.cs

index baa3969066d5a1e1a86ebe51622ee26810dd50e1..c4b6ef9c5a959dbdc87bfb55702c903814d288a6 100644 (file)
@@ -153,8 +153,8 @@ namespace LibTVRefCommonPortable.Utils
                 case PlatformModel.Other:
                 case PlatformModel.TV:
                     // TODO : Remove this if the TV/Other device's dpi is correctly changed.
-                    double tempAdjustmentRatio = 0.3D;
-                    //DebuggingUtils.Dbg("TV/Other, Font size = " + fontBaseSize + " => " + ((double)((double)fontBaseSize / (double)BaseScreenHeight) * (double)ScreenHeight) * ScaleRatio * tempAdjustmentRatio);
+                    //DebuggingUtils.Dbg(String.Format("TV/Other, fontBaseSize = {0}, BaseScreenHeight = {1}, ScreenHeight = {2}, ScaleRatio = {3}", fontBaseSize, BaseScreenHeight, ScreenHeight, ScaleRatio));
+                    double tempAdjustmentRatio = 0.22D;
                     return Convert.ToInt32(((double)((double)fontBaseSize / (double)BaseScreenHeight) * (double)ScreenHeight) * ScaleRatio * tempAdjustmentRatio);
             }
         }