Searched refs:sourceWidth (Results 1 – 6 of 6) sorted by relevance
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | Scaling.java | 51 …public Vector2 apply (float sourceWidth, float sourceHeight, float targetWidth, float targetHeight… in apply() argument 55 float sourceRatio = sourceHeight / sourceWidth; in apply() 56 … float scale = targetRatio > sourceRatio ? targetWidth / sourceWidth : targetHeight / sourceHeight; in apply() 57 temp.x = sourceWidth * scale; in apply() 63 float sourceRatio = sourceHeight / sourceWidth; in apply() 64 … float scale = targetRatio < sourceRatio ? targetWidth / sourceWidth : targetHeight / sourceHeight; in apply() 65 temp.x = sourceWidth * scale; in apply() 70 float scale = targetWidth / sourceWidth; in apply() 71 temp.x = sourceWidth * scale; in apply() 77 temp.x = sourceWidth * scale; in apply() [all …]
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
D | MipMapGenerator.java | 49 int sourceWidth = sourceImage.getWidth(); in scaleDown() local 56 … g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null); in scaleDown()
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 329 UMeasureFormatWidth sourceWidth = widthFromKey(key); in put() local 330 if (sourceWidth == UMEASFMT_WIDTH_COUNT) { in put() 345 cacheData.widthFallback[sourceWidth] = targetWidth; in put()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 830 FormatWidth sourceWidth = widthFromKey(key); in put() local 831 if (sourceWidth == null) { in put() 846 cacheData.widthFallback[sourceWidth.ordinal()] = targetWidth; in put()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 857 FormatWidth sourceWidth = widthFromKey(key); in put() local 858 if (sourceWidth == null) { in put() 873 cacheData.widthFallback[sourceWidth.ordinal()] = targetWidth; in put()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 766 const int sourceWidth = (m_blitDir == BLIT_DEFAULT_TO_TARGET) ? (getWidth()) : (fboTexW); in render() local 768 const int gridRenderWidth = de::min(256, sourceWidth); in render()
|