Fix bug 5504575 - ViewPager marks fragments as decor on rotation

ViewPager should be less zealous about marking child views as decor,
specifically when fragment restoration is involved outside of pager
population. Introduce an interface that custom views can implement to
become decor by default. Leave it package-private for now.

Change-Id: Ib08eb1396824966e4324d6345bd3a33dd329a6e6
Fix a bug where ViewPager scroll direction could be unpredictable.

Make ViewPager track velocity before touch interception occurs so that
the distance traveled to cross the slop threshold is properly
accounted for.

Change-Id: I2946784ab6c492d248697b5dd7d121f501d484c7
Fix bug 5504575 - ViewPager marks fragments as decor on rotation

ViewPager should be less zealous about marking child views as decor,
specifically when fragment restoration is involved outside of pager
population. Introduce an interface that custom views can implement to
become decor by default. Leave it package-private for now.

Change-Id: Ib08eb1396824966e4324d6345bd3a33dd329a6e6
Fix a bug where ViewPager scroll direction could be unpredictable.

Make ViewPager track velocity before touch interception occurs so that
the distance traveled to cross the slop threshold is properly
accounted for.

Change-Id: I2946784ab6c492d248697b5dd7d121f501d484c7
am 1ccb8bcb: (-s ours) DO NOT MERGE - cherry-pick Fix bug 5504575 - ViewPager marks fragments as decor on rotation

* commit '1ccb8bcb79557d861de7f271c13e2fd8e54e012a':
  DO NOT MERGE - cherry-pick Fix bug 5504575 - ViewPager marks fragments as decor on rotation
am 3ce9274c: (-s ours) DO NOT MERGE - cherry-pick Fix a bug where ViewPager scroll direction could be unpredictable.

* commit '3ce9274ccb8034c1787415c77307bbda36071bdd':
  DO NOT MERGE - cherry-pick Fix a bug where ViewPager scroll direction could be unpredictable.
am 862ffa0e: Fix bug 5512616 - monkeying with measurement

* commit '862ffa0efd58922b8ec119bf6fa6695c316423f7':
  Fix bug 5512616 - monkeying with measurement
am d3b73622: (-s ours) am 1ccb8bcb: (-s ours) DO NOT MERGE - cherry-pick Fix bug 5504575 - ViewPager marks fragments as decor on rotation

* commit 'd3b73622882093603e3d688a967c8ec502d3aeef':
  DO NOT MERGE - cherry-pick Fix bug 5504575 - ViewPager marks fragments as decor on rotation
am 878f4b68: (-s ours) am 3ce9274c: (-s ours) DO NOT MERGE - cherry-pick Fix a bug where ViewPager scroll direction could be unpredictable.

* commit '878f4b68d3f5c283215ccd31305064f6157d8f93':
  DO NOT MERGE - cherry-pick Fix a bug where ViewPager scroll direction could be unpredictable.
am e3d5fe55: am 862ffa0e: Fix bug 5512616 - monkeying with measurement

* commit 'e3d5fe55fc7766e7bc37f0ca2f54a8df4c87fce3':
  Fix bug 5512616 - monkeying with measurement
merge in ics-release history after reset to master
reset to ics-mr1, but keep history
undo reset to ics-mr1 until we have a better method
keep previous history after reset to mr1 plus aah changes (ics-aah-wip)
am abc968f1: Defer starting fragments in FragmentPagerAdapter for offscreen pages.

* commit 'abc968f1eba800c34a4008deb43b015da5d23a5f':
  Defer starting fragments in FragmentPagerAdapter for offscreen pages.
Merge remote branch 'goog/ics-mr1' into ics-aah
merge in ics-release history after reset to master
am 1199ae70: Bug 5535639 - Monkeys mad at FragmentManager

* commit '1199ae7067cdf8cf3eb30c057a61ae71a0aea1e5':
  Bug 5535639 - Monkeys mad at FragmentManager
am 1199ae70: Bug 5535639 - Monkeys mad at FragmentManager

* commit '1199ae7067cdf8cf3eb30c057a61ae71a0aea1e5':
  Bug 5535639 - Monkeys mad at FragmentManager
merge in ics-release history after reset to master