History log of /frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
13633353237d6506f4c436b459bc8be8c3d7ed68 25-May-2016 Chris Banes <chrisbanes@google.com> Fix enterAlways|enterAlwaysCollapsed with window insets

Currently we take the window inset into account twice.
This CL fixes it by only taking it into account once.

Also updated the relevant test to use a translucent
status, and thus catch this on Lollipop+. It's how
99% of apps will use this anyway.

BUG: 28859045
Change-Id: I37c383b2e496768b42c52cf66f30bfeaf683e0c9
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
73e7a06fb66110495fa4e98a91831a47feab2526 11-May-2016 Chris Banes <chrisbanes@google.com> Design lib styleables rename pt.2

- Forgot about ScrollingViewBehavior
- Fix doc @attr references

BUG: 28708856

Change-Id: I86a22252bda4929778719f6e1587c171f454f0bd
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
c6cbbb50a06ec08e6888bd1c3dfd7fdf588d9db5 11-May-2016 Chris Banes <chrisbanes@google.com> Rename design lib layout styleables

They're now in a format which Android Studio and
layoutlib supports.

BUG: 28708856
Change-Id: I8df109e197b56586d19f701b631b6405b08873ea
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
05f5ba020fa6caa658c75b6d77436aa980ca0fcc 22-Apr-2016 Chris Banes <chrisbanes@google.com> Backport AbsSavedState and fixes to v4

Also makes the support library widgets use it
so that they handle multi-class loaders correctly
when restoring state.

BUG: 27790353

Change-Id: I5c7888f119b8fcb79fd7cb67987c304c0c982c8e
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
57aa00c058f3278fccc7a23f3cef29142bb14dbb 25-Apr-2016 Chris Banes <chrisbanes@google.com> Tweak AppBarLayout scroll duration

Currently it's calculated based on 300dps per
second, which is bit slow. We now use a similar
calculation as ViewPager, which also has the
benefit of taking any velocity into effect.

BUG: 28367430
Change-Id: Ib752677fc592704798bd537506fab1e6088c1280
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
b9b83cc0804c30479c8a9efdefce9ee5d0b0a92c 19-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Make snap with enterAlways|enterAlwaysCollapsed" into mnc-ub-dev
am: fb2e1f1

* commit 'fb2e1f1b156d6b768a9fff1fada29f9f27607db2':
Make snap with enterAlways|enterAlwaysCollapsed

Change-Id: Ib505e323bbbbcb95e53c44d6a90d8f56b275dff1
108a7a812404313b7b9f8daa154e657e49e0aae6 18-Apr-2016 Chris Banes <chrisbanes@google.com> Make snap with enterAlways|enterAlwaysCollapsed

Currently snap only works with exitUntilCollapsed,
this CL fixes it so that it also works with
enterAlways|enterAlwaysCollapsed.

BUG: 28225689

Change-Id: I0bdea0f0cdfebaaedf879937510b8d03f7ea5a3e
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
b75a16fb6433ab27973d419d23ed1286c073fca8 11-Apr-2016 Chris Banes <chrisbanes@google.com> Enable automatic FAB show/hide to work without minHeight

Currently, the automatic showing/hiding of the FAB does
not work if a minHeight is not set on the ABL or it's last
child. As a fallback, we now hide if 1/3 on the ABL is
visible.

Change-Id: Id05fbf4ade3572fc5adda9ebb0812f311ceb730b
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
926cd28257536b1206934d69585a2dab100147d5 06-Apr-2016 Chris Banes <chrisbanes@google.com> Fix design support lib docs build

Change-Id: Ifde9b6a5a01699c802e6d6c541ac827e0a1c5332
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
1a8e4886abbc35e479cddb7b4acd601cede2fd8a 19-May-2015 Chris Banes <chrisbanes@google.com> Use StateListAnimator for AppBarLayout elevation changes

Currently the logic for updating an AppBarLayout's elevation
is baked into the code, and can't be customized. This CL
extracts this into a StateListAnimator which has the added
benefit of now animating the elevation.

BUG: 22008506

Change-Id: I4786a9b56b9f3c18ee0610a16036990939a99101
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
b21b5491bcd540843e1d6fe0fdaaddd03d2c5165 31-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Add workaround for invalidation bug on API 21-22" into mnc-ub-dev
am: 0799afc

* commit '0799afc163bd5d8f9bfd6869e451c4be5640c971':
Add workaround for invalidation bug on API 21-22

