support share-to-print of images and PDFs

Make it easier for apps to print to any supported printer via a normal
share intent. Provides appropriate content resolution to PrintManager
for printing to any installed and enabled Print Service. Image content
is downscaled to a good DPI for preview (screen DPI) or delivery (300
DPI). Fit vs Fill options are activated by the user's landscape vs
portrait print attribute selection. Finally, Photos default to a
locale-specific default photo media size.

Test: Share any image or PDF then select "Print"
Change-Id: Iccaf987b2754bdb7a723ad5e94d414c1f33f5ef2
Signed-off-by: Glade Diviney <mopriadevteam@gmail.com>
7 files changed