History log of /frameworks/support/design/tests/src/android/support/design/testutils/FloatingActionButtonActions.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1c4d0c9dec028624cd661be53e68b1464b14ab7f 10-Nov-2016 Chris Banes <chrisbanes@google.com> Fix FAB setBackgroundTintList on L+

Caused by LayerDrawable caching its isStateful
value, meaning that if our shape drawable is not
stateful at instantiation (which is the default),
and a stateful tint is later set, it doesn't work
across state changes.

Test: included
BUG: 32785441

Change-Id: Id81951c5312785821f577c04ff657042edd899ed
/frameworks/support/design/tests/src/android/support/design/testutils/FloatingActionButtonActions.java
12f2d0a79f329825b907c8dead3e78b09f5dd8dc 26-Oct-2016 Andrei Stingaceanu <stg@google.com> Support design - fix FloatingActionButton elevation

This bug has been fixed in the framework for api 25+ but
a between 21-24 still triggers a NPE when an animation has
a delay set (via "setDelay" or "after"). The current
workaround is introducing a no-op animation which mimics
the delay on the following one by having a duration.

Bug: 32136707
Test: ./gradlew support-design:connectedCheck --info \
--daemon -Pandroid.testInstrumentationRunnerArg\
uments.class=android.support.design.widget.Float\
ingActionButtonTest

Change-Id: I75722d6e142c0d75170ef912b261c1d7a9b55a1e
/frameworks/support/design/tests/src/android/support/design/testutils/FloatingActionButtonActions.java
f50e3efaeccb3e7c424591d09376bec7d440ec8c 19-Jul-2016 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton hide() and show()

They currently don't work if called in rapid
succession.

Also tidied up some of the internal state of
FAB's impl class.

BUG: 30211619
Change-Id: Ib32bcd9fff276819a8790b9f03c985cf48671a8f
/frameworks/support/design/tests/src/android/support/design/testutils/FloatingActionButtonActions.java
ee63e6890156724477092fbfaba18b726a47710e 11-Jul-2016 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton auto offset functionality

Also added a test for it

BUG: 30061839

Change-Id: If6fc8e34536e152516ccf6cecef22628c9a98a16
/frameworks/support/design/tests/src/android/support/design/testutils/FloatingActionButtonActions.java
a1de3eef9bb5ef90d00a23c65f13e1fc83254455 01-Mar-2016 Chris Banes <chrisbanes@google.com> Make FAB react to window size

Useful for multi-windows where the size of
the window can change. Also added an API to
set the size programmatically.

The default size is now AUTO, but can be explicitly
set to whatever size the developer wishes.

BUG: 27328132
BUG: 27464447

Change-Id: If617b565a8c242d6ce8b85e56cd9a20df07995ff
/frameworks/support/design/tests/src/android/support/design/testutils/FloatingActionButtonActions.java
1711e8729c1b901b73f530e87b7c9cc9370f33be 26-Feb-2016 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton.setBackgroundTint* not working

Caused by the move to AppCompatImageButton. Happens due
to AppCompat's own background tinting overriding things.
Fixed by moving back to our own tinting. Had to add
support to use AppCompat's ImageHelper to enable vector
icon support.

BUG: 27372244
Change-Id: Ia06bea72796e7154bae50c65ef6dfe91158e3bf6
/frameworks/support/design/tests/src/android/support/design/testutils/FloatingActionButtonActions.java