Add parameter for max initial scale factor

you can now pass EXTRA_MAX_INITIAL_SCALE into PhotoViewActivity in order
to specify the maximum initial scale of images displayed. This parameter
defaults to 1x if now supplied, so images will not be displayed larger
than their actual size by default.

This allows the gmail team to resolve 7049410 whilst velvet can keep
something like the old behaviour (which is more natural for their app)

Bug: 7049410
Change-Id: I7d230666ca50a4634d8436519ed280cc6e558ee3
5 files changed
tree: 6ec28040e84295f6e3cf6388fccbd0632c32aa73
  1. carousel/
  2. chips/
  3. common/
  4. photoviewer/
  5. variablespeed/
  6. widget/
  7. CleanSpec.mk