Searched refs:colorMatrix (Results 1 – 7 of 7) sorted by relevance
/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/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1331 mat4 colorMatrix = mColorMatrix * mDaltonizer(); in setUpHWComposer() local 1340 if (colorMatrix != mPreviousColorMatrix) { in setUpHWComposer() 1341 status_t result = mHwc->setColorTransform(hwcId, colorMatrix); in setUpHWComposer() 1350 mPreviousColorMatrix = colorMatrix; in setUpHWComposer() 2055 mat4 colorMatrix = mColorMatrix * mDaltonizer(); in doComposeSurfaces() local 2056 oldColorMatrix = getRenderEngine().setupColorTransform(colorMatrix); in doComposeSurfaces()
|
D | SurfaceFlinger_hwc1.cpp | 1957 mat4 colorMatrix = mColorMatrix; in doDisplayComposition() local 1959 colorMatrix = colorMatrix * mDaltonizer(); in doDisplayComposition() 1961 mat4 oldMatrix = engine.setupColorTransform(colorMatrix); in doDisplayComposition()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 115 int32_t colorMatrix = 0; in convertMetaDataToMessageColorAspects() local 119 meta->findInt32(kKeyColorMatrix, &colorMatrix); in convertMetaDataToMessageColorAspects() 125 colorAspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)colorMatrix; in convertMetaDataToMessageColorAspects()
|