void updateMainImageDimensions(int width, int height) {
        mBitmapWidth = width;
        mBitmapHeight = height;

        // If no width or height property was set, then base these on the
        // image's aspect ratio and update the Quad
        if (!mWidthOrHeightPropSet) {
            float ratio = (float) mBitmapWidth / (float) mBitmapHeight;
            mHeight = mWidth / ratio;
            mGeometryNeedsUpdate = true;
            updateQuad();
        } else if (mResizeModeSet) {
            // If width and height props were set, along with resizeMode,
            // we'll calculate scaled width & height of the image
            resizeImage();
            mGeometryNeedsUpdate = true;
            updateQuad();
        }
    }
This is the ImageDownloadListener for the placeholder image
android/viro_bridge/src/main/java/com/viromedia/bridge/component/node/control/VRTImage.java