fix warnings (float to int), and convert to skia-style
fix warnings (float to int), and convert to skia-style

style examples:
- use const: (const SkRect&) instead of (SkRect&)
- spacing: (Type& r) instead of ( Type &r )
- use SK_OVERRIDE
Review URL: https://codereview.appspot.com/7066051

git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@7069 2bbb7eff-a529-9590-31e7-b0007b416f81

Cue/skia,Cue/skia,Cue/skia,Cue/skia