Home
last modified time | relevance | path

Searched refs:inHeight (Results 1 – 4 of 4) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DDownsampler.java38 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) {
135 final int inHeight = inDimens[1]; in decode() local
138 …final int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeigh… in decode()
141 downsampleWithSize(stream, options, pool, inWidth, inHeight, sampleSize, in decode()
170 …private int getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int… in getRoundedSampleSize() argument
175 exactSampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight); in getRoundedSampleSize()
[all …]
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/
DImageUtils.java319 final int inHeight = transpose ? srcWidth : srcHeight; in getTransformationMatrix() local
322 if (inWidth != dstWidth || inHeight != dstHeight) { in getTransformationMatrix()
324 final float scaleFactorY = dstHeight / (float) inHeight; in getTransformationMatrix()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1265 upscale_teximage2d(GLsizei inWidth, GLsizei inHeight, in upscale_teximage2d() argument
1273 assert(outHeight >= inHeight); in upscale_teximage2d()
1275 assert(inWidth == 1 || inWidth == 2 || inHeight == 1 || inHeight == 2); in upscale_teximage2d()
1281 const GLint ii = i % inHeight; in upscale_teximage2d()
/external/python/cpython2/Mac/Modules/dlg/
D_Dlgmodule.c635 SInt16 inHeight; in DlgObj_SizeDialogItem() local
642 &inHeight)) in DlgObj_SizeDialogItem()
647 inHeight); in DlgObj_SizeDialogItem()