Lines Matching defs:colors

382      * well as the ability to display transparent/translucent colors.
825 * pixel value set to the corresponding value in the colors array. Its
828 * @param colors Array of {@link Color} used to initialize the pixels.
830 * array of colors.
831 * @param stride Number of colors in the array between rows (must be >=
837 * bytes in the colors[] will be ignored (assumed to be FF)
841 public static Bitmap createBitmap(int colors[], int offset, int stride,
843 return createBitmap(null, colors, offset, stride, width, height, config);
848 * pixel value set to the corresponding value in the colors array. Its
853 * @param colors Array of {@link Color} used to initialize the pixels.
855 * array of colors.
856 * @param stride Number of colors in the array between rows (must be >=
862 * bytes in the colors[] will be ignored (assumed to be FF)
866 public static Bitmap createBitmap(DisplayMetrics display, int colors[],
874 int length = colors.length;
882 Bitmap bm = nativeCreate(colors, offset, stride, width, height,
892 * pixel value set to the corresponding value in the colors array. Its
895 * @param colors Array of {@link Color} used to initialize the pixels.
901 * bytes in the colors[] will be ignored (assumed to be FF)
905 public static Bitmap createBitmap(int colors[], int width, int height, Config config) {
906 return createBitmap(null, colors, 0, width, width, height, config);
911 * pixel value set to the corresponding value in the colors array. Its
916 * @param colors Array of {@link Color} used to initialize the pixels.
922 * bytes in the colors[] will be ignored (assumed to be FF)
926 public static Bitmap createBitmap(DisplayMetrics display, int colors[],
928 return createBitmap(display, colors, 0, width, width, height, config);
1291 * The returned colors are non-premultiplied ARGB values.
1293 * @param pixels The array to receive the bitmap's colors
1401 * <p>Replace pixels in the bitmap with the colors in the array. Each element
1405 * @param pixels The colors to write to the bitmap
1407 * @param stride The number of colors in pixels[] to skip between rows.
1414 * @param width The number of colors to copy from pixels[] per row
1568 private static native Bitmap nativeCreate(int[] colors, int offset,
1593 private static native void nativeSetPixels(int nativeBitmap, int[] colors,