Searched refs:fScale (Results 1 - 25 of 51) sorted by relevance

123

/external/skia/samplecode/
H A DSampleAnimatedText.cpp44 AnimatedTextView() : fScale(1.0f), fScaleInc(0.1f), fRotation(0.0f), fSizeScale(1) {
114 canvas->scale(fScale, fScale);
137 fScale += (fScaleInc + gRand.nextRangeF(-0.025f, 0.025f));
138 if (fScale >= 2.0f) {
140 } else if (fScale <= 1.0f) {
147 float fScale; member in class:AnimatedTextView
H A DSampleShadowing.cpp44 fSliders[0].fScale = 0.1f;
48 fSliders[1].fScale = 10.0f;
52 fSliders[2].fScale = 0.0025f;
175 fSliders[fSelectedSliderID].fScale +
284 SkScalar fScale; member in struct:ShadowingView::__anon16912
H A DSampleAtlas.cpp78 SkScalar fScale; member in struct:DrawAtlasDrawable::Rec
104 fScale += fDScale;
105 if (fScale > 2 || fScale < SK_Scalar1/2) {
123 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(),
158 fRec[i].fScale = 1;
H A DSampleFilterQuality.cpp146 AnimValue fScale, fAngle; member in class:FilterQualityView
156 fScale.set(1, SK_Scalar1 / 8, 1);
183 case '3': fScale.inc(-SCALE_DELTA); this->inval(nullptr); return true;
184 case '4': fScale.inc( SCALE_DELTA); this->inval(nullptr); return true;
203 canvas->scale(fScale, fScale);
282 str.appendScalar(fScale);
H A DSampleVertices.cpp64 fScale = SK_Scalar1;
79 SkScalar fScale; member in class:VerticesView
/external/skia/src/core/
H A DSkTextToPathIter.h24 SkScalar fScale; member in class:SkTextBaseIter
43 SkScalar getPathScale() const { return fScale; }
78 SkScalar width = (&glyph.fAdvanceX)[0] * fScale;
90 fBounds[i] = bound / fScale;
H A DSkMipMap.h54 SkSize fScale; // < 1.0 member in struct:SkMipMap::Level
H A DSkBlitter_RGB16.cpp71 unsigned fScale; member in class:SkRGB16_Blitter
72 uint16_t fColor16; // already scaled by fScale
511 fScale = SkAlpha255To256(SkColorGetA(color));
525 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS),
526 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS),
527 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS));
544 if (!fDoDither && 256 == fScale) {
564 unsigned scale = fScale;
613 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16);
625 unsigned scale256 = fScale;
[all...]
/external/skia/bench/
H A DSKPBench.cpp28 , fScale(scale)
84 fSurfaces.top()->getCanvas()->scale(fScale, fScale);
136 trans.setTranslate(-fTileRects[j].fLeft/fScale,
137 -fTileRects[j].fTop/fScale);
150 const SkMatrix trans = SkMatrix::MakeTrans(-fTileRects[j].fLeft / fScale,
151 -fTileRects[j].fTop / fScale);
H A DSKPBench.h52 const SkScalar fScale; member in class:SKPBench
H A DPatchBench.cpp34 : fScale(scale)
105 fScale.x(), fScale.y());
126 canvas->scale(fScale.x(), fScale.y());
149 SkVector fScale; member in class:PatchBench
/external/swiftshader/third_party/PowerVR_SDK/Tools/
H A DPVRTPrint3D.cpp486 @param[in] fScale Text scale
493 EPVRTError CPVRTPrint3D::Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour, const CPVRTArray<PVRTuint32>& UTF32, bool bUpdate) argument
524 m_nCachedNumVerts = UpdateLine(0.0f, fPosX, fPosY, fScale, Colour, UTF32, m_pPrint3dVtx);
537 @param[in] fScale Scale of the text
546 EPVRTError CPVRTPrint3D::Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour, const wchar_t * const pszFormat, ...) argument
571 if(wcscmp(s_Text, m_pwzPreviousString) != 0 || m_fPrevX != fPosX || m_fPrevY != fPosY || m_fPrevScale != fScale || m_uiPrevCol != Colour)
577 m_fPrevScale = fScale;
599 return Print3D(fPosX, fPosY, fScale, Colour, m_CachedUTF32, bUpdate);
606 @param[in] fScale Scale of the text
616 EPVRTError CPVRTPrint3D::Print3D(float fPosX, float fPosY, const float fScale, unsigne argument
710 MeasureText( float * const pfWidth, float * const pfHeight, float fScale, const CPVRTArray<PVRTuint32>& utf32) argument
771 MeasureText( float * const pfWidth, float * const pfHeight, float fScale, const char * const pszUTF8) argument
789 MeasureText( float * const pfWidth, float * const pfHeight, float fScale, const wchar_t* const pszUnicode) argument
843 UpdateLine(const float fZPos, float XPos, float YPos, const float fScale, const unsigned int Colour, const CPVRTArray<PVRTuint32>& Text, SPVRTPrint3DAPIVertex * const pVertices) argument
[all...]
H A DPVRTPrint3D.h173 @param[in] fScale Scale of the text
178 EPVRTError Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour, const char * const pszFormat, ...);
188 @param[in] fScale Scale of the text
193 EPVRTError Print3D(float fPosX, float fPosY, const float fScale, unsigned int Colour, const wchar_t * const pszFormat, ...);
213 @param[in] fScale A value to scale the font by
219 float fScale,
226 @param[in] fScale A value to scale the font by
233 float fScale,
273 @param[in] fScale
279 unsigned int UpdateLine(const float fZPos, float XPos, float YPos, const float fScale, cons
[all...]
H A DPVRTShadowVol.cpp1038 float fScale, x, y, w; local
1063 // TODO: if fScale > 0.5f, do the lerp in the other direction; this is
1064 // because we want fScale to be close to 0, not 1, to retain accuracy.
1065 fScale = (0 - pv0->z) / (pv1->z - pv0->z);
1067 x = fScale * pv1->x + (1.0f - fScale) * pv0->x;
1068 y = fScale * pv1->y + (1.0f - fScale) * pv0->y;
1069 w = fScale * pv1->w + (1.0f - fScale) * pv
[all...]
/external/skia/src/gpu/ops/
H A DGrDrawPathOp.cpp100 , fScale(scale) {
112 this->transformType() != that->transformType() || this->fScale != that->fScale ||
176 drawMatrix.preScale(fScale, fScale);
180 localMatrix.setScale(fScale, fScale);
/external/skia/gm/
H A Dlcdtext.cpp108 SkScalar fScale; member in struct:LcdTextSizeGM::__anon16799
122 ScaleAbout(canvas, rec[i].fScale, rec[i].fScale, loc.x(), loc.y());
H A Ddrawatlas.cpp58 SkScalar fScale; member in struct:DrawAtlasGM::__anon16783
65 xform->fSCos = fScale * SkScalarCos(rad);
66 xform->fSSin = fScale * SkScalarSin(rad);
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
H A DPVRTPrint3DAPI.cpp544 float fScale = 1.0f; local
546 fScale = 2.0f;
565 const float fLogoXShift = 0.035f / fScale;
566 const float fLogoYShift = 0.035f / fScale;
594 PVRTMatrixScaling(matTransform, f2vt(fScale), f2vt(fScale), f2vt(1.0f));
599 PVRTMatrixTranslation(matTransform, nXPos - (fLogoSizeXHalfShifted * fScale * nXPos), nYPos - (fLogoSizeYHalfShifted * fScale * nYPos), 0.0f);
/external/skia/include/effects/
H A DSkDisplacementMapEffect.h55 SkScalar fScale; member in class:SkDisplacementMapEffect
/external/dng_sdk/source/
H A Ddng_gain_map.cpp35 dng_point_real64 fScale; member in class:dng_gain_map_interpolator
103 , fScale (1.0 / mapBounds.H (),
124 real64 rowIndexF = (fScale.v * (row + fOffset.v) -
190 real64 colIndexF = ((fScale.h * (fColumn + fOffset.h)) -
200 fResetColumn = (int32) ceil (fMap.Origin ().h / fScale.h - fOffset.h);
237 fValueStep = (real32) ((delta * fScale.h) / fMap.Spacing ().h);
240 fMap.Origin ().h) / fScale.h - fOffset.h);
H A Ddng_misc_opcodes.cpp837 , fScale (1.0f)
856 , fScale (1.0f)
963 fScale = (real32) (1.0 / scale32);
1009 real32 rowDelta = *(table++) * fScale;
1043 , fScale (1.0f)
1062 , fScale (1.0f)
1169 fScale = (real32) (1.0 / scale32);
1216 real32 colDelta = *(table++) * fScale;
H A Ddng_misc_opcodes.h267 real32 fScale; member in class:dng_opcode_DeltaPerRow
308 real32 fScale; member in class:dng_opcode_DeltaPerColumn
/external/skia/src/effects/
H A DSkDisplacementMapEffect.cpp190 , fScale(scale) {
210 buffer.writeScalar(fScale);
238 const SkVector& scale() const { return fScale; }
269 SkVector fScale; member in class:GrDisplacementMapEffect
323 SkVector scale = SkVector::Make(fScale, fScale);
417 bounds.outset(SkScalarAbs(fScale) * SK_ScalarHalf, SkScalarAbs(fScale) * SK_ScalarHalf);
423 SkVector scale = SkVector::Make(fScale, fScale);
[all...]
/external/skia/src/ports/
H A DSkFontHost_FreeType.cpp485 SkVector fScale; member in class:SkScalerContext_FreeType
830 fRec.computeMatrices(SkScalerContextRec::kFull_PreMatrixScale, &fScale, &fMatrix22Scalar);
832 FT_F26Dot6 scaleX = SkScalarToFDot6(fScale.fX);
833 FT_F26Dot6 scaleY = SkScalarToFDot6(fScale.fY);
935 fFaceRec->fFace->family_name, fScale.fX, fScale.fY, err));
942 fFaceRec->fFace->family_name, fScale.fY));
956 fMatrix22Scalar.preScale(fScale.x() / fFaceRec->fFace->size->metrics.x_ppem,
957 fScale.y() / fFaceRec->fFace->size->metrics.y_ppem);
974 SkDEBUGF(("Unknown kind of font \"%s\" size %f.\n", fFaceRec->fFace->family_name, fScale
[all...]
/external/icu/icu4c/source/i18n/
H A Ddecimfmtimpl.cpp53 fScale(0),
80 fScale(0),
94 fScale(other.fScale),
136 fScale = other.fScale;
179 && (fScale == other.fScale)
283 digits.shiftDecimalRight(fScale);
287 if (fScale !
[all...]

Completed in 452 milliseconds

123