Home
last modified time | relevance | path

Searched refs:yScale (Results 1 – 25 of 26) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DHighamHall54Integrator.java119 final double yScale = FastMath.max(FastMath.abs(y0[j]), FastMath.abs(y1[j])); in estimateError() local
121 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in estimateError()
122 (vecAbsoluteTolerance[j] + vecRelativeTolerance[j] * yScale); in estimateError()
DDormandPrince54Integrator.java145 final double yScale = FastMath.max(FastMath.abs(y0[j]), FastMath.abs(y1[j])); in estimateError() local
147 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in estimateError()
148 (vecAbsoluteTolerance[j] + vecRelativeTolerance[j] * yScale); in estimateError()
DDormandPrince853Integrator.java264 final double yScale = FastMath.max(FastMath.abs(y0[j]), FastMath.abs(y1[j])); in estimateError() local
266 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in estimateError()
267 (vecAbsoluteTolerance[j] + vecRelativeTolerance[j] * yScale); in estimateError()
DAdamsBashforthIntegrator.java237 final double yScale = FastMath.abs(y[i]); in integrate() local
239 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in integrate()
240 (vecAbsoluteTolerance[i] + vecRelativeTolerance[i] * yScale); in integrate()
DAdamsMoultonIntegrator.java400 … final double yScale = FastMath.max(FastMath.abs(previous[i]), FastMath.abs(after[i])); in end() local
402 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in end()
403 (vecAbsoluteTolerance[i] + vecRelativeTolerance[i] * yScale); in end()
/external/skqp/src/core/
DSkDrawShadowInfo.cpp104 SkScalar yScale = 2/(pathBounds.fBottom - pathBounds.fTop); in GetSpotShadowTransform() local
106 0, yScale, -yScale*pathBounds.fTop - 1, in GetSpotShadowTransform()
DSkGpuBlurUtils.cpp27 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
29 rect->fTop = SkScalarFloorToInt(rect->fTop * yScale); in scale_irect_roundout()
31 rect->fBottom = SkScalarCeilToInt(rect->fBottom * yScale); in scale_irect_roundout()
34 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
36 rect->fTop *= yScale; in scale_irect()
38 rect->fBottom *= yScale; in scale_irect()
DSkRRect.cpp437 SkScalar yScale = matrix.getScaleY(); in transform() local
438 const bool flipY = yScale < 0; in transform()
440 yScale = -yScale; in transform()
446 dst->fRadii[i].fY = fRadii[i].fY * yScale; in transform()
DSkScalerContext.cpp721 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() local
722 s->fX = yScale; in computeMatrices()
723 s->fY = yScale; in computeMatrices()
/external/skia/src/core/
DSkDrawShadowInfo.cpp114 SkScalar yScale = 2/(pathBounds.fBottom - pathBounds.fTop); in GetSpotShadowTransform() local
116 0, yScale, -yScale*pathBounds.fTop - 1, in GetSpotShadowTransform()
DSkRRect.cpp475 SkScalar yScale = matrix.getScaleY(); in transform() local
485 yScale = matrix.getSkewX() * (isClockwise ? -1 : 1); in transform()
506 const bool flipY = yScale < 0; in transform()
508 yScale = -yScale; in transform()
514 dst->fRadii[i].fY *= yScale; in transform()
DSkScalerContext.cpp866 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() local
867 s->fX = yScale; in computeMatrices()
868 s->fY = yScale; in computeMatrices()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1106 const tcu::Vec4 yScale = tcu::Vec4(0.5f, 0.5f, 0.5f, -0.5f); in verify() local
1114 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1192 const tcu::Vec4 dy = ((m_coordMax - m_coordMin) / h) * yScale; in verify()
1195 …::Vec4 dyThreshold = getDerivateThreshold(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1197 … dyThresholdW = getDerivateThresholdWarning(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1436 const tcu::Vec4 yScale = tcu::Vec4(0.5f, 1.0f, 0.5f, -0.5f); in verify() local
1446 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1525 const tcu::Vec4 dy = ((m_texValueMax - m_texValueMin) / h) * yScale; in verify()
1528 …4 dyThreshold = getDerivateThreshold(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
1530 …esholdW = getDerivateThresholdWarning(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
/external/angle/third_party/vulkan_memory_allocator/src/
DCommon.h244 float yScale = 1.0f / tan(fovY * 0.5f); in Perspective() local
245 float xScale = yScale / aspectRatio; in Perspective()
248 0.0f, yScale, 0.0f, 0.0f, in Perspective()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp998 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1005 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1068 const tcu::Vec4 dy = ((m_values.coordMax - m_values.coordMin) / h) * yScale; in verify()
1071 …DerivateThreshold(m_definitions.precision, m_values.coordMin*yScale, m_values.coordMax*yScale, dy); in verify()
1295 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1305 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1362 const tcu::Vec4 dy = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / h) * yScale; in verify()
1365 …d(m_definitions.precision, m_textureValues.texValueMin*yScale, m_textureValues.texValueMax*yScale,… in verify()
/external/skqp/tests/
DRoundRectTest.cpp670 SkScalar yScale = 3.2f; in test_transform_helper() local
673 matrix.setScaleY(yScale); in test_transform_helper()
682 orig.radii((SkRRect::Corner) i).fY * yScale)); in test_transform_helper()
687 orig.rect().height() * yScale)); in test_transform_helper()
691 orig.rect().top() * yScale)); in test_transform_helper()
/external/python/cpython2/Lib/lib-tk/
DCanvas.py185 def scale(self, xOrigin, yOrigin, xScale, yScale): argument
186 self._do('scale', xOrigin, yOrigin, xScale, yScale)
/external/pdfium/fpdfsdk/
Dfpdf_ppo.cpp117 const float yScale = m_subPageSize.height / pagesize.height; in CalculatePageEdit() local
118 settings.scale = std::min(xScale, yScale); in CalculatePageEdit()
122 if (xScale > yScale) in CalculatePageEdit()
/external/skia/tests/
DRoundRectTest.cpp671 SkScalar yScale = 3.2f; in test_transform_helper() local
674 matrix.setScaleY(yScale); in test_transform_helper()
683 orig.radii((SkRRect::Corner) i).fY * yScale)); in test_transform_helper()
688 orig.rect().height() * yScale)); in test_transform_helper()
692 orig.rect().top() * yScale)); in test_transform_helper()
/external/skqp/tools/debugger/
DSkDrawCommand.cpp323 SkScalar yScale = SkIntToScalar(size.fHeight-2) / input.height(); in render_bitmap() local
326 yScale *= input.height() / (float) input.width(); in render_bitmap()
333 yScale * input.height()); in render_bitmap()
358 srcRect->fTop * yScale + SK_Scalar1, in render_bitmap()
360 srcRect->fBottom * yScale + SK_Scalar1); in render_bitmap()
/external/skqp/src/pdf/
DSkPDFDevice.cpp992 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
996 glyph.fTop * yScale, in get_glyph_bounds_device_space()
998 (glyph.fTop + glyph.fHeight) * yScale}; in get_glyph_bounds_device_space()
/external/fonttools/Lib/fontTools/ufoLib/
Dvalidators.py725 yxScale=((int, float), False), yScale=((int, float), False),
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1083 float xScale = scale, yScale = scale; in onDraw() local
1086 yScale = scale * ((float)sHeight/bitmap.getHeight()); in onDraw()
1091 matrix.postScale(xScale, yScale); in onDraw()
/external/skia/src/pdf/
DSkPDFDevice.cpp734 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
736 SkRect glyphBounds = SkMatrix::Scale(xScale, yScale).mapRect(glyph->rect()); in get_glyph_bounds_device_space()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2870 …const float yScale = static_cast<float>(blit.srcOffsets[1].y - blit.srcOffsets[0].y) / static_cast… in forEach() local
2883 …(yScale * (static_cast<float>(y - blit.dstOffsets[0].y) + 0.5f) + static_cast<float>(blit.srcOffse… in forEach()
3213 const int yScale = (mirrorMode & MIRROR_MODE_Y) ? -1 : 1; in blit() local
3220 …loat)y + 0.5f) * sY, ((float)z + 0.5f) * sZ)), x * xScale + xOffset, y * yScale + yOffset, z * zSc… in blit()

12