Home
last modified time | relevance | path

Searched refs:colorMatrix (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DDisplayAdjustmentUtils.java87 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/
DColorFiltersActivity.java56 final ColorMatrix colorMatrix = new ColorMatrix(); in BitmapsView() local
57 colorMatrix.setSaturation(0); in BitmapsView()
58 mColorMatrixPaint.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); in BitmapsView()
DColorFiltersMutateActivity.java63 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/
DColorMatrixColorFilter.java122 final float[] colorMatrix = mMatrix.getArray(); in update() local
124 native_instance = nativeColorMatrixFilter(colorMatrix); in update()
/frameworks/base/libs/hwui/
DGlopBuilder.cpp303 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/
DUtils.cpp114 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/
DSurfaceFlinger.cpp1912 mat4 colorMatrix = mColorMatrix; in doDisplayComposition() local
1914 colorMatrix = colorMatrix * mDaltonizer(); in doDisplayComposition()
1916 mat4 oldMatrix = engine.setupColorTransform(colorMatrix); in doDisplayComposition()
DSurfaceFlinger_hwc1.cpp1928 mat4 colorMatrix = mColorMatrix; in doDisplayComposition() local
1930 colorMatrix = colorMatrix * mDaltonizer(); in doDisplayComposition()
1932 mat4 oldMatrix = engine.setupColorTransform(colorMatrix); in doDisplayComposition()