Lines Matching defs:matrix
23 * A color filter that transforms colors through a 4x5 color matrix. This filter
32 * Create a color filter that transforms colors through a 4x5 color matrix.
34 * @param matrix 4x5 matrix used to transform colors. It is copied into
35 * the filter, so changes made to the matrix after the filter
38 public ColorMatrixColorFilter(@NonNull ColorMatrix matrix) {
39 mMatrix.set(matrix);
43 * Create a color filter that transforms colors through a 4x5 color matrix.
46 * matrix. The first 20 entries of the array are copied into
66 * Copies the provided color matrix to be used by this filter.
68 * If the specified color matrix is null, this filter's color matrix will be reset to the
69 * identity matrix.
71 * @param matrix A {@link ColorMatrix} or null
79 public void setColorMatrix(@Nullable ColorMatrix matrix) {
81 if (matrix == null) {
84 mMatrix.set(matrix);
89 * Copies the provided color matrix to be used by this filter.
91 * If the specified color matrix is null, this filter's color matrix will be reset to the
92 * identity matrix.
95 * matrix. The first 20 entries of the array are copied into