Hi Sathish, The latest branch of weston-ivi-shell supports transition animation when properties of surfaces are changed. E.g. a property is changed from visibility 0 to 1 like fade-in. Weston-ivi-shell interoperates transition automatically when commitchanges is triggered. Duration of transition can be definition in Weston.ini by key: transition-duration (ms).
A animation can be disable or enable by using a following API per surface. ivi_layout_surfaceSetTransition BR, Nobuhiko Tanibata > -----Original Message----- > From: IVI [mailto:[email protected]] On Behalf Of Sathishkumar > Sivagurunathan > Sent: Sunday, September 21, 2014 11:52 PM > To: [email protected] > Subject: fade in effect in weston ivi shell > > Hi, > > I tried to a few things more.. > > 1) I looked at the example code in hmi controller .c to do fade_out effect. > But if I reverse the parameters, I expected a fade_in effect to happen.. > I think it is not the case though.. > > Is there a way to implement the fade in effect.. I am using > weston-ivi-shell-1.4.0.. > > 2) Apart from this, I also tried to set the sequential reduce the alpha value > from 0 to 1 using the following command.. > > weston_layout_layerSetOpacity(linklayer->layout_layer, alpha); > weston_layout_layerSetVisibility(linklayer->layout_layer, > is_visible); > > Though I am to see fade out effect, I am not able to see fade in effect.. > > Thanks, > Sathish > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Information contained and transmitted by this e-mail is confidential and > proprietary to IGATE and its affiliates and is intended for use only by the > recipient. If you are not the intended recipient, you are hereby notified > that any dissemination, distribution, copying or use of this e-mail is > strictly prohibited and you are requested to delete this e-mail immediately > and notify the originator or [email protected] > <mailto:[email protected]>. IGATE does not enter into any agreement with > any party by e-mail. Any views expressed by an individual do not necessarily > reflect the view of IGATE. IGATE is not responsible for the consequences of > any actions taken on the basis of information provided, through this email. > The contents of an attachment to this e-mail may contain software viruses, > which could damage your own computer system. While IGATE has taken every > reasonable precaution to minimise this risk, we cannot accept liability for > any damage which you sustain as a result o! > f softwar > e viruses. You should carry out your own virus checks before opening an > attachment. To know more about IGATE please visit www.igate.com > <http://www.igate.com>. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > _______________________________________________ > IVI mailing list > [email protected] > https://lists.tizen.org/listinfo/ivi _______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
