viewportRect.y));
}
}
});
horizontalScrollTimeline
.setEase(new TimelineEase() {
@Override
public float map(float durationFraction) {
if (durationFraction < 0.5)
return 0.5f * durationFraction;
return 0.25f + (durationFraction - 0.5f) * 0.75f / 0.5f;