Searched defs:SK_Scalar1 (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/skia/samplecode/
H A DSampleDash.cpp28 matrix.setScale(SkIntToScalar(width), SK_Scalar1); local
/external/skia/samplecode/
H A DSampleDash.cpp28 matrix.setScale(SkIntToScalar(width), SK_Scalar1); local
/external/chromium_org/third_party/skia/gm/
H A Dcolormatrix.cpp74 SkIntToScalar(y), SK_Scalar1, SK_Scalar1), paint); local
147 SkScalar s1 = SK_Scalar1;
H A Dgmmain.cpp607 SkScalar scale = SK_Scalar1,
1013 SkScalar scale = SK_Scalar1) {
1642 if (SK_Scalar1 != replayScale) {
2181 *outScales->append() = SK_Scalar1; // By default only test at scale 1.0
2346 perspective.setPerspY(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)));
605 generate_image_from_picture(GM* gm, const ConfigData& gRec, SkPicture* pict, SkBitmap* bitmap, SkScalar scale = SK_Scalar1, bool tile = false) argument
1012 generate_new_picture(GM* gm, BbhType bbhType, uint32_t recordFlags, SkScalar scale = SK_Scalar1) argument
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgram.h117 combined.setAll(SkIntToScalar(2) / fRenderTargetSize.fWidth, 0, -SK_Scalar1,
118 0, -SkIntToScalar(2) / fRenderTargetSize.fHeight, SK_Scalar1, local
121 combined.setAll(SkIntToScalar(2) / fRenderTargetSize.fWidth, 0, -SK_Scalar1,
122 0, SkIntToScalar(2) / fRenderTargetSize.fHeight, -SK_Scalar1,
/external/skia/gm/
H A Dcolormatrix.cpp74 SkIntToScalar(y), SK_Scalar1, SK_Scalar1), paint); local
147 SkScalar s1 = SK_Scalar1;
H A Dgmmain.cpp606 SkScalar scale = SK_Scalar1,
1012 SkScalar scale = SK_Scalar1) {
1649 if (SK_Scalar1 != replayScale) {
2154 *outScales->append() = SK_Scalar1; // By default only test at scale 1.0
2314 perspective.setPerspY(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)));
604 generate_image_from_picture(GM* gm, const ConfigData& gRec, SkPicture* pict, SkBitmap* bitmap, SkScalar scale = SK_Scalar1, bool tile = false) argument
1011 generate_new_picture(GM* gm, BbhType bbhType, uint32_t recordFlags, SkScalar scale = SK_Scalar1) argument
/external/skia/src/gpu/gl/
H A DGrGLProgram.h120 combined.setAll(SkIntToScalar(2) / fRenderTargetSize.fWidth, 0, -SK_Scalar1,
121 0, -SkIntToScalar(2) / fRenderTargetSize.fHeight, SK_Scalar1, local
124 combined.setAll(SkIntToScalar(2) / fRenderTargetSize.fWidth, 0, -SK_Scalar1,
125 0, SkIntToScalar(2) / fRenderTargetSize.fHeight, -SK_Scalar1,
/external/chromium_org/third_party/skia/include/core/
H A DSkScalar.h18 /** SK_Scalar1 is defined to be 1.0 represented as an SkScalar
20 #define SK_Scalar1 (1.0f) macro
21 /** SK_Scalar1 is defined to be 1/2 represented as an SkScalar
142 #define SkScalarInvert(x) (SK_Scalar1 / (x))
143 #define SkScalarFastInvert(x) (SK_Scalar1 / (x))
200 return x < 0 ? -SK_Scalar1 : ((x > 0) ? SK_Scalar1 : 0);
203 #define SK_ScalarNearlyZero (SK_Scalar1 / (1 << 12))
221 t must be [0..SK_Scalar1]
224 SkASSERT(t >= 0 && t <= SK_Scalar1);
[all...]
/external/skia/include/core/
H A DSkScalar.h18 /** SK_Scalar1 is defined to be 1.0 represented as an SkScalar
20 #define SK_Scalar1 (1.0f) macro
21 /** SK_Scalar1 is defined to be 1/2 represented as an SkScalar
142 #define SkScalarInvert(x) (SK_Scalar1 / (x))
143 #define SkScalarFastInvert(x) (SK_Scalar1 / (x))
200 return x < 0 ? -SK_Scalar1 : ((x > 0) ? SK_Scalar1 : 0);
203 #define SK_ScalarNearlyZero (SK_Scalar1 / (1 << 12))
221 t must be [0..SK_Scalar1]
224 SkASSERT(t >= 0 && t <= SK_Scalar1);
[all...]
/external/chromium_org/third_party/skia/include/utils/
H A DSkMatrix44.h70 SkVector4(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) { argument
89 bool equals(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) { argument
94 void set(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) { argument
/external/skia/include/utils/
H A DSkMatrix44.h70 SkVector4(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) { argument
89 bool equals(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) { argument
94 void set(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) { argument
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_mac.cpp280 SkScalar sx = SK_Scalar1,
281 SkScalar sy = SK_Scalar1) {
1311 SkScalar scaleX = SK_Scalar1;
1312 SkScalar scaleY = SK_Scalar1;
1332 scaleY = SK_Scalar1; // want hinting in the Y direction
1335 scaleX = SK_Scalar1; // want hinting in the X direction
279 MatrixToCGAffineTransform(const SkMatrix& matrix, SkScalar sx = SK_Scalar1, SkScalar sy = SK_Scalar1) argument
/external/skia/src/ports/
H A DSkFontHost_mac.cpp284 SkScalar sx = SK_Scalar1,
285 SkScalar sy = SK_Scalar1) {
1311 SkScalar scaleX = SK_Scalar1;
1312 SkScalar scaleY = SK_Scalar1;
1332 scaleY = SK_Scalar1; // want hinting in the Y direction
1335 scaleX = SK_Scalar1; // want hinting in the X direction
283 MatrixToCGAffineTransform(const SkMatrix& matrix, SkScalar sx = SK_Scalar1, SkScalar sy = SK_Scalar1) argument

Completed in 305 milliseconds