@Override
        public void draw(final Canvas canvas) {
            final Rect bounds = getBounds();
            if (!isVisible() || bounds.isEmpty()) {
                return;
            }

            int w = mDrawable.getIntrinsicWidth();
            int h = mDrawable.getIntrinsicHeight();

            if (w <= 0 || h <= 0) {
                mDrawable.draw(canvas);
            } else {
                final float widthScale = (float) bounds.width() / (float) w;
                final float heightScale = (float) bounds.height() / (float) h;
                final float scale = Math.max(widthScale, heightScale);
                canvas.save();
                canvas.scale(scale, scale);
                canvas.translate(bounds.left, bounds.top);
                mDrawable.draw(canvas);
                canvas.restore();
            }
        }
Must be <= 1f since the animation value is used as a percentage.
android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/checkable/CheckableFlipDrawable.java