Change-Id: Ib1450fdbc7832b158464e6603177faa11720500a
0799afc163bd5d8f9bfd6869e451c4be5640c971 31-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Add workaround for invalidation bug on API 21-22" into mnc-ub-dev
318baf84dade07174d71e10322e3b10ab4b0c28c 31-Mar-2016 Chris Banes <chrisbanes@google.com> Add workaround for invalidation bug on API 21-22

If a view is laid out off screen and then offset back
onto screen, the parent does not get invalidated and
thus the view is not drawn.

This CL fixes this by manually invalidating the parent
when a view is detected to be offset onto screen.

BUG: 27805688
Change-Id: I2d6c9b7f67c938638cb149158cb683a2c956b6a5
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
a2f7210e7a307d65830847cf2179b05e9099ee13 31-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Allow AppBarLayout to be taller than CoordinatorLayout" into mnc-ub-dev
am: f72a8be

* commit 'f72a8bec72c6ccb0b6e5df45d444e96b0d77c0d9':
Allow AppBarLayout to be taller than CoordinatorLayout

Change-Id: If1cb6d0a41d58411265da510a9e374a7817509ac
bca7a517ce4fb75e2571ce2d9d0263fea8e15dbe 30-Mar-2016 Chris Banes <chrisbanes@google.com> Allow AppBarLayout to be taller than CoordinatorLayout

CoL by default caps child views at it's height. This
CL fixes that by measuring the AppBarLayout with an
unspecified spec.

Change-Id: Iba6acdeddb3ff5064ede3eae50ed800ad514fe6f
BUG: 27912978
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
18dee0438f1e5b61da88275e769376a68994d766 22-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Fix AppBarLayout enterAlwaysCollapsed with inset window" into mnc-ub-dev
am: 6002db9

* commit '6002db956d178d96f755f70826b92f24405de65b':
Fix AppBarLayout enterAlwaysCollapsed with inset window
090293b68e5aad0af0a0d8ae079ac0df743ff3ec 21-Mar-2016 Chris Banes <chrisbanes@google.com> Fix AppBarLayout enterAlwaysCollapsed with inset window

We take the inset into account twice which meant that
it doesn't scroll down enough.

BUG: 27642900
Change-Id: Ie1c2d8ecc0b41f30767404a8b712a231388c3dca
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
c530cc115fddab8e1d9645b322424dd45f9ecd0d 19-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Add test for snapping behavior of AppBarLayout

Also fix bug for incomplete snapping on older devices.

Bug: 27408006
Change-Id: I47fda88c2d7f1bf5ba230e9f7937b2fd05e72282
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
8818e8e12682e5df1535cd9b2d792494bd3e059d 29-Feb-2016 Chris Banes <chrisbanes@google.com> Don't always use window insets in AppBarLayout

Currently, it does not check if it is set to
fitSystemWindows, so will always use the insets
if it is given them. This can happen if it's parent
is set to fitSystemWindows.

BUG: 27371696

Change-Id: Iaaf344abdebb877676b510847fd98f53226c42bf
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
75fd07ac981ba1f3e02ea4e67029b6c95088ff5f 04-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix window insets for AppBarLayouts in ViewPager" into mnc-ub-dev
b2f568c9c71763ed823b1f9c274077825b5d0c9e 18-Jan-2016 Chris Banes <chrisbanes@google.com> AppBarLayout overlap layout fix

The overlap was not being initially applied in the
new layout code path.

BUG: 26899722

Change-Id: Ifda4b05b58dac5f8936d38d2f664fbeda530ce13
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
17ed3263761329f6aa6796941358c41001fff325 29-Jan-2016 Chris Banes <chrisbanes@google.com> Fix window insets for AppBarLayouts in ViewPager

Caused by the standard dispatchApplyWindowInsets()
not being appropriate for a horizontally scrolling
widget with full-height children. This is because
if child 0 consumes the insets, the rest of the children
will not receive the dispatch. To workaround this
we manually dispatch the original insets, not allowing
children to consume them from each other.

Also tidied up the window insets dispatching in CoL,
AppBarLayout and CollapsingToolbarLayout.

BUG: 22869860

Change-Id: I26544267f672b3b4d041d4ef8b29dd0d5f706455
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
5e7673e0dbd89512b525d1bde5c912eb07885550 05-Jan-2016 Chris Banes <chrisbanes@google.com> Fix AppBarLayout layout issues

