/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
vignette.rs | 31 rs_matrix3x3 colorMatrix; 54 rsMatrixSet(&colorMatrix, 0, 0, b * (Rt + S)); 55 rsMatrixSet(&colorMatrix, 1, 0, b * Gt); 56 rsMatrixSet(&colorMatrix, 2, 0, b * Bt); 57 rsMatrixSet(&colorMatrix, 0, 1, b * Rt); 58 rsMatrixSet(&colorMatrix, 1, 1, b * (Gt + S)); 59 rsMatrixSet(&colorMatrix, 2, 1, b * Bt); 60 rsMatrixSet(&colorMatrix, 0, 2, b * Rt); 61 rsMatrixSet(&colorMatrix, 1, 2, b * Gt); 62 rsMatrixSet(&colorMatrix, 2, 2, b * (Bt + S)) [all...] |
grad.rs | 30 rs_matrix3x3 colorMatrix; 80 rsMatrixSet(&grads[i].colorMatrix, 0, 0, b * (Rt + S)); 81 rsMatrixSet(&grads[i].colorMatrix, 1, 0, b * Gt); 82 rsMatrixSet(&grads[i].colorMatrix, 2, 0, b * Bt); 83 rsMatrixSet(&grads[i].colorMatrix, 0, 1, b * Rt); 84 rsMatrixSet(&grads[i].colorMatrix, 1, 1, b * (Gt + S)); 85 rsMatrixSet(&grads[i].colorMatrix, 2, 1, b * Bt); 86 rsMatrixSet(&grads[i].colorMatrix, 0, 2, b * Rt); 87 rsMatrixSet(&grads[i].colorMatrix, 1, 2, b * Gt); 88 rsMatrixSet(&grads[i].colorMatrix, 2, 2, b * (Bt + S)) [all...] |
/packages/apps/Car/Overview/src/com/android/car/overview/utils/ |
BitmapUtils.java | 20 import android.graphics.ColorMatrix; 36 ColorMatrix colorMatrix = new ColorMatrix(); 37 colorMatrix.setSaturation(saturation); 38 ColorMatrixColorFilter filter = new ColorMatrixColorFilter(colorMatrix);
|
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrixColorFilter.java | 26 * @see ColorMatrix 29 private final ColorMatrix mMatrix = new ColorMatrix(); 38 public ColorMatrixColorFilter(@NonNull ColorMatrix matrix) { 47 * the filter. See ColorMatrix. 57 * Copies the ColorMatrix from the filter into the passed ColorMatrix. 59 * @param colorMatrix Set to the current value of the filter's ColorMatrix. 61 public void getColorMatrix(ColorMatrix colorMatrix) [all...] |
/external/dng_sdk/source/ |
dng_color_spec.cpp | 250 dng_matrix colorMatrix; 253 colorMatrix = fColorMatrix1; 256 colorMatrix = fColorMatrix2; 259 colorMatrix = (g ) * fColorMatrix1 + 373 return colorMatrix; 399 dng_matrix colorMatrix; 404 colorMatrix = FindXYZtoCamera (fWhiteXY, 411 fCameraWhite = colorMatrix * XYtoXYZ (fWhiteXY); 434 fPCStoCamera = colorMatrix * MapWhiteMatrix (PCStoXY (), fWhiteXY);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ColorFiltersActivity.java | 24 import android.graphics.ColorMatrix; 56 final ColorMatrix colorMatrix = new ColorMatrix(); 57 colorMatrix.setSaturation(0); 58 mColorMatrixPaint.setColorFilter(new ColorMatrixColorFilter(colorMatrix));
|
ColorFiltersMutateActivity.java | 26 import android.graphics.ColorMatrix; 63 final ColorMatrix colorMatrix = new ColorMatrix(); 64 colorMatrix.setSaturation(0); 65 mColorMatrixPaint.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); 141 final ColorMatrix m = new ColorMatrix();
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusimageattributes.h | 151 Status SetColorMatrices(const ColorMatrix *colorMatrix, 152 const ColorMatrix *grayMatrix, 158 colorMatrix, grayMatrix, mode)); 160 Status SetColorMatrix(const ColorMatrix *colorMatrix, 166 colorMatrix, NULL, mode));
|
/external/skia/src/core/ |
SkColorMatrixFilterRowMajor255.cpp | 203 "ColorMatrix"); 284 SkScalar colorMatrix[20]; 285 for (size_t i = 0; i < SK_ARRAY_COUNT(colorMatrix); ++i) { 286 colorMatrix[i] = d->fRandom->nextSScalar1(); 288 return ColorMatrixEffect::Make(colorMatrix);
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderMPEG2.cpp | 399 mVideoFormatInfo.colorMatrix = VA_SRC_BT709; 406 mVideoFormatInfo.colorMatrix = VA_SRC_BT601; 411 mVideoFormatInfo.colorMatrix = 0;
|
VideoDecoderWMV.cpp | 516 mVideoFormatInfo.colorMatrix = VA_SRC_BT709; 520 mVideoFormatInfo.colorMatrix = VA_SRC_BT601; 524 mVideoFormatInfo.colorMatrix = 0; 534 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange);
|
VideoDecoderVP8.cpp | 77 mVideoFormatInfo.colorMatrix = VA_SRC_BT601; 81 mVideoFormatInfo.colorMatrix = 0; 104 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange);
|
VideoDecoderBase.h | 207 void setColorSpaceInfo(int32_t colorMatrix, int32_t videoRange);
|
VideoDecoderDefs.h | 218 int32_t colorMatrix;
|
VideoDecoderMPEG4.cpp | 645 mVideoFormatInfo.colorMatrix = VA_SRC_BT709; 652 mVideoFormatInfo.colorMatrix = VA_SRC_BT601; 657 mVideoFormatInfo.colorMatrix = 0; 667 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange);
|
VideoDecoderAVC.cpp | 770 mVideoFormatInfo.colorMatrix = VA_SRC_BT709; 777 mVideoFormatInfo.colorMatrix = VA_SRC_BT601; 782 mVideoFormatInfo.colorMatrix = 0; 831 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange); [all...] |
VideoDecoderBase.cpp | 891 setColorSpaceInfo(mVideoFormatInfo.colorMatrix, mVideoFormatInfo.videoRange); [all...] |
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
AnalogWatchFaceService.java | 27 import android.graphics.ColorMatrix; 343 ColorMatrix colorMatrix = new ColorMatrix(); 344 colorMatrix.setSaturation(0); 345 ColorMatrixColorFilter filter = new ColorMatrixColorFilter(colorMatrix);
|
SweepWatchFaceService.java | 27 import android.graphics.ColorMatrix; 308 ColorMatrix colorMatrix = new ColorMatrix(); 309 colorMatrix.setSaturation(0); 310 ColorMatrixColorFilter filter = new ColorMatrixColorFilter(colorMatrix);
|
ComplicationSimpleWatchFaceService.java | 29 import android.graphics.ColorMatrix; 534 ColorMatrix colorMatrix = new ColorMatrix(); 535 colorMatrix.setSaturation(0); 536 ColorMatrixColorFilter filter = new ColorMatrixColorFilter(colorMatrix);
|
/frameworks/base/libs/hwui/ |
GlopBuilder.cpp | 285 float* colorMatrix = mOutGlop->fill.filter.matrix.matrix; 286 memcpy(colorMatrix, srcColorMatrix, 4 * sizeof(float)); 287 memcpy(&colorMatrix[4], &srcColorMatrix[5], 4 * sizeof(float)); 288 memcpy(&colorMatrix[8], &srcColorMatrix[10], 4 * sizeof(float)); 289 memcpy(&colorMatrix[12], &srcColorMatrix[15], 4 * sizeof(float));
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
RawConverter.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
WidgetPreviewLoader.java | 20 import android.graphics.ColorMatrix; 660 ColorMatrix colorMatrix = new ColorMatrix(); 661 colorMatrix.setSaturation(0); 662 p.setColorFilter(new ColorMatrixColorFilter(colorMatrix));
|
/frameworks/native/services/surfaceflinger/ |
SurfaceFlinger.cpp | [all...] |
/frameworks/av/media/libstagefright/ |
Utils.cpp | 115 int32_t colorMatrix = 0; 119 meta->findInt32(kKeyColorMatrix, &colorMatrix); 125 colorAspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)colorMatrix; [all...] |