[Android] Set DIP scale and add test case for onScaleChanged.

1. Refine the parameter for onScaleChanged().
2. Set DIP scale.
3. Add test case for onScaleChanged().