Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c45 GLfloat yScale, yBias; in update_viewport() local
53 yScale = -1; in update_viewport()
58 yScale = 1.0; in update_viewport()
73 st->state.viewport.scale[1] = half_height * yScale; in update_viewport()
78 st->state.viewport.translate[1] = (half_height + y) * yScale + yBias; in update_viewport()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_viewport.c45 GLfloat yScale, yBias; in update_viewport() local
53 yScale = -1; in update_viewport()
58 yScale = 1.0; in update_viewport()
73 st->state.viewport.scale[1] = half_height * yScale; in update_viewport()
78 st->state.viewport.translate[1] = (half_height + y) * yScale + yBias; in update_viewport()
/external/chromium-trace/trace-viewer/src/tracing/tracks/
Dcounter_track.js109 var yScale = height / counter.maxTotal;
140 var yView = height - (yScale * y);
188 var yView = height - (yScale * y);
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DAffineTransform.cpp76 double AffineTransform::yScale() const in yScale() function in blink::AffineTransform
252 double height2 = size.height() * yScale(); in mapSize()
260 double height2 = size.height() * yScale(); in mapSize()
317 double sy = yScale(); in decompose()
DAffineTransform.h105 double yScale() const;
/external/chromium_org/third_party/skia/src/core/
DSkRRect.cpp364 SkScalar yScale = matrix.getScaleY(); in transform() local
365 const bool flipY = yScale < 0; in transform()
367 yScale = -yScale; in transform()
373 dst->fRadii[i].fY = SkScalarMul(fRadii[i].fY, yScale); in transform()
/external/skia/src/core/
DSkRRect.cpp351 SkScalar yScale = matrix.getScaleY(); in transform() local
352 const bool flipY = yScale < 0; in transform()
354 yScale = -yScale; in transform()
360 dst->fRadii[i].fY = SkScalarMul(fRadii[i].fY, yScale); in transform()
/external/skia/src/effects/
DSkGpuBlurUtils.cpp24 static void scale_rect(SkRect* rect, float xScale, float yScale) { in scale_rect() argument
26 rect->fTop = SkScalarMul(rect->fTop, yScale); in scale_rect()
28 rect->fBottom = SkScalarMul(rect->fBottom, yScale); in scale_rect()
/external/skia/tests/
DRoundRectTest.cpp542 SkScalar yScale = 3.2f; in test_transform_helper() local
545 matrix.setScaleY(yScale); in test_transform_helper()
554 SkScalarMul(orig.radii((SkRRect::Corner) i).fY, yScale))); in test_transform_helper()
559 SkScalarMul(orig.rect().height(), yScale))); in test_transform_helper()
563 SkScalarMul(orig.rect().top(), yScale))); in test_transform_helper()
/external/chromium_org/third_party/skia/src/effects/
DSkGpuBlurUtils.cpp24 static void scale_rect(SkRect* rect, float xScale, float yScale) { in scale_rect() argument
26 rect->fTop = SkScalarMul(rect->fTop, yScale); in scale_rect()
28 rect->fBottom = SkScalarMul(rect->fBottom, yScale); in scale_rect()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DBoxDecorationData.cpp33 FloatSize contextScaling(static_cast<float>(ctm.xScale()), static_cast<float>(ctm.yScale())); in determineBackgroundBleedAvoidance()
/external/chromium_org/third_party/skia/tests/
DRoundRectTest.cpp542 SkScalar yScale = 3.2f; in test_transform_helper() local
545 matrix.setScaleY(yScale); in test_transform_helper()
554 SkScalarMul(orig.radii((SkRRect::Corner) i).fY, yScale))); in test_transform_helper()
559 SkScalarMul(orig.rect().height(), yScale))); in test_transform_helper()
563 SkScalarMul(orig.rect().top(), yScale))); in test_transform_helper()
DSkResourceCacheTest.cpp21 SkScalar yScale) { in is_in_scaled_image_cache() argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGRenderingContext.cpp204 return narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); in calculateScreenFontSizeScalingFactor()
286 …* transform.xScale())), static_cast<int>(ceil(expandedBoundingBox.height() * transform.yScale()))); in bufferForeground()
DRenderSVGResourcePattern.cpp85 static_cast<float>(m_attributes.patternTransform().yScale())); in buildPattern()
DRenderSVGResourceFilter.cpp175 scaleAndTranslate.scale(ctm.xScale(), ctm.yScale()); in drawDeferredFilter()
DSVGTextQuery.cpp387 fragmentTransform.scale(1 / fragmentTransform.xScale(), 1 / fragmentTransform.yScale()); in rotationOfCharacterCallback()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1055 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1062 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1122 const tcu::Vec4 dy = ((m_coordMax - m_coordMin) / h) * yScale; in verify()
1125 …u::Vec4 dyThreshold = getDerivateThreshold(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1347 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1357 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1411 const tcu::Vec4 dy = ((m_texValueMax - m_texValueMin) / h) * yScale; in verify()
1414 …c4 dyThreshold = getDerivateThreshold(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
/external/chromium_org/third_party/skia/src/utils/debugger/
DSkDrawCommand.cpp136 SkScalar yScale = SkIntToScalar(size.fHeight-2) / input.height(); in render_bitmap() local
139 yScale *= input.height() / (float) input.width(); in render_bitmap()
146 yScale * input.height()); in render_bitmap()
153 srcRect->fTop * yScale + SK_Scalar1, in render_bitmap()
155 srcRect->fBottom * yScale + SK_Scalar1); in render_bitmap()
/external/skia/src/utils/debugger/
DSkDrawCommand.cpp133 SkScalar yScale = SkIntToScalar(size.fHeight-2) / input.height(); in render_bitmap() local
136 yScale *= input.height() / (float) input.width(); in render_bitmap()
143 yScale * input.height()); in render_bitmap()
150 srcRect->fTop * yScale + SK_Scalar1, in render_bitmap()
152 srcRect->fBottom * yScale + SK_Scalar1); in render_bitmap()
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusPath.h1638 OUT REAL* yScale) const in GetFocusScales() argument
1641 (GpPathGradient*) nativeBrush, xScale, yScale)); in GetFocusScales()
1645 IN REAL yScale) in SetFocusScales() argument
1648 (GpPathGradient*) nativeBrush, xScale, yScale)); in SetFocusScales()
DGdiPlusFlat.h913 GdipGetPathGradientFocusScales(GpPathGradient *brush, REAL* xScale, REAL* yScale);
916 GdipSetPathGradientFocusScales(GpPathGradient *brush, REAL xScale, REAL yScale);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.cpp214 SkScalar ctmScaleY = ctm.yScale(); in drawPattern()
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
DSVGImage.cpp233 FloatSize imageBufferScale = FloatSize(transform.xScale(), transform.yScale()); in drawPatternForContainer()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp1805 …l(size.width() * transform.xScale())), static_cast<int>(ceil(size.height() * transform.yScale()))); in createRasterBuffer()

12