Home
last modified time | relevance | path

Searched refs:desiredHeight (Results 1 – 8 of 8) sorted by relevance

/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()
254 if (desiredHeight == 0) in getScaledWidth()
255 desiredHeight = jpegHeight; 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()
295 if (desiredHeight == 0) in getScaledHeight()
296 desiredHeight = jpegHeight; in getScaledHeight()
[all …]
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java255 public int getScaledWidth(int desiredWidth, int desiredHeight) { in getScaledWidth() argument
258 if (desiredWidth < 0 || desiredHeight < 0) in getScaledWidth()
263 if (desiredHeight == 0) in getScaledWidth()
264 desiredHeight = jpegHeight; in getScaledWidth()
269 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth()
272 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth()
296 public int getScaledHeight(int desiredWidth, int desiredHeight) { in getScaledHeight() argument
299 if (desiredWidth < 0 || desiredHeight < 0) in getScaledHeight()
304 if (desiredHeight == 0) in getScaledHeight()
305 desiredHeight = jpegHeight; in getScaledHeight()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPreRotationTest.cpp585 EGLint desiredHeight = 0; in TEST_P() local
590 desiredHeight = 200; in TEST_P()
596 desiredHeight = 300; 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()
1228 EGLint desiredHeight = 400; in TEST_P() local
1229 mOSWindow->resize(desiredWidth, desiredHeight); in TEST_P()
1230 mOSWindow->setOrientation(desiredWidth, desiredHeight); in TEST_P()
1308 EGLint desiredHeight = 400; in TEST_P() local
[all …]
/third_party/node/deps/npm/node_modules/cli-table3/src/
Dcell.js76 this.desiredHeight = this.lines.length;
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c750 jintArray jDstStrides, jint desiredHeight, jint flags) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument
774 height = desiredHeight; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
816 desiredHeight, flags) == -1) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/third_party/libjpeg-turbo/
Dturbojpeg-jni.c788 jintArray jDstStrides, jint desiredHeight, jint flags) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument
815 height = desiredHeight; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
867 desiredHeight, flags) == -1) { in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c776 jintArray jDstStrides, jint desiredHeight, jint flags) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument
803 height = desiredHeight; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
855 desiredHeight, flags) == -1) { in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dbinding.dart1468 final double desiredHeight = size.height;
1470 if ((actualWidth / actualHeight) > (desiredWidth / desiredHeight)) {
1471 scale = actualHeight / desiredHeight;
1477 shiftY = (actualHeight - desiredHeight * scale) / 2.0;