@Override public void onDraw(Canvas canvas){
  mLastDrawTimeMs=System.currentTimeMillis();
  super.onDraw(canvas);
}

@ Override public void onDraw ( Canvas canvas ) { mLastDrawTimeMs = System . currentTimeMillis ( ) ; super . onDraw ( canvas ) ; }
keep track of the last time we drew .
