Lines Matching refs:restriction
82 restriction: Range2d? = null in blend()
92 validateRestriction("blend", sizeX, sizeY, restriction) in blend()
94 nativeBlend(nativeHandle, mode.value, sourceArray, destArray, sizeX, sizeY, restriction) in blend()
124 restriction: Range2d? = null in blend()
140 validateRestriction("blend", sourceBitmap.width, sourceBitmap.height, restriction) in blend()
142 nativeBlendBitmap(nativeHandle, mode.value, sourceBitmap, destBitmap, restriction) in blend()
182 restriction: Range2d? = null in blur()
194 validateRestriction("blur", sizeX, sizeY, restriction) in blur()
198 nativeHandle, inputArray, vectorSize, sizeX, sizeY, radius, outputArray, restriction in blur()
229 fun blur(inputBitmap: Bitmap, radius: Int = 5, restriction: Range2d? = null): Bitmap { in blur()
234 validateRestriction("blur", inputBitmap.width, inputBitmap.height, restriction) in blur()
237 nativeBlurBitmap(nativeHandle, inputBitmap, outputBitmap, radius, restriction) in blur()
345 restriction: Range2d? = null in colorMatrix()
366 validateRestriction("colorMatrix", sizeX, sizeY, restriction) in colorMatrix()
371 matrix, addVector, restriction in colorMatrix()
403 restriction: Range2d? = null in colorMatrix()
412 validateRestriction("colorMatrix", inputBitmap.width, inputBitmap.height, restriction) in colorMatrix()
421 restriction in colorMatrix()
466 restriction: Range2d? = null in convolve()
480 validateRestriction("convolve", sizeX, sizeY, restriction) in convolve()
491 restriction in convolve()
523 restriction: Range2d? = null in convolve()
530 validateRestriction("convolve", inputBitmap, restriction) in convolve()
533 nativeConvolveBitmap(nativeHandle, inputBitmap, outputBitmap, coefficients, restriction) in convolve()
570 restriction: Range2d? = null in histogram()
580 validateRestriction("histogram", sizeX, sizeY, restriction) in histogram()
590 restriction in histogram()
622 restriction: Range2d? = null in histogram()
625 validateRestriction("histogram", inputBitmap, restriction) in histogram()
628 nativeHistogramBitmap(nativeHandle, inputBitmap, outputArray, restriction) in histogram()
671 restriction: Range2d? = null in histogramDot()
682 validateRestriction("histogramDot", sizeX, sizeY, restriction) in histogramDot()
694 restriction in histogramDot()
731 restriction: Range2d? = null in histogramDot()
735 validateRestriction("histogramDot", inputBitmap, restriction) in histogramDot()
740 nativeHandle, inputBitmap, outputArray, actualCoefficients, restriction in histogramDot()
776 restriction: Range2d? = null in lut()
782 validateRestriction("lut", sizeX, sizeY, restriction) in lut()
795 restriction in lut()
825 restriction: Range2d? = null in lut()
828 validateRestriction("lut", inputBitmap, restriction) in lut()
839 restriction in lut()
877 restriction: Range2d? = null in lut3d()
890 validateRestriction("lut3d", sizeX, sizeY, restriction) in lut3d()
895 cube.sizeY, cube.sizeZ, restriction in lut3d()
929 restriction: Range2d? = null in lut3d()
932 validateRestriction("lut3d", inputBitmap, restriction) in lut3d()
937 cube.sizeY, cube.sizeZ, restriction in lut3d()
977 restriction: Range2d? = null in resize()
986 validateRestriction("resize", outputSizeX, outputSizeY, restriction) in resize()
998 restriction in resize()
1028 restriction: Range2d? = null in resize()
1031 validateRestriction("resize", outputSizeX, outputSizeY, restriction) in resize()
1034 nativeResizeBitmap(nativeHandle, inputBitmap, outputBitmap, restriction) in resize()
1121 restriction: Range2d? in createNative()
1129 restriction: Range2d? in createNative()
1140 restriction: Range2d? in createNative()
1148 restriction: Range2d? in createNative()
1161 restriction: Range2d? in createNative()
1170 restriction: Range2d? in createNative()
1181 restriction: Range2d? in createNative()
1189 restriction: Range2d? in createNative()
1199 restriction: Range2d? in createNative()
1206 restriction: Range2d? in createNative()
1217 restriction: Range2d? in createNative()
1225 restriction: Range2d? in createNative()
1238 restriction: Range2d? in createNative()
1249 restriction: Range2d? in createNative()
1262 restriction: Range2d? in createNative()
1273 restriction: Range2d? in createNative()
1285 restriction: Range2d? in createNative()
1292 restriction: Range2d? in createNative()
1525 internal fun validateRestriction(tag: String, bitmap: Bitmap, restriction: Range2d? = null) { in validateRestriction()
1526 validateRestriction(tag, bitmap.width, bitmap.height, restriction) in validateRestriction()
1533 restriction: Range2d? = null in validateRestriction()
1535 if (restriction == null) return in validateRestriction()
1536 require(restriction.startX < sizeX && restriction.endX <= sizeX) { in validateRestriction()
1541 require(restriction.startY < sizeY && restriction.endY <= sizeY) { in validateRestriction()
1546 require(restriction.startX < restriction.endX) { in validateRestriction()
1550 require(restriction.startY < restriction.endY) { in validateRestriction()