-webkit-animation-duration: 10s;
-webkit-animation-delay: 0s;
-webkit-animation-timing-function: linear;
- -webkit-animation-iteration-count: 1;/*infinite;*/
+ -webkit-animation-iteration-count: infinite;
+ -webkit-animation-play-state: paused;
}
.rollLeft {
-webkit-animation-duration: 10s;
-webkit-animation-delay: 0s;
-webkit-animation-timing-function: linear;
- -webkit-animation-iteration-count: 1;/*infinite;*/
+ -webkit-animation-iteration-count: infinite;
+ -webkit-animation-play-state: paused;
}
.liveBg {
-webkit-animation-duration: 7s;
-webkit-animation-delay: 0s;
-webkit-animation-timing-function: ease-out;
- -webkit-animation-iteration-count: 1;
+ -webkit-animation-iteration-count: infinite;
-webkit-transition: opacity 500ms ease-out;
+ -webkit-animation-play-state: paused;
}
@-webkit-keyframes rotateR {
});
+ var checkAnimationConfig = function() {
+ var animation = Configuration.get("animationEnabled");
+ if (animation === undefined || animation) {
+ $(".rollRight").css("-webkit-animation-play-state", "running");
+ $(".rollLeft").css("-webkit-animation-play-state", "running");
+ $(".liveBg").css("-webkit-animation-play-state", "running");
+ } else {
+ $(".rollRight").css("-webkit-animation-play-state", "paused");
+ $(".rollLeft").css("-webkit-animation-play-state", "paused");
+ $(".liveBg").css("-webkit-animation-play-state", "paused");
+ }
+ };
+
/* fixed webkit animation bugs */
window.setTimeout(function() {
- window.setInterval(function() {
- $("#innerRing").removeClass("rollLeft");
- $("#outerRing").removeClass("rollRight");
- window.setTimeout(function() {
- $("#innerRing").addClass("rollLeft");
- $("#outerRing").addClass("rollRight");
- }, 50);
-
- }, 10000);
- }, 1000);
- window.setTimeout(function() {
- window.setInterval(function() {
- $('#wrapper .step9').removeClass('liveBg');
- window.setTimeout(function() {
- $('#wrapper .step9').addClass('liveBg');
- }, 50);
-
- }, 7000);
- }, 500);
+ checkAnimationConfig();
+ Configuration.addUpdateListener(function() {
+ checkAnimationConfig();
+ });
+ }, 1000);
/* end fixed webkit animation bugs */
};
+* Wed Jan 07 2015 Jimmy Huang <jimmy.huang@intel.com> accepted/tizen/ivi/20141112.110519-1-g9a41e9e
+- Add support to disable/enable Homescreen animation
+
* Tue Oct 07 2014 Brian Jones <brian.j.jones@intel.com> submit/tizen_ivi/20141007.175535-1-g0b3ff06
- Fix systemd install path on 64-bit architecture
- use systemd macro for path.