Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DDisplayAdjustmentUtils.java81 float[] colorMatrix = null; in applyAdjustments() local
85 colorMatrix = multiply(colorMatrix, INVERSION_MATRIX_VALUE_ONLY); in applyAdjustments()
95 colorMatrix = multiply(colorMatrix, GRAYSCALE_MATRIX); in applyAdjustments()
104 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/
DOpenGLRenderer.cpp1783 float colorMatrix[16];
1784 memcpy(colorMatrix, srcColorMatrix, 4 * sizeof(float));
1785 memcpy(&colorMatrix[4], &srcColorMatrix[5], 4 * sizeof(float));
1786 memcpy(&colorMatrix[8], &srcColorMatrix[10], 4 * sizeof(float));
1787 memcpy(&colorMatrix[12], &srcColorMatrix[15], 4 * sizeof(float));
1798 GL_FALSE, colorMatrix);
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1793 mat4 colorMatrix = mColorMatrix; in doDisplayComposition() local
1795 colorMatrix = colorMatrix * mDaltonizer(); in doDisplayComposition()
1797 engine.beginGroup(colorMatrix); in doDisplayComposition()