num easeOutInSine(num ratio)

Source

static num easeOutInSine(num ratio) {
  ratio = ratio * 2.0;
  return (ratio < 1.0) ? 0.5 * easeOutSine(ratio) : 0.5 * easeInSine(ratio - 1.0) + 0.5;
}