History log of /frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
40c8b62219fb73af42b73add6376885bf6d40adf 24-Aug-2016 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout not consuming insets

CollapsingToolbarLayout was set to no longer consumes
insets in Ib34219f1ba60901d973eea96c7453be46d9bf555.
Due to that the insets were then dispatched down to children
with fitSystemWindows="true". Unless those children had an
appropriate OnApplyWindowInsetsListener/fitSystemWindows,
they would get the default fitSystemWindows padding
functionality, which is unwanted here.

This CL fixes it by making CollapsingToolbarLayout consume
the insets.

BUG: 31011190
Change-Id: I178856473543eab4538db6194282a2d6cab632f9
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
b539fd57119c80c2b24d3b3f599e131f9aeb17dd 09-Aug-2016 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout tests

Caused by the tests expecting a 'large enough'
vertical screen size. Certain devices in landscape
do not provide that.

Fixed by making the tests expect less vertical
space. Not needed for the test anyway.

BUG: 30701044
Change-Id: I2d6890978b17b035515a22c55bdcbb68e2b47b67
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
bb3740d273d4b5108ab63f6d264466250a197e5b 21-Jul-2016 Chris Banes <chrisbanes@google.com> AppBarLayout + CollapsingToolbarLayout tests fixes

- Fixed flakiness due to waiting for snapping to
happen
- Tweaked the layouts so that text and content is
visible on screen (not light-on-light)
- Make tests on API 21+ use translucent status bar,
and updated tests to suit
- Fixed issues caugh while testing

BUG: 30271522
BUG: 30225781

Change-Id: I9f368cb8f059e9d3224473bf6c2ddfd2ce92cbdf
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
15db4975e9410a0d73ad2a261f5bcaae9d0cfd3c 20-Jul-2016 Aurimas Liutikas <aurimas@google.com> Fix AppBarWithCollapsingToolbarTest in landscape mode.

Changed scrolling to always start within 320dp which is
the minimum Android screen width.

Bug: 30198627
Change-Id: Iaa57bcfda5d3c49e011f28fe8d3a074e38c9433b
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
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/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
f81ee2000390f4bed2bdb9f9c7e573c5a3870e5f 20-Jun-2016 Chris Banes <chrisbanes@google.com> Fix use of API 19+ FrameLayout LP constructor

BUG: 29392112
Change-Id: I9efd733df5af7c8c141ee81edd7321bdb615983b
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
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/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.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/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
8d082da0c1772e5de19c0a7a5745680640cc7a35 16-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Integration tests covering anchoring with margins in CoL.

Change-Id: I231e940a462b921423eb9a6d71409a367c812b99
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
f96b613760dad175dbc8dec8948dacdf39a5733b 01-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Adding test scenario for parallax scrolling in AppBarLayout.

Change-Id: I35e9b95283f24f438f17ad05fe3c9af0d6a7060a
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.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/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
123544eaa855a7734be92dd35901233a222f64a8 19-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Adding CoordinatorLayout tests for scrolling / pinning tabs.

Change-Id: If08fd53f5a975957cd17bd19000ccd32bcb558ba
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
1005c226fdfddf30e6ad1ec2bb4c57942918dd8f 18-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Testing FAB anchoring with AppBarLayout

Also fix a few typos in FloatingActionButton comments.

Change-Id: Ic42a6f228a189d618b35e5c64ee9e961a58a3e9e
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
909009864c27baf78efb766990e507a16a1cf359 17-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Tests for CoordinatorLayout scrolling / pinning.

Change-Id: I9a28726bc73cdb97d68c10af379535933bab1a7c
/frameworks/support/design/tests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java