Home
last modified time | relevance | path

Searched refs:yScale (Results 1 – 25 of 28) 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/pdfium/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp57 int32_t yScale) { in getScaledMatrix() argument
58 size_t yMax = m_height * yScale; in getScaledMatrix()
67 bytearray = m_matrix[i / yScale]->getScaledRow(xScale); in getScaledMatrix()
DBC_PDF417BarcodeMatrix.h29 std::vector<uint8_t>& getScaledMatrix(int32_t xScale, int32_t yScale);
/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.cpp104 SkScalar yScale = 2/(pathBounds.fBottom - pathBounds.fTop); in GetSpotShadowTransform() local
106 0, yScale, -yScale*pathBounds.fTop - 1, in GetSpotShadowTransform()
DSkGpuBlurUtils.cpp28 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
30 rect->fTop = SkScalarFloorToInt(rect->fTop * yScale); in scale_irect_roundout()
32 rect->fBottom = SkScalarCeilToInt(rect->fBottom * yScale); in scale_irect_roundout()
35 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
37 rect->fTop *= yScale; in scale_irect()
39 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.cpp749 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() local
750 s->fX = yScale; in computeMatrices()
751 s->fY = yScale; in computeMatrices()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1090 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1097 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1175 const tcu::Vec4 dy = ((m_coordMax - m_coordMin) / h) * yScale; in verify()
1178 …::Vec4 dyThreshold = getDerivateThreshold(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1180 … dyThresholdW = getDerivateThresholdWarning(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1418 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1428 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1507 const tcu::Vec4 dy = ((m_texValueMax - m_texValueMin) / h) * yScale; in verify()
1510 …4 dyThreshold = getDerivateThreshold(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
1512 …esholdW = getDerivateThresholdWarning(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp995 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1002 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1065 const tcu::Vec4 dy = ((m_values.coordMax - m_values.coordMin) / h) * yScale; in verify()
1068 …DerivateThreshold(m_definitions.precision, m_values.coordMin*yScale, m_values.coordMax*yScale, dy); in verify()
1292 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1302 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1359 const tcu::Vec4 dy = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / h) * yScale; in verify()
1362 …d(m_definitions.precision, m_textureValues.texValueMin*yScale, m_textureValues.texValueMax*yScale,… in verify()
/external/skia/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/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/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/skia/tools/debugger/
DSkDrawCommand.cpp324 SkScalar yScale = SkIntToScalar(size.fHeight-2) / input.height(); in render_bitmap() local
327 yScale *= input.height() / (float) input.width(); in render_bitmap()
334 yScale * input.height()); in render_bitmap()
359 srcRect->fTop * yScale + SK_Scalar1, in render_bitmap()
361 srcRect->fBottom * yScale + SK_Scalar1); in render_bitmap()
/external/skia/src/pdf/
DSkPDFDevice.cpp979 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
983 glyph.fTop * yScale, in get_glyph_bounds_device_space()
985 (glyph.fTop + glyph.fHeight) * yScale}; in get_glyph_bounds_device_space()
/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.py731 yxScale=((int, float), False), yScale=((int, float), False),

12