public void transformOverScrollCanvas(float offsetY,Canvas canvas,View view){
  final int translateY=Math.round(offsetY * DEFAULT_DRAW_TRANSLATE_RATE);
  canvas.translate(0,translateY);
}

public void transformOverScrollCanvas ( float offsetY , Canvas canvas , View view ) { final int translateY = Math . round ( offsetY * DEFAULT_DRAW_TRANSLATE_RATE ) ; canvas . translate ( 0 , translateY ) ; }
transform canvas before draw content , for example , do canvas . translate
