Lines Matching defs:height

170         int height = pixels.getHeight();
172 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
173 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
174 "," + height + ") too large, dimensions must be smaller than " +
179 nativeSetThumbnail(rgbBuffer, width, height);
211 int height = pixels.getHeight();
213 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
214 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
215 "," + height + ") too large, dimensions must be smaller than " +
220 nativeSetThumbnail(rgbBuffer, width, height);
289 * {@code offset + 2 * width * height)} bytes. The width and height of
290 * the input are taken from the width and height set in the {@link DngCreator} metadata tags,
291 * and will typically be equal to the width and height of
325 int height = size.getHeight();
326 if (width <= 0 || height <= 0) {
327 throw new IllegalArgumentException("Size with invalid width, height: (" + width + "," +
328 height + ") passed to writeInputStream");
330 nativeWriteInputStream(dngOutput, pixels, width, height, offset);
339 * {@code offset + 2 * width * height)} bytes. The width and height of
340 * the input are taken from the width and height set in the {@link DngCreator} metadata tags,
341 * and will typically be equal to the width and height of
380 int height = size.getHeight();
382 writeByteBuffer(width, height, pixels, dngOutput, DEFAULT_PIXEL_STRIDE,
432 * Max width or height dimension for thumbnails.
472 private void writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput,
474 if (width <= 0 || height <= 0) {
475 throw new IllegalArgumentException("Image with invalid width, height: (" + width + "," +
476 height + ") passed to write");
479 long totalSize = ((long) rowStride) * height + offset;
490 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset,
532 int height = yuvImage.getHeight();
533 ByteBuffer buf = ByteBuffer.allocateDirect(BYTES_PER_RGB_PIX * width * height);
560 for (int i = 0; i < height; i++) {
591 int height = argbBitmap.getHeight();
592 ByteBuffer buf = ByteBuffer.allocateDirect(BYTES_PER_RGB_PIX * width * height);
596 for (int i = 0; i < height; i++) {
598 /*width*/width, /*height*/1);
644 private synchronized native void nativeSetThumbnail(ByteBuffer buffer, int width, int height);
646 private synchronized native void nativeWriteImage(OutputStream out, int width, int height,
652 int width, int height, long offset)