1. A method in a system, the method comprising: identifying an event in the system; determining a first amount of time for a timer-driven animation routine to update a state of an animation by updating the display of one or more regions of a frame; monitoring a second amount of time taken by a paint controller module to identify updates to the state of the animation and to compose a frame that includes the updates to the state of the animation; and adjusting, in response to the identified event, a rate at which both the timer-driven animation routine is activated and the paint controller module is activated based at least in part on the first amount of time and the second amount of time, such that the rate is sufficient for the timer-driven animation routine to update the state of the animation for subsequent frames and the rate is sufficient for the paint controller module to compose each of the subsequent frames.