/external/skia/include/core/ |
SkAutoKern.h | 46 return -SK_Fixed1; 48 return +SK_Fixed1;
|
SkFixed.h | 30 #define SK_Fixed1 (1 << 16) 42 #define SkFloatToFixed(x) ((SkFixed)((x) * SK_Fixed1)) 45 #define SkDoubleToFixed(x) ((SkFixed)((x) * SK_Fixed1)) 101 #define SkFixedCeil(x) (((x) + SK_Fixed1 - 1) >> 16) 119 #define SkFixedInvert(n) SkDivBits(SK_Fixed1, n, 16) 143 #define SK_FixedNearlyZero (SK_Fixed1 >> 12)
|
SkScalar.h | 173 #define SK_Scalar1 SK_Fixed1 202 #define SkScalarMulCeil(a, b) SkFixedMulCommon(a, b, SK_Fixed1 - 1)
|
/external/skia/tests/ |
MathTest.cpp | 251 x = SkFixedSqrt(SK_Fixed1); 252 REPORTER_ASSERT(reporter, x == SK_Fixed1); 253 x = SkFixedSqrt(SK_Fixed1/4); 254 REPORTER_ASSERT(reporter, x == SK_Fixed1/2); 255 x = SkFixedSqrt(SK_Fixed1*4); 256 REPORTER_ASSERT(reporter, x == SK_Fixed1*2); 266 x = SkFixedSqrt(SK_Fixed1 * i * i); 267 REPORTER_ASSERT(reporter, x == SK_Fixed1 * i); 290 REPORTER_ASSERT(reporter, result == SK_Fixed1); 291 result = SkFixedDiv(1, SK_Fixed1); [all...] |
Sk64Test.cpp | 179 if (ddiv >= (double)SK_MaxS32 / (double)SK_Fixed1) 181 else if (ddiv <= -(double)SK_MaxS32 / (double)SK_Fixed1)
|
/external/skia/src/core/ |
SkScan_Antihair.cpp | 64 SkASSERT(n >= 0 && n <= SK_Fixed1); 104 fy += SK_Fixed1/2; 121 return fy - SK_Fixed1/2; 137 fy += SK_Fixed1/2; 162 return fy - SK_Fixed1/2; 168 fx += SK_Fixed1/2; 180 return fx - SK_Fixed1/2; 195 fx += SK_Fixed1/2; 211 return fx - SK_Fixed1/2; 264 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1) [all...] |
SkMath.cpp | 221 if (x == SK_Fixed1) { 222 return SK_Fixed1; 234 uint32_t slow = SkFixedDiv(SK_Fixed1, a); 436 int ival = (int)(val * SK_Fixed1); 452 SkFixed upper = (index == kTableSize - 1) ? SK_Fixed1 : table[index + 1]; 456 SkASSERT(upper <= SK_Fixed1); 500 cosValue = SK_Fixed1; 526 int diff = cos2 + sin2 - SK_Fixed1;
|
SkPoint.cpp | 225 if (length != SK_Fixed1) { 309 int err = len - SK_Fixed1; 334 if (length != SK_Fixed1) {
|
SkBitmapProcState_matrixProcs.cpp | 504 fFilterOneX = SK_Fixed1; 505 fFilterOneY = SK_Fixed1; 510 fFilterOneX = SK_Fixed1 / fBitmap->width(); 511 fFilterOneY = SK_Fixed1 / fBitmap->height();
|
SkColor.cpp | 123 unsigned t = SkAlphaMul(255 - (s * (SK_Fixed1 - f) >> 16), v_scale);
|
SkCordic.cpp | 114 if (z >= SK_Fixed1)
|
SkScan_Hairline.cpp | 214 const SkScalar dt = SkFixedToScalar(SK_Fixed1 >> level);
|
SkBitmapProcState.cpp | 374 SkScalar scale = SkFixedToScalar(SK_Fixed1 >> shift);
|
SkScan_Path.cpp | 157 int x = (currE->fX + SK_Fixed1/2) >> 16;
|
SkGeometry.cpp | 408 SkASSERT(t >= 0 && t <= SK_Fixed1); // assert that we're numerically stable (ha!) 409 if ((unsigned)t >= SK_Fixed1) // runtime check for numerical stability [all...] |
SkDraw.cpp | 457 fRadius = SK_Fixed1 >> 1; [all...] |
SkMatrix.cpp | 747 if (SkAbs32(inv->fMat[kMPersp2]) > SK_Fixed1) { [all...] |
/external/skia/src/utils/ |
SkInterpolator.cpp | 161 #define SK_Fixed1Third (SK_Fixed1/3) 162 #define SK_Fixed2Third (SK_Fixed1*2/3)
|
/external/skia/src/effects/ |
SkBlurMask.cpp | 350 SkASSERT(n >= 0 && n <= SK_Fixed1); 364 SkFixed div255 = SK_Fixed1 / 255;
|
SkGradientShader.cpp | 237 curr = SK_Fixed1; 244 } else if (curr > SK_Fixed1) { 245 curr = SK_Fixed1; 258 SkFixed dp = SK_Fixed1 / (colorCount - 1); 488 SkASSERT((unsigned)x <= SK_Fixed1); 891 uint8_t value = SkToU8(SkFixedSqrt(i * SK_Fixed1 / kSQRT_TABLE_SIZE) >> 8); [all...] |
SkColorMatrixFilter.cpp | 138 int32_t one = SK_Fixed1;
|
/external/skia/src/gl/ |
SkGL.h | 47 #define SK_GLScalar1 SK_Fixed1
|
/external/webkit/WebKit/android/nav/ |
CachedFrame.cpp | 272 if (testMultiplier > (SK_Fixed1 >> 1) || bestMultiplier > (SK_Fixed1 >> 1)) { // considerable working overlap? [all...] |
SelectText.cpp | 212 charPaint.measureText(" ", 1)) - SK_Fixed1);
|
/external/skia/src/ports/ |
SkFontHost_FreeType.cpp | 348 fMatrix22.xx = fMatrix22.yy = SK_Fixed1; [all...] |