Lines Matching defs:color
21 * This class allows to apply color effect on a media item.
27 * Change the video frame color to the RGB color value provided
31 * Change the video frame color to a gradation from RGB color (at the top of
36 * Change the video frame color to sepia
40 * Invert the video frame color
48 * Change the video frame color to the RGB color value GREEN
52 * Change the video frame color to the RGB color value PINK
56 * Change the video frame color to the RGB color value GRAY
66 * The effect color
89 * @param color If type is TYPE_COLOR, color is the RGB color as 888.
90 * If type is TYPE_GRADIENT, color is the RGB color at the
91 * top of the frame. Otherwise, color is ignored
94 long durationMs, int type, int color) {
99 switch (color) {
103 mColor = color;
107 throw new IllegalArgumentException("Invalid Color: " + color);
135 * Get the color if effect type is TYPE_COLOR or TYPE_GRADIENT.
137 * @return the color as RGB 888 if type is TYPE_COLOR or TYPE_GRADIENT.