Cropped up after we moved to laying out the scrolling view
in the offset position. The problem occurs when the
AppBarLayout is scrolled off screen by any amount, and
then a layout occurs. The scrolling view is then laid out
attached to the bottom of it.

The old scrolling logic didn't account for this and expects
the scrolling view to be laid out in the same base position
every time.

Since we now lay the scrolling view correctly in the
first place, there is now no need to use ViewOffsetHelper
and can just use offsetTopAndBottom to offset while scrolling.

Change-Id: If9b4cb9ebae49235ffbc152a5f7af87843b459e7
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
c682e2c8129f6c2b6596b0ce4a8c4803629b432d 16-Nov-2015 Chris Banes <chrisbanes@google.com> Support animateLayoutChanges with ABL

Caused by LayoutTransition doing all of it's
calculating in layout. ABL then offsets the top
meaning that the animation is in the wrong position.
Fixed by laying out in the correct position in the
first place.

BUG: 25414177

Change-Id: I68a6478a950a7556107badade01c369a0e77f057
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
47543aa43aacb8defbbf90682fcb2b63ce1b00b5 16-Nov-2015 Chris Banes <chrisbanes@google.com> AppBarLayout fixes

- Make sure we honor snap after a manual drag
(rather than a nested scroll).
- Support exitUntilCollapsed|enterAlways correctly
- Ensure the offset is constrained on size change

BUG: 25707376
BUG: 25680933
BUG: 25681811

Change-Id: Idfa3ed32e42890725e4ee59236fa84a705d433d4
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
dcde7bf0c79a12f30d3853a82f4fbf54ce5161c8 19-Oct-2015 Chris Banes <chrisbanes@google.com> Make AppBarLayout's snap behavior honor collapsing

Also made the animate use a speed-based duration
for the animation.

BUG: 25070159
Change-Id: Ib0d83cddf596f8a8974feba71dd96b52bec92238
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
62ab25d71ccfa775a8bd2add7b41277bc4e14bbc 05-Oct-2015 Chris Banes <chrisbanes@google.com> Use ParcelableCompat for CREATOR creation

Should fix BadParcelableException issues due to
using the wrong available class loader.

BUG: 24253575
Change-Id: Ia259559f15500203eff99c6eb6928339bd940278
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
4c33be829067714342b629d29329206bc2116afe 22-Sep-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout not being scrollable with fitSystemWindows=true

Caused by us taking the inset into account twice.

BUG: 24190984
Change-Id: If94be90e962ec3756aeda6e55bbbf408fe4cee4e
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
540c985fa442b9c0e95f0c676e182689d6f78033 21-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Improve header dragging" into mnc-ub-dev
72a0913607198c5ce3fa351242ccbdfb3b93f178 18-Sep-2015 Chris Banes <chrisbanes@google.com> Improve header dragging

- Moved re-usable code from ABL to the new
base class.
- Added fling support to header dragging.
- Fixed NavigationView not scrolling
- Hid a few new methods which shouldn't
be public.

Change-Id: Ia7335c385951a66d27316dbf675bb8860f549cc4
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
dfb857dd12b359c0bdae11a23e039f286d54dc0a 18-Sep-2015 Chris Banes <chrisbanes@google.com> Fix ABL overlapTop behavior

Change-Id: I447bbc14c8d72a149abc0af2de2293573bff138a
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
0eb4e73f0dbc959094353ec01dbdf480a569c001 17-Sep-2015 Mady Mellor <madym@google.com> Merge "Update NavigationView to use CoordinatorLayout for header and list." into mnc-ub-dev
60319b11a12f9b4b9c88ba4cb75d4029f172f745 16-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Take the window insets into account when ABL is dragged" into mnc-ub-dev
ec161ac1da9c8ca0e942b01e037ceb1cc51a2f3c 15-Sep-2015 Mady Mellor <madym@google.com> Update NavigationView to use CoordinatorLayout for header and list.

This CL modifies how the header is handled in NavigationView. Namely, it
separates the header from the ListView. To scroll the header and list
together, both the header and list are placed in a CoordinatorLayout with
behaviors that allow them to scroll together.

This work will allow an overlay to be added that scrolls with the list
so that we can properly animate the account switcher. The overlay and
account switcher work will be done in a separate CL.

Bug: 20117594
Change-Id: Ic72c86f165e26c493b965dedf4c65f2853409144
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
bc22c4fd37e99643b3e7b87e2849a9e63fb8c5fc 26-May-2015 Chris Banes <chrisbanes@google.com> Add ability to snap AppBarLayout children to edges

