/external/pdfium/fxbarcode/pdf417/ |
D | BC_PDF417Writer.cpp | 53 int32_t& outHeight) { in Encode() argument 72 int32_t height = outHeight; in Encode() 74 outHeight = barcodeMatrix->getHeight(); in Encode() 76 if ((height > width) ^ (outWidth < outHeight)) { in Encode() 77 rotateArray(originalScale, outHeight, outWidth); in Encode() 79 int32_t temp = outHeight; in Encode() 80 outHeight = outWidth; in Encode() 84 int32_t scaleY = height / outHeight; in Encode() 90 rotateArray(originalScale, outHeight, outWidth); in Encode() 91 int32_t temp = outHeight; in Encode() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | Downsampler.java | 38 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) { 39 return Math.min(inHeight / outHeight, inWidth / outWidth); 55 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) { 56 return Math.max(inHeight / outHeight, inWidth / outWidth); 70 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) { 103 …public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat de… in decode() argument 138 …nal int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeight); in decode() 170 …getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int outHeight) { in getRoundedSampleSize() argument 175 exactSampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight); in getRoundedSampleSize() 177 exactSampleSize = getSampleSize(inWidth, inHeight, outWidth, outHeight); in getRoundedSampleSize() [all …]
|
D | BitmapTransformation.java | 44 … public final Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { in transform() argument 45 if (outWidth <= 0 || outHeight <= 0) { in transform() 47 + outHeight + " less than or equal to zero"); in transform() 50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); in transform() 74 …tected abstract Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight); in transform() argument
|
D | CenterCrop.java | 27 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { in transform() argument 28 final Bitmap toReuse = pool.get(outWidth, outHeight, toTransform.getConfig() != null in transform() 30 … Bitmap transformed = TransformationUtils.centerCrop(toReuse, toTransform, outWidth, outHeight); in transform()
|
D | FitCenter.java | 23 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { in transform() argument 24 return TransformationUtils.fitCenter(toTransform, pool, outWidth, outHeight); in transform()
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCodeWriter.cpp | 61 int32_t& outHeight) { in Encode() argument 84 outHeight = qr.GetMatrixWidth(); in Encode() 85 uint8_t* result = FX_Alloc2D(uint8_t, outWidth, outHeight); in Encode() 86 memcpy(result, qr.GetMatrix()->GetArray(), outWidth * outHeight); in Encode()
|
/external/pdfium/fxbarcode/datamatrix/ |
D | BC_DataMatrixWriter.cpp | 113 int32_t& outHeight) { in Encode() argument 114 if (outWidth < 0 || outHeight < 0) in Encode() 145 outHeight = bytematrix->GetHeight(); in Encode() 146 uint8_t* result = FX_Alloc2D(uint8_t, outWidth, outHeight); in Encode() 147 memcpy(result, bytematrix->GetArray(), outWidth * outHeight); in Encode()
|
/external/pdfium/fxbarcode/ |
D | cbc_datamatrix.cpp | 36 int32_t outHeight = 0; in Encode() local 39 pWriter->Encode(WideString(contents), outWidth, outHeight)); in Encode() 42 return pWriter->RenderResult(data.get(), outWidth, outHeight); in Encode()
|
D | cbc_qrcode.cpp | 42 int32_t outHeight = 0; in Encode() local 46 outWidth, outHeight)); in Encode() 49 return pWriter->RenderResult(data.get(), outWidth, outHeight); in Encode()
|
D | cbc_pdf417i.cpp | 45 int32_t outHeight = 0; in Encode() local 48 pWriter->Encode(WideString(contents), outWidth, outHeight)); in Encode() 51 return pWriter->RenderResult(data.get(), outWidth, outHeight); in Encode()
|
D | cbc_code128.cpp | 44 int32_t outHeight = 0; in Encode() local 54 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
|
D | cbc_code39.cpp | 40 int32_t outHeight = 0; in Encode() local 47 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
|
D | cbc_codabar.cpp | 56 int32_t outHeight = 0; in Encode() local 62 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
|
D | cbc_ean13.cpp | 59 int32_t outHeight = 0; in Encode() local 65 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
|
D | cbc_ean8.cpp | 57 int32_t outHeight = 0; in Encode() local 63 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
|
D | cbc_upca.cpp | 58 int32_t outHeight = 0; in Encode() local 66 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
D | GifBitmapWrapperTransformation.java | 30 …rce<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) { in transform() argument 34 …Resource<Bitmap> transformed = bitmapTransformation.transform(bitmapResource, outWidth, outHeight); in transform() 40 …ource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeight); in transform()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
D | GifDrawableTransformation.java | 24 …blic Resource<GifDrawable> transform(Resource<GifDrawable> resource, int outWidth, int outHeight) { in transform() argument 33 Resource<Bitmap> transformed = wrapped.transform(bitmapResource, outWidth, outHeight); in transform()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/ |
D | MultiTransformation.java | 33 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { in transform() argument 37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight); in transform()
|
D | Transformation.java | 28 Resource<T> transform(Resource<T> resource, int outWidth, int outHeight); in transform() argument
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BitmapFactoryTest.java | 36 assertEquals(100, opts.outHeight); in decodeResourceWithOpts_shouldSetDescription() 76 assertEquals(456, opts.outHeight); in decodeResourceWithOpts_shouldGetWidthAndHeightFromHints() 104 assertEquals(456, options.outHeight); in decodeFileEtc_shouldSetOptionsOutWidthAndOutHeightFromHints()
|
/external/pdfium/fxbarcode/oned/ |
D | BC_OneDimWriter.cpp | 96 int32_t& outHeight, in EncodeWithHint() argument 98 outHeight = 1; in EncodeWithHint() 105 int32_t& outHeight) { in Encode() argument 106 return EncodeWithHint(contents, format, outWidth, outHeight, 0); in Encode()
|
D | BC_OneDimWriter.h | 43 int32_t& outHeight); 53 int32_t& outHeight,
|
D | BC_OnedCodaBarWriter.cpp | 129 int32_t& outHeight, in EncodeWithHint() argument 133 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
|
D | BC_OnedCode128Writer.cpp | 127 int32_t& outHeight, in EncodeWithHint() argument 131 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
|