/** * Add a segment to the animation's queue. * * @param durationMillis * Time in milliseconds for the entire animation * @param cuePoints * List of relative time points at which to change to the next * segment * @param keyFrames * List of segment values for target */ public void enqueue(int durationMillis, float[] cuePoints, List<AnimationInstance.KeyFrame[]> keyFrames) { enqueue(new AnimationInstance(durationMillis, cuePoints, keyFrames)); }