Home
last modified time | relevance | path

Searched refs:desiredWidth (Results 1 – 9 of 9) sorted by relevance

/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java246 public int getScaledWidth(int desiredWidth, int desiredHeight) { in getScaledWidth() argument
249 if (desiredWidth < 0 || desiredHeight < 0) in getScaledWidth()
252 if (desiredWidth == 0) in getScaledWidth()
253 desiredWidth = jpegWidth; in getScaledWidth()
260 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth()
263 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth()
287 public int getScaledHeight(int desiredWidth, int desiredHeight) { in getScaledHeight() argument
290 if (desiredWidth < 0 || desiredHeight < 0) in getScaledHeight()
293 if (desiredWidth == 0) in getScaledHeight()
294 desiredWidth = jpegWidth; in getScaledHeight()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java246 public int getScaledWidth(int desiredWidth, int desiredHeight) { in getScaledWidth() argument
249 if (desiredWidth < 0 || desiredHeight < 0) in getScaledWidth()
252 if (desiredWidth == 0) in getScaledWidth()
253 desiredWidth = jpegWidth; in getScaledWidth()
260 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth()
263 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth()
287 public int getScaledHeight(int desiredWidth, int desiredHeight) { in getScaledHeight() argument
290 if (desiredWidth < 0 || desiredHeight < 0) in getScaledHeight()
293 if (desiredWidth == 0) in getScaledHeight()
294 desiredWidth = jpegWidth; in getScaledHeight()
[all …]
/third_party/node/deps/npm/node_modules/cli-table3/src/
Dlayout-manager.js180 function makeComputeWidths(colSpan, desiredWidth, x, forcedMin) { argument
189 result[cell[x]] = Math.max(result[cell[x]] || 0, cell[desiredWidth] || 0, forcedMin);
213 if (cell[desiredWidth] > existingWidth) {
215 while (editableCols > 0 && cell[desiredWidth] > existingWidth) {
217 let dif = Math.round((cell[desiredWidth] - existingWidth) / editableCols);
Dcell.js75 this.desiredWidth = utils.strlen(this.content) + this.paddingLeft + this.paddingRight;
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPreRotationTest.cpp584 EGLint desiredWidth = 0; in TEST_P() local
589 desiredWidth = 300; in TEST_P()
595 desiredWidth = 200; in TEST_P()
598 mOSWindow->resize(desiredWidth, desiredHeight); in TEST_P()
602 mOSWindow->setOrientation(desiredWidth, desiredHeight); in TEST_P()
607 while ((actualWidth != desiredWidth) && (actualHeight != desiredHeight)) in TEST_P()
1227 EGLint desiredWidth = 300; in TEST_P() local
1229 mOSWindow->resize(desiredWidth, desiredHeight); in TEST_P()
1230 mOSWindow->setOrientation(desiredWidth, desiredHeight); in TEST_P()
1307 EGLint desiredWidth = 300; in TEST_P() local
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c749 jobjectArray dstobjs, jintArray jDstOffsets, jint desiredWidth, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument
773 width = desiredWidth; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
815 dstPlanes, desiredWidth, dstStrides, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c775 jobjectArray dstobjs, jintArray jDstOffsets, jint desiredWidth, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument
802 width = desiredWidth; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
854 dstPlanes, desiredWidth, dstStrides, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/third_party/libjpeg-turbo/
Dturbojpeg-jni.c784 jobjectArray dstobjs, jintArray jDstOffsets, jint desiredWidth, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument
808 width = desiredWidth; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
867 dstPlanes, desiredWidth, dstStrides, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dbinding.dart1467 final double desiredWidth = size.width;
1470 if ((actualWidth / actualHeight) > (desiredWidth / desiredHeight)) {
1472 shiftX = (actualWidth - desiredWidth * scale) / 2.0;
1475 scale = actualWidth / desiredWidth;