Move some image/9patch code to androidfw

Test: Automatic
Bug: 296324826
Change-Id: I06b8df4fd53304d6663e80879892a635168ab28b
55 files changed