BUG: 23792717

Change-Id: Ic373fb30c1c3b97f2e1c845c496e97e766f078ec
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
4832063daa6620f0ad51c4a16f31502dab1adc89 10-Sep-2015 Chris Banes <chrisbanes@google.com> Take the window insets into account when ABL is dragged

BUG: 23946168
Change-Id: I561d3e9f378c536589fe8847b8f98bbf252f28cf
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
79aa418487cdefb85d3c1fac32d6403a1ac6057d 21-Aug-2015 Chris Banes <chrisbanes@google.com> Fix ABL + CTL not handling being initially collapsed well

Two issues here. The first being that ABL only updates it's
min height after a layout, which means it's minHeight is wrong
in the preceding onMeasure(). Fixed by invalidating the scroll
ranges in onLayout, and updating it's minHeight in onMeasure.

Second issue is that CTL's text helper needs it's bounds in
the initial coordinate space, not after the views have been
offset.

Also fixed a possible pending state issue.

BUG: 23408061
Change-Id: Ie15c2e353da1596ca045405a6cf6f9cd2209a32e
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
0d2f46331a9fc3b21597e926ba2e061af7c00708 18-Aug-2015 Chris Banes <chrisbanes@google.com> Make sure that AppBarLayout is laid out correctly

Currently, the scrolling view of a AppBarLayout relies
on CoLs pre draw listener to move itself. This is
problematic for things like activity transitions which
rely on correct position after a layout.

BUG: 23307267
Change-Id: Ibf508908cd22ef29d2c3752b299b8ce5d6346b0a
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
ea004a01f44aaf36212120c936952c1742d03d30 07-Aug-2015 Chris Banes <chrisbanes@google.com> AppBarLayout layout/measure fixes

- We no longer display above the scrolling view
over a collapsed AppBarLayout.
- Make sure we measure the scrolling view to fill
any window inset.
- Make sure the ABL is measured before we measure the
the scrolling view.
- Make sure we use the measured height of views when
calculating the scroll ranges.
- Made some pkg-private methods actually private.

BUG: 23025697

Change-Id: I854d97125c26f1584f13ec554e74247cc8c539d6
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
809bb62055ad42b88f3a69308be222801b89fbd9 07-Aug-2015 Chris Banes <chrisbanes@google.com> Add more helpful exception to design components

If a developer doesn't use a AppCompat theme, bad
things happen with the design lib. This CL adds
an explicit check with a helpful error message.

Change-Id: I60c81ed87057fa75b38e26bf8c4b1edbc9ff7a3f
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
ab809dd75ef2f73b312038f2c10473cfa5885a58 31-Jul-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout scrolling when scrolling view is small

Currently AppBarLayout will only start scrolling if the
the View starting the nested scroll is large enough to be
scrolled. This works fine when that view is a direct sibling
of AppBarLayout, but when it is not a direct sibling we should
use it's parent instead of the view directly when checking the
height.

BUG: 22789052
Change-Id: Ibedbcb29d2a5ee917ad0b6140ad4ce7ff6fd04f2
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
d6c56d929f7975eb6d80116e915ff5515a294c41 27-Jul-2015 Chris Banes <chrisbanes@google.com> Use the correct MeasureSpec for ScrollingViewBehavior

We were previously always using AT_MOST which resulted
in views wrapping when they shouldn't have been.

BUG: 22756162
Change-Id: I7ee7d27498b0203f37188f1c0a4bf41131f4bb2c
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
d4c72f08279df548fbc4d556fe1a8b3500fafdbc 15-Jun-2015 Chris Banes <chrisbanes@google.com> Allow vertical dragging of AppBarLayout

Also fixed onStopNestedScroll() not being called
from NestedScrollView and RecyclerView

BUG: 21843568
BUG: 20679299

Change-Id: I1b19d7cae2db403ede30fc9116ea05aace586b3b
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
6f730c0acfb10a929172ea2981a1aded0e39f5c7 29-Jun-2015 Chris Banes <chrisbanes@google.com> Store OnOffsetChangeListener with hard refs

Create a demo app the other day using an anon-inner
listener class. The listener stopped working randomly
which caught me out. There's no real need to store
these weakly.

Change-Id: Ie4e5328bab6f0b40c16f6b2b1f66c8c8415c9cc5
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
9995f7bdb02dbe16155661545fd64046ad3d56c2 01-Jun-2015 Chris Banes <chrisbanes@google.com> Add APIs to set AppBarLayout to be expanded or not

