History log of /frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48465fd91c91336accdced9163ea6dec13b9092c 20-Jun-2016 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout with child margins

CTL doesn't currently handle pinnable children with
top/bottom margins very well. This CL fixes it.

BUG: 29497596
Change-Id: If7799b28aaec6648d5add7e482862a0683f3ad3e
/frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.java
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/ViewOffsetHelper.java
1888ec357f25aa2b9e9a0d139ab40371da5858a6 12-Nov-2015 Chris Banes <chrisbanes@google.com> Fix wiping out a view's translationY

BUG: 25654805
Change-Id: Ib227a2cf8658e39b35f7195fbdfd9d0254d160ad
/frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.java
cf3d7fb4ad60ade58d68494d487a170748c908f9 20-Aug-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout not being drawn after rotation

Happens when someone is using configChanges="orientation".
The fix is to tickle the invalidation flag on both the view
and the parent.

BUG: 23381984
Change-Id: Iddd44c59b4a8a64eab9c339f14728b5705266bf9
/frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.java
576e003b7a50073bcf78599ac830c175af5ba844 18-Aug-2015 Chris Banes <chrisbanes@google.com> Disable invalidation tickle workaround on M+

Change-Id: I38f91c0dacab8fa59d0eee01313266229f0545d1
/frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.java
a59da11da29af8bc9d8e07a21d68e04d6de3df92 25-May-2015 Chris Banes <chrisbanes@google.com> Improve the offsetTopAndBottom workaround

BUG: 21413554

Change-Id: Ia0f624ca05f80e3c2949789b448820413ce2e99e
/frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.java
ecd4b988781330e346244be73dca39cd04c71391 25-May-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout not scrolling fully

Change-Id: If3804c5339b8eca53ab6d3c3572e841bde0eb06d
/frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.java
b1a51676163f8db131e6d97970459346735253be 24-May-2015 Chris Banes <chrisbanes@google.com> Fix offset calculation math

Also removed fixed the invalidation issues to
remove the translationX/Y path

BUG: 21413554
Change-Id: I4fb5a23d189779476f4f694e902415a1455da62b
/frameworks/support/design/src/android/support/design/widget/ViewOffsetHelper.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/ViewOffsetHelper.java