[Tizen-submit] 19910: Changes to Tizen:IVI/MediaPlayer

noreply at tizen.org noreply at tizen.org
Tue Jan 28 21:39:08 GMT 2014


Hi,
brianjjones have made the following changes to MediaPlayer in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #19910

  submit:       Tizen:IVI:build/MediaPlayer(cleanup) -> Tizen:IVI


Message:
Submitter: brianjjones <brian.j.jones at intel.com>
Comments: Fix track time text so that it doesn't overlap others
Git project: profile/ivi/MediaPlayer
Tag: submit/tizen/20140128.214223
Commit: 7f2522967d6935426a056c9e2ac1ab9334fef80d Merge "Fix track time text so that it doesn't overlap others" into tizen

State:   new        2014-01-28T21:41:05 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- MediaPlayer.spec
+++ MediaPlayer.spec
@@ -1,5 +1,5 @@
 Name:       MediaPlayer
-VCS:        profile/ivi/MediaPlayer#262aecba0ffd07361b5ca6ac08bb881e68faf0ef
+VCS:        profile/ivi/MediaPlayer#7f2522967d6935426a056c9e2ac1ab9334fef80d
 Summary:    A HTML media player application
 Version:    0.0.1
 Release:    1

other changes:
--------------

++++++ MediaPlayer-0.0.1.tar.bz2
--- js/audioPlayer.js
+++ js/audioPlayer.js
@@ -198,11 +198,16 @@
 	else
 		timeText += "00:00";
 
-
 	var trackTimeText = new TextObject(trackTimeCTX,{"text" : timeText, "xLoc" : textStartX, "yLoc" : 50, "zLoc" : 0,
 								"width" : mediaNameCanvas.width - textStartX, "height" : 20, "lineHeight" : 20, "wordWrap" : false});
 
-	trackTimeText.applyTemplate(timeTemplate);
+	if (screenOrientation === "portrait")
+	{
+		trackTimeText.applyTemplate(timeTemplate);
+	}
+	else
+		trackTimeText.applyTemplate(timeTemplateLandscape);
+
 	trackTimeCTX.clearRect(0, 0, trackTimeCanvas.width, trackTimeCanvas.height);
 
 	trackTimeText.yLoc = ((playBarHeight - boxWidth) / 2) + boxWidth;
--- js/main.js
+++ js/main.js
@@ -43,13 +43,13 @@
 var boxWidth;
 var textStartX;
 
-var mainMenuTitleTemplateLandscape = {"font" : "oblique bolder 30pt arial", "lineWidth" : 9.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
+var mainMenuTitleTemplateLandscape = {"font" : "oblique bolder 18pt arial", "lineWidth" : 6.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
 		"largeShadow" : 8, "shadowOffsetX" : 0, "shadowOffsetY" : 0, "shadowBlur" : 45, "shadowColor" : "rgba(255, 187, 0, 0.4)"};
 
 var mainMenuTitleTemplate = {"font" : "oblique bolder 40pt arial", "lineWidth" : 9.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
 		"largeShadow" : 8, "shadowOffsetX" : 0, "shadowOffsetY" : 0, "shadowBlur" : 45, "shadowColor" : "rgba(255, 187, 0, 0.4)"};
 
-var mainTrackTemplateLandscape = {"font" : "bold 20pt Arial", "lineWidth" : 7.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
+var mainTrackTemplateLandscape = {"font" : "bold 16pt Arial", "lineWidth" : 4.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
 		"largeShadow" : 8, "shadowOffsetX" : 0, "shadowOffsetY" : 0, "shadowBlur" : 45, "shadowColor" : "rgba(255, 187, 0, 0.5))"};
 
 var mainTrackTemplate = {"font" : "bold 30pt Arial", "lineWidth" : 7.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
@@ -58,6 +58,9 @@
 var timeTemplate = {"font" : "bold 25pt Arial", "lineWidth" : 7.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
 		"largeShadow" : 8, "shadowOffsetX" : 0, "shadowOffsetY" : 0, "shadowBlur" : 45, "shadowColor" : "rgba(255, 187, 0, 0.5))"};
 
+var timeTemplateLandscape = {"font" : "bold 6pt Arial", "lineWidth" : 3.5, "fillStyle" : "black", "strokeStyle" : "white", "textAlign" : "left",
+		"largeShadow" : 8, "shadowOffsetX" : 0, "shadowOffsetY" : 0, "shadowBlur" : 45, "shadowColor" : "rgba(255, 187, 0, 0.5))"};
+
 var mediaTextTemplate2 = {"font" : "bold 20pt Arial", "lineWidth" : 10.0, "fillStyle" : "white", "strokeStyle" : "rgba(0, 0, 0, 1.0)", "textAlign" : "left",
 		"shadowOffsetX" : 0, "shadowOffsetY" : 0, "shadowBlur" : 0, "shadowColor" : "rgba(0, 0, 0, 1.0)"};
 


More information about the Tizen-submit mailing list