Hello there, I'm trying to understand the relationship between AnimationDrawable callbacks and VSYNC signals, in order to try to define more precisely animations with very short display times.
So, with an AnimationDrawable, I can add a frame with a specific duration - int: How long in milliseconds the frame should appear However, given that the animations are most likely shown at 60fps, so ~17ms, what happens if the duration of a frame is set to 1ms, or 10ms, or 17ms, or 20ms? To put the question another way, if you want a particular image to show for just one frame, then what is the best value to set for the duration? If, say, the frame duration is 10ms, is that simply queued within the Choreographer and handled on the next VSYNC? At what point might a mismatch between frame duration and the VSYNC signal period mean that the frame might be discarded? Any advice greatly appreciated, Thanks very much c -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1ad1fee8-9dc6-4cff-be90-eec180ff3f15%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.