| 125 | } |
| 126 | |
| 127 | JavaObject ResourceLoader::loadAsset(const JavaObject& imageLoader, |
| 128 | const JavaObject& payload, |
| 129 | int32_t preferredWidth, |
| 130 | int32_t preferredHeight, |
| 131 | const float* colorMatrixFilter, |
| 132 | float blurRadiusFilter, |
| 133 | int32_t outputType, |
| 134 | int64_t callbackHandle) { |
| 135 | auto jColorMatrixFilter = colorMatrixToFloatArray(colorMatrixFilter); |
| 136 | |
| 137 | return _loadAssetMethod.call(_localResourceResolver.toObject(), |
| 138 | imageLoader, |
| 139 | payload, |
| 140 | preferredWidth, |
| 141 | preferredHeight, |
| 142 | jColorMatrixFilter, |
| 143 | blurRadiusFilter, |
| 144 | outputType, |
| 145 | callbackHandle); |
| 146 | } |
| 147 | |
| 148 | JavaObject ResourceLoader::loadAssetFromBytes(const Valdi::BytesView& bytes, |
| 149 | int32_t preferredWidth, |
nothing calls this directly
no test coverage detected