Home
last modified time | relevance | path

Searched refs:getScaleX (Results 1 – 25 of 63) sorted by relevance

123

/external/skia/src/core/
DSkTextMapStateProc.h20 , fScaleX(fMatrix.getScaleX()) { in SkTextMapStateProc()
29 fOffset.set(offset.x() * fMatrix.getScaleX() + fMatrix.getTranslateX(), in SkTextMapStateProc()
DSkFont.cpp47 return SkFont::Make(sk_ref_sp(this->getTypeface()), newSize, this->getScaleX(), in makeWithSize()
52 return SkFont::Make(sk_ref_sp(this->getTypeface()), this->getSize(), this->getScaleX(), in makeWithFlags()
DSkLinearBitmapPipeline.cpp361 if (inverse.getScaleX() >= 0.0f) { in SkLinearBitmapPipeline()
371 SkScalar dx = adjustedInverse.getScaleX(); in SkLinearBitmapPipeline()
478 SkVector{inverse.getScaleX(), inverse.getScaleY()}, in chooseMatrix()
491 SkVector{inverse.getScaleX(), inverse.getScaleY()}, in chooseMatrix()
498 } else if (inverse.getScaleX() != 1.0f || inverse.getScaleY() != 1.0f) { in chooseMatrix()
502 SkVector{inverse.getScaleX(), inverse.getScaleY()}); in chooseMatrix()
DSkBitmapController.cpp68 SkScalar invScaleSqr = invMat.getScaleX() * invMat.getScaleY(); in cache_size_okay()
94 SkScalar invScaleX = fInvMatrix.getScaleX(); in processHQRequest()
DSkScalerContext.cpp711 SkVector diag[4] = { { A.getScaleX() , A.getSkewY() }, in computeMatrices()
713 { A.getScaleX() + A.getSkewX(), A.getScaleY() + A.getSkewY() }, in computeMatrices()
714 { A.getScaleX() - A.getSkewX(), A.getScaleY() - A.getSkewY() }, }; in computeMatrices()
734 bool skewedOrFlipped = A.getSkewX() || A.getSkewY() || A.getScaleX() < 0 || A.getScaleY() < 0; in computeMatrices()
788 (kVertical_PreMatrixScale == preMatrixScale && A.getScaleX() == A.getScaleY()))) in computeMatrices()
796 sA->setScaleX(A.getScaleX() / s->fY); in computeMatrices()
DSkPictureShader.cpp180 scale.set(SkScalarSqrt(m.getScaleX() * m.getScaleX() + m.getSkewX() * m.getSkewX()), in refBitmapShader()
DSkMatrixPriv.h84 const SkScalar sx = mx.getScaleX(); in SetMappedRectFan()
DSkBitmapProcState.h229 biasX = (s.fInvMatrix.getScaleX() > 0);
DSkBitmapProcState.cpp200 fInvSx = SkScalarToFixed(fInvMatrix.getScaleX()); in chooseProcs()
201 fInvSxFractionalInt = SkScalarToFractionalInt(fInvMatrix.getScaleX()); in chooseProcs()
/external/skia/debugger/QT/
DSkCanvasWidget.cpp120 Q_EMIT scaleFactorChanged(fUserMatrix.getScaleX()); in resetWidgetTransform()
144 Q_EMIT scaleFactorChanged(fUserMatrix.getScaleX()); in zoom()
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DSpriteAccessor.java22 returnValues[0] = target.getScaleX(); in getValues()
DSprite.java63 public float getScaleX() { in getScaleX() method in Sprite
/external/skia/tools/lua/
Dbitmap_statistics.lua38 if matrix:getScaleX() > 1 or matrix:getScaleY() > 1 then
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMatrix.java67 public float getScaleX() { in getScaleX() method in ShadowMatrix
DShadowImageView.java149 canvas.scale(shadowOf(matrix).getScaleX(), shadowOf(matrix) in draw()
/external/skia/src/gpu/instanced/
DInstancedRendering.cpp51 op->appendParamsTexel(localMatrix.getScaleX(), localMatrix.getSkewX(), in recordRect()
142 m[0] = viewMatrix.getScaleX() * sx; in recordShape()
145 viewMatrix.getScaleX() * tx + viewMatrix.getSkewX() * ty; in recordShape()
176 m[0] = SkScalarToFloat(shapeMatrix.getScaleX()); in recordShape()
/external/skia/src/gpu/text/
DGrAtlasTextBlob.cpp221 if (fInitialViewMatrix.getScaleX() != viewMatrix.getScaleX() || in mustRegenerate()
233 viewMatrix.getScaleX() * (x - fInitialX) + in mustRegenerate()
323 newViewMatrix.getScaleX() * (newX - currentX) + in calculate_translation()
/external/skia/include/core/
DSkFont.h136 SkScalar getScaleX() const { return fScaleX; } in getScaleX() function
/external/skia/src/effects/gradients/
DSk4fLinearGradient.cpp131 const bool reverseIntervals = this->isFast() && std::signbit(fDstToPos.getScaleX()); in LinearGradient4fContext()
147 const int search_dir = fDstToPos.getScaleX() >= 0 ? 1 : -1; in findInterval()
254 const SkScalar dx = fDstToPos.getScaleX(); in shadeSpanInternal()
DSkSweepGradient.cpp98 dx = matrix.getScaleX(); in shadeSpan()
/external/skia/experimental/
DSkSetPoly3To3.cpp66 matrix->getScaleX(), matrix->getSkewX())); in SkSetPoly3To3()
DSkSetPoly3To3_D.cpp71 matrix->getScaleX(), matrix->getSkewX())); in SkSetPoly3To3_D()
DSkSetPoly3To3_A.cpp81 matrix->getScaleX(), matrix->getSkewX())); in SkSetPoly3To3_A()
/external/skia/tests/
DFontObjTest.cpp33 REPORTER_ASSERT(reporter, font->getScaleX() == paint.getTextScaleX()); in test_cachedfont()
/external/skia/src/utils/
DSkShadowUtils.cpp215 } else if (matrix.getScaleX() != m.getScaleX() || in find()

123