Home
last modified time | relevance | path

Searched refs:ColorMatrix (Results 1 – 20 of 20) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowColorMatrixColorFilter.java3 import android.graphics.ColorMatrix;
11 private ColorMatrix matrix;
14 protected void __constructor__(ColorMatrix matrix) { in __constructor__()
20 this.matrix = new ColorMatrix(array); in __constructor__()
23 ColorMatrix getMatrix() { in getMatrix()
DShadowCanvas.java6 import android.graphics.ColorMatrix;
236 ColorMatrix colorMatrix = shadowColorMatrixColorFilter.getMatrix(); in describeBitmap()
245 private String formatColorMatric(ColorMatrix colorMatrix) { in formatColorMatric()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/
DPaintUtil.java20 import android.graphics.ColorMatrix;
43 ColorMatrix m = new ColorMatrix(); in createLightCorrectionColorFilter()
/external/skia/modules/canvaskit/
Dmatrix.js471 CanvasKit.ColorMatrix = {};
472 CanvasKit.ColorMatrix.identity = function() {
481 CanvasKit.ColorMatrix.scaled = function(rs, gs, bs, as) {
496 CanvasKit.ColorMatrix.rotated = function(axis, sine, cosine) {
497 var m = CanvasKit.ColorMatrix.identity();
508 CanvasKit.ColorMatrix.postTranslate = function(m, dr, dg, db, da) {
517 CanvasKit.ColorMatrix.concat = function(outer, inner) {
Dexterns.js307 ColorMatrix: { property
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts425 readonly ColorMatrix: ColorMatrixHelpers; property
2823 concat(outer: ColorMatrix, inner: ColorMatrix): ColorMatrix;
2828 identity(): ColorMatrix;
2839 postTranslate(m: ColorMatrix, dr: number, dg: number, db: number, da: number): ColorMatrix;
2847 rotated(axis: number, sine: number, cosine: number): ColorMatrix;
2857 alphaScale: number): ColorMatrix;
3587 export type ColorMatrix = Float32Array; alias
3672 export type InputColorMatrix = MallocObj | ColorMatrix | number[];
Dcanvaskit-wasm-tests.ts230 const r = CK.ColorMatrix.rotated(0, .707, -.707); // $ExpectType Float32Array
231 const b = CK.ColorMatrix.rotated(2, .5, .866);
232 const s = CK.ColorMatrix.scaled(0.9, 1.5, 0.8, 0.8);
233 let cm = CK.ColorMatrix.concat(r, s);
234 cm = CK.ColorMatrix.concat(cm, b);
235 CK.ColorMatrix.postTranslate(cm, 20, 0, -10, 0);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapDrawableTest.java11 import android.graphics.ColorMatrix;
77 drawable.setColorFilter(new ColorMatrixColorFilter(new ColorMatrix())); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas()
DShadowBitmapTest.java11 import android.graphics.ColorMatrix;
180 paint.setColorFilter(new ColorMatrixColorFilter(new ColorMatrix())); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect()
/external/skia/modules/canvaskit/tests/
Dcanvas.spec.js264 const r = CanvasKit.ColorMatrix.rotated(0, .707, -.707);
265 const b = CanvasKit.ColorMatrix.rotated(2, .5, .866);
266 const s = CanvasKit.ColorMatrix.scaled(0.9, 1.5, 0.8, 0.8);
267 let cm = CanvasKit.ColorMatrix.concat(r, s);
268 cm = CanvasKit.ColorMatrix.concat(cm, b);
269 CanvasKit.ColorMatrix.postTranslate(cm, 20, 0, -10, 0);
/external/skia/tests/
DColorMatrixTest.cpp100 DEF_TEST(ColorMatrix, reporter) { in DEF_TEST() argument
/external/skqp/tests/
DColorMatrixTest.cpp101 DEF_TEST(ColorMatrix, reporter) { in DEF_TEST() argument
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java41 import android.graphics.ColorMatrix;
827 ColorMatrix cm = new ColorMatrix(); in updateYUVfromRGB()
/external/skia/src/gpu/effects/
DGrRGBToHSLFilterEffect.fp67 const auto eps = 0.0001f, // matching SkSL/ColorMatrix half4 epsilon
/external/ImageMagick/MagickCore/
Dvisual-effects.c731 ColorMatrix[6][6] = in ColorMatrixImage() local
772 ColorMatrix[v][u]=color_matrix->values[i]; in ColorMatrixImage()
803 ColorMatrix[v][u]); in ColorMatrixImage()
861 sum=ColorMatrix[v][0]*GetPixelRed(image,p)+ColorMatrix[v][1]* in ColorMatrixImage()
862 GetPixelGreen(image,p)+ColorMatrix[v][2]*GetPixelBlue(image,p); in ColorMatrixImage()
864 sum+=ColorMatrix[v][3]*GetPixelBlack(image,p); in ColorMatrixImage()
866 sum+=ColorMatrix[v][4]*GetPixelAlpha(image,p); in ColorMatrixImage()
867 sum+=QuantumRange*ColorMatrix[v][5]; in ColorMatrixImage()
/external/llvm/test/Transforms/InstCombine/
Dshufflemask-undef.ll12 %struct.ColorMatrix = type { [16 x float]*, %struct.ImagingColorScale }
20 …%struct.Convolution, %struct.Convolution, %struct.Convolution, %struct.ColorMatrix, %struct.Minmax…
/external/llvm-project/llvm/test/Transforms/InstCombine/X86/
Dshufflemask-undef.ll13 %struct.ColorMatrix = type { [16 x float]*, %struct.ImagingColorScale }
21 …%struct.Convolution, %struct.Convolution, %struct.Convolution, %struct.ColorMatrix, %struct.Minmax…
/external/ImageMagick/www/source/
Dexamples.pl109 $example->ColorMatrix([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0.5, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]…
/external/ImageMagick/PerlMagick/demo/
Ddemo.pl127 $example->ColorMatrix([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0.5, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]…
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in480 { "ColorMatrix", { {"matrix", ArrayReference} } },
7603 ColorMatrix = 215
10615 case 108: /* ColorMatrix */