Home
last modified time | relevance | path

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

12

/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeColorMatrixColorFilterTest.java10 import android.graphics.ColorMatrix;
26 ColorMatrix cm = new ColorMatrix(); in testColorMatrixColorFilter()
94 ColorMatrixColorFilter filter = new ColorMatrixColorFilter(new ColorMatrix()); in testGetColorMatrix()
95 ColorMatrix getMatrix = new ColorMatrix(); in testGetColorMatrix()
98 assertEquals(new ColorMatrix(), getMatrix); in testGetColorMatrix()
100 ColorMatrix scaleTranslate = in testGetColorMatrix()
101 new ColorMatrix( in testGetColorMatrix()
DShadowNativeColorFilterTest.java11 import android.graphics.ColorMatrix;
46 new ColorMatrix( in testColorMatrix()
/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/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.js349 ColorMatrix: { property
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapDrawableTest.java9 import android.graphics.ColorMatrix;
56 drawable.setColorFilter(new ColorMatrixColorFilter(new ColorMatrix())); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas()
DShadowBitmapTest.java13 import android.graphics.ColorMatrix;
228 paint.setColorFilter(new ColorMatrixColorFilter(new ColorMatrix())); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect()
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts475 readonly ColorMatrix: ColorMatrixHelpers; property
3042 concat(outer: ColorMatrix, inner: ColorMatrix): ColorMatrix;
3047 identity(): ColorMatrix;
3058 postTranslate(m: ColorMatrix, dr: number, dg: number, db: number, da: number): ColorMatrix;
3066 rotated(axis: number, sine: number, cosine: number): ColorMatrix;
3076 alphaScale: number): ColorMatrix;
3994 export type ColorMatrix = Float32Array; alias
4086 export type InputColorMatrix = MallocObj | ColorMatrix | number[];
Dcanvaskit-wasm-tests.ts231 const r = CK.ColorMatrix.rotated(0, .707, -.707); // $ExpectType Float32Array
232 const b = CK.ColorMatrix.rotated(2, .5, .866);
233 const s = CK.ColorMatrix.scaled(0.9, 1.5, 0.8, 0.8);
234 let cm = CK.ColorMatrix.concat(r, s);
235 cm = CK.ColorMatrix.concat(cm, b);
236 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_test.js251 const r = CanvasKit.ColorMatrix.rotated(0, .707, -.707);
252 const b = CanvasKit.ColorMatrix.rotated(2, .5, .866);
253 const s = CanvasKit.ColorMatrix.scaled(0.9, 1.5, 0.8, 0.8);
254 let cm = CanvasKit.ColorMatrix.concat(r, s);
255 cm = CanvasKit.ColorMatrix.concat(cm, b);
256 CanvasKit.ColorMatrix.postTranslate(cm, 20, 0, -10, 0);
/external/skia/src/core/
DSkColorFilter_Matrix.cpp193 fp = GrFragmentProcessor::ColorMatrix(std::move(fp), fMatrix, in asFragmentProcessor()
201 fp = GrFragmentProcessor::ColorMatrix(std::move(fp), fMatrix, in asFragmentProcessor()
/external/skia/tests/
DColorMatrixTest.cpp99 DEF_TEST(ColorMatrix, reporter) { in DEF_TEST() argument
/external/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/cpp/
DAndroid.bp55 "ColorMatrix.cpp",
DCMakeLists.txt78 ColorMatrix.cpp
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java41 import android.graphics.ColorMatrix;
827 ColorMatrix cm = new ColorMatrix(); in updateYUVfromRGB()
/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/skia/src/gpu/ganesh/
DGrFragmentProcessor.h128 static std::unique_ptr<GrFragmentProcessor> ColorMatrix(
DSurfaceContext.cpp819 yFP = GrFragmentProcessor::ColorMatrix(std::move(yFP), in asyncRescaleAndReadPixelsYUV420()
844 uFP = GrFragmentProcessor::ColorMatrix(std::move(uFP), in asyncRescaleAndReadPixelsYUV420()
867 vFP = GrFragmentProcessor::ColorMatrix(std::move(vFP), in asyncRescaleAndReadPixelsYUV420()
DGrFragmentProcessor.cpp455 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::ColorMatrix( in ColorMatrix() function in GrFragmentProcessor
/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]…

12