Use of dispatchDraw(Canvas canvas)
From the Android documentation - protected void dispatchDraw (Canvas canvas)
:
Called by draw to draw the child views. This may be overridden by derived classes to gain control just before its children are drawn (but after its own view has been drawn).