HomeSort by relevance Sort by last modified time
    Searched refs:SK_Fixed1 (Results 1 - 25 of 25) sorted by null

  /external/skia/include/core/
SkAutoKern.h 38 return -SK_Fixed1;
40 return +SK_Fixed1;
SkFixed.h 23 #define SK_Fixed1 (1 << 16)
36 #define SkFloatToFixed(x) ((SkFixed)((x) * SK_Fixed1))
40 int64_t n = x * SK_Fixed1;
46 #define SkDoubleToFixed(x) ((SkFixed)((x) * SK_Fixed1))
101 #define SkFixedCeilToInt(x) (((x) + SK_Fixed1 - 1) >> 16)
105 #define SkFixedCeilToFixed(x) (((x) + SK_Fixed1 - 1) & 0xFFFF0000)
133 #define SkFixedInvert(n) SkDivBits(SK_Fixed1, n, 16)
157 #define SK_FixedNearlyZero (SK_Fixed1 >> 12)
SkScalar.h 213 #define SK_Scalar1 SK_Fixed1
250 #define SkScalarMulCeil(a, b) SkFixedMulCommon(a, b, SK_Fixed1 - 1)
  /external/skia/tests/
MathTest.cpp 388 x = SkFixedSqrt(SK_Fixed1);
389 REPORTER_ASSERT(reporter, x == SK_Fixed1);
390 x = SkFixedSqrt(SK_Fixed1/4);
391 REPORTER_ASSERT(reporter, x == SK_Fixed1/2);
392 x = SkFixedSqrt(SK_Fixed1*4);
393 REPORTER_ASSERT(reporter, x == SK_Fixed1*2);
403 x = SkFixedSqrt(SK_Fixed1 * i * i);
404 REPORTER_ASSERT(reporter, x == SK_Fixed1 * i);
427 REPORTER_ASSERT(reporter, result == SK_Fixed1);
428 result = SkFixedDiv(1, SK_Fixed1);
    [all...]
Sk64Test.cpp 186 if (ddiv >= (double)SK_MaxS32 / (double)SK_Fixed1)
188 else if (ddiv <= -(double)SK_MaxS32 / (double)SK_Fixed1)
  /external/skia/src/core/
SkMath.cpp 214 if (x == SK_Fixed1) {
215 return SK_Fixed1;
227 uint32_t slow = SkFixedDiv(SK_Fixed1, a);
429 int ival = (int)(val * SK_Fixed1);
445 SkFixed upper = (index == kTableSize - 1) ? SK_Fixed1 : table[index + 1];
449 SkASSERT(upper <= SK_Fixed1);
493 cosValue = SK_Fixed1;
519 int diff = cos2 + sin2 - SK_Fixed1;
SkScan_Antihair.cpp 53 SkASSERT(n >= 0 && n <= SK_Fixed1);
93 fy += SK_Fixed1/2;
110 return fy - SK_Fixed1/2;
126 fy += SK_Fixed1/2;
149 return fy - SK_Fixed1/2;
155 fx += SK_Fixed1/2;
169 return fx - SK_Fixed1/2;
184 fx += SK_Fixed1/2;
200 return fx - SK_Fixed1/2;
250 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1)
    [all...]
SkPoint.cpp 261 if (length != SK_Fixed1) {
345 int err = len - SK_Fixed1;
370 if (length != SK_Fixed1) {
SkBitmapProcState_matrixProcs.cpp 508 fFilterOneX = SK_Fixed1;
509 fFilterOneY = SK_Fixed1;
514 fFilterOneX = SK_Fixed1 / fBitmap->width();
515 fFilterOneY = SK_Fixed1 / fBitmap->height();
SkColor.cpp 99 unsigned t = SkAlphaMul(255 - (s * (SK_Fixed1 - f) >> 16), v_scale);
SkCordic.cpp 106 if (z >= SK_Fixed1)
SkScan_Hairline.cpp 210 const SkScalar dt = SkFixedToScalar(SK_Fixed1 >> level);
SkBitmapProcState.cpp 381 SkScalar scale = SkFixedToScalar(SK_Fixed1 >> shift);
SkGeometry.cpp 424 SkASSERT(t >= 0 && t <= SK_Fixed1); // assert that we're numerically stable (ha!)
425 if ((unsigned)t >= SK_Fixed1) // runtime check for numerical stability
    [all...]
SkMatrix.cpp 850 if (SkAbs32(inv->fMat[kMPersp2]) > SK_Fixed1) {
    [all...]
SkBitmap.cpp     [all...]
SkDraw.cpp 440 fRadius = SK_Fixed1 >> 1;
    [all...]
  /external/skia/include/gpu/
GrScalar.h 20 #define GR_Fixed1 SK_Fixed1
  /external/skia/src/utils/
SkInterpolator.cpp 154 #define SK_Fixed1Third (SK_Fixed1/3)
155 #define SK_Fixed2Third (SK_Fixed1*2/3)
  /external/skia/src/effects/
SkGradientShader.cpp 318 curr = SK_Fixed1;
325 } else if (curr > SK_Fixed1) {
326 curr = SK_Fixed1;
339 SkFixed dp = SK_Fixed1 / (colorCount - 1);
602 SkASSERT((unsigned)x <= SK_Fixed1);
    [all...]
SkColorMatrixFilter.cpp 147 int32_t one = SK_Fixed1;
  /external/skia/src/ports/
SkFontHost_mac_atsui.cpp 150 Fixed fixedSize = SK_Fixed1;
SkFontHost_FreeType.cpp 773 fMatrix22.xx = fMatrix22.yy = SK_Fixed1;
    [all...]
SkFontHost_win.cpp 516 fMat22Identity.eM11 = fMat22Identity.eM22 = SkFixedToFIXED(SK_Fixed1);
    [all...]
SkFontHost_mac_coretext.cpp     [all...]

Completed in 323 milliseconds