[problem] Deprecated API is still being used
[cause] ItemView legacy code
[solution] Remove code
Change-Id: Ia1741882e1e42d5ca957370d9721f473104ce621
- const float DEFAULT_COLOR_VISIBILITY_REMOVE_TIME = 0.5f; // 0.5 second
// Functors which wrap constraint functions with stored item IDs
struct WrappedQuaternionConstraint
// Functors which wrap constraint functions with stored item IDs
struct WrappedQuaternionConstraint
constraint.SetApplyTime(durationSeconds);
constraint.SetAlphaFunction(mAlphaFunction);
constraint.SetApplyTime(durationSeconds);
constraint.SetAlphaFunction(mAlphaFunction);
-
- // Release color constraints slowly; this allows ItemView to co-exist with ImageActor fade-in
- constraint.SetRemoveTime(DEFAULT_COLOR_VISIBILITY_REMOVE_TIME);
constraint.SetRemoveAction(Dali::Constraint::Discard);
actor.ApplyConstraint(constraint);
constraint.SetRemoveAction(Dali::Constraint::Discard);
actor.ApplyConstraint(constraint);
constraint.SetAlphaFunction(mAlphaFunction);
// Release visibility constraints the same time as the color constraint
constraint.SetAlphaFunction(mAlphaFunction);
// Release visibility constraints the same time as the color constraint
- constraint.SetRemoveTime(DEFAULT_COLOR_VISIBILITY_REMOVE_TIME);
constraint.SetRemoveAction(Dali::Constraint::Discard);
actor.ApplyConstraint(constraint);
constraint.SetRemoveAction(Dali::Constraint::Discard);
actor.ApplyConstraint(constraint);