@Override
    protected void onBoundsChange(final Rect bounds) {
        super.onBoundsChange(bounds);
        if (bounds.isEmpty()) {
            mFront.setBounds(0, 0, 0, 0);
            mBack.setBounds(0, 0, 0, 0);
        } else {
            mFront.setBounds(bounds);
            mBack.setBounds(bounds);
        }
    }
Create a new FlipDrawable. The front is fully shown by default.
<p>
<p/>
The 3 durations are: (best viewed in documentation form)
<pre>
&lt;pre&gt;[_][]|[][_]&lt;post&gt;
  |       |       |
  V       V       V
&lt;pre>&lt;   flip  &gt;&lt;post&gt;
</pre>

@param front              The front drawable.
@param back               The back drawable.
@param flipDurationMs     The duration of the actual flip. This duration includes both
                          animating away one side and showing the other.
@param preFlipDurationMs  The duration before the actual flip begins. Subclasses can use this
                          to add flourish.
@param postFlipDurationMs The duration after the actual flip begins. Subclasses can use this
                          to add flourish.
android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/checkable/FlipDrawable.java