/external/pdfium/xfa/src/fxbarcode/pdf417/ |
BC_PDF417Writer.cpp | 48 int32_t& outWidth,
69 int32_t width = outWidth;
71 outWidth = barcodeMatrix->getWidth();
74 if ((height > width) ^ (outWidth < outHeight)) {
75 rotateArray(originalScale, outHeight, outWidth);
78 outHeight = outWidth;
79 outWidth = temp;
81 int32_t scaleX = width / outWidth;
94 rotateArray(originalScale, outHeight, outWidth);
96 outHeight = outWidth;
[all...] |
BC_PDF417Writer.h | 16 int32_t& outWidth,
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
BitmapTransformation.java | 20 * public Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { 21 * if (toTransform.getWidth() == outWidth && toTransform.getHeight() == outHeight) { 25 * return Bitmap.createScaledBitmap(toTransform, outWidth, outHeight, true); 44 public final Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { 45 if (outWidth <= 0 || outHeight <= 0) { 46 throw new IllegalArgumentException("Cannot apply transformation on width: " + outWidth + " or height: " 50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); 71 * @param outWidth The ideal width of the transformed bitmap (does not need to match exactly). 74 protected abstract Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight);
|
CenterCrop.java | 27 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { 28 final Bitmap toReuse = pool.get(outWidth, outHeight, toTransform.getConfig() != null 30 Bitmap transformed = TransformationUtils.centerCrop(toReuse, toTransform, outWidth, outHeight);
|
FitCenter.java | 23 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { 24 return TransformationUtils.fitCenter(toTransform, pool, outWidth, outHeight);
|
BitmapDecoder.java | 21 * @param outWidth The target width for the returned bitmap (need not match exactly). 25 Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat)
|
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) { 96 * @param outWidth The width the final image should be close to. 103 public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat decodeFormat) { 138 final int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeight); 170 private int getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int outHeight) { 175 exactSampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight) [all...] |
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCodeWriter.h | 19 int32_t& outWidth,
24 int32_t& outWidth,
30 int32_t& outWidth,
|
BC_QRCodeWriter.cpp | 57 int32_t& outWidth,
87 outWidth = qr.GetMatrixWidth();
89 uint8_t* result = FX_Alloc2D(uint8_t, outWidth, outHeight);
90 FXSYS_memcpy(result, qr.GetMatrix()->GetArray(), outWidth * outHeight);
95 int32_t& outWidth,
103 int32_t& outWidth,
|
/external/glide/library/src/main/java/com/bumptech/glide/load/ |
Transformation.java | 24 * @param outWidth The width of the view or target the resource will be displayed in. 28 Resource<T> transform(Resource<T> resource, int outWidth, int outHeight);
|
MultiTransformation.java | 33 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { 37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight);
|
/external/pdfium/xfa/src/fxbarcode/datamatrix/ |
BC_DataMatrixWriter.h | 21 int32_t& outWidth,
|
BC_DataMatrixWriter.cpp | 53 int32_t& outWidth,
56 if (outWidth < 0 || outHeight < 0) {
81 outWidth = bytematrix->GetWidth();
83 uint8_t* result = FX_Alloc2D(uint8_t, outWidth, outHeight);
84 FXSYS_memcpy(result, bytematrix->GetArray(), outWidth * outHeight);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
GifBitmapWrapperTransformation.java | 30 public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) { 34 Resource<Bitmap> transformed = bitmapTransformation.transform(bitmapResource, outWidth, outHeight); 40 Resource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeight);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
FileImageRequest.java | 82 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); 84 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); 91 final int sampledWidth = options.outWidth / options.inSampleSize;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/ |
UnitTransformation.java | 25 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) {
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
Utils.java | 109 int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) { 112 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { 115 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; 124 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifDrawableTransformation.java | 24 public Resource<GifDrawable> transform(Resource<GifDrawable> resource, int outWidth, int outHeight) { 33 Resource<Bitmap> transformed = wrapped.transform(bitmapResource, outWidth, outHeight);
|
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OnedCodaBarWriter.h | 21 int32_t& outWidth,
26 int32_t& outWidth,
|
BC_OnedCode128Writer.h | 18 int32_t& outWidth,
24 int32_t& outWidth,
|
BC_OnedCode39Writer.h | 19 int32_t& outWidth,
24 int32_t& outWidth,
|
BC_OnedEAN13Writer.h | 21 int32_t& outWidth,
26 int32_t& outWidth,
|
BC_OnedEAN8Writer.h | 21 int32_t& outWidth,
26 int32_t& outWidth,
|
BC_OnedUPCAWriter.h | 22 int32_t& outWidth,
27 int32_t& outWidth,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpBitmapFetch.java | 52 if (o.outWidth == 0 || o.outHeight == 0) { 55 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight); 85 int w = o.outWidth;
|