Android: Added support for dirty rects and IBasicImage.