Search in sources :

Example 1 with DraweeView

use of com.facebook.drawee.view.DraweeView in project react-native-navigation by wix.

the class SharedElementTransition method setMatrixTransform.

@Keep
public void setMatrixTransform(float value) {
    GenericDraweeHierarchy hierarchy = ((DraweeView<GenericDraweeHierarchy>) child).getHierarchy();
    ((ScalingUtils.InterpolatingScaleType) hierarchy.getActualImageScaleType()).setValue(value);
    child.invalidate();
}
Also used : GenericDraweeHierarchy(com.facebook.drawee.generic.GenericDraweeHierarchy) DraweeView(com.facebook.drawee.view.DraweeView) Keep(android.support.annotation.Keep)

Aggregations

Keep (android.support.annotation.Keep)1 GenericDraweeHierarchy (com.facebook.drawee.generic.GenericDraweeHierarchy)1 DraweeView (com.facebook.drawee.view.DraweeView)1