public void setDelay(int ms) {
        delay = Math.round(ms / 10.0f);
    }
Sets the delay time between each frame, or changes it for subsequent frames
(applies to last frame added).

@param ms
         int delay time in milliseconds
core/src/main/java/com/bumptech/glide/gifencoder/AnimatedGifEncoder.java