Fix the Divie-by-zero issue.

The height could be zero if the motion event is sent before onMeasure().

Change-Id: Icd698be097b32baf728adfba5a6fa144a8a6b15d
1 file changed