void CAniVScroller::AnimateLinearScroll (Metric rRate) // AnimateLinearScroll // // Sets an animation timeline to scroll through all lines { CLinearMetric *pScroller = new CLinearMetric; Metric cyViewport = m_Properties[INDEX_VIEWPORT_HEIGHT].GetMetric(); pScroller->SetParams(-cyViewport, m_cyEnd, rRate); AnimateProperty(PROP_SCROLL_POS, pScroller); }
ECode ViewPropertyAnimator::Alpha( /* [in] */ Float value) { AnimateProperty(ALPHA, value); return NOERROR; }
ECode ViewPropertyAnimator::ScaleY( /* [in] */ Float value) { AnimateProperty(SCALE_Y, value); return NOERROR; }
ECode ViewPropertyAnimator::TranslationY( /* [in] */ Float value) { AnimateProperty(TRANSLATION_Y, value); return NOERROR; }
ECode ViewPropertyAnimator::RotationY( /* [in] */ Float value) { AnimateProperty(ROTATION_Y, value); return NOERROR; }
ECode ViewPropertyAnimator::Y( /* [in] */ Float value) { AnimateProperty(_Y, value); return NOERROR; }