| 164 | } |
| 165 | |
| 166 | JavaObject ResourceLoader::loadAssetFromBitmap(const JavaObject& bitmap, |
| 167 | int32_t preferredWidth, |
| 168 | int32_t preferredHeight, |
| 169 | const float* colorMatrixFilter, |
| 170 | float blurRadiusFilter, |
| 171 | int64_t callbackHandle) { |
| 172 | auto jColorMatrixFilter = colorMatrixToFloatArray(colorMatrixFilter); |
| 173 | |
| 174 | return _loadAssetFromBitmap.call(_localResourceResolver.toObject(), |
| 175 | bitmap, |
| 176 | preferredWidth, |
| 177 | preferredHeight, |
| 178 | jColorMatrixFilter, |
| 179 | blurRadiusFilter, |
| 180 | callbackHandle); |
| 181 | } |
| 182 | |
| 183 | } // namespace ValdiAndroid |
no test coverage detected