Lines Matching defs:stride

1053      * @param stride   Number of colors in the array between rows (must be >=
1063 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, int offset, int stride,
1065 return createBitmap(null, colors, offset, stride, width, height, config);
1080 * @param stride Number of colors in the array between rows (must be >=
1091 @NonNull @ColorInt int[] colors, int offset, int stride,
1095 if (Math.abs(stride) < width) {
1096 throw new IllegalArgumentException("abs(stride) must be >= width");
1098 int lastScanline = offset + (height - 1) * stride;
1107 Bitmap bm = nativeCreate(colors, offset, stride, width, height,
1616 * a packed int representing a {@link Color}. The stride parameter allows
1618 * rows. For normal packed results, just pass width for the stride value.
1624 * @param stride The number of entries in pixels[] to skip between
1634 * bounds of the bitmap, or if abs(stride) < width.
1639 public void getPixels(@ColorInt int[] pixels, int offset, int stride,
1647 checkPixelsAccess(x, y, width, height, offset, stride, pixels);
1648 nativeGetPixels(mNativePtr, pixels, offset, stride,
1678 * @param stride number of elements in pixels[] between each logical row
1682 int offset, int stride, int pixels[]) {
1698 if (Math.abs(stride) < width) {
1699 throw new IllegalArgumentException("abs(stride) must be >= width");
1701 int lastScanline = offset + (height - 1) * stride;
1740 * @param stride The number of colors in pixels[] to skip between rows.
1756 public void setPixels(@ColorInt int[] pixels, int offset, int stride,
1765 checkPixelsAccess(x, y, width, height, offset, stride, pixels);
1766 nativeSetPixels(mNativePtr, pixels, offset, stride,
1918 int stride, int width, int height,
1940 int offset, int stride, int x, int y,
1945 int offset, int stride, int x, int y,