Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
Dvignette.rs31 rs_matrix3x3 colorMatrix;
56 rsMatrixSet(&colorMatrix, 0, 0, b * (Rt + S));
57 rsMatrixSet(&colorMatrix, 1, 0, b * Gt);
58 rsMatrixSet(&colorMatrix, 2, 0, b * Bt);
59 rsMatrixSet(&colorMatrix, 0, 1, b * Rt);
60 rsMatrixSet(&colorMatrix, 1, 1, b * (Gt + S));
61 rsMatrixSet(&colorMatrix, 2, 1, b * Bt);
62 rsMatrixSet(&colorMatrix, 0, 2, b * Rt);
63 rsMatrixSet(&colorMatrix, 1, 2, b * Gt);
64 rsMatrixSet(&colorMatrix, 2, 2, b * (Bt + S));
[all …]
Dgrad.rs30 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/Settings/src/com/android/settings/
DHomeSettings.java310 ColorMatrix colorMatrix = new ColorMatrix(); in HomeAppPreference() local
311 colorMatrix.setSaturation(0f); in HomeAppPreference()
312 float[] matrix = colorMatrix.getArray(); in HomeAppPreference()
314 grayscaleFilter = new ColorMatrixColorFilter(colorMatrix); in HomeAppPreference()
/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java660 ColorMatrix colorMatrix = new ColorMatrix(); in generateShortcutPreview() local
661 colorMatrix.setSaturation(0); in generateShortcutPreview()
662 p.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); in generateShortcutPreview()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java678 ColorMatrix colorMatrix = new ColorMatrix(); in generateShortcutPreview() local
679 colorMatrix.setSaturation(0); in generateShortcutPreview()
680 p.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); in generateShortcutPreview()