BUG: 21993903

Change-Id: I840665eab09814e8f09fb1a1f3f8bd13cac0d4b7
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
b263b91ba75dc1a7855186e8b0e9cf75d46a6b8d 01-Jun-2015 Chris Banes <chrisbanes@google.com> Take children's margin in account in AppBarLayout

BUG: 21546828
Change-Id: I2623ff5bfd0395e2528dd3a658d47be1ea5f6573
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
55f3d29c12610da3574c4f488fbc3a1c7ca790f1 05-Jun-2015 Chris Banes <chrisbanes@google.com> Allow AppBarLayout to handle size changes

BUG: 21662657
Change-Id: Idcd7ef2b49aa9c0d4a19804f68e644d26c11aa33
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
f57cd2fd5059c43d77bdfec57edfd5a217533103 24-May-2015 Chris Banes <chrisbanes@google.com> Only start nested scrolling if the view is large enough

This CL now checks to see if a view is large enough
before accepting a nested scroll. It also fixes the
positioning of a view in this case.

BUG: 21413205
Change-Id: Ia80c04256214bb89257cbfbce4889232140e5de1
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
c1ce4f6cf4d99d6856c4259bf1bb1cb56f604737 22-May-2015 Chris Banes <chrisbanes@google.com> Fix non-enterAlways scrolling

Was broken due to iterating through the children in the
wrong order. When scrolling down we need to go 0-max.

Change-Id: I805073e7ddedfcd19524b8562bb3091e6023c124
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
9fb154338a62edc2c57dc036895199d6f1769400 18-May-2015 Chris Banes <chrisbanes@google.com> Some design lib doc improvements

Change-Id: I0207a11d830d180defacd11c777e6768363cf31b
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
e52e16988e2500e20052ddd70920f950f4eb4f79 11-May-2015 Chris Banes <chrisbanes@google.com> Allow CoordinatorLayout Behaviors to save state

AppBarLayout is the first customer to make sure that
they restore correctly.

BUG: 20993010

Change-Id: Iad740edbba80abd18b44a0fa69d22fe7f1983677
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
6ba61c5c79fe025036593c9daf79cb65299bb0b6 01-May-2015 Chris Banes <chrisbanes@google.com> Window inset support for CoL + AppBarLayout DO NOT MERGE

CoL now handles and consumes all window insets given
to it on L+. AppBarLayout and it's Behaviors have special
handling to ensure it's view are measured correctly.
CollapsingToolbarLayout has handling to ensure that view are
not laid out within the insets.

BUG: 20652400

Change-Id: Ifa8677aa8abeaf443c53bbe6b53e29ff1859b18d
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
149689d3a0b4165577470d7152112674d1d7f87c 28-Apr-2015 Chris Banes <chrisbanes@google.com> Fix design lib's attribute doc references

BUG: 20524332
Change-Id: I6dece9ec425acb3305efd0800d2f5d4f15d0aad2
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
631f64ec9c6255f38a7f746d7949b6a537c1180f 10-Apr-2015 Chris Banes <chrisbanes@google.com> AppBarLayout improvements

- Tidy up listener implementation
- Nested fling support
- Animate FAB pre-v11
- Added internal ValueAnimatorCompat

Change-Id: I3ee6630177015f2bccbf29e5316ef8afe557c5a8
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
81520564f3dd783136e025174021ba4eabd6ff3c 13-Apr-2015 Chris Banes <chrisbanes@google.com> Set default background for AppBarLayout

Change-Id: I8e5809a3d7dedca82fdeaad2e759ba127069e7df
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
50dfc33a565c4aefe6d5e844c93aa24a74cb80b3 09-Apr-2015 Chris Banes <chrisbanes@google.com> AppBarLayout improvements

- De-jank the scrim animation
- Add elevation support
- Tidy up API
- Fix 'quick scroll' functionality

Change-Id: If9b494a7626e94ad8a4f034f65ab07bd34cf2871
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java
a6a508b2296730ca6954aaebcca52a9962a5cb55 11-Mar-2015 Chris Banes <chrisbanes@google.com> AppBarLayout

There is still a few things missing for this, such as elevation
and fling support. I'll add these in a later CL.

Change-Id: Ie6d6d24a39a21bcd640f09c9da07ec2f6c1f4bb4
/frameworks/support/design/src/android/support/design/widget/AppBarLayout.java