frameworks/base: vectorize Bitmap operations