/external/skia/include/core/ |
SkAutoKern.h | 46 return -SK_Fixed1; 48 return +SK_Fixed1;
|
SkFixed.h | 30 #define SK_Fixed1 (1 << 16) 43 #define SkFloatToFixed(x) ((SkFixed)((x) * SK_Fixed1)) 47 int64_t n = x * SK_Fixed1; 53 #define SkDoubleToFixed(x) ((SkFixed)((x) * SK_Fixed1)) 109 #define SkFixedCeil(x) (((x) + SK_Fixed1 - 1) >> 16) 134 #define SkFixedInvert(n) SkDivBits(SK_Fixed1, n, 16) 158 #define SK_FixedNearlyZero (SK_Fixed1 >> 12)
|
SkScalar.h | 220 #define SK_Scalar1 SK_Fixed1 251 #define SkScalarMulCeil(a, b) SkFixedMulCommon(a, b, SK_Fixed1 - 1)
|
/external/skia/tests/ |
MathTest.cpp | 332 x = SkFixedSqrt(SK_Fixed1); 333 REPORTER_ASSERT(reporter, x == SK_Fixed1); 334 x = SkFixedSqrt(SK_Fixed1/4); 335 REPORTER_ASSERT(reporter, x == SK_Fixed1/2); 336 x = SkFixedSqrt(SK_Fixed1*4); 337 REPORTER_ASSERT(reporter, x == SK_Fixed1*2); 347 x = SkFixedSqrt(SK_Fixed1 * i * i); 348 REPORTER_ASSERT(reporter, x == SK_Fixed1 * i); 371 REPORTER_ASSERT(reporter, result == SK_Fixed1); 372 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/ |
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;
|
SkScan_Antihair.cpp | 61 SkASSERT(n >= 0 && n <= SK_Fixed1); 101 fy += SK_Fixed1/2; 118 return fy - SK_Fixed1/2; 134 fy += SK_Fixed1/2; 157 return fy - SK_Fixed1/2; 163 fx += SK_Fixed1/2; 177 return fx - SK_Fixed1/2; 192 fx += SK_Fixed1/2; 208 return fx - SK_Fixed1/2; 258 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1) [all...] |
SkPoint.cpp | 248 if (length != SK_Fixed1) { 332 int err = len - SK_Fixed1; 357 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 | 211 const SkScalar dt = SkFixedToScalar(SK_Fixed1 >> level);
|
SkBitmapProcState.cpp | 374 SkScalar scale = SkFixedToScalar(SK_Fixed1 >> shift);
|
SkScan_Path.cpp | 144 int x = (currE->fX + SK_Fixed1/2) >> 16;
|
SkGeometry.cpp | 432 SkASSERT(t >= 0 && t <= SK_Fixed1); // assert that we're numerically stable (ha!) 433 if ((unsigned)t >= SK_Fixed1) // runtime check for numerical stability [all...] |
SkMatrix.cpp | 809 if (SkAbs32(inv->fMat[kMPersp2]) > SK_Fixed1) { [all...] |
/external/skia/gpu/include/ |
GrScalar.h | 27 #define GR_Fixed1 SK_Fixed1
|
/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 | 382 SkASSERT(n >= 0 && n <= SK_Fixed1); 396 SkFixed div255 = SK_Fixed1 / 255;
|
SkGradientShader.cpp | 280 curr = SK_Fixed1; 287 } else if (curr > SK_Fixed1) { 288 curr = SK_Fixed1; 301 SkFixed dp = SK_Fixed1 / (colorCount - 1); 555 SkASSERT((unsigned)x <= SK_Fixed1); [all...] |
SkColorMatrixFilter.cpp | 138 int32_t one = SK_Fixed1;
|
/external/webkit/Source/WebKit/android/nav/ |
CachedFrame.cpp | 288 if (testMultiplier > (SK_Fixed1 >> 1) || bestMultiplier > (SK_Fixed1 >> 1)) { // considerable working overlap? [all...] |
/external/skia/src/ports/ |
SkFontHost_mac_atsui.cpp | 159 Fixed fixedSize = SK_Fixed1;
|
SkFontHost_mac_coretext.cpp | 835 offsetTable->fVersion = SkEndian_SwapBE32(SK_Fixed1); [all...] |
SkFontHost_win.cpp | 337 fMat22Identity.eM11 = fMat22Identity.eM22 = SkFixedToFIXED(SK_Fixed1); [all...] |