Fix RecordingCanvas::refPaint, add tests

Also add text align support to TestUtils::drawTextToCanvas

Change-Id: I105adb0d15e697c03adfd00a56e8ec9265953ff1
5 files changed