Searched refs:colorMatrix (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | DisplayAdjustmentUtils.java | 87 float[] colorMatrix = null; in applyAdjustments() local 91 colorMatrix = multiply(colorMatrix, INVERSION_MATRIX_VALUE_ONLY); in applyAdjustments() 101 colorMatrix = multiply(colorMatrix, GRAYSCALE_MATRIX); in applyAdjustments() 115 colorMatrix = multiply(colorMatrix, userMatrix); in applyAdjustments() 119 setColorTransform(colorMatrix); in applyAdjustments()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ColorFiltersActivity.java | 56 final ColorMatrix colorMatrix = new ColorMatrix(); in BitmapsView() local 57 colorMatrix.setSaturation(0); in BitmapsView() 58 mColorMatrixPaint.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); in BitmapsView()
|
D | ColorFiltersMutateActivity.java | 63 final ColorMatrix colorMatrix = new ColorMatrix(); in BitmapsView() local 64 colorMatrix.setSaturation(0); in BitmapsView() 65 mColorMatrixPaint.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); in BitmapsView()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorMatrixColorFilter.java | 122 final float[] colorMatrix = mMatrix.getArray(); in update() local 124 native_instance = nativeColorMatrixFilter(colorMatrix); in update()
|
/frameworks/base/libs/hwui/ |
D | GlopBuilder.cpp | 303 float* colorMatrix = mOutGlop->fill.filter.matrix.matrix; in setFill() local 304 memcpy(colorMatrix, srcColorMatrix, 4 * sizeof(float)); in setFill() 305 memcpy(&colorMatrix[4], &srcColorMatrix[5], 4 * sizeof(float)); in setFill() 306 memcpy(&colorMatrix[8], &srcColorMatrix[10], 4 * sizeof(float)); in setFill() 307 memcpy(&colorMatrix[12], &srcColorMatrix[15], 4 * sizeof(float)); in setFill()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 114 int32_t colorMatrix = 0; in convertMetaDataToMessageColorAspects() local 118 meta->findInt32(kKeyColorMatrix, &colorMatrix); in convertMetaDataToMessageColorAspects() 124 colorAspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)colorMatrix; in convertMetaDataToMessageColorAspects()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1912 mat4 colorMatrix = mColorMatrix; in doDisplayComposition() local 1914 colorMatrix = colorMatrix * mDaltonizer(); in doDisplayComposition() 1916 mat4 oldMatrix = engine.setupColorTransform(colorMatrix); in doDisplayComposition()
|
D | SurfaceFlinger_hwc1.cpp | 1928 mat4 colorMatrix = mColorMatrix; in doDisplayComposition() local 1930 colorMatrix = colorMatrix * mDaltonizer(); in doDisplayComposition() 1932 mat4 oldMatrix = engine.setupColorTransform(colorMatrix); in doDisplayComposition()
|